![]() Options.ReservedServerAccessCode = server Local options = Instance.new("TeleportOptions") ![]() Local server = TeleportService:ReserveServer(placeId) Local elevatorEvent = ReplicatedStorage:WaitForChild("Elevator") Local movingEvent = ReplicatedStorage:WaitForChild("MovingElevator") Local SafeTeleport = require(ServerScriptService.SafeTeleport) Local ServerScriptService = game:GetService("ServerScriptService") Local ReplicatedStorage = game:GetService("ReplicatedStorage") Hello maybe the problem is with object does object have codes if yes then i guess you made a mistake on code (im not good at code things but i hope this can help out) and i do have teleporting system for my game maybe you can checkout local Players = game:GetService("Players") TeleportService:TeleportAsync(4972532928, Room, ) Text = number.Data." players are ready"įor i, v in pairs(Players:GetChildren()) do ![]() MessagingService:SubscribeAsync("NumberOfPlayers", function(number) Local ifPlayerFound = Players:FindFirstChild(Player.Name) MessagingService:SubscribeAsync("Unready", function(value) MessagingService:PublishAsync("NumberOfPlayers", #Players:GetChildren()) Local PlayerValue = Instance.new("ObjectValue") If Players:FindFirstChild(Player.Name) = nil then MessagingService:SubscribeAsync("Ready", function(value) MessagingService:PublishAsync("Unready", "Unready") UnreadyEvent.OnServerEvent:Connect(function(Plr) MessagingService:PublishAsync("Ready", "Ready") ![]() ReadyEvent.OnServerEvent:Connect(function(Plr) ![]() Local UnreadyEvent = ReplicatedStorage:WaitForChild("Unready") Local ReadyEvent = ReplicatedStorage:WaitForChild("Ready") Local Players = game:GetService("ReplicatedStorage"):WaitForChild("Players") Local TeleportService = game:GetService("TeleportService") Local MessagingService = game:GetService("MessagingService") My ServerScript with the error local ReplicatedStorage = game:GetService("ReplicatedStorage") I went in so many social medias to know how to fix my problem I want to make a global matchmaking system ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |