Advertisement
BabyGoatz

Localzzz

Jun 29th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. player = game.Players.LocalPlayer
  2. mouse = player:GetMouse()
  3. i = Instance.new("Part")
  4. i.Anchored = true
  5. i.Color = Color3.new(0,0,0)
  6. i.Size = Vector3.new(1,1,1)
  7. while wait() do
  8. i.Position = Vector3.new(mouse.Hit.p.X, 0, mouse.Hit.p.Z)
  9. end
  10. while wait() do
  11. mouse.Button1Down:connect(function()
  12. local z = Instance.new("Part")
  13. z.Anchored = true
  14. z.Color = Color3.new(0,0,0)
  15. z.Size = Vector3.new(1,1,1)
  16. z.Position = Vector3.new(mouse.Hit.p.X, 0, mouse.Hit.p.Z)
  17. end)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement