squidingtin

walk disk

Mar 31st, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game:GetService('Players').LocalPlayer
  2. local mouse = player:GetMouse()
  3. local Disk = Instance.new("Part")
  4. Disk.Parent = game.workspace.Terrain
  5. Disk.Name = "Walk Disk"
  6. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function()
  7.     local Pos = Vector2.new(mouse.X, mouse.Y, mouse.Z)
  8.         Disk.Position = Pos
  9.             print(Pos)
  10.         wait(.1)
  11. end)
Add Comment
Please, Sign In to add comment