Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService('Players').LocalPlayer
- local mouse = player:GetMouse()
- local Disk = Instance.new("Part")
- Disk.Parent = game.workspace.Terrain
- Disk.Name = "Walk Disk"
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function()
- local Pos = Vector2.new(mouse.X, mouse.Y, mouse.Z)
- Disk.Position = Pos
- print(Pos)
- wait(.1)
- end)
Add Comment
Please, Sign In to add comment