Back to Browse

Learning to script!!

10 views
Apr 7, 2026
9:03

here's the script that I promised local p = game.Players.LocalPlayer local t = workspace:WaitForChild("TeleportPart") local sound = workspace:WaitForChild("Pop") script.Parent.MouseButton1Click:Connect(function() sound:Play() local c = p.Character if c then c:WaitForChild("HumanoidRootPart").CFrame = t.CFrame + Vector3.new(0,3,0) end end) have a nice day but make sure you have a part named TeleportPart and a pop sound effect

Download

1 formats

Video Formats

360pmp49.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Learning to script!! | NatokHD