Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local cframe
- for i,v in next, workspace:GetDescendants() do
- if v:IsA("SpawnLocation") then
- v.Touched:Connect(function(h)
- if h.Parent == plr.Character and cframe then
- plr.Character:SetPrimaryPartCFrame(cframe)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement