PersonsadminTeam

headless horseman script with fireball

Aug 10th, 2016
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.60 KB | None | 0 0
  1. kd = (game.Players.LocalPlayer.Name)
  2.  
  3.  
  4.  
  5.  
  6. ko = (game.Players.LocalPlayer.Character)
  7.  
  8.  
  9.  
  10. ko.Head.Transparency = 1
  11.  
  12. local fr = Instance.new("Fire",ko.Head)
  13.  
  14. fr.Heat = 100
  15. fr.Size = 5
  16.  
  17. for i,v in pairs (ko:GetChildren()) do
  18. if v.Name == "Head" then
  19.  v.face.Texture = "http://www.roblox.com/asset/?id=362505168"
  20. end
  21. end
  22.  
  23.  
  24.  
  25. for i,v in pairs(ko:GetChildren()) do
  26.  
  27.  if v.ClassName == 'Hat' then
  28.  
  29.      v:Destroy()
  30.  
  31.  end
  32.  
  33. end
  34.  
  35.  
  36.  
  37. for i,v in pairs(ko:GetChildren()) do
  38.  
  39.  if v.ClassName == 'Shirt' then
  40.  
  41.      v:Destroy()
  42.  
  43.  end
  44.  
  45. end
  46.  
  47.  
  48.  
  49. for i,v in pairs(ko:GetChildren()) do
  50.  
  51.  if v.ClassName == 'Pants' then
  52.  
  53.      v:Destroy()
  54.  
  55.  end
  56.  
  57. end
  58.  
  59.  
  60.  
  61.  
  62.  
  63. wait()
  64.  
  65.  
  66.  
  67. hat1 = Instance.new('Hat')
  68.  
  69. hat1.Parent = game.Players[kd].Character
  70.  
  71.  
  72.  
  73. handle = Instance.new('Part')
  74.  
  75. handle.Name = 'Handle'
  76.  
  77. handle.Parent = hat1
  78.  
  79.  
  80.  
  81. handlemesh = Instance.new('SpecialMesh')
  82.  
  83. handlemesh.MeshType = 'FileMesh'
  84.  
  85. handlemesh.MeshId = 'http://www.roblox.com/asset/?id=1158007'
  86.  
  87. handlemesh.TextureId = 'rbxassetid://1158415'
  88.  
  89. handlemesh.Scale = Vector3.new(0.5,0.5,0.5)
  90.  
  91. handlemesh.Parent = handle
  92.  
  93.  
  94.  
  95. hat2 = Instance.new('Hat')
  96.  
  97. hat2.Parent = game.Players[kd].Character
  98.  
  99.  
  100.  
  101. shrt = Instance.new('Shirt')
  102.  
  103. shrt.Parent = ko
  104.  
  105. shrt.ShirtTemplate = 'http://www.roblox.com/asset/?id=182856003'
  106.  
  107.  
  108.  
  109. shrt = Instance.new('Pants')
  110.  
  111. shrt.Parent = ko
  112.  
  113. shrt.PantsTemplate = 'http://www.roblox.com/asset/?id=184405208'
  114.  
  115. local plr = game.Players.LocalPlayer
  116. local char = plr.Character or plr.CharacterAdded:wait()
  117. local mouse = plr:GetMouse()
  118. deb = false
  119.  
  120. local torso = char:WaitForChild("Torso")
  121.  
  122. function Blast(key)
  123. local key = key:lower()
  124. if (key == "z") and (deb == false) then
  125. deb = true
  126. local hs = Instance.new("Part",game.Workspace)
  127. hs.CanCollide = false
  128. hs.Shape = "Ball"
  129. hs.BrickColor = BrickColor.new("Really red")
  130. hs.Transparency = 0/5
  131. hs.Size = Vector3.new(5,5,5) --yeah my name is bushido and my destiny is to be me
  132. hs.TopSurface = "Smooth" --smooth like me
  133. hs.BottomSurface = "Smooth" --again like me i got the smooth moves
  134. hs.CFrame = torso.CFrame*CFrame.new(0,0,-6)
  135. hs.Touched:connect(function(touch)
  136.  local Humanoid = touch.Parent:FindFirstChild("Humanoid")
  137. if not Humanoid then
  138. Humanoid = touch.Parent.Parent:FindFirstChild("Child")
  139. end
  140. if Humanoid then
  141. Humanoid:TakeDamage(Humanoid.MaxHealth)
  142. end
  143. end)
  144. local f = Instance.new("Fire",hs)
  145. f.Heat = 0
  146. f.Size = 12
  147. local bv = Instance.new("BodyVelocity",hs)
  148. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  149. bv.Velocity = torso.CFrame.lookVector*80
  150. wait(6)
  151. deb = false
  152. end
  153. end
  154.  
  155.  
  156. mouse.KeyDown:connect(Blast)
Add Comment
Please, Sign In to add comment