Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pad1 = game.Workspace.Pad1
- local treebutton = script.Parent
- treebutton.MouseButton1Click:Connect(function(click)
- local player = game.Players.LocalPlayer
- local character = player.Character
- local location = CFrame.new(pad1.CFrame.X,pad1.CFrame.Y,pad1.CFrame.Z+6)
- character:SetPrimaryPartCFrame(location)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement