View difference between Paste ID: QVfrMtUq and HU9w7EM4
SHOW: | | - or go back to the newest paste.
1
local s = Instance.new("Sound")
2
3
print ("Loading...")
4
 repeat wait() until game.Players.LocalPlayer
5
print ("Loaded.")
6-
if KeyDown == "0" then
6+
7-
Plr.Character.Humanoid.WalkSpeed = 190
7+
8
9
Mouse.KeyDown:connect(function(KeyDown)
10
if KeyDown == "p" then
11
wait()
12
local part = Instance.new("Part")
13-
Plr.Character.Humanoid.WalkSpeed = 16
13+
part.Anchored = false
14
part.BrickColor = BrickColor.random()
15
part.Name = "Red Part"
16
part.Parent = workspace
17
repeat until Mouse.KeyUp:connect(function(KeyUp)
18
end
19
end)
20
21
Mouse.KeyUp:connect(function(KeyUp)
22
if KeyUp == "0" then
23
print ("Brick(s) spawned!")
24
end
25
end)