Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer --get the local player
- local Mouse = Player:GetMouse() --get the mouse
- Mouse.Button1Down:connect(function()
- local part = Instance.new("Part")
- part.Anchored = true
- part.BrickColor = BrickColor.new("Really red")
- part.Name = "Red Part"
- part.Parent = workspace
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement