Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local s = Instance.new("Sound")
- print ("Loading...")
- repeat wait() until game.Players.LocalPlayer
- print ("Loaded.")
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Plr = game.Players.LocalPlayer
- Mouse.KeyDown:connect(function(KeyDown)
- if KeyDown == "p" then
- wait()
- local part = Instance.new("Part")
- part.Anchored = false
- part.BrickColor = BrickColor.random()
- part.Name = "Red Part"
- part.Parent = workspace
- repeat until Mouse.KeyUp:connect(function(KeyUp)
- end
- end)
- Mouse.KeyUp:connect(function(KeyUp)
- if KeyUp == "0" then
- print ("Brick(s) spawned!")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement