Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || TELEPORT BY C FRAME (WHITELISTED) (ONE PART) || CHANGE CFRAME.NEW TO THE PART YOU WANNA TELEPORT TO.
- ]]
- local Whitelist = {}
- -- Whitelist for people u want to be teleported to a specific location
- for i,v in ipairs(Whitelist) do
- local part = script.Parent
- script.Parent.Touched:Connect(function(hit)
- if hit.Parent and game.Players:FindFirstChild(hit.Parent.Name) then
- local player = game.Players[hit.Parent.Name]
- player:FindFirstChild("Humanoid")
- player.Character.HumanoidRootPart.CFrame = CFrame.new(-43.89, 0.5, -33.96)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement