urabigfatnoob

remover V1

Sep 12th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local mouse = plr:GetMouse()
  3. local chr = plr.Character or plr.CharacterAdded:wait()
  4.  
  5. local part = Instance.new("Part")
  6. part.Size = Vector3.new(1,1,1)
  7. part.Transparency = .9
  8. part.Material = "Neon"
  9. part.CanCollide = false
  10. part.BrickColor = BrickColor.White()
  11. part.Anchored = true
  12. part.FormFactor = "Custom"
  13. part.BottomSurface = "Smooth"
  14. part.TopSurface = "Smooth"
  15.  
  16. local mesh = Instance.new("SpecialMesh",part)
  17. mesh.MeshType = "Sphere"
  18.  
  19. local light = Instance.new("PointLight",part)
  20.  
  21. debounce = false
  22.  
  23. mouse.KeyDown:connect(function(key)
  24. if key == 'z' or key == 'x' then
  25. local clone = part:Clone()
  26. clone.Parent = chr
  27. if key == 'x' then
  28. clone.BrickColor = BrickColor.Blue()
  29. end
  30. clone.Touched:connect(function(p)
  31. local h = p.Parent:FindFirstChild("Humanoid")
  32. if h and h.Parent.Name ~= 'supercoolguy53' then
  33. if key == 'z' then
  34. debounce = true
  35. local damage = h.MaxHealth/20
  36. h.Health = h.Health - damage
  37. elseif key == 'x'then
  38. local freeze = part:Clone()
  39. freeze.Parent = h.Parent
  40. freeze.Size = Vector3.new(7,7,7)
  41. h.Parent.Torso.Anchored = true
  42. wait(5)
  43. h.Parent.Torso.Anchored = false
  44. freeze:Destroy()
  45. end
  46. end
  47. end)
  48. for i = 1,100 do
  49. if i == 99 then
  50. cframe = clone.CFrame
  51. elseif i == 100 then
  52. wait(1)
  53. for i = 1,100 do
  54. game:GetService('RunService').RenderStepped:wait()
  55. clone.Size = clone.Size - Vector3.new(.2,.2,.2)
  56. clone.CFrame = cframe
  57. end
  58. clone:Destroy()
  59. end
  60. game:GetService('RunService').RenderStepped:wait()
  61. clone.Size = clone.Size + Vector3.new(.2,.2,.2)
  62. clone.CFrame = chr.Torso.CFrame
  63. end
  64. end
  65. end)
Advertisement
Add Comment
Please, Sign In to add comment