View difference between Paste ID: hipx1xUJ and 56Y5iNwv
SHOW: | | - or go back to the newest paste.
1-
game.Players.endermites15.Chatted:connect(
1+
game.Players.Lolaconsipaol.Chatted:connect(
2
3
function(msg)	
4
if msg == "1x1" then 
5
6
local p = Instance.new("Part")
7
p.Size = Vector3.new(2, 2, 2)
8
p.TopSurface = "Smooth"
9
p.BottomSurface = "Smooth"
10
p.Transparency = 0
11
p.BrickColor = BrickColor.new("Black")
12
13
14
local bv = Instance.new("BodyVelocity")
15
p.Parent = workspace
16
p.Name = "MagicSpell"
17
p.CFrame = workspace.ic3w0lf589.Head.CFrame * CFrame.new(0,0,-3)
18
bv.Parent = p
19
bv.velocity = ((p.Position - workspace.ic3w0lf589.Head.Position).unit) * 100
20
21
p.Touched:connect(
22
23
function(hit)
24
hit:Destroy()
25
26
27
end)
28
29
end
30
31
end)