SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Gem |
| 1 | + | mouse = game.Players.LocalPlayer:GetMouse() |
| 2 | - | game.Workspace.Events.DataStores.LoadStep:FireServer("Gems", "999999") |
| 2 | + | tool = Instance.new("Tool")
|
| 3 | tool.RequiresHandle = false | |
| 4 | tool.Name = "Click To Teleport" | |
| 5 | tool.Activated:connect(function() | |
| 6 | local pos = mouse.Hit+Vector3.new(0,2.5,0) | |
| 7 | pos = CFrame.new(pos.X,pos.Y,pos.Z) | |
| 8 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos | |
| 9 | end) | |
| 10 | tool.Parent = game.Players.LocalPlayer.Backpack |