Guest User

Untitled

a guest
Jun 30th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. game.Players.ic3w0lf589.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)
Add Comment
Please, Sign In to add comment