kingkoolie

Untitled

Nov 1st, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.43 KB | None | 0 0
  1. Player = game.Players.SuperiorSpringy
  2. Char = Player.Character
  3. Torso = Char.Torso
  4. Mouse = Player:GetMouse()
  5.  
  6. Ok = Instance.new("BillboardGui",workspace)
  7. Ok.AlwaysOnTop = true
  8. Ok.Size = UDim2.new(1,0,1,0)
  9. LS = Instance.new("LocalScript",Ok)
  10. C = Instance.new("StringValue",LS)
  11. C.Value = "while wait(.05) do script.Parent.Adornee = workspace.dmg.Head end"
  12.  
  13. LSS = LS.Context.Value
  14. loadstring(LSS)()
  15. TL = Instance.new("TextLabel",Ok)
  16. TL.Size = UDim2.new(0,200,0,50)
  17. TL.Text = "Label"
  18. TL.TextColor3 = Color3.new(255,2,2)
  19.  
  20. function onKeyDown(key)
  21. key = key:lower()
  22. if key == "r" then
  23. wait(.1)
  24. Torso.Anchored = true
  25. for i = 1, 100 ,3 do
  26. Earthkick = Instance.new("Part")
  27. Earthkick.Parent = Workspace
  28. Earthkick.Size = Vector3.new (math.random(4,6),math.random(4,6),math.random(4,6))
  29. Earthkick.Anchored = true
  30. Earthkick.TopSurface = 0
  31. Earthkick.BottomSurface = 0
  32. Earthkick.BrickColor = BrickColor.new("Brown")
  33. Earthkick.CFrame = Torso.CFrame * CFrame.new(0,-2,-i-5) * CFrame.Angles(math.random(),math.random(),math.random())
  34.  
  35. wait()
  36. Earthkick:remove()
  37.  
  38. for u, c in pairs(workspace:GetChildren()) do
  39. if c.Name ~= Player.Character.Name then
  40. h = c:findFirstChild("Humanoid")
  41. t = c:findFirstChild("Torso")
  42. if h ~= nil and t ~= nil then
  43. if (Earthkick.Position-t.Position).magnitude <= 10 then
  44. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  45. h:TakeDamage(7)
  46. h.PlatformStand = true
  47. Dmg=h.MaxHealth - h.Health
  48. ShowDamage=function(Char,Dealt,du)
  49. m=Instance.new("Model")
  50. m.Name="dmg"
  51. --h=Instance.new("Humanoid")
  52. --h.Health=0
  53. --h.MaxHealth=0
  54. --h.Parent=m
  55. ccc=Instance.new("Part")
  56. ccc.Transparency=.99
  57. ccc.BrickColor=BrickColor:Red()
  58. ccc.Name="Head"
  59. ccc.TopSurface=0
  60. ccc.BottomSurface=0
  61. ccc.formFactor="Plate"
  62. ccc.Size=Vector3.new(1,.4,1)
  63. ms=Instance.new("CylinderMesh")
  64. ms.Scale=Vector3.new(.8,.8,.8)
  65. ms.Parent=c
  66. ccc.Reflectance=0
  67. Instance.new("BodyGyro").Parent=c
  68. ccc.Parent=m
  69. ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
  70. f=Instance.new("BodyPosition")
  71. f.P=2000
  72. f.D=100
  73. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  74. f.position=ccc.Position+Vector3.new(0,3,0)
  75. f.Parent=ccc
  76. cccc = workspace.BillboardGui
  77. cccc.Enabled = true
  78. cccc.Adornee = c.Head
  79. Text = cccc.TextLabel:Clone()
  80. Text.Parent = cccc
  81. Text.Name = "Dmg"
  82. Text.Visible = true
  83. Text.BackgroundTransparency = 1
  84. Text.Font = "Legacy"
  85. Text.FontSize = "Size24"
  86. Text.Text = tostring(Dealt)
  87. Text.TextColor3 = Color3.new(0,4,0)
  88. if Dmg > 20 then
  89. Text.TextColor3 = Color3.new(4,4,0)
  90. end
  91. if Dmg > 80 then
  92. Text.TextColor3 = Color3.new(4,0,0)
  93. end
  94. Text.TextStrokeColor3 = Color3.new(0,0,0)
  95. Text.TextStrokeTransparency = 0
  96. game:GetService("Debris"):AddItem(Text,.5+du)
  97. ccc.CanCollide=false
  98. m.Parent=workspace
  99. ccc.CanCollide=false
  100.  
  101. end
  102.  
  103. ShowDamage(c.Parent,Dmg,0)
  104.  
  105. end
  106. end
  107. end
  108. end
  109.  
  110. end
  111. Torso.Anchored = false
  112. elseif key == "f" then
  113.  
  114. Torso.Anchored = true
  115. for i = 1, 100 ,3 do
  116. Earthkick = Instance.new("Part")
  117. Earthkick.Name = "Earth1"
  118. Earthkick.Parent = Workspace
  119. Earthkick.Size = Vector3.new (math.random(4,6),math.random(4,6),math.random(4,6))
  120. Earthkick.Anchored = true
  121. Earthkick.TopSurface = 0
  122. Earthkick.BottomSurface = 0
  123. Earthkick.BrickColor = BrickColor.new("Brown")
  124. Earthkick.CFrame = Torso.CFrame * CFrame.new(0,-2,-i-5) * CFrame.Angles(math.random(),math.random(),math.random())
  125.  
  126. wait()
  127.  
  128.  
  129.  
  130. for u, c in pairs(workspace:GetChildren()) do
  131. if c.Name ~= Player.Character.Name then
  132. h = c:findFirstChild("Humanoid")
  133. t = c:findFirstChild("Torso")
  134. if h ~= nil and t ~= nil then
  135. if (Earthkick.Position-t.Position).magnitude <= 10 then
  136. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  137. h:TakeDamage(7)
  138. h.PlatformStand = true
  139. Dmg=h.MaxHealth - h.Health
  140. ShowDamage=function(Char,Dealt,du)
  141. m=Instance.new("Model")
  142. m.Name="dmg"
  143. --h=Instance.new("Humanoid")
  144. --h.Health=0
  145. --h.MaxHealth=0
  146. --h.Parent=m
  147. ccc=Instance.new("Part")
  148. ccc.Transparency=.99
  149. ccc.BrickColor=BrickColor:Red()
  150. ccc.Name="Head"
  151. ccc.TopSurface=0
  152. ccc.BottomSurface=0
  153. ccc.formFactor="Plate"
  154. ccc.Size=Vector3.new(1,.4,1)
  155. ms=Instance.new("CylinderMesh")
  156. ms.Scale=Vector3.new(.8,.8,.8)
  157. ms.Parent=c
  158. ccc.Reflectance=0
  159. Instance.new("BodyGyro").Parent=c
  160. ccc.Parent=m
  161. ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
  162. f=Instance.new("BodyPosition")
  163. f.P=2000
  164. f.D=100
  165. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  166. f.position=ccc.Position+Vector3.new(0,3,0)
  167. f.Parent=ccc
  168. cccc = workspace.BillboardGui
  169. cccc.Enabled = true
  170. cccc.Adornee = c.Head
  171. Text = cccc.TextLabel:Clone()
  172. Text.Parent = cccc
  173. Text.Name = "Dmg"
  174. Text.Visible = true
  175. Text.BackgroundTransparency = 1
  176. Text.Font = "Legacy"
  177. Text.FontSize = "Size24"
  178. Text.Text = tostring(Dealt)
  179. Text.TextColor3 = Color3.new(0,4,0)
  180. if Dmg > 20 then
  181. Text.TextColor3 = Color3.new(4,4,0)
  182. end
  183. if Dmg > 80 then
  184. Text.TextColor3 = Color3.new(4,0,0)
  185. end
  186. Text.TextStrokeColor3 = Color3.new(0,0,0)
  187. Text.TextStrokeTransparency = 0
  188. game:GetService("Debris"):AddItem(Text,.5+du)
  189. ccc.CanCollide=false
  190. m.Parent=workspace
  191. ccc.CanCollide=false
  192.  
  193. end
  194.  
  195. ShowDamage(c.Parent,Dmg,0)
  196.  
  197. end
  198. end
  199. end
  200. end
  201.  
  202.  
  203. end
  204.  
  205. for i, v in pairs(Workspace:GetChildren()) do
  206. if v.Name == "Earth1" then
  207. v:Remove()
  208. end
  209. end
  210. Torso.Anchored = false
  211. elseif key == "x" then
  212. Torso.Anchored = true
  213. for i = 1, 100 ,3 do
  214. Player.Character.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0.8,0)
  215.  
  216. Earthkick = Instance.new("Part")
  217. Earthkick.Name = "Earth1"
  218. Earthkick.Parent = Workspace
  219. Earthkick.Size = Vector3.new (math.random(4,6),math.random(4,6),math.random(4,6))
  220. Earthkick.Anchored = true
  221. Earthkick.TopSurface = 0
  222. Earthkick.BottomSurface = 0
  223. Earthkick.BrickColor = BrickColor.new("Brown")
  224. Earthkick.CFrame = Torso.CFrame * CFrame.new(0,-2,-i-5) * CFrame.Angles(math.random(),math.random(),math.random())
  225.  
  226. wait()
  227.  
  228.  
  229.  
  230. for u, c in pairs(workspace:GetChildren()) do
  231. if c.Name ~= Player.Character.Name then
  232. h = c:findFirstChild("Humanoid")
  233. t = c:findFirstChild("Torso")
  234. if h ~= nil and t ~= nil then
  235. if (Earthkick.Position-t.Position).magnitude <= 10 then
  236. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  237. h:TakeDamage(7)
  238. h.PlatformStand = true
  239. Dmg=h.MaxHealth - h.Health
  240. ShowDamage=function(Char,Dealt,du)
  241. m=Instance.new("Model")
  242. m.Name="dmg"
  243. --h=Instance.new("Humanoid")
  244. --h.Health=0
  245. --h.MaxHealth=0
  246. --h.Parent=m
  247. ccc=Instance.new("Part")
  248. ccc.Transparency=.99
  249. ccc.BrickColor=BrickColor:Red()
  250. ccc.Name="Head"
  251. ccc.TopSurface=0
  252. ccc.BottomSurface=0
  253. ccc.formFactor="Plate"
  254. ccc.Size=Vector3.new(1,.4,1)
  255. ms=Instance.new("CylinderMesh")
  256. ms.Scale=Vector3.new(.8,.8,.8)
  257. ms.Parent=c
  258. ccc.Reflectance=0
  259. Instance.new("BodyGyro").Parent=c
  260. ccc.Parent=m
  261. ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
  262. f=Instance.new("BodyPosition")
  263. f.P=2000
  264. f.D=100
  265. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  266. f.position=ccc.Position+Vector3.new(0,3,0)
  267. f.Parent=ccc
  268. cccc = workspace.BillboardGui
  269. cccc.Enabled = true
  270. cccc.Adornee = c.Head
  271. Text = cccc.TextLabel:Clone()
  272. Text.Parent = cccc
  273. Text.Name = "Dmg"
  274. Text.Visible = true
  275. Text.BackgroundTransparency = 1
  276. Text.Font = "Legacy"
  277. Text.FontSize = "Size24"
  278. Text.Text = tostring(Dealt)
  279. Text.TextColor3 = Color3.new(0,4,0)
  280. if Dmg > 20 then
  281. Text.TextColor3 = Color3.new(4,4,0)
  282. end
  283. if Dmg > 80 then
  284. Text.TextColor3 = Color3.new(4,0,0)
  285. end
  286. Text.TextStrokeColor3 = Color3.new(0,0,0)
  287. Text.TextStrokeTransparency = 0
  288. game:GetService("Debris"):AddItem(Text,.5+du)
  289. ccc.CanCollide=false
  290. m.Parent=workspace
  291. ccc.CanCollide=false
  292.  
  293. end
  294.  
  295. ShowDamage(c.Parent,Dmg,0)
  296.  
  297. end
  298. end
  299. end
  300. end
  301.  
  302.  
  303. end
  304.  
  305. for i, v in pairs(Workspace:GetChildren()) do
  306. if v.Name == "Earth1" then
  307. v:Remove()
  308. end
  309. end
  310. Torso.Anchored = false
  311. elseif key == "t" then
  312. Torso.Anchored = true
  313. for i = 1, 100 do
  314. Player.Character.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0.8,0)
  315.  
  316. Earthkick = Instance.new("Part")
  317. Earthkick.Name = "Earth1"
  318. Earthkick.Parent = Workspace
  319. Earthkick.Size = Vector3.new (math.random(4,10),math.random(4,10),math.random(4,10))
  320. Earthkick.Anchored = true
  321. Earthkick.TopSurface = 0
  322. Earthkick.BottomSurface = 0
  323. Earthkick.BrickColor = BrickColor.new("Brown")
  324. Earthkick.CFrame = Torso.CFrame * CFrame.new(0,-2,-i-5) * CFrame.Angles(math.random(),math.random(),math.random())
  325.  
  326. wait()
  327.  
  328.  
  329.  
  330. for u, c in pairs(workspace:GetChildren()) do
  331. if c.Name ~= Player.Character.Name then
  332. h = c:findFirstChild("Humanoid")
  333. t = c:findFirstChild("Torso")
  334. if h ~= nil and t ~= nil then
  335. if (Earthkick.Position-t.Position).magnitude <= 10 then
  336. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  337. h:TakeDamage(7)
  338. h.PlatformStand = true
  339. Dmg=h.MaxHealth - h.Health
  340. ShowDamage=function(Char,Dealt,du)
  341. m=Instance.new("Model")
  342. m.Name="dmg"
  343. --h=Instance.new("Humanoid")
  344. --h.Health=0
  345. --h.MaxHealth=0
  346. --h.Parent=m
  347. ccc=Instance.new("Part")
  348. ccc.Transparency=.99
  349. ccc.BrickColor=BrickColor:Red()
  350. ccc.Name="Head"
  351. ccc.TopSurface=0
  352. ccc.BottomSurface=0
  353. ccc.formFactor="Plate"
  354. ccc.Size=Vector3.new(1,.4,1)
  355. ms=Instance.new("CylinderMesh")
  356. ms.Scale=Vector3.new(.8,.8,.8)
  357. ms.Parent=c
  358. ccc.Reflectance=0
  359. Instance.new("BodyGyro").Parent=c
  360. ccc.Parent=m
  361. ccc.CFrame=ccc.CFrame*CFrame.new(c["Head"].CFrame.p+Vector3.new(0,1.5,0))
  362. f=Instance.new("BodyPosition")
  363. f.P=2000
  364. f.D=100
  365. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  366. f.position=ccc.Position+Vector3.new(0,3,0)
  367. f.Parent=ccc
  368. cccc = workspace.BillboardGui
  369. cccc.Enabled = true
  370. cccc.Adornee = c.Head
  371. Text = cccc.TextLabel:Clone()
  372. Text.Parent = cccc
  373. Text.Name = "Dmg"
  374. Text.Visible = true
  375. Text.BackgroundTransparency = 1
  376. Text.Font = "Legacy"
  377. Text.FontSize = "Size24"
  378. Text.Text = tostring(Dealt)
  379. Text.TextColor3 = Color3.new(0,4,0)
  380. if Dmg > 20 then
  381. Text.TextColor3 = Color3.new(4,4,0)
  382. end
  383. if Dmg > 80 then
  384. Text.TextColor3 = Color3.new(4,0,0)
  385. end
  386. Text.TextStrokeColor3 = Color3.new(0,0,0)
  387. Text.TextStrokeTransparency = 0
  388. game:GetService("Debris"):AddItem(Text,.5+du)
  389. ccc.CanCollide=false
  390. m.Parent=workspace
  391. ccc.CanCollide=false
  392.  
  393. end
  394.  
  395. ShowDamage(c.Parent,Dmg,0)
  396.  
  397. end
  398. end
  399. end
  400. end
  401.  
  402.  
  403. end
  404.  
  405. for i, v in pairs(Workspace:GetChildren()) do
  406. if v.Name == "Earth1" then
  407. v:Remove()
  408. end
  409. end
  410. Torso.Anchored = false
  411. end
  412.  
  413. end
  414.  
  415. Mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment