Advertisement
RapidLemon

Untitled

Apr 12th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer --get the local player
  2. local Mouse = Player:GetMouse() --get the mouse
  3.  
  4. Mouse.Button1Down:connect(function()
  5. local part = Instance.new("Part")
  6. part.Anchored = true
  7. part.BrickColor = BrickColor.new("Really red")
  8. part.Name = "Red Part"
  9. part.Parent = workspace
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement