#Bro my QueueServer script was so f*cked up and i need help, (i followed yt tut and i have 0 exp)

1 messages · Page 1 of 1 (latest)

civic warren
#

Ts is the script rn :

--Services--
local ReplicatedStorage = game:GetService("ReplicatedStorage")

--// Modules
local ZoneModule = require(ReplicatedStorage.Modules.Zone)

--// Objects
local TeleportZones = game.Workspace.TeleportZones
local Configuration = TeleportZones.Configuration

function JoinParty()

end

for ._,TpZones in pairs (TeleportZones:GetChildren()) do

if TpZones:IsA ("Model") then
    
    local ZoneContainer = TpZones.ZoneContainer
    local Zone = ZoneModule.new(ZoneContainer)
    
    Zone.playerEntered:Connect(function(Plr) 
        local Char = Plr.Character
        i f not Char then return end
        local RootPart = Char:FindFirstChild("HumanoidRootPart")
        RootPart.Poistion = ZoneContainer.Position
    end)
    
end

end

flat stone
#

this is like the second teleportservice related issue posted here in the past 5 minutes lol

#

uh

flat stone
#

you should follow the documentation