Advertisement
iiAtsuya

Goku Ultra Instinct

Feb 16th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 105.57 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("enjoy this goku :D ~Atsuya")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server Mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their Mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. wait(1)
  145. local p = owner
  146. local plr = owner
  147. local player = owner
  148. local char = owner.Character
  149. local Mouse = owner:GetMouse()
  150. local larm = char:WaitForChild("Left Arm")
  151. local rarm = char:WaitForChild("Right Arm")
  152. local lleg = char:WaitForChild("Left Leg")
  153. local rleg = char:WaitForChild("Right Leg")
  154. local hed = char:WaitForChild("Head")
  155. local torso = char:WaitForChild("Torso")
  156. local root = char:WaitForChild("HumanoidRootPart")
  157. local hum = char:FindFirstChildOfClass("Humanoid")
  158. local debris = game:GetService("Debris")
  159. local run = game:GetService("RunService")
  160. local rs = run.RenderStepped
  161. local cam = workspace.CurrentCamera
  162. local movement = 4
  163. local change = 0.4
  164. local DebrisModel = Instance.new("Model",char)
  165. local stealth = false
  166. local debounce = false
  167. hum.MaxHealth = math.huge
  168. hum.Health = math.huge
  169. themeid = 0
  170. themepitch = 1
  171. local Melee = false
  172. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
  173. hum.DisplayDistanceType = "None"
  174. lleg.Transparency = 1
  175. hed.Transparency = 1
  176. rleg.Transparency = 1
  177. rarm.Transparency = 1
  178. larm.Transparency = 1
  179. torso.Transparency = 1
  180. hum.WalkSpeed = 0
  181.  
  182. local UltimateBattle = Instance.new("Sound",hed)
  183. UltimateBattle.SoundId = "rbxassetid://3239091066"
  184. UltimateBattle.Pitch = 1
  185. UltimateBattle.Looped = true
  186. UltimateBattle.Volume = 5
  187.  
  188. local UltraRemix = Instance.new("Sound",hed)
  189. UltraRemix.SoundId = "rbxassetid://1923025522"
  190. UltraRemix.Pitch = 1
  191. UltraRemix.Looped = true
  192. UltraRemix.Volume = 10
  193.  
  194. local UltraInstinct = Instance.new("Sound",hed)
  195. UltraInstinct.SoundId = "rbxassetid://1473224520"
  196. UltraInstinct.Pitch = 1
  197. UltraInstinct.Looped = true
  198. UltraInstinct.Volume = 5
  199.  
  200. local Theme = Instance.new("Sound",hed)
  201. Theme.SoundId = "rbxassetid://396456430"
  202. Theme.Pitch = 1
  203. Theme.Looped = false
  204. Theme.Volume = 10
  205.  
  206. SFX = Instance.new("Sound",hed)
  207. SFX.SoundId = "rbxassetid://1216343787"
  208. SFX.Pitch = 1
  209. SFX.Looped = false
  210. SFX.Volume = 10
  211.  
  212. local AuraSFX = Instance.new("Sound",torso)
  213. AuraSFX.SoundId = "rbxassetid://1132674240"
  214. AuraSFX.Pitch = 1
  215. AuraSFX.Looped = true
  216. AuraSFX.Volume = 2
  217. local AuraSFX2 = Instance.new("Sound",torso)
  218. AuraSFX2.SoundId = "rbxassetid://1677094219"
  219. AuraSFX2.Pitch = 1
  220. AuraSFX2.Looped = true
  221. AuraSFX2.Volume = 2
  222. main = {r = 0;g = 100;b = 255;v = 1}
  223. main_color = Color3.fromRGB(main.r,main.g,main.b)
  224. explosionid = {165970126,165970390}
  225. punch = {548348185}
  226. --919941001
  227. Prefix = "/"
  228. for i,v in pairs (char:GetChildren()) do
  229. if v:IsA("CharacterMesh") then
  230. v:Destroy()
  231. end
  232. end
  233. owner.Chatted:connect(function(msg)
  234.  
  235. if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
  236. local v = tonumber(msg:sub(#Prefix+#'color r '+1))
  237. main.r = v
  238. elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
  239. local v = tonumber(msg:sub(#Prefix+#'color g '+1))
  240. main.g = v
  241. elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
  242. local v = tonumber(msg:sub(#Prefix+#'color b '+1))
  243. main.b = v
  244. elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
  245. local v = tonumber(msg:sub(#Prefix+#'color v '+1))
  246. if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
  247.  
  248. elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
  249. local v = tonumber(msg:sub(#Prefix+#'theme '+1))
  250. themeid = v
  251. music(themeid,themepitch)
  252.  
  253. elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
  254. local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
  255. themepitch = v
  256. music(themeid,themepitch)
  257.  
  258. elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
  259. local v = msg:sub(#Prefix+#'prefix '+1)
  260. Prefix = v
  261.  
  262. elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
  263. main.r = 0
  264. main.g = 100
  265. main.b = 255
  266. main.v = 1
  267. themeid = 556122490
  268. themepitch = 1
  269. music(themeid,themepitch)
  270.  
  271. end
  272.  
  273. end)
  274.  
  275. ----------------------------------------------------------------------------
  276. no_anim = false
  277. attack = false
  278. attacking = false
  279. canjump = true
  280. aiming_anim = false
  281. animid = math.random(0,1)
  282. timer = 0
  283. bg = Instance.new("BodyGyro",root)
  284. bg.P = 100000
  285. bg.D = 100
  286. ----------------------------------------------------------------------------
  287.  
  288. function rswait(value)
  289. if value ~= nil and value ~= 0 then
  290. for i=1,value do
  291. rs:wait()
  292. end
  293. else
  294. rs:wait()
  295. end
  296. end
  297.  
  298. ----------------------------------------------------------------------------
  299. local instinct = false
  300.  
  301. root.Touched:connect(function(hit)--dodge
  302. local h = hit.Parent:FindFirstChild("Humanoid")
  303. if h ~= nil then
  304. if hum.Health > 0 and instinct == true then
  305.  
  306. hum.MaxHealth = math.huge
  307. wait(0.01)
  308. hum.Health = math.huge
  309.  
  310.  
  311.  
  312.  
  313. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(7, 0, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso
  314.  
  315.  
  316.  
  317.  
  318. local ay = math.random(1,2)
  319. if ay == 1 then
  320.  
  321. hum.MaxHealth = math.huge
  322. wait(0.01)
  323. hum.Health = math.huge
  324. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-3, 0, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso
  325.  
  326.  
  327. end
  328. end
  329. end
  330. end)
  331.  
  332.  
  333. torso.Touched:connect(function(hit)--dodge
  334. local h = hit.Parent:FindFirstChildOfClass("Part")
  335. if h ~= nil then
  336. if hum.Health > 0 and instinct == true then
  337.  
  338. hum.MaxHealth = math.huge
  339. wait(0.01)
  340. hum.Health = math.huge
  341. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-8, 0, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso
  342.  
  343. root.Anchored = false
  344. local ay = math.random(1,2)
  345. if ay == 1 then
  346.  
  347. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(8, 0, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso
  348.  
  349. end
  350. end
  351. end
  352. end)
  353. torso.Touched:connect(function(hit)--dodge
  354. local h = hit.Parent:FindFirstChildOfClass("Part")
  355. if h ~= nil then
  356. if hum.Health > 0 and instinct == true then
  357.  
  358. hum.MaxHealth = math.huge
  359. wait(0.01)
  360. hum.Health = math.huge
  361. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, -25) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso
  362.  
  363.  
  364.  
  365.  
  366. end
  367. end
  368. end)
  369. ---
  370. Instance.new("ForceField",char).Visible = false
  371. hum:SetStateEnabled("Dead",false)
  372. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  373. ---
  374. for i,v in pairs(char:children()) do
  375. if v:IsA("Hat") then
  376. v:Destroy()
  377. end
  378. end
  379. for i,v in pairs(char:children()) do
  380. if v:IsA("Accessory") then
  381. v:Destroy()
  382. end
  383. end
  384. for i,v in pairs(char:children()) do
  385. if v:IsA("Hair") then
  386. v:Destroy()
  387. end
  388. end
  389.  
  390. ---
  391. wait(7)
  392. SFX:Play()
  393. wait(0.5)
  394. Theme:Play()
  395. local EnergyBall = Instance.new('ParticleEmitter',torso)
  396. EnergyBall.Color = ColorSequence.new(Color3.fromRGB(50,255,255))
  397. EnergyBall.LightEmission = 1
  398. EnergyBall.LightInfluence = 0
  399. EnergyBall.Enabled = true
  400. EnergyBall.Size = NumberSequence.new(100)
  401. EnergyBall.Lifetime = NumberRange.new(0.5)
  402. EnergyBall.Rate = 250
  403. EnergyBall.Speed = NumberRange.new(0)
  404. EnergyBall.Rotation = NumberRange.new(0,35)
  405. EnergyBall.ZOffset = 2
  406. MUIBlow = Instance.new("ParticleEmitter",root)
  407. MUIBlow.Size = NumberSequence.new(40)
  408. MUIBlow.Rate = 150
  409. MUIBlow.Color = ColorSequence.new(Color3.fromRGB(50,255,255))
  410. MUIBlow.ZOffset = 2
  411. MUIBlow.Rotation = NumberRange.new(0, 500)
  412. MUIBlow.LightEmission = 0.93
  413. MUIBlow.LightInfluence = 0
  414. MUIBlow.Lifetime = NumberRange.new(30)
  415. MUIBlow.Enabled = true
  416. MUIBlow.LockedToPart = false
  417. MUIBlow.Speed = NumberRange.new(50)
  418. wait(5)
  419. lleg.Transparency = 0
  420. hed.Transparency = 0
  421. rleg.Transparency = 0
  422. rarm.Transparency = 0
  423. larm.Transparency = 0
  424. torso.Transparency = 0
  425. local HairAura = Instance.new('ParticleEmitter')
  426. HairAura.Name = "Aura"
  427. HairAura.Texture = "rbxassetid://1200947142"
  428. HairAura.Parent = hed
  429. HairAura.LightEmission = 1
  430. HairAura.Enabled = true
  431. HairAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  432. HairAura.Size = NumberSequence.new(1.1)
  433. HairAura.LockedToPart = true
  434. HairAura.Lifetime = NumberRange.new(2)
  435. HairAura.Rate = 30
  436. HairAura.Speed = NumberRange.new(0.1)
  437. HairAura.Rotation = NumberRange.new(-360,360)
  438. HairAura.EmissionDirection = "Top"
  439. HairAura.ZOffset = -1
  440. char.Shirt.ShirtTemplate = "rbxassetid://2725969705"
  441. char.Pants.PantsTemplate = "rbxassetid://2725971343"
  442. local Hat = Instance.new("Part",char)
  443. Hat.Size = Vector3.new(1,1,1)
  444. Hat.Material = "SmoothPlastic"
  445. Hat.BrickColor = BrickColor.new("Really black")
  446. Hat.CanCollide = false
  447. Hat.Material = "Glass"
  448. local Hat2 = Instance.new("SpecialMesh",Hat)
  449. Hat2.MeshId = "rbxassetid://1493485805"
  450. Hat2.Scale = Vector3.new(0.07,0.07,0.07)
  451. Hat2.Offset = Vector3.new(0,0,0.15)
  452. local Hat3 = Instance.new("Weld",Hat)
  453. Hat3.Part0 = hed
  454. Hat3.Part1 = Hat
  455. Hat3.C0 = CFrame.new(-0.05,0.85,-0.1)*CFrame.Angles(math.rad(88.93),math.rad(180),math.rad(0))
  456. local Shirtpart = Instance.new("Part",char)
  457. Shirtpart.Size = Vector3.new(1,1,1)
  458. Shirtpart.Material = "Plastic"
  459. Shirtpart.BrickColor = BrickColor.new("Rust")
  460. Shirtpart.CanCollide = false
  461. local Shirtpart2 = Instance.new("SpecialMesh",Shirtpart)
  462. Shirtpart2.MeshId = "rbxassetid://1567960271"
  463. Shirtpart2.Scale = Vector3.new(0.060,0.036,0.052)
  464. local Shirtpart3 = Instance.new("Weld",Shirtpart)
  465. Shirtpart3.Part0 = torso
  466. Shirtpart3.Part1 = Shirtpart
  467. Shirtpart3.C0 = CFrame.new(0.01,-0.7,-0.1)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  468. local ShirtpartB = Instance.new("Part",char)
  469. ShirtpartB.Size = Vector3.new(1,1,1)
  470. ShirtpartB.Material = "Plastic"
  471. ShirtpartB.BrickColor = BrickColor.new("Navy blue")
  472. ShirtpartB.CanCollide = false
  473. ShirtpartB.Transparency = 1
  474. local ShirtpartB2 = Instance.new("SpecialMesh",ShirtpartB)
  475. ShirtpartB2.MeshId = "rbxassetid://1567960271"
  476. ShirtpartB2.Scale = Vector3.new(0.060,0.036,0.052)
  477. local ShirtpartB3 = Instance.new("Weld",ShirtpartB)
  478. ShirtpartB3.Part0 = torso
  479. ShirtpartB3.Part1 = ShirtpartB
  480. ShirtpartB3.C0 = CFrame.new(0.01,-0.6,-0.1)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  481. wait(30)
  482. local RightAura = Instance.new('ParticleEmitter')
  483. RightAura.Name = "Aura"
  484. RightAura.Texture = "rbxassetid://1200947142"
  485. RightAura.Parent = rleg
  486. RightAura.LightEmission = 1
  487. RightAura.Enabled = true
  488. RightAura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  489. RightAura.Size = NumberSequence.new(1.1)
  490. RightAura.LockedToPart = true
  491. RightAura.Lifetime = NumberRange.new(2)
  492. RightAura.Rate = 30
  493. RightAura.Speed = NumberRange.new(0.1)
  494. RightAura.Rotation = NumberRange.new(-360,360)
  495. RightAura.EmissionDirection = "Top"
  496. RightAura.ZOffset = -1
  497.  
  498. local RightLow = Instance.new('ParticleEmitter')
  499. RightLow.Name = "Aura"
  500. RightLow.Texture = "rbxassetid://1200947142"
  501. RightLow.Parent = lleg
  502. RightLow.LightEmission = 1
  503. RightLow.Enabled = true
  504. RightLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  505. RightLow.Size = NumberSequence.new(1.1)
  506. RightLow.LockedToPart = true
  507. RightLow.Lifetime = NumberRange.new(2)
  508. RightLow.Rate = 30
  509. RightLow.Speed = NumberRange.new(0.1)
  510. RightLow.Rotation = NumberRange.new(-360,360)
  511. RightLow.EmissionDirection = "Top"
  512. RightLow.ZOffset = -1
  513.  
  514. local LeftLow = Instance.new('ParticleEmitter')
  515. LeftLow.Name = "Aura"
  516. LeftLow.Texture = "rbxassetid://1200947142"
  517. LeftLow.Parent = larm
  518. LeftLow.LightEmission = 1
  519. LeftLow.Enabled = true
  520. LeftLow.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  521. LeftLow.Size = NumberSequence.new(1.1)
  522. LeftLow.LockedToPart = true
  523. LeftLow.Lifetime = NumberRange.new(2)
  524. LeftLow.Rate = 30
  525. LeftLow.Speed = NumberRange.new(0.1)
  526. LeftLow.Rotation = NumberRange.new(-360,360)
  527. LeftLow.EmissionDirection = "Top"
  528. LeftLow.ZOffset = -1
  529.  
  530. local LeftLeg = Instance.new('ParticleEmitter')
  531. LeftLeg.Name = "Aura"
  532. LeftLeg.Texture = "rbxassetid://1200947142"
  533. LeftLeg.Parent = rarm
  534. LeftLeg.LightEmission = 1
  535. LeftLeg.Enabled = true
  536. LeftLeg.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  537. LeftLeg.Size = NumberSequence.new(1.1)
  538. LeftLeg.LockedToPart = true
  539. LeftLeg.Lifetime = NumberRange.new(2)
  540. LeftLeg.Rate = 30
  541. LeftLeg.Speed = NumberRange.new(0.1)
  542. LeftLeg.Rotation = NumberRange.new(-360,360)
  543. LeftLeg.EmissionDirection = "Top"
  544. LeftLeg.ZOffset = -1
  545. wait(0.1)
  546. --other aura
  547. local Small = Instance.new('ParticleEmitter')
  548. Small.Name = "Aura"
  549. Small.Texture = "rbxassetid://242102147"
  550. Small.Parent = torso
  551. Small.LightEmission = 1
  552. Small.Enabled = true
  553. Small.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  554. Small.Size = NumberSequence.new(0.5)
  555. Small.LockedToPart = false
  556. Small.Lifetime = NumberRange.new(0.5)
  557. Small.Rate = 150
  558. Small.Speed = NumberRange.new(4)
  559. Small.Rotation = NumberRange.new(-50,50)
  560. Small.EmissionDirection = "Top"
  561. Small.ZOffset = 2
  562. local Small2 = Instance.new('ParticleEmitter')
  563. Small2.Name = "Aura"
  564. Small2.Texture = "rbxassetid://242102147"
  565. Small2.Parent = rarm
  566. Small2.LightEmission = 1
  567. Small2.Enabled = true
  568. Small2.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  569. Small2.Size = NumberSequence.new(0.5)
  570. Small2.LockedToPart = false
  571. Small2.Lifetime = NumberRange.new(0.5)
  572. Small2.Rate = 150
  573. Small2.Speed = NumberRange.new(4)
  574. Small2.Rotation = NumberRange.new(-50,50)
  575. Small2.EmissionDirection = "Top"
  576. Small2.ZOffset = 2
  577. local Small3 = Instance.new('ParticleEmitter')
  578. Small3.Name = "Aura"
  579. Small3.Texture = "rbxassetid://242102147"
  580. Small3.Parent = larm
  581. Small3.LightEmission = 1
  582. Small3.Enabled = true
  583. Small3.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  584. Small3.Size = NumberSequence.new(0.5)
  585. Small3.LockedToPart = false
  586. Small3.Lifetime = NumberRange.new(0.5)
  587. Small3.Rate = 150
  588. Small3.Speed = NumberRange.new(4)
  589. Small3.Rotation = NumberRange.new(-50,50)
  590. Small3.EmissionDirection = "Top"
  591. Small3.ZOffset = 2
  592. local Small4 = Instance.new('ParticleEmitter')
  593. Small4.Name = "Aura"
  594. Small4.Texture = "rbxassetid://242102147"
  595. Small4.Parent = rleg
  596. Small4.LightEmission = 1
  597. Small4.Enabled = true
  598. Small4.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  599. Small4.Size = NumberSequence.new(0.5)
  600. Small4.LockedToPart = false
  601. Small4.Lifetime = NumberRange.new(0.5)
  602. Small4.Rate = 150
  603. Small4.Speed = NumberRange.new(4)
  604. Small4.Rotation = NumberRange.new(-50,50)
  605. Small4.EmissionDirection = "Top"
  606. Small4.ZOffset = 2
  607. local Small5 = Instance.new('ParticleEmitter')
  608. Small5.Name = "Aura"
  609. Small5.Texture = "rbxassetid://242102147"
  610. Small5.Parent = lleg
  611. Small5.LightEmission = 1
  612. Small5.Enabled = true
  613. Small5.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  614. Small5.Size = NumberSequence.new(0.5)
  615. Small5.LockedToPart = false
  616. Small5.Lifetime = NumberRange.new(0.5)
  617. Small5.Rate = 150
  618. Small5.Speed = NumberRange.new(4)
  619. Small5.Rotation = NumberRange.new(-50,50)
  620. Small5.EmissionDirection = "Top"
  621. Small5.ZOffset = 2
  622. local Small6 = Instance.new('ParticleEmitter')
  623. Small6.Name = "Aura"
  624. Small6.Texture = "rbxassetid://242102147"
  625. Small6.Parent = hed
  626. Small6.LightEmission = 1
  627. Small6.Enabled = true
  628. Small6.Color = ColorSequence.new(BrickColor.new("Electric blue").Color)
  629. Small6.Size = NumberSequence.new(0.5)
  630. Small6.LockedToPart = false
  631. Small6.Lifetime = NumberRange.new(0.5)
  632. Small6.Rate = 150
  633. Small6.Speed = NumberRange.new(4)
  634. Small6.Rotation = NumberRange.new(-50,50)
  635. Small6.EmissionDirection = "Top"
  636. Small6.ZOffset = 2
  637. local MUI = false
  638.  
  639. local Grab = Instance.new("Part",hed)
  640. Grab.Size = Vector3.new(3.9,5,3.9)
  641. Grab.CanCollide = false
  642. Grab.BrickColor = BrickColor.new("Deep orange")
  643. Grab.Transparency = 1
  644. local Grabo = Instance.new("Weld",Grab)
  645. Grabo.Part0 = hed
  646. Grabo.Part1 = Grab
  647. Grabo.C0 = CFrame.new(0,-1.5,0)
  648.  
  649. local AuraB = Instance.new("Part",hed)
  650. AuraB.Size = Vector3.new(2,1,2)
  651. AuraB.CanCollide = false
  652. AuraB.BrickColor = BrickColor.new("Deep orange")
  653. AuraB.Transparency = 1
  654. local AuraBo = Instance.new("Weld",AuraB)
  655. AuraBo.Part0 = hed
  656. AuraBo.Part1 = AuraB
  657. AuraBo.C0 = CFrame.new(0,-3.6,0)
  658. local FZcharge3 = Instance.new("ParticleEmitter",Grab)
  659. FZcharge3.Texture = "rbxassetid://1468162128"
  660. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248))
  661. FZcharge3.EmissionDirection = "Top"
  662. FZcharge3.Speed = NumberRange.new(2)
  663. FZcharge3.Size = NumberSequence.new(0.6,0)
  664. FZcharge3.Enabled = true
  665. FZcharge3.Drag = 1.2
  666. FZcharge3.LockedToPart = true
  667. FZcharge3.Lifetime = NumberRange.new(1)
  668. FZcharge3.Rate = 55
  669. FZcharge3.LightEmission = 0.3
  670. FZcharge3.Rotation = NumberRange.new(-5,5)
  671. FZcharge3.VelocitySpread = 0.2
  672. FZcharge3.ZOffset = 2.5
  673. UILight = Instance.new("PointLight",torso)
  674. UILight.Enabled = true
  675. UILight.Name = "UltraInstinctLight"
  676. UILight.Color = Color3.new(0,0,255)
  677. UILight.Range = 11
  678. UILight.Brightness = 700
  679. Theme:Stop()
  680. MUIBlow.Enabled = false
  681. EnergyBall.Enabled = false
  682. instinct = true
  683. AuraSFX:Play()
  684. UltraInstinct:Play()
  685. max = 0
  686. function music(id,pitch)
  687. max = 0
  688. if id == "Stop" then
  689. if not torso:FindFirstChild("MusicRuin") then
  690. soundz = Instance.new("Sound",torso)
  691. end
  692. soundz:Stop()
  693. else
  694. if not torso:FindFirstChild("MusicRuin") then
  695. soundz = Instance.new("Sound",torso)
  696. end
  697. soundz.MaxDistance = 150*5
  698. soundz.EmitterSize = 150/5
  699. soundz.Volume = 10
  700. soundz.Name = "MusicRuin"
  701. soundz.Looped = true
  702. soundz.PlaybackSpeed = pitch
  703. soundz.SoundId = "rbxassetid://"..id
  704. soundz:Stop()
  705. soundz:Play()
  706. end
  707. end
  708.  
  709. ----------------------------------------------------------------------------
  710.  
  711. function lerp(a, b, t)
  712. return a + (b - a)*t
  713. end
  714.  
  715. ----------------------------------------------------------------------------
  716.  
  717. function Lerp(c1,c2,al)
  718. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  719. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  720. for i,v in pairs(com1) do
  721. com1[i] = v+(com2[i]-v)*al
  722. end
  723. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  724. end
  725.  
  726. ----------------------------------------------------------------------------
  727.  
  728. function slerp(a, b, t)
  729. dot = a:Dot(b)
  730. if dot > 0.99999 or dot < -0.99999 then
  731. return t <= 0.5 and a or b
  732. else
  733. r = math.acos(dot)
  734. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  735. end
  736. end
  737.  
  738. ----------------------------------------------------------------------------
  739.  
  740. function clerp(c1,c2,al)
  741.  
  742. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  743.  
  744. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  745.  
  746. for i,v in pairs(com1) do
  747.  
  748. com1[i] = lerp(v,com2[i],al)
  749.  
  750. end
  751.  
  752. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  753.  
  754. end
  755.  
  756. ----------------------------------------------------------------------------
  757. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://986775808"
  758. function findAllNearestTorso(pos,dist)
  759. local list = game.Workspace:children()
  760. local torso = {}
  761. local temp = nil
  762. local human = nil
  763. local temp2 = nil
  764. for x = 1, #list do
  765. temp2 = list[x]
  766. if (temp2.className == "Model") and (temp2 ~= char) then
  767. local nayem = "Torso"
  768. if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
  769. temp = temp2:findFirstChild(nayem)
  770. human = temp2:findFirstChildOfClass("Humanoid")
  771. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  772. if (temowner.Position - pos).magnitude < dist then
  773. table.insert(torso,temp)
  774. dist = (temowner.Position - pos).magnitude
  775. end
  776. end
  777. end
  778. end
  779. return torso
  780. end
  781.  
  782. ----------------------------------------------------------------------------
  783.  
  784. local isAPlayer
  785. function checkIfNotPlayer(model)
  786. coroutine.resume(coroutine.create(function()
  787. if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
  788. isAPlayer = true
  789. else
  790. isAPlayer = false
  791. end
  792. end))
  793. return isAPlayer
  794. end
  795.  
  796. ----------------------------------------------------------------------------
  797.  
  798. function computeDirection(vec)
  799. local lenSquared = vec.magnitude * vec.magnitude
  800. local invSqrt = 1 / math.sqrt(lenSquared)
  801. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  802. end
  803.  
  804. ----------------------------------------------------------------------------
  805.  
  806. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  807.  
  808. local wld = Instance.new("Weld", wp1)
  809.  
  810. wld.Part0 = wp0
  811.  
  812. wld.Part1 = wp1
  813.  
  814. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  815.  
  816. return wld
  817.  
  818. end
  819.  
  820. ----------------------------------------------------------------------------
  821.  
  822. function weld(model)
  823. local parts,last = {}
  824. local function scan(parent)
  825. for _,v in pairs(parent:GetChildren()) do
  826. if (v:IsA("BasePart")) then
  827. if (last) then
  828. local w = Instance.new("Weld")
  829. w.Name = ("%s_Weld"):format(v.Name)
  830. w.Part0,w.Part1 = last,v
  831. w.C0 = last.CFrame:inverse()
  832. w.C1 = v.CFrame:inverse()
  833. w.Parent = last
  834. end
  835. last = v
  836. table.insert(parts,v)
  837. end
  838. scan(v)
  839. end
  840. end
  841. scan(model)
  842. for _,v in pairs(parts) do
  843. v.Anchored = false
  844. v.Locked = true
  845. end
  846. end
  847.  
  848. ----------------------------------------------------------------------------
  849.  
  850. function sound(id,position,vol,pitch,dist,start,finish)
  851. coroutine.resume(coroutine.create(function()
  852.  
  853. local part = Instance.new("Part",DebrisModel)
  854. part.Anchored = true
  855. part.Position = position
  856. part.Size = Vector3.new(0,0,0)
  857. part.CanCollide = false
  858. part.Transparency = 1
  859.  
  860. soundasd = Instance.new("Sound",part)
  861.  
  862. soundasd.SoundId = "rbxassetid://"..id
  863.  
  864. if vol ~= nil then
  865. soundasd.Volume = vol
  866. end
  867.  
  868. if pitch ~= nil then
  869. soundasd.PlaybackSpeed = pitch
  870. end
  871.  
  872. if dist ~= nil then
  873. soundasd.MaxDistance = dist*5
  874. soundasd.EmitterSize = dist/5
  875. end
  876.  
  877. delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
  878.  
  879. soundasd:Play()
  880.  
  881. end))
  882. return soundasd
  883. end
  884.  
  885. function createsound(id,parent)
  886.  
  887. local soundz = Instance.new("Sound",parent)
  888.  
  889. soundz.SoundId = "rbxassetid://"..id
  890.  
  891. return soundz
  892.  
  893. end
  894.  
  895. function playsound(sond,vol,pitch,start)
  896.  
  897. if vol ~= nil then
  898. sond.Volume = vol
  899. end
  900.  
  901. if pitch ~= nil then
  902. sond.PlaybackSpeed = pitch
  903. end
  904.  
  905. if start ~= nil then
  906. sond.TimePosition = start
  907. end
  908.  
  909. sond:Play()
  910.  
  911. end
  912.  
  913. ----------------------------------------------------------------------------
  914. eColors={"Really red","Really black"}
  915. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
  916. local magz = (Part0 - Part1).magnitude
  917. local curpos = Part0
  918. local trz = {-Offset,Offset}
  919. for i=1,Times do
  920. local li = Instance.new("Part", DebrisModel)
  921. li.TopSurface =0
  922. li.Material = Enum.Material.Neon
  923. li.BottomSurface = 0
  924. li.Anchored = true
  925. li.Locked = true
  926. li.Transparency = Trans or 0.4
  927. li.BrickColor = BrickColor.new(Color)
  928. li.formFactor = "Custom"
  929. li.CanCollide = false
  930. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  931. local lim = Instance.new("BlockMesh",li)
  932. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  933. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  934. if Times == i then
  935. local magz2 = (curpos - Part1).magnitude
  936. li.Size = Vector3.new(Thickness,Thickness,magz2)
  937. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  938. else
  939. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  940. end
  941. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  942. li.Name = "LIGHTNING"
  943. end
  944. end
  945.  
  946. ----------------------------------------------------------------------------
  947. char.Shirt.ShirtTemplate = "rbxassetid://2725969705"
  948. char.Pants.PantsTemplate = "rbxassetid://2725971343"
  949.  
  950. local HBill = Instance.new("BillboardGui",hed)
  951. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  952. local HName = Instance.new("TextLabel")
  953. HBill.Size = UDim2.new(15,0,2.2,0)
  954. HBill.StudsOffset = Vector3.new(3.675,1.2,0)
  955. HBill.AlwaysOnTop = true
  956. HBill.Enabled = true
  957. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  958. HMain.BackgroundTransparency = 1
  959. HMain.Size = UDim2.new(.5,0,.2,0)
  960. HName.Parent = HMain
  961. HName.BackgroundTransparency = 1
  962. HName.BackgroundColor3 = Color3.new(255,255,255)
  963. HName.BorderColor3 = Color3.new(0,0,0)
  964. HName.BorderSizePixel = 2
  965. HName.TextTransparency = 1
  966. HName.Size = UDim2.new(1,0,.75,0)
  967. HName.Font = "Code"
  968. HName.Text = [[ok]]
  969. HName.TextScaled = true
  970. HName.TextColor3 = Color3.new(0.5,0.5,0.5)
  971. HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
  972. HName.TextStrokeTransparency = 1
  973. HName.TextYAlignment = "Bottom"
  974.  
  975. local HBill = Instance.new("BillboardGui",hed)
  976. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  977. local HName = Instance.new("TextLabel")
  978. HBill.Size = UDim2.new(15,0,2.2,0)
  979. HBill.StudsOffset = Vector3.new(3.675,2,0)
  980. HBill.AlwaysOnTop = true
  981. HBill.Enabled = true
  982. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  983. HMain.BackgroundTransparency = 1
  984. HMain.Size = UDim2.new(.5,0,.5,0)
  985. HName.Parent = HMain
  986. HName.BackgroundTransparency = 1
  987. HName.BackgroundColor3 = Color3.new(255,255,255)
  988. HName.BorderColor3 = Color3.new(0,0,0)
  989. HName.BorderSizePixel = 2
  990. HName.Size = UDim2.new(1,0,.75,0)
  991. HName.Font = "Code"
  992. HName.TextTransparency = 1
  993. HName.Text = [[hi]]
  994. HName.TextScaled = true
  995. HName.TextColor3 = Color3.new(0,0,0)
  996. HName.TextStrokeColor3 = Color3.new(255,255,255)
  997. HName.TextStrokeTransparency = 1
  998. HName.TextYAlignment = "Bottom"
  999.  
  1000. function bigboomrektxd()
  1001. coroutine.resume(coroutine.create(function()
  1002. local magnitude = nil
  1003. local Position = nil
  1004. if animid == 0 then
  1005. Position = larm.Position
  1006. else
  1007. Position = rarm.Position
  1008. end
  1009. --sound(743499393,Position,10,math.random(6,8)/10)
  1010. sound(1050751126,Position,10,math.random(10,12)/10,50)
  1011.  
  1012. local Part1 = Instance.new("Part")
  1013. local mesh2 = Instance.new("SpecialMesh",Part1)
  1014. mesh2.MeshId = "rbxassetid://559831844"
  1015. mesh2.Scale = Vector3.new(0,0,0.4)
  1016. Part1.Material = Enum.Material.Neon
  1017. Part1.CanCollide = false
  1018. Part1.BrickColor = BrickColor.new("White")
  1019. Part1.Parent = DebrisModel
  1020. Part1.Size = Vector3.new(0,0,0)
  1021. Part1.Anchored = true
  1022. Part1.CFrame = CFrame.new(Position,Mouse.Hit.p)
  1023. Part1.Name = "EXPLOSION2"
  1024.  
  1025. local Part0 = Instance.new("Part",DebrisModel)
  1026. local PointLight2 = Instance.new("PointLight")
  1027. Part0.Name = "Bullet"
  1028. Part0.Material = Enum.Material.Neon
  1029. Part0.BrickColor = BrickColor.new("New Yeller")
  1030. Part0.Anchored = false
  1031. Part0.Size = Vector3.new(5, 5, 5)
  1032. local mesh = Instance.new("SpecialMesh",Part0)
  1033. mesh.MeshType = Enum.MeshType.Sphere
  1034. local bforce = Instance.new("BodyForce",Part0)
  1035. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1036. Part0.CanCollide = false
  1037. PointLight2.Parent = Part0
  1038. PointLight2.Color = Part0.Color
  1039. local Target = Mouse.Hit.p
  1040. local direction = Target - Position
  1041. local direction = computeDirection(direction)
  1042. local pos = Position + (direction * 2)
  1043. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1044. Part0.Velocity = direction * 60
  1045. local asd = nil
  1046. local loop = nil
  1047. delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1048. loop = rs:connect(function()
  1049. local asdf = math.random(500,1000)/1000
  1050. local Part1 = Instance.new("Part")
  1051. local mesh2 = Instance.new("SpecialMesh",Part1)
  1052. mesh2.MeshType = Enum.MeshType.Sphere
  1053. Part1.Material = Enum.Material.Neon
  1054. Part1.CanCollide = false
  1055. Part1.BrickColor = BrickColor.new("Gold")
  1056. Part1.Parent = DebrisModel
  1057. Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
  1058. Part1.Anchored = true
  1059. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  1060. Part1.Name = "SMOKE"
  1061. end)
  1062. asd = Part0.Touched:connect(function(ht)
  1063. local hit=ht.Parent
  1064. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1065. asd:disconnect()
  1066. loop:disconnect()
  1067. Part0:Destroy()
  1068.  
  1069. sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
  1070. for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
  1071. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1072. v:Destroy()
  1073. else
  1074. v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
  1075. end
  1076. local Position = Part0.Position
  1077. local Target = v.Position
  1078. local direction = Target - Position
  1079. local direction = computeDirection(direction)
  1080. local bv = Instance.new("BodyVelocity",v)
  1081. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  1082. debris:AddItem(bv,1)
  1083. end
  1084. for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
  1085. for z=1,math.random(2,3) do
  1086. local asdf = math.random(-5,5)*10-(i/20)*8
  1087. local Part1 = Instance.new("Part")
  1088. local mesh2 = Instance.new("SpecialMesh",Part1)
  1089. mesh2.MeshType = Enum.MeshType.Sphere
  1090. mesh2.Scale = Vector3.new(0,0,0)
  1091. Part1.Material = Enum.Material.Neon
  1092. Part1.CanCollide = false
  1093. Part1.BrickColor = BrickColor.new("Gold")
  1094. Part1.Parent = DebrisModel
  1095. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1096. Part1.Anchored = true
  1097. local a = i*0.5
  1098. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
  1099. Part1.Name = "EXPLOSION"
  1100. end
  1101. end
  1102.  
  1103. end
  1104. end)
  1105. end))
  1106. end
  1107.  
  1108.  
  1109. function WhiteBall()
  1110. coroutine.resume(coroutine.create(function()
  1111. local magnitude = nil
  1112. local Position = nil
  1113. if animid == 0 then
  1114. Position = larm.Position
  1115. else
  1116. Position = rarm.Position
  1117. end
  1118. --sound(743499393,Position,10,math.random(6,8)/10)
  1119. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1120.  
  1121. local Part1 = Instance.new("Part")
  1122. local mesh2 = Instance.new("SpecialMesh",Part1)
  1123. mesh2.MeshId = "rbxassetid://559831844"
  1124. mesh2.Scale = Vector3.new(0,0,0.4)
  1125. Part1.Material = Enum.Material.Neon
  1126. Part1.CanCollide = false
  1127. Part1.BrickColor = BrickColor.new("White")
  1128. Part1.Parent = DebrisModel
  1129. Part1.Size = Vector3.new(0,0,0)
  1130. Part1.Anchored = true
  1131. Part1.CFrame = CFrame.new(Position,Mouse.Hit.p)
  1132. Part1.Name = "EXPLOSION3"
  1133.  
  1134. local Part0 = Instance.new("Part",DebrisModel)
  1135. local PointLight2 = Instance.new("PointLight")
  1136. Part0.Name = "Bullet"
  1137. Part0.Material = Enum.Material.Neon
  1138. Part0.BrickColor = BrickColor.new("White")
  1139. Part0.Anchored = false
  1140. Part0.Size = Vector3.new(5, 5, 5)
  1141. local mesh = Instance.new("SpecialMesh",Part0)
  1142. mesh.MeshType = Enum.MeshType.Sphere
  1143. mesh.Scale = Vector3.new(3,3,3)
  1144. local bforce = Instance.new("BodyForce",Part0)
  1145. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1146. Part0.CanCollide = false
  1147. PointLight2.Parent = Part0
  1148. PointLight2.Color = Part0.Color
  1149. local Target = Mouse.Hit.p
  1150. local direction = Target - Position
  1151. local direction = computeDirection(direction)
  1152. local pos = Position + (direction * 2)
  1153. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1154. Part0.Velocity = direction * 150
  1155. local asd = nil
  1156. local loop = nil
  1157. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1158. loop = rs:connect(function()
  1159. local asdf = math.random(500,1000)/1000
  1160. local Part1 = Instance.new("Part")
  1161. local mesh2 = Instance.new("SpecialMesh",Part1)
  1162. mesh2.MeshType = Enum.MeshType.Sphere
  1163. Part1.Material = Enum.Material.Neon
  1164. Part1.CanCollide = false
  1165. Part1.BrickColor = BrickColor.new("White")
  1166. Part1.Parent = DebrisModel
  1167. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  1168. Part1.Anchored = true
  1169. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
  1170. Part1.Name = "SMOKE"
  1171. end)
  1172. asd = Part0.Touched:connect(function(ht)
  1173. local hit=ht.Parent
  1174. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1175. asd:disconnect()
  1176. loop:disconnect()
  1177. Part0:Destroy()
  1178.  
  1179. sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
  1180. for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
  1181. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1182. v:Destroy()
  1183. else
  1184. v.Parent:BreakJoints()
  1185. end
  1186. local Position = Part0.Position
  1187. local Target = v.Position
  1188. local direction = Target - Position
  1189. local direction = computeDirection(direction)
  1190. local bv = Instance.new("BodyVelocity",v)
  1191. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  1192. debris:AddItem(bv,1)
  1193. end
  1194. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  1195. for z=1,math.random(2,3) do
  1196. local asdf = math.random(-5,5)*10-(i/20)*12
  1197. local Part1 = Instance.new("Part")
  1198. local mesh2 = Instance.new("SpecialMesh",Part1)
  1199. mesh2.MeshType = Enum.MeshType.Sphere
  1200. mesh2.Scale = Vector3.new(0,0,0)
  1201. Part1.Material = Enum.Material.Neon
  1202. Part1.CanCollide = false
  1203. Part1.BrickColor = BrickColor.new("White")
  1204. Part1.Parent = DebrisModel
  1205. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1206. Part1.Anchored = true
  1207. local a = i*5
  1208. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
  1209. Part1.Name = "EXPLOSION4"
  1210. end
  1211. end
  1212.  
  1213. end
  1214. end)
  1215. end))
  1216. end
  1217.  
  1218.  
  1219. function AirPunch()
  1220. coroutine.resume(coroutine.create(function()
  1221. local magnitude = nil
  1222. local Position = nil
  1223. if animid == 0 then
  1224. Position = larm.Position
  1225. else
  1226. Position = rarm.Position
  1227. end
  1228. --sound(743499393,Position,10,math.random(6,8)/10)
  1229. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1230.  
  1231. local Part1 = Instance.new("Part")
  1232. local mesh2 = Instance.new("SpecialMesh",Part1)
  1233. mesh2.MeshId = "rbxassetid://559831844"
  1234. mesh2.Scale = Vector3.new(0,0,0.4)
  1235. Part1.Material = Enum.Material.Neon
  1236. Part1.CanCollide = false
  1237. Part1.BrickColor = BrickColor.new("White")
  1238. Part1.Parent = DebrisModel
  1239. Part1.Size = Vector3.new(0,0,0)
  1240. Part1.Anchored = true
  1241. Part1.CFrame = CFrame.new(Position,Mouse.Hit.p)
  1242. Part1.Name = "EXPLOSION3"
  1243.  
  1244. local Part0 = Instance.new("Part",DebrisModel)
  1245. local PointLight2 = Instance.new("PointLight")
  1246. Part0.Name = "Bullet"
  1247. Part0.Material = Enum.Material.Neon
  1248. Part0.BrickColor = BrickColor.new("White")
  1249. Part0.Anchored = false
  1250. Part0.Size = Vector3.new(1,1,1)
  1251. Part0.Transparency = 0.5
  1252. local mesh = Instance.new("SpecialMesh",Part0)
  1253. mesh.MeshId = "rbxassetid://437347603"
  1254. mesh.Scale = Vector3.new(1.3,1.3,4.4)
  1255. local bforce = Instance.new("BodyForce",Part0)
  1256. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1257. Part0.CanCollide = false
  1258. PointLight2.Parent = Part0
  1259. PointLight2.Color = Part0.Color
  1260. local Target = Mouse.Hit.p
  1261. local direction = Target - Position
  1262. local direction = computeDirection(direction)
  1263. local pos = Position + (direction * 2)
  1264. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  1265. Part0.Velocity = direction * 550
  1266. local asd = nil
  1267. local loop = nil
  1268. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1269. loop = rs:connect(function()
  1270. local asdf = math.random(500,1000)/1000
  1271. local Part1 = Instance.new("Part")
  1272. local mesh2 = Instance.new("SpecialMesh",Part1)
  1273. mesh2.MeshType = Enum.MeshType.Sphere
  1274. Part1.Material = Enum.Material.Neon
  1275. Part1.CanCollide = false
  1276. Part1.BrickColor = BrickColor.new("White")
  1277. Part1.Parent = DebrisModel
  1278. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  1279. Part1.Anchored = true
  1280. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  1281. Part1.Name = "SMOKE"
  1282. end)
  1283. asd = Part0.Touched:connect(function(ht)
  1284. local hit=ht.Parent
  1285. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1286. asd:disconnect()
  1287. loop:disconnect()
  1288. Part0:Destroy()
  1289.  
  1290. sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
  1291. for i,v in pairs(findAllNearestTorso(Part0.Position,30)) do
  1292. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1293. v:Destroy()
  1294. else
  1295. v.Parent.Humanoid:TakeDamage(100000)
  1296. local Fl = Instance.new("BodyVelocity",v.Parent.Head)
  1297. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1298. Fl.velocity = Part0.CFrame.lookVector*395
  1299. wait(0.05)
  1300. Fl:remove()
  1301.  
  1302. end
  1303. local Position = Part0.Position
  1304. local Target = v.Position
  1305. local direction = Target - Position
  1306. local direction = computeDirection(direction)
  1307. local bv = Instance.new("BodyVelocity",v)
  1308. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  1309. debris:AddItem(bv,1)
  1310. end
  1311. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  1312. for z=1,math.random(2,3) do
  1313. local asdf = math.random(-5,5)*2-(i/2)*10
  1314. local Part1 = Instance.new("Part")
  1315. local mesh2 = Instance.new("SpecialMesh",Part1)
  1316. mesh2.MeshType = Enum.MeshType.Sphere
  1317. mesh2.Scale = Vector3.new(0,0,0)
  1318. Part1.Material = Enum.Material.Neon
  1319. Part1.CanCollide = false
  1320. Part1.BrickColor = BrickColor.new("White")
  1321. Part1.Parent = DebrisModel
  1322. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1323. Part1.Anchored = true
  1324. local a = i*0.7
  1325. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  1326. Part1.Name = "EXPLOSION4"
  1327. end
  1328. end
  1329.  
  1330. end
  1331. end)
  1332. end))
  1333. end
  1334.  
  1335.  
  1336. function AirPunchStrong()
  1337. coroutine.resume(coroutine.create(function()
  1338. local magnitude = nil
  1339. local Position = nil
  1340. if animid == 0 then
  1341. Position = larm.Position
  1342. else
  1343. Position = rarm.Position
  1344. end
  1345. --sound(743499393,Position,10,math.random(6,8)/10)
  1346. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1347.  
  1348. local Part1 = Instance.new("Part")
  1349. local mesh2 = Instance.new("SpecialMesh",Part1)
  1350. mesh2.MeshId = "rbxassetid://559831844"
  1351. mesh2.Scale = Vector3.new(0,0,0.4)
  1352. Part1.Material = Enum.Material.Neon
  1353. Part1.CanCollide = false
  1354. Part1.BrickColor = BrickColor.new("White")
  1355. Part1.Parent = DebrisModel
  1356. Part1.Size = Vector3.new(0,0,0)
  1357. Part1.Anchored = true
  1358. Part1.CFrame = CFrame.new(Position,Mouse.Hit.p)
  1359. Part1.Name = "EXPLOSION3"
  1360.  
  1361. local Part0 = Instance.new("Part",DebrisModel)
  1362. local PointLight2 = Instance.new("PointLight")
  1363. Part0.Name = "Bullet"
  1364. Part0.Material = Enum.Material.Neon
  1365. Part0.BrickColor = BrickColor.new("White")
  1366. Part0.Anchored = false
  1367. Part0.Size = Vector3.new(1,1,1)
  1368. Part0.Transparency = 0.5
  1369. local mesh = Instance.new("SpecialMesh",Part0)
  1370. mesh.MeshId = "rbxassetid://437347603"
  1371. mesh.Scale = Vector3.new(1.3,1.3,4.4)
  1372. local bforce = Instance.new("BodyForce",Part0)
  1373. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1374. Part0.CanCollide = false
  1375. PointLight2.Parent = Part0
  1376. PointLight2.Color = Part0.Color
  1377. local Target = Mouse.Hit.p
  1378. local direction = Target - Position
  1379. local direction = computeDirection(direction)
  1380. local pos = Position + (direction * 2)
  1381. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  1382. Part0.Velocity = direction * 750
  1383. local asd = nil
  1384. local loop = nil
  1385. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1386. loop = rs:connect(function()
  1387. local asdf = math.random(500,1000)/1000
  1388. local Part1 = Instance.new("Part")
  1389. local mesh2 = Instance.new("SpecialMesh",Part1)
  1390. mesh2.MeshType = Enum.MeshType.Sphere
  1391. Part1.Material = Enum.Material.Neon
  1392. Part1.CanCollide = false
  1393. Part1.BrickColor = BrickColor.new("White")
  1394. Part1.Parent = DebrisModel
  1395. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  1396. Part1.Anchored = true
  1397. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  1398. Part1.Name = "SMOKE"
  1399. end)
  1400. asd = Part0.Touched:connect(function(ht)
  1401. local hit=ht.Parent
  1402. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1403. asd:disconnect()
  1404. loop:disconnect()
  1405. Part0:Destroy()
  1406.  
  1407. sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
  1408. for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
  1409. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1410. v:Destroy()
  1411. else
  1412. v.Parent:BreakJoints()
  1413. local Fl = Instance.new("BodyVelocity",v.Parent.Head)
  1414. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1415. Fl.velocity = Part0.CFrame.lookVector*395
  1416. wait(0.05)
  1417. Fl:remove()
  1418.  
  1419. end
  1420. local Position = Part0.Position
  1421. local Target = v.Position
  1422. local direction = Target - Position
  1423. local direction = computeDirection(direction)
  1424. local bv = Instance.new("BodyVelocity",v)
  1425. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  1426. debris:AddItem(bv,1)
  1427. end
  1428. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  1429. for z=1,math.random(2,3) do
  1430. local asdf = math.random(-5,5)*2-(i/2)*10
  1431. local Part1 = Instance.new("Part")
  1432. local mesh2 = Instance.new("SpecialMesh",Part1)
  1433. mesh2.MeshType = Enum.MeshType.Sphere
  1434. mesh2.Scale = Vector3.new(0,0,0)
  1435. Part1.Material = Enum.Material.Neon
  1436. Part1.CanCollide = false
  1437. Part1.BrickColor = BrickColor.new("White")
  1438. Part1.Parent = DebrisModel
  1439. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1440. Part1.Anchored = true
  1441. local a = i*0.7
  1442. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  1443. Part1.Name = "EXPLOSION4"
  1444. end
  1445. end
  1446.  
  1447. end
  1448. end)
  1449. end))
  1450. end
  1451.  
  1452. Mouse.KeyDown:connect(function(k)
  1453. if k == "q" then
  1454. if Melee == false then
  1455. Melee = true
  1456. no_anim = true
  1457. instinct = false
  1458.  
  1459. local Music = Instance.new("Sound",hed)
  1460. Music.SoundId = "rbxassetid://1047222775"
  1461. Music.Pitch = 1
  1462. Music.Looped = false
  1463. Music.Volume = 10
  1464. wait(0.0001)
  1465. Music:Play()
  1466. local Grab = Instance.new("Part",char)
  1467. Grab.Size = Vector3.new(4,4,4)
  1468. Grab.CanCollide = false
  1469. Grab.BrickColor = BrickColor.new("Deep orange")
  1470. Grab.Transparency = math.huge
  1471. local Grabo = Instance.new("Weld",Grab)
  1472. Grabo.Part0 = rarm
  1473. Grabo.Part1 = Grab
  1474. Grabo.C0 = CFrame.new(0,-1.1,0)
  1475. Grab.Touched:connect(function(hit)
  1476. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= owner.Character.Name then
  1477.  
  1478. hit.Parent.Humanoid:TakeDamage(1000)
  1479.  
  1480. local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
  1481. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1482. Fl.velocity = torso.CFrame.lookVector*10
  1483. wait(0.05)
  1484. Fl:remove()
  1485. end
  1486. end)
  1487. coroutine.resume(coroutine.create(function()
  1488. for i = 1,10 do
  1489.  
  1490.  
  1491. coroutine.resume(coroutine.create(function()
  1492. for i = 0,0.6,0.1 do
  1493. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1494. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1495. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
  1496. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
  1497. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1498. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1499. wait(0.1)
  1500. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
  1501. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  1502. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  1503. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  1504. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1505. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1506. wait(0.1)
  1507. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(60),math.rad(0)), 0.8)--head
  1508. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), 0.8)--torso
  1509. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.8)--rarm
  1510. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.8)--larm
  1511. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), 0.8)--lleg
  1512. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.8)--rleg
  1513. wait(0.1)
  1514. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-60),math.rad(0)), 0.8)--head
  1515. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(2), math.rad(60), math.rad(0)), 0.8)--torso
  1516. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.8)--rarm
  1517. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--larm
  1518. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--lleg
  1519. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(40)), 0.8)--rleg
  1520.  
  1521. wait(0.00000000001)
  1522. end
  1523. no_anim = false
  1524. end))
  1525. wait(0.3)
  1526. end
  1527. end))
  1528.  
  1529. coroutine.resume(coroutine.create(function()
  1530. wait(5)
  1531. Melee = false
  1532. instinct = true
  1533. Grab:remove()
  1534. end))
  1535.  
  1536. end
  1537. end
  1538. end)
  1539.  
  1540. Mouse.KeyDown:connect(function(k)
  1541. if k == "2" then
  1542. no_anim = false
  1543. canjump = true
  1544. attack = false
  1545. hum.WalkSpeed = 20
  1546. UltraRemix:Stop()
  1547. UltimateBattle:Stop()
  1548. UltraInstinct:Play()
  1549. end
  1550. end)
  1551. Mouse.KeyDown:connect(function(k)
  1552. if k == "3" then
  1553. no_anim = false
  1554. canjump = true
  1555. attack = false
  1556. hum.WalkSpeed = 20
  1557. UltraRemix:Stop()
  1558. UltraInstinct:Stop()
  1559. UltimateBattle:Play()
  1560. end
  1561. end)
  1562.  
  1563. Mouse.KeyDown:connect(function(key)
  1564. if key == "4" then
  1565. no_anim = true
  1566. canjump = false
  1567. attack = true
  1568. hum.WalkSpeed = 0
  1569. for i = 1, 20 do
  1570. wait()
  1571. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)--torso
  1572. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
  1573. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
  1574. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5)--leg
  1575. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5)--leg
  1576. end
  1577. UltraInstinct:Stop()
  1578. UltimateBattle:Stop()
  1579. UltraRemix:Play()
  1580. end
  1581. end)
  1582.  
  1583. Mouse.KeyDown:connect(function(k)
  1584. if k == "5" then
  1585. no_anim = false
  1586. canjump = true
  1587. attack = false
  1588. hum.WalkSpeed = 20
  1589. UltraInstinct:Stop()
  1590. UltimateBattle:Stop()
  1591. UltraRemix:Stop()
  1592. end
  1593. end)
  1594.  
  1595. tp = true
  1596. Mouse.KeyDown:connect(function(k)
  1597. if k == "1" then
  1598. if tp == true then
  1599. tp = true
  1600. local Teleport = Instance.new("Sound",hed)
  1601. Teleport.SoundId = "rbxassetid://153613030"
  1602. Teleport.Pitch = 1
  1603. Teleport.Looped = false
  1604. Teleport.Volume = 2
  1605. wait(0.0001)
  1606. Teleport:Play()
  1607.  
  1608.  
  1609. root.CFrame = Mouse.Hit * CFrame.new(0, 3, 0)
  1610.  
  1611.  
  1612. wait(0)
  1613.  
  1614. tp = true
  1615.  
  1616.  
  1617. end
  1618. end
  1619. end)
  1620. Mouse.KeyDown:connect(function(k)
  1621. if k == "h" and MUI == true then
  1622. instinct = false
  1623. no_anim = true
  1624. local HQ = Instance.new("Part",char)
  1625. HQ.Size = Vector3.new(0.1,0.1,0.1)
  1626. HQ.BrickColor = BrickColor.new("White")
  1627. HQ.Material = "Neon"
  1628. HQ.Anchored = true
  1629. HQ.CanCollide = false
  1630. HQ.CFrame = hed.CFrame*CFrame.new(0,32,0)*CFrame.Angles(0,0,0)
  1631. local HQ2 = Instance.new("SpecialMesh",HQ)
  1632. HQ2.MeshType = 3
  1633. HQ2.Scale = Vector3.new(0.5,0.5,0.5)
  1634.  
  1635.  
  1636.  
  1637.  
  1638. coroutine.resume(coroutine.create(function()
  1639. for i = 1,20 do
  1640. HQ2.Scale = HQ2.Scale + Vector3.new(10,10,10)
  1641.  
  1642. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0)
  1643.  
  1644.  
  1645.  
  1646. wait(0.00000000001)
  1647. end
  1648. end))
  1649. for i = 1, 20 do
  1650. wait()
  1651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)--head
  1652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)--torso
  1653. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(20)), 0.3)--rarm
  1654. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-20)), 0.3)--larm
  1655. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)--lleg
  1656. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)--rleg
  1657. end
  1658.  
  1659. wait(2)
  1660.  
  1661. HQ:Destroy()
  1662.  
  1663. for i = 1, 20 do
  1664. wait()
  1665. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head
  1666. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)--torso
  1667. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(20)), 0.1)--rarm
  1668.  
  1669. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-20)), 0.1)--lleg
  1670. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.1)--rleg
  1671. end
  1672.  
  1673.  
  1674.  
  1675. WhiteBall()
  1676. wait(0.5)
  1677. no_anim = false
  1678. instinct = true
  1679.  
  1680.  
  1681. end
  1682. end)
  1683. Mouse.KeyDown:connect(function(k)
  1684. if k == "t" and MUI == false then
  1685. MUI = true
  1686. no_anim = true
  1687. instinct = false
  1688. UltraInstinct:Stop()
  1689. AuraSFX:Stop()
  1690. UltimateBattle:Play()
  1691. for i = 1, 20 do
  1692. wait()
  1693. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
  1694. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
  1695. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
  1696. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
  1697. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
  1698. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
  1699. end
  1700. wait(2)
  1701. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://1534954275"
  1702. for i = 1,1 do
  1703. game:GetService("RunService").RenderStepped:wait()
  1704. for i = 1,80 do
  1705. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1706.  
  1707. Hat.Color = Hat.Color:lerp(Color3.fromRGB(255, 255 , 255), 0.1)
  1708. end
  1709.  
  1710. for i = 1,30 do
  1711. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1712.  
  1713.  
  1714. end
  1715. end
  1716.  
  1717.  
  1718.  
  1719. coroutine.resume(coroutine.create(function()
  1720. for i = 3,12 do
  1721. local Ball = Instance.new("Part",char)
  1722. Ball.Size = Vector3.new(1,1,1)
  1723. Ball.BrickColor = BrickColor.new("Cyan")
  1724. Ball.Material = "Neon"
  1725. Ball.Anchored = true
  1726. Ball.CanCollide = false
  1727. Ball.Transparency = 0
  1728. Ball.CFrame = torso.CFrame*CFrame.new(0,0,-1)*CFrame.Angles(0,0,0)
  1729. local Ball2 = Instance.new("SpecialMesh",Ball)
  1730. Ball2.MeshType = 3
  1731. Ball2.Scale = Vector3.new(5,5,5)
  1732.  
  1733.  
  1734.  
  1735.  
  1736. coroutine.resume(coroutine.create(function()
  1737. for i = 1,10 do
  1738. Ball2.Scale = Ball2.Scale + Vector3.new(10,10,10)
  1739. Ball.Transparency = Ball.Transparency + 0.06
  1740. wait(0.00000000001)
  1741. end
  1742. Ball:Destroy()
  1743.  
  1744.  
  1745. end))
  1746. wait(0.3)
  1747. end
  1748. end))
  1749.  
  1750. local Thing = Instance.new("Part", char)
  1751. Thing.Anchored = true
  1752. Thing.CanCollide = false
  1753. Thing.Position = torso.Position
  1754. Thing.Size = Vector3.new(1,1,1)
  1755. Thing.Material = "Neon"
  1756. local part = Instance.new("SpecialMesh", Thing)
  1757. part.MeshType = "Sphere"
  1758. for i = 1,3 do
  1759. game:GetService("RunService").RenderStepped:wait()
  1760. for i = 1,30 do
  1761. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1762. Thing.Size = Thing.Size + Vector3.new(2, 2, 2)
  1763. Thing.Color = Thing.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  1764. end
  1765.  
  1766. for i = 1,30 do
  1767. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1768. Thing.Size = Thing.Size - Vector3.new(2, 2, 2)
  1769. Thing.Color = Thing.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  1770. end
  1771. end
  1772. wait(0.1)
  1773. AuraSFX2:Play()
  1774. char.Shirt.ShirtTemplate = "rbxassetid://2725970725"
  1775. char.Pants.PantsTemplate = "rbxassetid://2725971343"
  1776. Hat2.TextureId = "rbxassetid://1496230299"
  1777. local HairAura = Instance.new('ParticleEmitter')
  1778. HairAura.Name = "Aura"
  1779. HairAura.Texture = "rbxassetid://1200947142"
  1780. HairAura.Parent = hed
  1781. HairAura.LightEmission = 1
  1782. HairAura.Enabled = true
  1783. HairAura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1784. HairAura.Size = NumberSequence.new(1.9)
  1785. HairAura.LockedToPart = true
  1786. HairAura.Lifetime = NumberRange.new(2)
  1787. HairAura.Rate = 5
  1788. HairAura.Speed = NumberRange.new(0.1)
  1789. HairAura.Rotation = NumberRange.new(-360,360)
  1790. HairAura.EmissionDirection = "Top"
  1791. HairAura.ZOffset = -1
  1792.  
  1793.  
  1794. local RightAura = Instance.new('ParticleEmitter')
  1795. RightAura.Name = "Aura"
  1796. RightAura.Texture = "rbxassetid://1200947142"
  1797. RightAura.Parent = rleg
  1798. RightAura.LightEmission = 1
  1799. RightAura.Enabled = true
  1800. RightAura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1801. RightAura.Size = NumberSequence.new(1.9)
  1802. RightAura.LockedToPart = true
  1803. RightAura.Lifetime = NumberRange.new(2)
  1804. RightAura.Rate = 5
  1805. RightAura.Speed = NumberRange.new(0.1)
  1806. RightAura.Rotation = NumberRange.new(-360,360)
  1807. RightAura.EmissionDirection = "Top"
  1808. RightAura.ZOffset = -1
  1809.  
  1810. local RightLow = Instance.new('ParticleEmitter')
  1811. RightLow.Name = "Aura"
  1812. RightLow.Texture = "rbxassetid://1200947142"
  1813. RightLow.Parent = lleg
  1814. RightLow.LightEmission = 1
  1815. RightLow.Enabled = true
  1816. RightLow.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1817. RightLow.Size = NumberSequence.new(1.9)
  1818. RightLow.LockedToPart = true
  1819. RightLow.Lifetime = NumberRange.new(2)
  1820. RightLow.Rate = 5
  1821. RightLow.Speed = NumberRange.new(0.1)
  1822. RightLow.Rotation = NumberRange.new(-360,360)
  1823. RightLow.EmissionDirection = "Top"
  1824. RightLow.ZOffset = -1
  1825.  
  1826. local LeftLow = Instance.new('ParticleEmitter')
  1827. LeftLow.Name = "Aura"
  1828. LeftLow.Texture = "rbxassetid://1200947142"
  1829. LeftLow.Parent = larm
  1830. LeftLow.LightEmission = 1
  1831. LeftLow.Enabled = true
  1832. LeftLow.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1833. LeftLow.Size = NumberSequence.new(1.9)
  1834. LeftLow.LockedToPart = true
  1835. LeftLow.Lifetime = NumberRange.new(2)
  1836. LeftLow.Rate = 5
  1837. LeftLow.Speed = NumberRange.new(0.1)
  1838. LeftLow.Rotation = NumberRange.new(-360,360)
  1839. LeftLow.EmissionDirection = "Top"
  1840. LeftLow.ZOffset = -1
  1841.  
  1842. local LeftLeg = Instance.new('ParticleEmitter')
  1843. LeftLeg.Name = "Aura"
  1844. LeftLeg.Texture = "rbxassetid://1200947142"
  1845. LeftLeg.Parent = rarm
  1846. LeftLeg.LightEmission = 1
  1847. LeftLeg.Enabled = true
  1848. LeftLeg.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  1849. LeftLeg.Size = NumberSequence.new(1.9)
  1850. LeftLeg.LockedToPart = true
  1851. LeftLeg.Lifetime = NumberRange.new(2)
  1852. LeftLeg.Rate = 5
  1853. LeftLeg.Speed = NumberRange.new(0.1)
  1854. LeftLeg.Rotation = NumberRange.new(-360,360)
  1855. LeftLeg.EmissionDirection = "Top"
  1856. LeftLeg.ZOffset = -1
  1857.  
  1858. FZcharge3.Texture = "rbxassetid://1509406387"
  1859. FZcharge3.Speed = NumberRange.new(0)
  1860. FZcharge3.Lifetime = NumberRange.new(0.2)
  1861. FZcharge3.Rotation = NumberRange.new(-360,360)
  1862. ShirtpartB.Transparency = 0
  1863. part.MeshType = "Cylinder"
  1864. Thing.Position = torso.Position
  1865. Thing.Orientation = Vector3.new(0,0,90)
  1866. for i = 1,200 do
  1867. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1868. part.Scale = part.Scale + Vector3.new(10, 0.1, 0.1)
  1869. Thing.Transparency = Thing.Transparency + 0.005
  1870. Thing.Color = Thing.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  1871. end
  1872. Thing:Destroy()
  1873. part:Destroy()
  1874. local Thing = Instance.new("Part", char)
  1875. Thing.Anchored = true
  1876. Thing.CanCollide = false
  1877. Thing.Position = torso.Position
  1878. Thing.Size = Vector3.new(1,1,1)
  1879. Thing.Material = "Neon"
  1880. local part = Instance.new("SpecialMesh", Thing)
  1881. part.MeshType = "Sphere"
  1882. for i = 1,3 do
  1883. game:GetService("RunService").RenderStepped:wait()
  1884. for i = 1,30 do
  1885. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1886. Thing.Size = Thing.Size + Vector3.new(2, 2, 2)
  1887. Thing.Color = Thing.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  1888. end
  1889. Thing:Destroy()
  1890. part:Destroy()
  1891.  
  1892. wait(2)
  1893. no_anim = false
  1894. instinct = true
  1895.  
  1896.  
  1897.  
  1898.  
  1899. end
  1900. end
  1901. end)
  1902. Mouse.KeyDown:connect(function(k)
  1903. if k == "j" and MUI == true then
  1904. instinct = false
  1905. animid = 5
  1906. no_anim = true
  1907. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1908. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  1910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  1911. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1912. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1913. wait(0.5)
  1914. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
  1915. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  1916. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  1917. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  1918. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1919. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1920. AirPunchStrong()
  1921. wait(0.2)
  1922. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1923. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1924. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  1925. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  1926. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1927. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1928. wait(0.5)
  1929. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1930. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1931. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
  1932. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
  1933. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1934. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1935. AirPunchStrong()
  1936. wait(0.2)
  1937. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1938. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1939. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  1940. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  1941. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1942. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1943. wait(0.5)
  1944. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
  1945. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  1946. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  1947. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  1948. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1949. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1950. AirPunchStrong()
  1951. wait(0.2)
  1952. no_anim = false
  1953. instinct = true
  1954. end
  1955. end)
  1956.  
  1957. Mouse.KeyDown:connect(function(k)
  1958. if k == "j" and MUI == false then
  1959. instinct = false
  1960. animid = 5
  1961. no_anim = true
  1962. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
  1963. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
  1964. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
  1965. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
  1966. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1967. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1968. wait(2)
  1969. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
  1970. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
  1971. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
  1972. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
  1973. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
  1974. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
  1975. AirPunch()
  1976. wait(0.5)
  1977. no_anim = false
  1978. instinct = true
  1979. end
  1980. end)
  1981.  
  1982. holdclick=false
  1983. Mouse.KeyDown:connect(function(k)
  1984. if k == "g" and MUI == false then
  1985. instinct = false
  1986. animid = 5
  1987. no_anim = true
  1988.  
  1989. local Charge = Instance.new("Sound",hed)
  1990. Charge.SoundId = "rbxassetid://1112364900"
  1991. Charge.Pitch = 1
  1992. Charge.Looped = false
  1993. Charge.Volume = 7
  1994. wait(0.0001)
  1995. Charge:Play()
  1996.  
  1997.  
  1998. coroutine.resume(coroutine.create(function()
  1999. for i = 3,12 do
  2000. local HQ = Instance.new("Part",char)
  2001. HQ.Size = Vector3.new(1,0,1)
  2002. HQ.BrickColor = BrickColor.new("Grey")
  2003. HQ.Material = "Neon"
  2004. HQ.Anchored = true
  2005. HQ.CanCollide = false
  2006. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  2007. local HQ2 = Instance.new("SpecialMesh",HQ)
  2008. HQ2.MeshId = "rbxassetid://20329976"
  2009. HQ2.Scale = Vector3.new(1,1,1)
  2010.  
  2011. local HQG = Instance.new("Part",char)
  2012. HQG.Size = Vector3.new(1,0,1)
  2013. HQG.BrickColor = BrickColor.new("Grey")
  2014. HQG.Material = "Neon"
  2015. HQG.Anchored = true
  2016. HQG.CanCollide = false
  2017. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  2018. local HQG2 = Instance.new("SpecialMesh",HQG)
  2019. HQG2.MeshId = "rbxassetid://20329976"
  2020. HQG2.Scale = Vector3.new(1,1,1)
  2021.  
  2022.  
  2023. coroutine.resume(coroutine.create(function()
  2024. for i = 1,10 do
  2025. HQ2.Scale = HQ2.Scale + Vector3.new(3,0.3,3)
  2026. HQ.Transparency = HQ.Transparency + 0.09
  2027. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0)
  2028.  
  2029. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  2030. HQG.Transparency = HQG.Transparency + 0.09
  2031. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0)
  2032.  
  2033. wait(0.00000000001)
  2034. end
  2035. HQ:Destroy()
  2036. HQ2:Destroy()
  2037. HQG:Destroy()
  2038. HQG2:Destroy()
  2039.  
  2040. end))
  2041. wait(0.3)
  2042. end
  2043. end))
  2044.  
  2045.  
  2046. coroutine.resume(coroutine.create(function()
  2047. for i = 3,12 do
  2048. local Ball = Instance.new("Part",char)
  2049. Ball.Size = Vector3.new(1,1,1)
  2050. Ball.BrickColor = BrickColor.new("Cyan")
  2051. Ball.Material = "Neon"
  2052. Ball.Anchored = true
  2053. Ball.CanCollide = false
  2054. Ball.Transparency = 0
  2055. Ball.CFrame = torso.CFrame*CFrame.new(0,0,-1)*CFrame.Angles(0,0,0)
  2056. local Ball2 = Instance.new("SpecialMesh",Ball)
  2057. Ball2.MeshType = 3
  2058. Ball2.Scale = Vector3.new(4,4,4)
  2059.  
  2060.  
  2061.  
  2062.  
  2063. coroutine.resume(coroutine.create(function()
  2064. for i = 1,10 do
  2065. Ball2.Scale = Ball2.Scale - Vector3.new(1,1,1)
  2066. Ball.Transparency = Ball.Transparency + 0.06
  2067. wait(0.00000000001)
  2068. end
  2069. Ball:Destroy()
  2070.  
  2071.  
  2072. end))
  2073. wait(0.3)
  2074. end
  2075. end))
  2076.  
  2077. coroutine.resume(coroutine.create(function()
  2078. for i = 3,12 do
  2079. local Spinn = Instance.new("Part",char)
  2080. Spinn.Size = Vector3.new(1,1,1)
  2081. Spinn.BrickColor = BrickColor.new("Cyan")
  2082. Spinn.CanCollide = false
  2083. Spinn.Transparency = 0.1
  2084. Spinn.Anchored = true
  2085. Spinn.Material = "Neon"
  2086. Spinn.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  2087. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2088. Spinn2.MeshId = "rbxassetid://881808813"
  2089. Spinn2.Scale = Vector3.new(6,6,6)
  2090.  
  2091.  
  2092.  
  2093.  
  2094. coroutine.resume(coroutine.create(function()
  2095. for i = 1,80 do
  2096. Spinn.Transparency = Spinn.Transparency + 0.02
  2097.  
  2098. Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.1,0.1,0.1)
  2099. wait(0.00000000001)
  2100. end
  2101. Spinn:Destroy()
  2102.  
  2103.  
  2104. end))
  2105. wait(0.3)
  2106. end
  2107. end))
  2108.  
  2109. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
  2110. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
  2111. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
  2112. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
  2113. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
  2114. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
  2115. wait(3)
  2116. Charge:Destroy()
  2117. local Fire = Instance.new("Sound",hed)
  2118. Fire.SoundId = "rbxassetid://977360812"
  2119. Fire.Pitch = 1
  2120. Fire.Looped = false
  2121. Fire.Volume = 10
  2122.  
  2123. Fire:Play()
  2124.  
  2125. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head
  2126. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso
  2127. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm
  2128. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm
  2129. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg
  2130. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg
  2131. laz0r()
  2132.  
  2133.  
  2134.  
  2135.  
  2136. wait(2)
  2137. Fire:Destroy()
  2138. instinct = true
  2139. no_anim = false
  2140. if animid == 0 then
  2141. animid = 1
  2142. else
  2143. animid = 0
  2144. end
  2145. end
  2146. end)
  2147.  
  2148.  
  2149. Mouse.KeyDown:connect(function(k)
  2150. if k == "g" and MUI == true then
  2151. instinct = false
  2152. animid = 5
  2153. no_anim = true
  2154.  
  2155. local Charge = Instance.new("Sound",hed)
  2156. Charge.SoundId = "rbxassetid://1112364900"
  2157. Charge.Pitch = 1
  2158. Charge.Looped = false
  2159. Charge.Volume = 7
  2160. wait(0.0001)
  2161. Charge:Play()
  2162.  
  2163.  
  2164. coroutine.resume(coroutine.create(function()
  2165. for i = 3,12 do
  2166. local HQ = Instance.new("Part",char)
  2167. HQ.Size = Vector3.new(1,0,1)
  2168. HQ.BrickColor = BrickColor.new("Grey")
  2169. HQ.Material = "Neon"
  2170. HQ.Anchored = true
  2171. HQ.CanCollide = false
  2172. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  2173. local HQ2 = Instance.new("SpecialMesh",HQ)
  2174. HQ2.MeshId = "rbxassetid://20329976"
  2175. HQ2.Scale = Vector3.new(1,1,1)
  2176.  
  2177. local HQG = Instance.new("Part",char)
  2178. HQG.Size = Vector3.new(1,0,1)
  2179. HQG.BrickColor = BrickColor.new("Grey")
  2180. HQG.Material = "Neon"
  2181. HQG.Anchored = true
  2182. HQG.CanCollide = false
  2183. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  2184. local HQG2 = Instance.new("SpecialMesh",HQG)
  2185. HQG2.MeshId = "rbxassetid://20329976"
  2186. HQG2.Scale = Vector3.new(1,1,1)
  2187.  
  2188.  
  2189. coroutine.resume(coroutine.create(function()
  2190. for i = 1,10 do
  2191. HQ2.Scale = HQ2.Scale + Vector3.new(7,0.3,7)
  2192. HQ.Transparency = HQ.Transparency + 0.09
  2193. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0)
  2194.  
  2195. HQG2.Scale = HQG2.Scale + Vector3.new(3,3,3)
  2196. HQG.Transparency = HQG.Transparency + 0.09
  2197. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0)
  2198.  
  2199. wait(0.00000000001)
  2200. end
  2201. HQ:Destroy()
  2202. HQ2:Destroy()
  2203. HQG:Destroy()
  2204. HQG2:Destroy()
  2205.  
  2206. end))
  2207. wait(0.3)
  2208. end
  2209. end))
  2210.  
  2211.  
  2212. coroutine.resume(coroutine.create(function()
  2213. for i = 3,12 do
  2214. local Ball = Instance.new("Part",char)
  2215. Ball.Size = Vector3.new(1,1,1)
  2216. Ball.BrickColor = BrickColor.new("Cyan")
  2217. Ball.Material = "Neon"
  2218. Ball.Anchored = true
  2219. Ball.CanCollide = false
  2220. Ball.Transparency = 0
  2221. Ball.CFrame = torso.CFrame*CFrame.new(0,0,-1)*CFrame.Angles(0,0,0)
  2222. local Ball2 = Instance.new("SpecialMesh",Ball)
  2223. Ball2.MeshType = 3
  2224. Ball2.Scale = Vector3.new(4,4,4)
  2225.  
  2226.  
  2227.  
  2228.  
  2229. coroutine.resume(coroutine.create(function()
  2230. for i = 1,10 do
  2231. Ball2.Scale = Ball2.Scale - Vector3.new(1,1,1)
  2232. Ball.Transparency = Ball.Transparency + 0.06
  2233. wait(0.00000000001)
  2234. end
  2235. Ball:Destroy()
  2236.  
  2237.  
  2238. end))
  2239. wait(0.3)
  2240. end
  2241. end))
  2242.  
  2243. coroutine.resume(coroutine.create(function()
  2244. for i = 3,12 do
  2245. local Spinn = Instance.new("Part",char)
  2246. Spinn.Size = Vector3.new(1,1,1)
  2247. Spinn.BrickColor = BrickColor.new("Cyan")
  2248. Spinn.CanCollide = false
  2249. Spinn.Transparency = 0.1
  2250. Spinn.Anchored = true
  2251. Spinn.Material = "Neon"
  2252. Spinn.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  2253. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2254. Spinn2.MeshId = "rbxassetid://881808813"
  2255. Spinn2.Scale = Vector3.new(6,6,6)
  2256.  
  2257.  
  2258.  
  2259.  
  2260. coroutine.resume(coroutine.create(function()
  2261. for i = 1,80 do
  2262. Spinn.Transparency = Spinn.Transparency + 0.02
  2263.  
  2264. Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.1,0.1,0.1)
  2265. wait(0.00000000001)
  2266. end
  2267. Spinn:Destroy()
  2268.  
  2269.  
  2270. end))
  2271. wait(0.3)
  2272. end
  2273. end))
  2274.  
  2275. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
  2276. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
  2277. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
  2278. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
  2279. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
  2280. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
  2281. wait(3)
  2282. Charge:Destroy()
  2283. local Fire = Instance.new("Sound",hed)
  2284. Fire.SoundId = "rbxassetid://977360812"
  2285. Fire.Pitch = 1
  2286. Fire.Looped = false
  2287. Fire.Volume = 10
  2288.  
  2289. Fire:Play()
  2290.  
  2291. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head
  2292. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso
  2293. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm
  2294. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm
  2295. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg
  2296. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg
  2297. laz0rmui()
  2298.  
  2299.  
  2300.  
  2301.  
  2302. wait(0.5)
  2303. Fire:Destroy()
  2304. instinct = true
  2305. no_anim = false
  2306. if animid == 0 then
  2307. animid = 1
  2308. else
  2309. animid = 0
  2310. end
  2311. end
  2312. end)
  2313.  
  2314. Mouse.KeyDown:connect(function(k)
  2315. if k == "f" and MUI == true then
  2316. instinct = false
  2317. animid = 0
  2318. if animid == 0 then
  2319. animid = 1
  2320. else
  2321. animid = 0
  2322. end
  2323. aiming_anim = true
  2324. bigboomrektxd()
  2325. wait(0.5)
  2326. instinct = true
  2327. aiming_anim = false
  2328. end
  2329. end)
  2330. local attacktype = 1
  2331. cloneMod = Instance.new('Model',workspace)
  2332. cloneMod.Name = "Miggate No Gokui"
  2333. rad = math.rad
  2334. shadows = {}
  2335. entang = false
  2336. shadAtck = false
  2337. invis = false
  2338.  
  2339. entInvis = false
  2340. fin = true
  2341. random = math.random
  2342. function smoothPart(part)
  2343. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2344. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2345. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2346. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2347. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2348. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2349. end
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362. function dashasdf()
  2363. debounce = true
  2364.  
  2365. canjump = false
  2366. attack = true
  2367.  
  2368. for i,v in pairs(char:GetChildren()) do
  2369. if v ~= root then
  2370. if v:IsA("Part") then
  2371. v.Transparency = 1
  2372. elseif v:IsA("Accoutrement") then
  2373. v:FindFirstChildOfClass("Part").Transparency = 1
  2374. end
  2375. end
  2376. end
  2377.  
  2378. local tempattachment = Instance.new("Attachment",root)
  2379. tempattachment.Position = Vector3.new(0,0,-4)
  2380.  
  2381. for i=1,20 do rs:wait()
  2382. root.Velocity = Vector3.new(0,0,0)
  2383. root.CFrame = CFrame.new(tempattachment.WorldPosition) * CFrame.Angles(math.rad(root.Orientation.X),math.rad(root.Orientation.Y),math.rad(root.Orientation.Z))
  2384. local asdf = math.random(500,1000)/100
  2385. local Part1 = Instance.new("Part")
  2386. local mesh2 = Instance.new("SpecialMesh",Part1)
  2387. mesh2.MeshType = Enum.MeshType.Sphere
  2388. Part1.Material = Enum.Material.Neon
  2389. Part1.CanCollide = false
  2390. Part1.BrickColor = BrickColor.new("Cyan")
  2391. Part1.Parent = DebrisModel
  2392. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2393. Part1.Anchored = true
  2394. Part1.CFrame = CFrame.new(root.Position + Vector3.new(math.random(-1000,1000)/500,math.random(-1000,1000)/500,math.random(-1000,1000)/500))
  2395. Part1.Name = "SMOKE"
  2396. end
  2397.  
  2398. tempattachment:Destroy()
  2399.  
  2400. for i,v in pairs(char:GetChildren()) do
  2401. if v ~= root then
  2402. if v:IsA("Part") then
  2403. v.Transparency = 0
  2404. elseif v:IsA("Accoutrement") then
  2405. v:FindFirstChildOfClass("Part").Transparency = 0
  2406. end
  2407. end
  2408. end
  2409.  
  2410. canjump = true
  2411. attack = false
  2412.  
  2413. delay(0.1,function() debounce = false end)
  2414. end
  2415.  
  2416. function laz0r()
  2417.  
  2418. local Position = nil
  2419. if animid == 0 then
  2420. Position = root.Position
  2421. else
  2422. Position = root.Position
  2423. end
  2424.  
  2425. local Part1 = Instance.new("Part")
  2426. local mesh2 = Instance.new("SpecialMesh",Part1)
  2427. mesh2.MeshId = "rbxassetid://559831844"
  2428. mesh2.Scale = Vector3.new(0,0,0.4)
  2429. Part1.Material = Enum.Material.Neon
  2430. Part1.CanCollide = false
  2431. Part1.BrickColor = BrickColor.new("White")
  2432. Part1.Parent = DebrisModel
  2433. Part1.Size = Vector3.new(0,0,0)
  2434. Part1.Anchored = true
  2435. Part1.CFrame = CFrame.new(Position)
  2436. Part1.Name = "EXPLOSION3"
  2437.  
  2438. local Part0 = Instance.new("Part",DebrisModel)
  2439. Part0.Name = "Bullet"
  2440. Part0.Material = Enum.Material.Neon
  2441. Part0.BrickColor = BrickColor.new("Cyan")
  2442. Part0.Anchored = true
  2443. local mesh = Instance.new("SpecialMesh",Part0)
  2444. mesh.MeshType = Enum.MeshType.Sphere
  2445. Part0.CanCollide = false
  2446. local Target = Mouse.Hit.p
  2447. local direction = Target - Position
  2448. local direction = computeDirection(direction)
  2449. local ray = Ray.new(Position, (Target).unit*1048)
  2450. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2451. Part0.Size = Vector3.new(9,1,9)
  2452. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  2453. local pos = Position + (direction * (mesh.Scale.Y/2))
  2454. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2455.  
  2456. clashpart = Instance.new("Part",DebrisModel)
  2457. clashpart.Size = Vector3.new(50,50,50)
  2458. clashpart.CanCollide = false
  2459. clashpart.Anchored = true
  2460. clashpart.Transparency = 1
  2461. clashpart.BrickColor = BrickColor.new("Cyan")
  2462. clashpart.Name = "StarLightClash"
  2463. clashpart.CFrame = CFrame.new(endPoint, Mouse.Hit.p)
  2464.  
  2465.  
  2466.  
  2467. local z = 10
  2468. for i = 1,100 do rs:wait()
  2469. if animid == 0 then
  2470. root.CFrame = CFrame.new(root.Position,Vector3.new(Mouse.Hit.owner.X, Mouse.Hit.owner.Y, Mouse.Hit.owner.Z))
  2471. Position = larm.Position
  2472. else
  2473. root.CFrame = CFrame.new(root.Position,Vector3.new(Mouse.Hit.owner.X, Mouse.Hit.owner.Y, Mouse.Hit.owner.Z))
  2474. Position = rarm.Position
  2475. end
  2476.  
  2477. local Target = Mouse.Hit.p
  2478. local direction = Target - Position
  2479. local direction = computeDirection(direction)
  2480. local ray = Ray.new(Position, (Target-Position).unit*1048)
  2481. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2482. Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
  2483. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  2484. mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
  2485. local pos = Position + (direction * (mesh.Scale.Y/2))
  2486. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2487. clashpart.CFrame = CFrame.new(endPoint, root.Position)
  2488.  
  2489. local Position = Mouse.Hit.p
  2490. local Target = root.Position
  2491. local direction = Target - Position
  2492. local direction = computeDirection(direction)
  2493. root.Velocity = direction * 5
  2494.  
  2495. if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
  2496.  
  2497. Part1 = Part0:Clone()
  2498. Part1.Parent = DebrisModel
  2499. Part1.BrickColor = BrickColor.new("Cyan")
  2500. Part1.Name = "SMOKE2"
  2501.  
  2502. if part ~= nil then
  2503. if part.Name == "StarLightClash" then
  2504. local asdf = math.random(0,5)*20
  2505. local Part1 = Instance.new("Part")
  2506. local mesh2 = Instance.new("SpecialMesh",Part1)
  2507. mesh2.MeshType = Enum.MeshType.Sphere
  2508. mesh2.Scale = Vector3.new(0,0,0)
  2509. Part1.Material = Enum.Material.Neon
  2510. Part1.CanCollide = false
  2511. Part1.BrickColor = BrickColor.new("Cyan")
  2512. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2513. Part1.Anchored = true
  2514. local a = 1.5
  2515. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2516. Part1.Name = "EXPLOSION"
  2517. else
  2518. local asdf = math.random(0,5)*10
  2519. local Part1 = Instance.new("Part")
  2520. local mesh2 = Instance.new("SpecialMesh",Part1)
  2521. mesh2.MeshType = Enum.MeshType.Sphere
  2522. mesh2.Scale = Vector3.new(0,0,0)
  2523. Part1.Material = Enum.Material.Neon
  2524. Part1.CanCollide = false
  2525. Part1.BrickColor = BrickColor.new("Cyan")
  2526. Part1.Parent = DebrisModel
  2527. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2528. Part1.Anchored = true
  2529. local a = 1.5
  2530. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2531. Part1.Name = "EXPLOSION"
  2532. end
  2533. end
  2534.  
  2535. for i,v in pairs(findAllNearestTorso(endPoint,50)) do
  2536. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
  2537. v:Destroy()
  2538. else
  2539. v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1500000000)
  2540. end
  2541. local Position = Mouse.Hit.p
  2542. local Target = v.Position
  2543. local direction = Target - Position
  2544. local direction = computeDirection(direction)
  2545. local bv = Instance.new("BodyVelocity",v)
  2546. bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
  2547. debris:AddItem(bv,1)
  2548. end
  2549.  
  2550. end
  2551. clashpart:Destroy()
  2552. Part0:Destroy()
  2553. wait(0.3)
  2554. aiming_anim = false
  2555. delay(0.3,function() debounce = false end)
  2556. end
  2557.  
  2558.  
  2559.  
  2560. function laz0rmui()
  2561.  
  2562. local Position = nil
  2563. if animid == 0 then
  2564. Position = root.Position
  2565. else
  2566. Position = root.Position
  2567. end
  2568.  
  2569. local Part1 = Instance.new("Part")
  2570. local mesh2 = Instance.new("SpecialMesh",Part1)
  2571. mesh2.MeshId = "rbxassetid://559831844"
  2572. mesh2.Scale = Vector3.new(0,0,0.4)
  2573. Part1.Material = Enum.Material.Neon
  2574. Part1.CanCollide = false
  2575. Part1.BrickColor = BrickColor.new("White")
  2576. Part1.Parent = DebrisModel
  2577. Part1.Size = Vector3.new(0,0,0)
  2578. Part1.Anchored = true
  2579. Part1.CFrame = CFrame.new(Position)
  2580. Part1.Name = "EXPLOSION3"
  2581.  
  2582. local Part0 = Instance.new("Part",DebrisModel)
  2583. Part0.Name = "Bullet"
  2584. Part0.Material = Enum.Material.Neon
  2585. Part0.BrickColor = BrickColor.new("Cyan")
  2586. Part0.Anchored = true
  2587. local mesh = Instance.new("SpecialMesh",Part0)
  2588. mesh.MeshType = Enum.MeshType.Sphere
  2589. Part0.CanCollide = false
  2590. local Target = Mouse.Hit.p
  2591. local direction = Target - Position
  2592. local direction = computeDirection(direction)
  2593. local ray = Ray.new(Position, (Target).unit*1048)
  2594. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2595. Part0.Size = Vector3.new(9,1,9)
  2596. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  2597. local pos = Position + (direction * (mesh.Scale.Y/2))
  2598. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2599.  
  2600. clashpart = Instance.new("Part",DebrisModel)
  2601. clashpart.Size = Vector3.new(50,50,50)
  2602. clashpart.CanCollide = false
  2603. clashpart.Anchored = true
  2604. clashpart.Transparency = 1
  2605. clashpart.BrickColor = BrickColor.new("Cyan")
  2606. clashpart.Name = "StarLightClash"
  2607. clashpart.CFrame = CFrame.new(endPoint, Mouse.Hit.p)
  2608.  
  2609.  
  2610.  
  2611. local z = 10
  2612. for i = 1,100 do rs:wait()
  2613. if animid == 0 then
  2614. root.CFrame = CFrame.new(root.Position,Vector3.new(Mouse.Hit.owner.X, Mouse.Hit.owner.Y, Mouse.Hit.owner.Z))
  2615. Position = larm.Position
  2616. else
  2617. root.CFrame = CFrame.new(root.Position,Vector3.new(Mouse.Hit.owner.X, Mouse.Hit.owner.Y, Mouse.Hit.owner.Z))
  2618. Position = rarm.Position
  2619. end
  2620.  
  2621. local Target = Mouse.Hit.p
  2622. local direction = Target - Position
  2623. local direction = computeDirection(direction)
  2624. local ray = Ray.new(Position, (Target-Position).unit*1048)
  2625. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2626. Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
  2627. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  2628. mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
  2629. local pos = Position + (direction * (mesh.Scale.Y/2))
  2630. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2631. clashpart.CFrame = CFrame.new(endPoint, root.Position)
  2632.  
  2633. local Position = Mouse.Hit.p
  2634. local Target = root.Position
  2635. local direction = Target - Position
  2636. local direction = computeDirection(direction)
  2637. root.Velocity = direction * 5
  2638.  
  2639. if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
  2640.  
  2641. Part1 = Part0:Clone()
  2642. Part1.Parent = DebrisModel
  2643. Part1.BrickColor = BrickColor.new("Cyan")
  2644. Part1.Name = "SMOKE2"
  2645.  
  2646. if part ~= nil then
  2647. if part.Name == "StarLightClash" then
  2648. local asdf = math.random(0,5)*20
  2649. local Part1 = Instance.new("Part")
  2650. local mesh2 = Instance.new("SpecialMesh",Part1)
  2651. mesh2.MeshType = Enum.MeshType.Sphere
  2652. mesh2.Scale = Vector3.new(0,0,0)
  2653. Part1.Material = Enum.Material.Neon
  2654. Part1.CanCollide = false
  2655. Part1.BrickColor = BrickColor.new("Cyan")
  2656. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2657. Part1.Anchored = true
  2658. local a = 1.5
  2659. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2660. Part1.Name = "EXPLOSION"
  2661. else
  2662. local asdf = math.random(0,5)*10
  2663. local Part1 = Instance.new("Part")
  2664. local mesh2 = Instance.new("SpecialMesh",Part1)
  2665. mesh2.MeshType = Enum.MeshType.Sphere
  2666. mesh2.Scale = Vector3.new(0,0,0)
  2667. Part1.Material = Enum.Material.Neon
  2668. Part1.CanCollide = false
  2669. Part1.BrickColor = BrickColor.new("Cyan")
  2670. Part1.Parent = DebrisModel
  2671. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2672. Part1.Anchored = true
  2673. local a = 1.5
  2674. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2675. Part1.Name = "EXPLOSION"
  2676. end
  2677. end
  2678.  
  2679. for i,v in pairs(findAllNearestTorso(endPoint,50)) do
  2680. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
  2681. v:Destroy()
  2682. else
  2683. v.Parent:BreakJoints()
  2684. end
  2685. local Position = Mouse.Hit.p
  2686. local Target = v.Position
  2687. local direction = Target - Position
  2688. local direction = computeDirection(direction)
  2689. local bv = Instance.new("BodyVelocity",v)
  2690. bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
  2691. debris:AddItem(bv,1)
  2692. end
  2693.  
  2694. end
  2695. clashpart:Destroy()
  2696. Part0:Destroy()
  2697. wait(0.3)
  2698. aiming_anim = false
  2699. delay(0.3,function() debounce = false end)
  2700. end
  2701.  
  2702. function nukewelpo()
  2703. coroutine.resume(coroutine.create(function()
  2704. local magnitude = nil
  2705. local Position = nil
  2706. if animid == 0 then
  2707. Position = larm.Position
  2708. else
  2709. Position = rarm.Position
  2710. end
  2711. --sound(743499393,Position,10,math.random(6,8)/10)
  2712. sound(440145223,Position,10,math.random(4,5)/10,100)
  2713.  
  2714. local Part1 = Instance.new("Part")
  2715. local mesh2 = Instance.new("SpecialMesh",Part1)
  2716. mesh2.MeshId = "rbxassetid://559831844"
  2717. mesh2.Scale = Vector3.new(0,0,0.4)
  2718. Part1.Material = Enum.Material.Neon
  2719. Part1.CanCollide = false
  2720. Part1.Color = Color3.fromHSV(0,0,main.v)
  2721. Part1.Parent = DebrisModel
  2722. Part1.Size = Vector3.new(0,0,0)
  2723. Part1.Anchored = true
  2724. Part1.CFrame = CFrame.new(Position,Mouse.Hit.p)
  2725. Part1.Name = "EXPLOSION3"
  2726.  
  2727. local Part0 = Instance.new("Part",DebrisModel)
  2728. local PointLight2 = Instance.new("PointLight")
  2729. Part0.Name = "Bullet"
  2730. Part0.Material = Enum.Material.Neon
  2731. Part0.Color = Color3.fromHSV(0,0,main.v)
  2732. Part0.Anchored = false
  2733. Part0.Size = Vector3.new(5, 5, 5)
  2734. local mesh = Instance.new("SpecialMesh",Part0)
  2735. mesh.MeshType = Enum.MeshType.Sphere
  2736. mesh.Scale = Vector3.new(3,3,3)
  2737. local bforce = Instance.new("BodyForce",Part0)
  2738. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2739. Part0.CanCollide = false
  2740. PointLight2.Parent = Part0
  2741. PointLight2.Color = Part0.Color
  2742. local Target = Mouse.Hit.p
  2743. local direction = Target - Position
  2744. local direction = computeDirection(direction)
  2745. local pos = Position + (direction * 2)
  2746. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2747. Part0.Velocity = direction * 150
  2748. local asd = nil
  2749. local loop = nil
  2750. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2751. loop = rs:connect(function()
  2752. local asdf = math.random(500,1000)/1000
  2753. local Part1 = Instance.new("Part")
  2754. local mesh2 = Instance.new("SpecialMesh",Part1)
  2755. mesh2.MeshType = Enum.MeshType.Sphere
  2756. Part1.Material = Enum.Material.Neon
  2757. Part1.CanCollide = false
  2758. Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
  2759. Part1.Parent = DebrisModel
  2760. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  2761. Part1.Anchored = true
  2762. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
  2763. Part1.Name = "SMOKE"
  2764. end)
  2765. asd = Part0.Touched:connect(function(ht)
  2766. local hit=ht.Parent
  2767. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  2768. asd:disconnect()
  2769. loop:disconnect()
  2770. Part0:Destroy()
  2771.  
  2772. sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
  2773. for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
  2774. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2775. v:Destroy()
  2776. else
  2777. v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1000)
  2778. end
  2779. local Position = Part0.Position
  2780. local Target = v.Position
  2781. local direction = Target - Position
  2782. local direction = computeDirection(direction)
  2783. local bv = Instance.new("BodyVelocity",v)
  2784. bv.Velocity = direction * (200 - ((Position - Target).magnitude/2))
  2785. debris:AddItem(bv,1)
  2786. end
  2787. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  2788. for z=1,math.random(2,3) do
  2789. local asdf = math.random(-5,5)*10-(i/20)*12
  2790. local Part1 = Instance.new("Part")
  2791. local mesh2 = Instance.new("SpecialMesh",Part1)
  2792. mesh2.MeshType = Enum.MeshType.Sphere
  2793. mesh2.Scale = Vector3.new(0,0,0)
  2794. Part1.Material = Enum.Material.Neon
  2795. Part1.CanCollide = false
  2796. Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
  2797. Part1.Parent = DebrisModel
  2798. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2799. Part1.Anchored = true
  2800. local a = i*5
  2801. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
  2802. Part1.Name = "EXPLOSION4"
  2803. end
  2804. end
  2805.  
  2806. end
  2807. end)
  2808. end))
  2809. end
  2810.  
  2811. holdq = false
  2812. holdr = false
  2813. cooldownult = false
  2814.  
  2815. Mouse.KeyDown:connect(function(key)
  2816. if debounce == false then
  2817. if key == "e" then
  2818. dashasdf()
  2819. elseif key == "=" and cooldownult == false then
  2820. cooldownult = true
  2821. if animid == 0 then
  2822. animid = 1
  2823. else
  2824. animid = 0
  2825. end
  2826. debounce = true
  2827. holdr = true
  2828. aiming_anim = true
  2829. wait(0.2)
  2830. repeat
  2831. rs:wait()
  2832. timer = 150
  2833. until holdr == false
  2834. nukewelpo()
  2835.  
  2836. local Position = Mouse.Hit.p
  2837. local Target = root.Position
  2838. local direction = Target - Position
  2839. local direction = computeDirection(direction)
  2840. root.Velocity = direction * 300
  2841.  
  2842. aiming_anim = false
  2843. delay(5,function() cooldownult = false end)
  2844. delay(1,function() debounce = false end)
  2845.  
  2846. elseif key == "=" then
  2847. debounce = true
  2848. if animid == 0 then
  2849. animid = 1
  2850. else
  2851. animid = 0
  2852. end
  2853. holdq = true
  2854. attack = true
  2855.  
  2856.  
  2857.  
  2858.  
  2859. repeat rs:wait() timer = 150 until holdq == false
  2860. laz0r()
  2861. attack = false
  2862.  
  2863. end
  2864. end
  2865.  
  2866. end)
  2867.  
  2868. Mouse.KeyUp:connect(function(key)
  2869. if key == "=" then
  2870. holdq = false
  2871. elseif key == "=" then
  2872. holdr = false
  2873. end
  2874. end)
  2875. --
  2876. hum.Name = 'Goku'
  2877. ----------------------------------------------------------------------------
  2878. music(themeid,themepitch)
  2879. velocityYFall=0
  2880. velocityYFall2=0
  2881. velocityYFall3=0
  2882. velocityYFall4=0
  2883. neckrotY=0
  2884. neckrotY2=0
  2885. torsorotY=0
  2886. torsorotY2=0
  2887. torsoY=0
  2888. torsoY2=0
  2889. sine = 0
  2890. newWeld(torso, larm, -1.5, 0.5, 0)
  2891. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  2892. newWeld(torso, rarm, 1.5, 0.5, 0)
  2893. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  2894. newWeld(torso, hed, 0, 1.5, 0)
  2895. newWeld(torso, lleg, -0.5, -1, 0)
  2896. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  2897. newWeld(torso, rleg, 0.5, -1, 0)
  2898. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  2899. newWeld(root, torso, 0, -1, 0)
  2900. torso.Weld.C1 = CFrame.new(0, -1, 0)
  2901.  
  2902. rs:connect(function()
  2903.  
  2904. bg.MaxTorque = Vector3.new(0,0,0)
  2905.  
  2906. for i,v in pairs(DebrisModel:GetChildren()) do
  2907.  
  2908.  
  2909. if v.Name == "EXPLOSION" then
  2910. local change = 0.04-(v.Transparency*0.02)
  2911. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2912. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  2913. v.Transparency = v.Transparency + 0.02
  2914. if v.Transparency >= 1 then
  2915. v:Destroy()
  2916. end
  2917.  
  2918. elseif v.Name == "EXPLOSION2" then
  2919. local change = 0.04-(v.Transparency*0.04)
  2920. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2921. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  2922. v.Transparency = v.Transparency + 0.025
  2923. if v.Transparency >= 1 then
  2924. v:Destroy()
  2925. end
  2926.  
  2927. elseif v.Name == "EXPLOSION3" then
  2928. local change = 0.5-(v.Transparency*0.5)
  2929. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2930. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  2931. v.Transparency = v.Transparency + 0.1
  2932. if v.Transparency >= 1 then
  2933. v:Destroy()
  2934. end
  2935.  
  2936. elseif v.Name == "EXPLOSION4" then
  2937. local change = 0.15-(v.Transparency*0.125)
  2938. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2939. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  2940. v.Transparency = v.Transparency + 0.01
  2941. if v.Transparency >= 1 then
  2942. v:Destroy()
  2943. end
  2944.  
  2945. elseif v.Name == "SMOKE" then
  2946. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2947. vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
  2948. if vm.Scale.X <= 0 then
  2949. v:Destroy()
  2950. end
  2951.  
  2952. elseif v.Name == "SMOKE2" then
  2953. local change = 2-(v.Transparency*2)
  2954. local vm = v:FindFirstChildOfClass("SpecialMesh")
  2955. local Position = nil
  2956. if animid == 0 then
  2957. Position = larm.Position
  2958. else
  2959. Position = rarm.Position
  2960. end
  2961. local Target = Mouse.Hit.p
  2962. local direction = Target - Position
  2963. local direction = computeDirection(direction)
  2964. local ray = Ray.new(Position, (Target-Position).unit*1048)
  2965. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2966. vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
  2967. local pos = Position + (direction * (vm.Scale.Y/2))
  2968. v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2969. vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
  2970. v.Transparency = v.Transparency + 0.1
  2971. if v.Transparency >= 1 then
  2972. v:Destroy()
  2973. end
  2974.  
  2975. elseif v.Name == "LIGHTNING" then
  2976. local vm = v:FindFirstChildOfClass("BlockMesh")
  2977. vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
  2978. if vm.Scale.X <= 0 then
  2979. v:Destroy()
  2980. end
  2981.  
  2982. end
  2983. end
  2984.  
  2985. if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
  2986. velocityYFall = root.Velocity.Y/1.5
  2987. end
  2988. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  2989. velocityYFall2 = root.Velocity.Y/180
  2990. end
  2991. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  2992. velocityYFall3 = root.Velocity.Y/1.5
  2993. end
  2994. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  2995. velocityYFall4 = root.Velocity.Y/1.5
  2996. end
  2997. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  2998. neckrotY = root.RotVelocity.Y/6
  2999. end
  3000. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  3001. neckrotY2 = root.RotVelocity.Y/8
  3002. end
  3003.  
  3004. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  3005. torsorotY = root.RotVelocity.Y/6
  3006. end
  3007. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  3008. torsorotY2 = root.RotVelocity.Y/8
  3009. end
  3010.  
  3011.  
  3012. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  3013. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  3014.  
  3015. if attack == true then
  3016. hum.WalkSpeed = 0
  3017. else
  3018. hum.WalkSpeed = 20
  3019. end
  3020.  
  3021. if canjump == true then
  3022. hum.JumpPower = 50
  3023. else
  3024. hum.JumpPower = 0
  3025. end
  3026.  
  3027. local jumped = false
  3028. local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  3029. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  3030. local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  3031. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  3032. local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  3033. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  3034. local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  3035. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  3036.  
  3037. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  3038.  
  3039. local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  3040. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  3041.  
  3042. local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  3043. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  3044.  
  3045. if no_anim == false then
  3046. if hum.Health > 0 then
  3047. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  3048. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  3049. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
  3050. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3051. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
  3053. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3055. elseif jumped == true then
  3056. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  3057. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
  3058. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
  3059. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
  3060. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  3061. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  3062. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  3063. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
  3064. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
  3065. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
  3066. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
  3067. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
  3068. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  3069. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
  3070. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
  3071. end
  3072. for i=1,5 do
  3073. if aiming_anim == true then
  3074. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  3075. if jumped == false then
  3076. bg.CFrame = CFrame.new(root.Position,Vector3.new(Mouse.Hit.x,root.Position.Y,Mouse.Hit.z))
  3077. else
  3078. bg.CFrame = CFrame.new(root.Position,Mouse.Hit.p)
  3079. end
  3080. if animid == 0 then
  3081. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
  3082. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
  3083. larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
  3084. else
  3085. if animid == 5 then
  3086. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
  3087. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
  3088. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
  3089. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
  3090. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
  3091. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
  3092. else
  3093. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
  3094. torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
  3095. rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
  3096. end
  3097. end
  3098. else
  3099. if timer <= 0 then
  3100. animid = math.random(0,1)
  3101. else
  3102. timer = timer - 1
  3103. end
  3104. end
  3105. end
  3106. end
  3107. end
  3108. main_color = Color3.fromRGB(main.r,main.g,main.b)
  3109. HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
  3110. HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
  3111. sine = sine + change
  3112. if hum.Health <= 0 then
  3113. debounce = true
  3114. end
  3115. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement