Guest User

Naruto Roblox Script

a guest
Mar 16th, 2018
2,777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.22 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. hrp = plr.Character.HumanoidRootPart
  4. mode = false
  5. tors = char.Torso
  6. m = plr:GetMouse()
  7. hum = char.Humanoid
  8.  
  9.  
  10. function sp()
  11. local S = Instance.new("Sound",game.Soundscape)
  12. S.SoundId = "rbxassetid://532798812"
  13. S.Volume = 0.6
  14. S.Looped = true
  15. S:Play()
  16. end
  17.  
  18. sp()
  19.  
  20. local acos = math.acos
  21. local sqrt = math.sqrt
  22. local Vec3 = Vector3.new
  23. local fromAxisAngle = CFrame.fromAxisAngle
  24.  
  25. local function toAxisAngle(CFr)
  26. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  27. local Angle = math.acos((R00+R11+R22-1)/2)
  28. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  29. A = A == 0 and 0.00001 or A
  30. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  31. B = B == 0 and 0.00001 or B
  32. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  33. C = C == 0 and 0.00001 or C
  34. local x = (R21-R12)/sqrt(A)
  35. local y = (R02-R20)/sqrt(B)
  36. local z = (R10-R01)/sqrt(C)
  37. return Vec3(x,y,z),Angle
  38. end
  39.  
  40. function ApplyTrig(Num,Func)
  41. local Min,Max = Func(0),Func(1)
  42. local i = Func(Num)
  43. return (i-Min)/(Max-Min)
  44. --[[if Func == "sin" then
  45. return (math.sin((1-Num)*math.pi)+1)/2
  46. elseif Func == "cos" then
  47. return (math.cos((1-Num)*math.pi)+1)/2
  48. end]]
  49. end
  50.  
  51. function LerpCFrame(CFrame1,CFrame2,Num)
  52. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  53. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  54. end
  55.  
  56. function Crater(Torso,Radius)
  57. spawn(function()
  58. local Ray = Ray.new(char.Torso.Position,Vector3.new(0,-1,0)*10)
  59. local Ignore = {}
  60. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  61. if v.Character ~= nil then
  62. Ignore[#Ignore+1] = v.Character
  63. end
  64. end
  65. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  66. if Hit == nil then return end
  67. local Parts = {}
  68. for i = 1,360,10 do
  69. local P = Instance.new("Part",char.Torso.Parent)
  70. P.Anchored = true
  71. P.FormFactor = "Custom"
  72. P.BrickColor = Hit.BrickColor
  73. P.Material = Hit.Material
  74. P.TopSurface = "Smooth"
  75. P.BottomSurface = "Smooth"
  76. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  77. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  78. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-45)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  79. if math.random(0,5) == 0 then -- rubble
  80. local P = Instance.new("Part",char.Torso.Parent)
  81. P.Anchored = true
  82. P.CanCollide = false
  83. P.FormFactor = "Custom"
  84. P.BrickColor = Hit.BrickColor
  85. P.Material = Hit.Material
  86. P.TopSurface = "Smooth"
  87. P.BottomSurface = "Smooth"
  88. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  89. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  90. P.CanCollide = true
  91. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-50)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  92. end
  93. end
  94. for i = 0,1,0.05 do
  95. for i2,v in pairs(Parts) do
  96. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  97. end
  98. wait(0.02)
  99. end
  100. for i,v in pairs(Parts) do
  101. if v[1].Size.X > 2.1 then
  102. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  103. end
  104. v[1].Anchored = false
  105. end
  106. for i = 0,1,0.05 do
  107. for i2,v in pairs(Parts) do
  108. v[1].Transparency = i
  109. if i == 1 then
  110. v[1]:Destroy()
  111. elseif i >= 0.25 then
  112. v[1].CanCollide = false
  113. end
  114. end
  115. wait(0.02)
  116. end
  117. Parts = nil
  118. end)
  119. end
  120.  
  121.  
  122. function FindNearestTorso(Position,Distance,SinglePlayer)
  123. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  124. local List = {}
  125. for i,v in pairs(workspace:GetChildren())do
  126. if v:IsA("Model")then
  127. if v:findFirstChild("Torso")then
  128. if v ~= char then
  129. if(v.char.Torso.Position -Position).magnitude <= Distance then
  130. table.insert(List,v)
  131. end
  132. end
  133. end
  134. end
  135. end
  136. return List
  137. end
  138.  
  139.  
  140.  
  141.  
  142. function hito(partoz, magn, dmg, debtim)
  143. for _, guy in pairs(workspace:GetChildren()) do
  144. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= plr.Character and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  145. do
  146. local humz = guy:FindFirstChild("Humanoid")
  147. local hed = guy:FindFirstChild("Head")
  148. humz:TakeDamage(dmg)
  149. local db = Instance.new("StringValue")
  150. db.Name = "alabo"
  151. db.Parent = hed
  152. delay(debtim, function()
  153. db:Destroy()
  154. end)
  155. end
  156. end
  157. end
  158. end
  159.  
  160.  
  161. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  162. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  163. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  164. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  165. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  166. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  167. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  168. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  169. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  170. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  171. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  172. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  173. RS = tors:FindFirstChild("Right Shoulder")
  174. LS = tors:FindFirstChild("Left Shoulder")
  175. RH = tors:FindFirstChild("Right Hip")
  176. LH = tors:FindFirstChild("Left Hip")
  177. RJ = hrp:FindFirstChild("RootJoint")
  178. N = tors:FindFirstChild("Neck")
  179. cf = CFrame.new
  180. ang = CFrame.Angles
  181. rd = math.rad
  182. rd2 = math.random
  183. LOADED = 1
  184.  
  185. Heartbeat = Instance.new("BindableEvent")
  186. Heartbeat.Name = "Heartbeat"
  187. Heartbeat.Parent = script
  188. frame = 0.03333333333333333
  189. tf = 0
  190. game:GetService("RunService").Heartbeat:connect(function(s, p)
  191. tf = tf + s
  192. if tf >= frame then
  193. for i = 1, math.floor(tf / frame) do
  194. Heartbeat:Fire()
  195. end
  196. tf = tf - frame * math.floor(tf / frame)
  197. end
  198. end)
  199. function swait(num)
  200. if num == 0 or num == nil then
  201. Heartbeat.Event:wait()
  202. else
  203. for i = 1, num do
  204. Heartbeat.Event:wait()
  205. end
  206. end
  207. end
  208.  
  209. function makeweld(parent, p0, p1, c0, c1)
  210. local wel = Instance.new("Weld")
  211. wel.Part0 = p0
  212. wel.Part1 = p1
  213. wel.C0 = c0
  214. if c1 ~= nil then
  215. wel.C1 = c1
  216. end
  217. wel.Parent = parent
  218. return wel
  219. end
  220.  
  221. function smash()
  222. hum.WalkSpeed = 2
  223. hum.JumpPower = 1
  224. local S = Instance.new("Sound",game.Soundscape)
  225. S.SoundId = "rbxassetid://938838122"
  226. S.Volume = 1.5
  227. local S4 = Instance.new("Sound",game.Soundscape)
  228. S4.SoundId = "rbxassetid://991726501"
  229. S4.Volume = 1.5
  230. local S3 = Instance.new("Sound",game.Soundscape)
  231. S3.SoundId = "rbxassetid://610327604"
  232. S3.Volume = 0.3
  233. S3.PlaybackSpeed = 0.85
  234. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  235. pe.Texture = "rbxassetid://272050333"
  236. pe.Size = NumberSequence.new(1)
  237. pe.LightEmission = 1
  238. pe.LightInfluence = 1
  239. pe.Rate = 1000000.000
  240. pe.Rotation = NumberRange.new(0, 360)
  241. pe.Speed = NumberRange.new(10)
  242. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  243. pe.Lifetime = NumberRange.new(0.06)
  244. pe.LockedToPart = true
  245. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  246. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  247. pe2.Size = NumberSequence.new(3)
  248. pe2.LightEmission = 1
  249. pe2.LightInfluence = 1
  250. pe2.Rate = 1000
  251. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  252. pe2.Rotation = NumberRange.new(0, 360)
  253. pe2.RotSpeed = NumberRange.new(2)
  254. pe2.Speed = NumberRange.new(15)
  255. pe2.SpreadAngle = Vector2.new(360,306)
  256. pe2.Lifetime = NumberRange.new(0.06)
  257. pe2.ZOffset = 1
  258. pe2.LockedToPart = true
  259. pe2.Name = "ParticleEmitter2"
  260.  
  261. S:Play()
  262. for _ = 1, 45 do
  263. swait()
  264. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  265. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  266. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  267. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  268. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  269. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  270. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  271. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  272. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  273. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  274. end
  275. for _ = 1, 30 do
  276. swait()
  277. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  278. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  279. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
  280. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  281. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  282. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  283. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  284. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  285.  
  286. end
  287. for l = 1, 3 do
  288. swait()
  289. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  290. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  291. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  292. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  293. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  294. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  295. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  296. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  297. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  298. end
  299. local woosh = Instance.new("Part",workspace)
  300. woosh.Size = Vector3.new(12, 12, 20)
  301. woosh.BrickColor = BrickColor.new("Institutional white")
  302. local me = Instance.new("FileMesh",woosh)
  303. me.MeshId = "rbxassetid://437347603"
  304. me.Scale = Vector3.new(1.3, 1.3, 1)
  305. woosh.CanCollide = false
  306. woosh.Anchored = false
  307. woosh.CFrame = woosh.CFrame:lerp(woosh.CFrame * CFrame.new(0, 0, -22), 0.4)
  308. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  309. woosh.CFrame = char:FindFirstChild("Right Arm").CFrame
  310. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  311. local woosh2 = Instance.new("Part",workspace)
  312. woosh2.Size = Vector3.new(12, 12, 20)
  313. woosh2.BrickColor = BrickColor.new("Institutional white")
  314. local me2 = Instance.new("FileMesh",woosh2)
  315. me2.MeshId = "rbxassetid://3270017"
  316. me2.Scale = Vector3.new(1.3, 1.3, 0.4)
  317. woosh2.CanCollide = false
  318. woosh2.Anchored = true
  319. woosh2.CFrame = woosh2.CFrame:lerp(woosh2.CFrame * CFrame.new(0, 0, -22), 0.4)
  320. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  321. woosh2.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-3,0)
  322. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  323. local woosh3 = Instance.new("Part",workspace)
  324. woosh3.Size = Vector3.new(12, 12, 20)
  325. woosh3.BrickColor = BrickColor.new("Institutional white")
  326. local me3 = Instance.new("FileMesh",woosh3)
  327. me3.MeshId = "rbxassetid://3270017"
  328. me3.Scale = Vector3.new(1, 1, 0.4)
  329. woosh3.CanCollide = false
  330. woosh3.Anchored = true
  331. woosh3.CFrame = woosh3.CFrame:lerp(woosh3.CFrame * CFrame.new(0, 0, -22), 0.4)
  332. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  333. woosh3.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  334. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  335. local woosh1 = Instance.new("Part",workspace)
  336. woosh1.Size = Vector3.new(12, 12, 20)
  337. woosh1.BrickColor = BrickColor.new("Institutional white")
  338. local me1 = Instance.new("FileMesh",woosh1)
  339. me1.MeshId = "rbxassetid://489415447"
  340. me1.Scale = Vector3.new(1, 1, 0.4)
  341. woosh1.CanCollide = false
  342. woosh1.Anchored = true
  343. woosh1.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  344. local woosh4 = Instance.new("Part",workspace)
  345. woosh4.Size = Vector3.new(12, 12, 20)
  346. woosh4.BrickColor = BrickColor.new("Institutional white")
  347. local me4 = Instance.new("FileMesh",woosh4)
  348. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  349. me4.Scale = Vector3.new(1.3,0.1,1)
  350. woosh4.CanCollide = false
  351. woosh4.Anchored = true
  352. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  353. local woosh4 = Instance.new("Part",workspace)
  354. woosh4.Size = Vector3.new(12, 12, 20)
  355. woosh4.BrickColor = BrickColor.new("Institutional white")
  356. local me4 = Instance.new("FileMesh",woosh4)
  357. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  358. me4.Scale = Vector3.new(2,3.3,2)
  359. woosh4.CanCollide = false
  360. woosh4.Anchored = true
  361. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  362. local v = Instance.new("BodyVelocity", woosh)
  363. v.velocity = woosh.CFrame.lookVector *100
  364. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  365. S3:Play()
  366. pe:remove()
  367. pe2:remove()
  368. Crater()
  369. for i = 0.14,1,0.015 do
  370. wait()
  371. hito(woosh, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  372. woosh.CFrame = woosh.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.1)
  373. woosh1.CFrame = woosh1.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  374. woosh.Transparency = woosh.Transparency + 0.04
  375. woosh2.CFrame = woosh2.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  376. woosh2.Transparency = woosh2.Transparency + 0.03
  377. me2.Scale = me2.Scale + Vector3.new(2,2,1.8)
  378. woosh3.CFrame = woosh3.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  379. woosh3.Transparency = woosh3.Transparency + 0.035
  380. me3.Scale = me3.Scale + Vector3.new(1.3,1.3,1)
  381. me1.Scale = me1.Scale + Vector3.new(2,1,2)
  382. woosh1.Transparency = woosh1.Transparency + 0.04
  383. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  384. woosh4.Transparency = woosh4.Transparency + 0.02
  385. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  386. end
  387. woosh3:remove()
  388. woosh2:remove()
  389. woosh1:remove()
  390. woosh4:remove()
  391. woosh:remove()
  392.  
  393. for _ = 1, 24 do
  394. swait()
  395. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  396. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  397. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  398. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  399. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  400. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  401. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  402. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  403. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  404. end
  405. S:remove()
  406. hum.WalkSpeed = 16
  407. hum.JumpPower = 50
  408. wait(2.3)
  409. S4:remove()
  410. S3:remove()
  411. end
  412.  
  413. function ring()
  414. local S4 = Instance.new("Sound",game.Soundscape)
  415. S4.SoundId = "rbxassetid://991726501"
  416. S4.Volume = 1.5
  417. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  418. pe.Texture = "rbxassetid://272050333"
  419. pe.Size = NumberSequence.new(1)
  420. pe.LightEmission = 1
  421. pe.LightInfluence = 1
  422. pe.Rate = 1000000.000
  423. pe.Rotation = NumberRange.new(0, 360)
  424. pe.Speed = NumberRange.new(10)
  425. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  426. pe.Lifetime = NumberRange.new(0.06)
  427. pe.LockedToPart = true
  428. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  429. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  430. pe2.Size = NumberSequence.new(3)
  431. pe2.LightEmission = 1
  432. pe2.LightInfluence = 1
  433. pe2.Rate = 1000
  434. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  435. pe2.Rotation = NumberRange.new(0, 360)
  436. pe2.RotSpeed = NumberRange.new(2)
  437. pe2.Speed = NumberRange.new(15)
  438. pe2.SpreadAngle = Vector2.new(360,306)
  439. pe2.Lifetime = NumberRange.new(0.06)
  440. pe2.ZOffset = 1
  441. pe2.LockedToPart = true
  442. pe2.Name = "ParticleEmitter2"
  443. wait(0.3)
  444. local me = Instance.new("Part",workspace)
  445. local mesh = Instance.new("SpecialMesh")
  446. mesh.MeshType = "FileMesh"
  447. mesh.MeshId = "rbxassetid://3270017"
  448. mesh.Scale = Vector3.new(12, 12, 0.05)
  449. mesh.Parent = me
  450. me.Anchored = true
  451. me.CanCollide = false
  452. me.BrickColor = BrickColor.new("Institutional white")
  453. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  454. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  455. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  456. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  457. me.Anchored = false
  458. local me2 = Instance.new("Part",workspace)
  459. local mesh2 = Instance.new("SpecialMesh")
  460. mesh2.MeshType = "FileMesh"
  461. mesh2.MeshId = "rbxassetid://3270017"
  462. mesh2.Scale = Vector3.new(12, 12, 0.05)
  463. mesh2.Parent = me2
  464. me2.Anchored = true
  465. me2.CanCollide = false
  466. me2.BrickColor = BrickColor.new("Institutional white")
  467. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  468. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  469. me2.CFrame = hrp.CFrame
  470. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  471. local bfor = Instance.new("BodyPosition")
  472. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  473. bfor.P = 2500
  474. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  475. bfor.Parent = me
  476. me.Velocity = me.CFrame.lookVector *65
  477. local sound2 = Instance.new("Sound",game.Soundscape)
  478. sound2.SoundId = "rbxassetid://157878578"
  479. sound2.MaxDistance = 300
  480. sound2.EmitterSize = 20
  481. sound2.Volume = 2
  482. sound2.Pitch = 0.9
  483. local sound3 = Instance.new("Sound",game.Soundscape)
  484. sound3.SoundId = "rbxassetid://138250406"
  485. sound2.MaxDistance = 400
  486. sound2.EmitterSize = 30
  487. sound2.Volume = 1.5
  488. sound2.Pitch = 0.6
  489. sound2:Play()
  490. sound3:Play()
  491. wait(0.4)
  492. local bfor = Instance.new("BodyPosition")
  493. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  494. bfor.P = 2500
  495. bfor.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0, 500, 0)
  496. bfor.Parent = plr.Character.HumanoidRootPart
  497. plr.Character.HumanoidRootPart.Velocity=plr.Character.HumanoidRootPart.CFrame.lookVector *200
  498. S4:Play()
  499. local part = Instance.new("Part",workspace)
  500. part.Transparency = 1
  501. part.CanCollide = false
  502. part.Anchored = true
  503. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  504. local smok = Instance.new("Smoke",part)
  505. smok.Opacity = 1
  506. smok.Size = 20
  507. for e = 1, 30 do
  508. wait()
  509. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  510. me.Transparency = me.Transparency + 0.04
  511. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  512. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  513. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  514. me2.Transparency = me2.Transparency + 0.04
  515. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  516. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  517. smok.Size = smok.Size + 10
  518. wait()
  519. end
  520. S4:remove()
  521. pe:remove()
  522. pe2:remove()
  523. bfor:remove()
  524. me2:remove()
  525. me:remove()
  526. for i = 0,1,0.01 do
  527. wait()
  528. smok.Opacity = smok.Opacity - 0.01
  529. end
  530. part:remove()
  531. sound2:remove()
  532. sound3:remove()
  533. end
  534.  
  535. function ring2()
  536. hum.WalkSpeed = 0
  537. hum.JumpPower = 0
  538. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  539. pe.Texture = "rbxassetid://272050333"
  540. pe.Size = NumberSequence.new(1)
  541. pe.LightEmission = 1
  542. pe.LightInfluence = 1
  543. pe.Rate = 1000000.000
  544. pe.Rotation = NumberRange.new(0, 360)
  545. pe.Speed = NumberRange.new(10)
  546. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  547. pe.Lifetime = NumberRange.new(0.06)
  548. pe.LockedToPart = true
  549. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  550. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  551. pe2.Size = NumberSequence.new(3)
  552. pe2.LightEmission = 1
  553. pe2.LightInfluence = 1
  554. pe2.Rate = 1000
  555. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  556. pe2.Rotation = NumberRange.new(0, 360)
  557. pe2.RotSpeed = NumberRange.new(2)
  558. pe2.Speed = NumberRange.new(15)
  559. pe2.SpreadAngle = Vector2.new(360,306)
  560. pe2.Lifetime = NumberRange.new(0.06)
  561. pe2.ZOffset = 1
  562. pe2.LockedToPart = true
  563. pe2.Name = "ParticleEmitter2"
  564. for l = 1, 30 do
  565. swait()
  566. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  567. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  568. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  569. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  570. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  571. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  572. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  573. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  574. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  575. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  576. end
  577. local S4 = Instance.new("Sound",game.Soundscape)
  578. S4.SoundId = "rbxassetid://991726501"
  579. S4.Volume = 1.5
  580. wait(0.3)
  581. local me = Instance.new("Part",workspace)
  582. local mesh = Instance.new("SpecialMesh")
  583. mesh.MeshType = "FileMesh"
  584. mesh.MeshId = "rbxassetid://3270017"
  585. mesh.Scale = Vector3.new(12, 12, 0.05)
  586. mesh.Parent = me
  587. me.Anchored = true
  588. me.CanCollide = false
  589. me.BrickColor = BrickColor.new("Institutional white")
  590. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  591. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  592. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  593. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  594. me.Anchored = false
  595. local me2 = Instance.new("Part",workspace)
  596. local mesh2 = Instance.new("SpecialMesh")
  597. mesh2.MeshType = "FileMesh"
  598. mesh2.MeshId = "rbxassetid://3270017"
  599. mesh2.Scale = Vector3.new(12, 12, 0.05)
  600. mesh2.Parent = me2
  601. me2.Anchored = true
  602. me2.CanCollide = false
  603. me2.BrickColor = BrickColor.new("Institutional white")
  604. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  605. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  606. me2.CFrame = hrp.CFrame
  607. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  608. local bfor = Instance.new("BodyPosition")
  609. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  610. bfor.P = 2500
  611. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  612. bfor.Parent = me
  613. me.Velocity = me.CFrame.lookVector *65
  614. local sound2 = Instance.new("Sound",game.Soundscape)
  615. sound2.SoundId = "rbxassetid://157878578"
  616. sound2.MaxDistance = 300
  617. sound2.EmitterSize = 20
  618. sound2.Volume = 2
  619. sound2.Pitch = 0.9
  620. local sound3 = Instance.new("Sound",game.Soundscape)
  621. sound3.SoundId = "rbxassetid://138250406"
  622. sound2.MaxDistance = 400
  623. sound2.EmitterSize = 30
  624. sound2.Volume = 1.5
  625. sound2.Pitch = 0.6
  626. sound2:Play()
  627. sound3:Play()
  628.  
  629. S4:Play()
  630. local part = Instance.new("Part",workspace)
  631. part.Transparency = 1
  632. part.CanCollide = false
  633. part.Anchored = true
  634. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  635. local smok = Instance.new("Smoke",part)
  636. smok.Opacity = 1
  637. smok.Size = 20
  638. local woosh4 = Instance.new("Part",workspace)
  639. woosh4.Size = Vector3.new(12, 12, 20)
  640. woosh4.BrickColor = BrickColor.new("Institutional white")
  641. local me4 = Instance.new("FileMesh",woosh4)
  642. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  643. me4.Scale = Vector3.new(1.3,0.1,1)
  644. woosh4.CanCollide = false
  645. woosh4.Anchored = true
  646. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  647. local woosh4 = Instance.new("Part",workspace)
  648. woosh4.Size = Vector3.new(12, 12, 20)
  649. woosh4.BrickColor = BrickColor.new("Institutional white")
  650. local me4 = Instance.new("FileMesh",woosh4)
  651. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  652. me4.Scale = Vector3.new(2,3.3,2)
  653. woosh4.CanCollide = false
  654. woosh4.Anchored = true
  655. woosh4.CFrame = char:FindFirstChild("Right Leg").CFrame
  656. Crater()
  657. for e = 1, 30 do
  658. wait()
  659. hito(woosh4, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  660. hito(me2, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  661. hito(me, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  662. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  663. me.Transparency = me.Transparency + 0.04
  664. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  665. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  666. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  667. me2.Transparency = me2.Transparency + 0.04
  668. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  669. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  670. smok.Size = smok.Size + 10
  671. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  672. woosh4.Transparency = woosh4.Transparency + 0.06
  673. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  674. wait()
  675. end
  676. for _ = 1, 18 do
  677. swait()
  678. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  679. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  680. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  681. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  682. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  683. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  684. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  685. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  686. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  687. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  688. end
  689. hum.WalkSpeed = 16
  690. hum.JumpPower = 50
  691. woosh4:remove()
  692. S4:remove()
  693. pe:remove()
  694. pe2:remove()
  695. me2:remove()
  696. me:remove()
  697. for i = 0,1,0.01 do
  698. wait()
  699. smok.Opacity = smok.Opacity - 0.01
  700. end
  701. part:remove()
  702. sound2:remove()
  703. sound3:remove()
  704.  
  705. end
  706.  
  707.  
  708. function lerpz(joint, prop, cfrmz, alp)
  709. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  710. end
  711.  
  712. m.KeyDown:connect(function(key)
  713. key = key:lower()
  714. if key == "e" and LOADED == 1 then
  715. LOADED = LOADED -1
  716. smash()
  717. LOADED = LOADED +1
  718. end
  719. end)
  720.  
  721. m.KeyDown:connect(function(key)
  722. key = key:lower()
  723. if key == "z" and LOADED == 1 then
  724. LOADED = LOADED -1
  725. ring()
  726. wait(1)
  727. LOADED = LOADED +1
  728. end
  729. end)
  730.  
  731.  
  732. m.KeyDown:connect(function(key)
  733. key = key:lower()
  734. if key == "r" and LOADED == 1 then
  735. LOADED = LOADED -1
  736. ring2()
  737. wait(1)
  738. LOADED = LOADED +1
  739. end
  740. end)
Advertisement
Add Comment
Please, Sign In to add comment