SebTDZ

Mouse Track

Sep 30th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. local US = require(4003249972) -- https://web.roblox.com/library/4003249972/ScriptUtilities
  2. Mouse = US.MouseService:Get(owner.Name)
  3.  
  4. local MousePart = Instance.new("Part", workspace)
  5. MousePart.Name = "Mouse"
  6. MousePart.Size = Vector3.new(3,3,3)
  7. MousePart.CanCollide = true
  8. MousePart.Anchored = true
  9. MousePart.TopSurface = Enum.SurfaceType.Smooth
  10. MousePart.BottomSurface = Enum.SurfaceType.Smooth
  11.  
  12. while true do
  13.     MousePart.CFrame = Mouse.hit
  14.     wait(0.01)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment