Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 195.20 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,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303. wait(2)
  304.  
  305. local p = game:GetService("Players").LocalPlayer
  306. local plr = game:GetService("Players").LocalPlayer
  307. local player = game:GetService("Players").LocalPlayer
  308. local char = p.Character
  309. local mouse = p:GetMouse()
  310. local larm = char:WaitForChild("Left Arm")
  311. local rarm = char:WaitForChild("Right Arm")
  312. local lleg = char:WaitForChild("Left Leg")
  313. local rleg = char:WaitForChild("Right Leg")
  314. local hed = char:WaitForChild("Head")
  315. local torso = char:WaitForChild("Torso")
  316. local root = char:WaitForChild("HumanoidRootPart")
  317. local hum = char:FindFirstChildOfClass("Humanoid")
  318. local debris = game:GetService("Debris")
  319. local run = game:GetService("RunService")
  320. local rs = run.RenderStepped
  321. local cam = workspace.CurrentCamera
  322. local movement = 4
  323. local change = 0.4
  324. local DebrisModel = Instance.new("Model",char)
  325. local stealth = false
  326. local debounce = false
  327. -------------------------------------------------------
  328. local Player_Size = 4
  329. if Player_Size ~= 4 then
  330. root.Size = root.Size * Player_Size
  331. torso.Size = torso.Size * Player_Size
  332. hed.Size = hed.Size * Player_Size
  333. rarm.Size = rarm.Size * Player_Size
  334. larm.Size = larm.Size * Player_Size
  335. rleg.Size = rleg.Size * Player_Size
  336. lleg.Size = lleg.Size * Player_Size
  337. end
  338. ----------------------------------------------------------------------------------
  339. it = Instance.new
  340. hum.MaxHealth = 500000000000000000000000000000000000000000000000
  341. hum.Health = hum.MaxHealth
  342. themeid = 0
  343. themepitch = 1
  344. TorsoColor = torso.BrickColor
  345. RightLeg = CFrame.new(0.5,-1,0)
  346. LeftLeg = CFrame.new(-0.5,-1,0)
  347. RunService = game:service'RunService'
  348. lefth = (torso.CFrame*LeftLeg)
  349. righth = (torso.CFrame*RightLeg)
  350. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  351. local Lighty = game:GetService"Lighting"
  352. EffectModel = Instance.new("Model", char)
  353. Effects = {
  354. Block = {
  355. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  356. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  357. prt.Anchored = true
  358. prt.CFrame = cframe
  359. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  360. game:GetService("Debris"):AddItem(prt, 10)
  361. if Type == 1 or Type == nil then
  362. table.insert(Effects, {
  363. prt,
  364. "Block1",
  365. delay,
  366. x3,
  367. y3,
  368. z3,
  369. msh
  370. })
  371. elseif Type == 2 then
  372. table.insert(Effects, {
  373. prt,
  374. "Block2",
  375. delay,
  376. x3,
  377. y3,
  378. z3,
  379. msh
  380. })
  381. else
  382. table.insert(Effects, {
  383. prt,
  384. "Block3",
  385. delay,
  386. x3,
  387. y3,
  388. z3,
  389. msh
  390. })
  391. end
  392. end
  393. },
  394. Sphere = {
  395. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  396. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  397. prt.Anchored = true
  398. prt.CFrame = cframe
  399. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  400. game:GetService("Debris"):AddItem(prt, 10)
  401. table.insert(Effects, {
  402. prt,
  403. "Cylinder",
  404. delay,
  405. x3,
  406. y3,
  407. z3,
  408. msh
  409. })
  410. end
  411. },
  412. Cylinder = {
  413. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  414. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  415. prt.Anchored = true
  416. prt.CFrame = cframe
  417. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  418. game:GetService("Debris"):AddItem(prt, 10)
  419. table.insert(Effects, {
  420. prt,
  421. "Cylinder",
  422. delay,
  423. x3,
  424. y3,
  425. z3,
  426. msh
  427. })
  428. end
  429. },
  430. Wave = {
  431. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  432. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  433. prt.Anchored = true
  434. prt.CFrame = cframe
  435. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  436. game:GetService("Debris"):AddItem(prt, 10)
  437. table.insert(Effects, {
  438. prt,
  439. "Cylinder",
  440. delay,
  441. x3 / 60,
  442. y3 / 60,
  443. z3 / 60,
  444. msh
  445. })
  446. end
  447. },
  448. Ring = {
  449. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  450. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  451. prt.Anchored = true
  452. prt.CFrame = cframe
  453. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  454. game:GetService("Debris"):AddItem(prt, 10)
  455. table.insert(Effects, {
  456. prt,
  457. "Cylinder",
  458. delay,
  459. x3,
  460. y3,
  461. z3,
  462. msh
  463. })
  464. end
  465. },
  466. Break = {
  467. Create = function(brickcolor, cframe, x1, y1, z1)
  468. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  469. prt.Anchored = true
  470. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  471. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  472. local num = math.random(10, 50) / 1000
  473. game:GetService("Debris"):AddItem(prt, 10)
  474. table.insert(Effects, {
  475. prt,
  476. "Shatter",
  477. num,
  478. prt.CFrame,
  479. math.random() - math.random(),
  480. 0,
  481. math.random(50, 100) / 100
  482. })
  483. end
  484. },
  485. Spiral = {
  486. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  487. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  488. prt.Anchored = true
  489. prt.CFrame = cframe
  490. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  491. game:GetService("Debris"):AddItem(prt, 10)
  492. table.insert(Effects, {
  493. prt,
  494. "Cylinder",
  495. delay,
  496. x3,
  497. y3,
  498. z3,
  499. msh
  500. })
  501. end
  502. },
  503. Push = {
  504. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  505. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  506. prt.Anchored = true
  507. prt.CFrame = cframe
  508. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  509. game:GetService("Debris"):AddItem(prt, 10)
  510. table.insert(Effects, {
  511. prt,
  512. "Cylinder",
  513. delay,
  514. x3,
  515. y3,
  516. z3,
  517. msh
  518. })
  519. end
  520. }
  521. }
  522. local NeckS = Instance.new("Part",char)
  523. NeckS.Size = Vector3.new(1.2,1,1.2)
  524. NeckS.Material = "SmoothPlastic"
  525. NeckS.BrickColor = BrickColor.new("Bright yellow")
  526. NeckS.CanCollide = false
  527. local Neck3 = Instance.new("Weld",NeckS)
  528. Neck3.Part0 = larm
  529. Neck3.Part1 = NeckS
  530. Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
  531. local Black = Instance.new("Part",NeckS)--First Stone, Yellow
  532. Black.Size = Vector3.new(0.3,0.3,0.3)
  533. Black.Material = "Neon"
  534. Black.BrickColor = BrickColor.new("New Yeller")
  535. Black.CanCollide = false
  536. local BlackM = Instance.new("SpecialMesh",Black)
  537. BlackM.MeshType = 3
  538. local Black1 = Instance.new("Weld",Black)
  539. Black1.Part0 = NeckS
  540. Black1.Part1 = Black
  541. Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  542. local Stone2 = Instance.new("Part",NeckS)--First Circle
  543. Stone2.Size = Vector3.new(0.2,0.2,0.2)
  544. Stone2.Material = "Neon"
  545. Stone2.BrickColor = BrickColor.new("Magenta")
  546. Stone2.CanCollide = false
  547. local Stone22 = Instance.new("SpecialMesh",Stone2)
  548. Stone22.MeshType = 3
  549. local Stone222 = Instance.new("Weld",Stone2)
  550. Stone222.Part0 = NeckS
  551. Stone222.Part1 = Stone2
  552. Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  553. local Stone3 = Instance.new("Part",NeckS)--First Circle
  554. Stone3.Size = Vector3.new(0.2,0.2,0.2)
  555. Stone3.Material = "Neon"
  556. Stone3.BrickColor = BrickColor.new("Lapis")
  557. Stone3.CanCollide = false
  558. local Stone33 = Instance.new("SpecialMesh",Stone3)
  559. Stone33.MeshType = 3
  560. local Stone333 = Instance.new("Weld",Stone3)
  561. Stone333.Part0 = NeckS
  562. Stone333.Part1 = Stone3
  563. Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  564. local Stone4 = Instance.new("Part",NeckS)--First Circle
  565. Stone4.Size = Vector3.new(0.2,0.2,0.2)
  566. Stone4.Material = "Neon"
  567. Stone4.BrickColor = BrickColor.new("Really red")
  568. Stone4.CanCollide = false
  569. local Stone44 = Instance.new("SpecialMesh",Stone4)
  570. Stone44.MeshType = 3
  571. local Stone444 = Instance.new("Weld",Stone4)
  572. Stone444.Part0 = NeckS
  573. Stone444.Part1 = Stone4
  574. Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  575. local Stone5 = Instance.new("Part",NeckS)--First Circle
  576. Stone5.Size = Vector3.new(0.2,0.2,0.2)
  577. Stone5.Material = "Neon"
  578. Stone5.BrickColor = BrickColor.new("CGA brown")
  579. Stone5.CanCollide = false
  580. local Stone55 = Instance.new("SpecialMesh",Stone5)
  581. Stone55.MeshType = 3
  582. local Stone555 = Instance.new("Weld",Stone5)
  583. Stone555.Part0 = NeckS
  584. Stone555.Part1 = Stone5
  585. Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  586.  
  587. local Stone6 = Instance.new("Part",NeckS)--First Circle
  588. Stone6.Size = Vector3.new(0.2,0.2,0.2)
  589. Stone6.Material = "Neon"
  590. Stone6.BrickColor = BrickColor.new("Lime green")
  591. Stone6.CanCollide = false
  592. local Stone66 = Instance.new("SpecialMesh",Stone6)
  593. Stone66.MeshType = 3
  594. local Stone666 = Instance.new("Weld",Stone6)
  595. Stone666.Part0 = NeckS
  596. Stone666.Part1 = Stone6
  597. Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  598.  
  599. local Grab = Instance.new("Part",hed)
  600. Grab.Size = Vector3.new(4.9,5,4.9)
  601. Grab.CanCollide = false
  602. Grab.BrickColor = BrickColor.new("Deep orange")
  603. Grab.Transparency = 1
  604. local Grabo = Instance.new("Weld",Grab)
  605. Grabo.Part0 = hed
  606. Grabo.Part1 = Grab
  607. Grabo.C0 = CFrame.new(0,-1.5,0)
  608.  
  609. local AuraB = Instance.new("Part",hed)
  610. AuraB.Size = Vector3.new(2,1,2)
  611. AuraB.CanCollide = false
  612. AuraB.BrickColor = BrickColor.new("Deep orange")
  613. AuraB.Transparency = 1
  614. local AuraBo = Instance.new("Weld",AuraB)
  615. AuraBo.Part0 = hed
  616. AuraBo.Part1 = AuraB
  617. AuraBo.C0 = CFrame.new(0,-3.6,0)
  618.  
  619. local FZcharge3 = Instance.new("ParticleEmitter",Grab)
  620. FZcharge3.Texture = "rbxassetid://249481494"
  621. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  622. FZcharge3.EmissionDirection = "Top"
  623. FZcharge3.Speed = NumberRange.new(8)
  624. FZcharge3.Size = NumberSequence.new(8,0)
  625. FZcharge3.Transparency = NumberSequence.new(0,1)
  626. FZcharge3.Drag = 1.2
  627. FZcharge3.LockedToPart = true
  628. FZcharge3.Lifetime = NumberRange.new(1)
  629. FZcharge3.Rate = 195
  630. FZcharge3.LightEmission = 0
  631. FZcharge3.Rotation = NumberRange.new(-360,360)
  632. FZcharge3.VelocitySpread = 100.2
  633. FZcharge3.ZOffset = 2.5
  634. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  635. wait(0.001)
  636. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
  637. for i,v in pairs(char:GetChildren()) do
  638. if v ~= root then
  639. if v:IsA("Part") then
  640. v.Transparency = 1
  641. elseif v:IsA("Accoutrement") then
  642. v:FindFirstChildOfClass("Part").Transparency = 1
  643. end
  644. end
  645. end
  646. for i,v in pairs(NeckS:GetChildren()) do
  647. if v ~= root then
  648. if v:IsA("Part") then
  649. v.Transparency = 1
  650. elseif v:IsA("Accoutrement") then
  651. v:FindFirstChildOfClass("Part").Transparency = 1
  652. end
  653. end
  654. end
  655. wait(5)
  656. FZcharge3.Rate = 0
  657. for i,v in pairs(char:GetChildren()) do
  658. if v ~= root then
  659. if v:IsA("Part") then
  660. v.Transparency = 0
  661. elseif v:IsA("Accoutrement") then
  662. v:FindFirstChildOfClass("Part").Transparency = 0
  663. end
  664. end
  665. end
  666. for i,v in pairs(NeckS:GetChildren()) do
  667. if v ~= root then
  668. if v:IsA("Part") then
  669. v.Transparency = 0
  670. elseif v:IsA("Accoutrement") then
  671. v:FindFirstChildOfClass("Part").Transparency = 0
  672. end
  673. end
  674. end
  675. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  676. local SFXZ = Instance.new("Sound",torso)
  677. SFXZ.SoundId = "rbxassetid://915686003"
  678. SFXZ.Volume = 3
  679. SFXZ.Pitch = 1
  680. SFXZ.Looped = false
  681. wait(0.01)
  682. SFXZ:Play()
  683. nooutline = function(part)
  684. part.TopSurface = 10
  685. end
  686. local Mode = false
  687. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  688. local fp = it("Part")
  689. fp.formFactor = formfactor
  690. fp.Parent = parent
  691. fp.Reflectance = reflectance
  692. fp.Transparency = transparency
  693. fp.CanCollide = false
  694. fp.Locked = true
  695. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  696. fp.Name = name
  697. fp.Size = size
  698. fp.Position = char.Torso.Position
  699. nooutline(fp)
  700. fp.Material = material
  701. fp:BreakJoints()
  702. return fp
  703. end
  704.  
  705. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  706. local mesh = it(Mesh)
  707. mesh.Parent = part
  708. if Mesh == "SpecialMesh" then
  709. mesh.MeshType = meshtype
  710. mesh.MeshId = meshid
  711. end
  712. mesh.Offset = offset
  713. mesh.Scale = scale
  714. return mesh
  715. end
  716.  
  717. weld = function(parent, part0, part1, c0, c1)
  718. local weld = it("Weld")
  719. weld.Parent = parent
  720. weld.Part0 = part0
  721. weld.Part1 = part1
  722. weld.C0 = c0
  723. weld.C1 = c1
  724. return weld
  725. end
  726. local Create = LoadLibrary("RbxUtility").Create
  727. ArtificialHB = Create("BindableEvent", script){
  728. Parent = script,
  729. Name = "Heartbeat",
  730. }
  731.  
  732. function RemoveOutlines(part)
  733. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  734. end
  735. CFuncs = {
  736. Part = {
  737. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  738. local Part = Create("Part"){
  739. Parent = Parent,
  740. Reflectance = Reflectance,
  741. Transparency = Transparency,
  742. CanCollide = false,
  743. Locked = true,
  744. BrickColor = BrickColor.new(tostring(BColor)),
  745. Name = Name,
  746. Size = Size,
  747. Material = Material,
  748. }
  749. RemoveOutlines(Part)
  750. return Part
  751. end;
  752. };
  753.  
  754. Mesh = {
  755. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  756. local Msh = Create(Mesh){
  757. Parent = Part,
  758. Offset = OffSet,
  759. Scale = Scale,
  760. }
  761. if Mesh == "SpecialMesh" then
  762. Msh.MeshType = MeshType
  763. Msh.MeshId = MeshId
  764. end
  765. return Msh
  766. end;
  767. };
  768.  
  769. Weld = {
  770. Create = function(Parent, Part0, Part1, C0, C1)
  771. local Weld = Create("Weld"){
  772. Parent = Parent,
  773. Part0 = Part0,
  774. Part1 = Part1,
  775. C0 = C0,
  776. C1 = C1,
  777. }
  778. return Weld
  779. end;
  780. };
  781.  
  782. Sound = {
  783. Create = function(id, par, vol, pit)
  784. local Sound = Create("Sound"){
  785. Volume = vol,
  786. Pitch = pit or 1,
  787. SoundId = "rbxassetid://" .. id,
  788. Parent = par or workspace,
  789. }
  790. Sound:play()
  791. return Sound
  792. end;
  793. };
  794.  
  795. Decal = {
  796. Create = function(Color, Texture, Transparency, Name, Parent)
  797. local Decal = Create("Decal"){
  798. Color3 = Color,
  799. Texture = "rbxassetid://" .. Texture,
  800. Transparency = Transparency,
  801. Name = Name,
  802. Parent = Parent,
  803. }
  804. return Decal
  805. end;
  806. };
  807.  
  808. BillboardGui = {
  809. Create = function(Parent, Image, Position, Size)
  810. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  811. BillPar.CFrame = CFrame.new(Position)
  812. local Bill = Create("BillboardGui"){
  813. Parent = BillPar,
  814. Adornee = BillPar,
  815. Size = UDim2.new(1, 0, 1, 0),
  816. SizeOffset = Vector2.new(Size, Size),
  817. }
  818. local d = Create("ImageLabel", Bill){
  819. Parent = Bill,
  820. BackgroundTransparency = 1,
  821. Size = UDim2.new(1, 0, 1, 0),
  822. Image = "rbxassetid://" .. Image,
  823. }
  824. return BillPar
  825. end
  826. };
  827.  
  828. ParticleEmitter = {
  829. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  830. local Particle = Create("ParticleEmitter"){
  831. Parent = Parent,
  832. Color = ColorSequence.new(Color1, Color2),
  833. LightEmission = LightEmission,
  834. Size = Size,
  835. Texture = Texture,
  836. Transparency = Transparency,
  837. ZOffset = ZOffset,
  838. Acceleration = Accel,
  839. Drag = Drag,
  840. LockedToPart = LockedToPart,
  841. VelocityInheritance = VelocityInheritance,
  842. EmissionDirection = EmissionDirection,
  843. Enabled = Enabled,
  844. Lifetime = LifeTime,
  845. Rate = Rate,
  846. Rotation = Rotation,
  847. RotSpeed = RotSpeed,
  848. Speed = Speed,
  849. VelocitySpread = VelocitySpread,
  850. }
  851. return Particle
  852. end;
  853. };
  854.  
  855. CreateTemplate = {
  856.  
  857. };
  858. }
  859. NewInstance = function(instance,parent,properties)
  860. local inst = Instance.new(instance)
  861. inst.Parent = parent
  862. if(properties)then
  863. for i,v in next, properties do
  864. pcall(function() inst[i] = v end)
  865. end
  866. end
  867. return inst;
  868. end
  869.  
  870. function rayCast(Position, Direction, Range, Ignore)
  871. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  872. end
  873. local m = Create("Model"){
  874. Parent = char,
  875. Name = "WeaponModel",
  876. }
  877. HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
  878. HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  879. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
  880. HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  881. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
  882. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  883. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  884. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  885. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  886. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  887. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
  888. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  889. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
  890. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
  891. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  892. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
  893. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  894. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  895. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  896. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  897. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  898. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
  899. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  900. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  901. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
  902. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  903. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  904. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  905. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  906. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
  907. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
  908. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  909. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  910. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  911. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
  912. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
  913. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  914. Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  915. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  916. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
  917. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  918. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
  919. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
  920. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
  921. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  922. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
  923. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  924. PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  925. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
  926. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  927. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  928. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  929. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  930. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  931. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  932. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  933. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  934. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  935. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
  936. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  937. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
  938. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  939. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
  940. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  941. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  942. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  943. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  944. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
  945. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  946. CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
  947. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
  948. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  949. CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
  950. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
  951. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  952. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
  953. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  954. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  955. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  956. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
  957. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
  958. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
  959. Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
  960. Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  961. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  962. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  963. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
  964. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
  965. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  966. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
  967. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  968. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  969. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  970. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
  971. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  972. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
  973. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  974. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  975. CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
  976. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
  977. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
  978. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  979. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
  980. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  981. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  982. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
  983. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  984. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
  985. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  986. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  987. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
  988. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
  989. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  990. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  991. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  992. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  993. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  994. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
  995. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  996. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
  997. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  998. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  999. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  1000. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
  1001. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1002. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1003. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  1004. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
  1005. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
  1006. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  1007. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
  1008. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
  1009. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  1010. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  1011. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
  1012. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1013. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
  1014. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1015. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  1016. CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
  1017. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1018. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  1019. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
  1020. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
  1021. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  1022. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  1023. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  1024. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  1025. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  1026. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
  1027. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1028. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
  1029. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
  1030. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1031. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
  1032. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
  1033. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1034. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
  1035. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
  1036. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  1037. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
  1038. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
  1039. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1040. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
  1041. Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
  1042. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1043. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
  1044. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1045. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1046. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  1047. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
  1048. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1049. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
  1050. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1051. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1052. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
  1053. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
  1054. Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
  1055. CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
  1056. Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
  1057. Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1058. CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
  1059. Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
  1060. Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
  1061. CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
  1062. Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
  1063. Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  1064. CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
  1065. sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1066. sref.Anchored = true
  1067.  
  1068. ACOS = math.acos
  1069. ang = CFrame.Angles
  1070. SIN = math.sin
  1071. cf = CFrame.new
  1072. COS = math.cos
  1073. rd = math.rad
  1074. rd2 = math.random
  1075. Heartbeat = Instance.new("BindableEvent")
  1076. Heartbeat.Name = "Heartbeat"
  1077. Heartbeat.Parent = script
  1078. local LeftShoulder = torso["Left Shoulder"]
  1079. local Left_Hip = torso["Left Hip"]
  1080. local RightShoulder = torso["Right Shoulder"]
  1081. local Right_Hip = torso["Right Hip"]
  1082.  
  1083. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1084. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1085. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1086. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1087. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1088. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1089. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1090. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1091. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1092. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1093. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1094. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1095. RS = torso:FindFirstChild("Right Shoulder")
  1096. LS = torso:FindFirstChild("Left Shoulder")
  1097. RH = torso:FindFirstChild("Right Hip")
  1098. LH = torso:FindFirstChild("Left Hip")
  1099. RJ = root:FindFirstChild("RootJoint")
  1100. N = torso:FindFirstChild("Neck")
  1101.  
  1102.  
  1103. local UltimateBattle = Instance.new("Sound",hed)
  1104. UltimateBattle.SoundId = "rbxassetid://1333021608"
  1105. UltimateBattle.Pitch = 1
  1106. UltimateBattle.Looped = true
  1107. UltimateBattle.Volume = 5
  1108. UltimateBattle:Play()
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115. function QuaternionFromCFrame(cf)
  1116. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1117. local trace = m00 + m11 + m22
  1118. if trace > 0 then
  1119. local s = math.sqrt(1 + trace)
  1120. local recip = 0.5 / s
  1121. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1122. else
  1123. local i = 0
  1124. if m11 > m00 then
  1125. i = 1
  1126. end
  1127. if m22 > (i == 0 and m00 or m11) then
  1128. i = 2
  1129. end
  1130. if i == 0 then
  1131. local s = math.sqrt(m00 - m11 - m22 + 1)
  1132. local recip = 0.5 / s
  1133. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1134. elseif i == 1 then
  1135. local s = math.sqrt(m11 - m22 - m00 + 1)
  1136. local recip = 0.5 / s
  1137. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1138. elseif i == 2 then
  1139. local s = math.sqrt(m22 - m00 - m11 + 1)
  1140. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1141. end
  1142. end
  1143. end
  1144.  
  1145. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1146. local xs, ys, zs = x + x, y + y, z + z
  1147. local wx, wy, wz = w * xs, w * ys, w * zs
  1148. local xx = x * xs
  1149. local xy = x * ys
  1150. local xz = x * zs
  1151. local yy = y * ys
  1152. local yz = y * zs
  1153. local zz = z * zs
  1154. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1155. end
  1156.  
  1157. function QuaternionSlerp(a, b, t)
  1158. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1159. local startInterp, finishInterp;
  1160. if cosTheta >= 0.0001 then
  1161. if (1 - cosTheta) > 0.0001 then
  1162. local theta = ACOS(cosTheta)
  1163. local invSinTheta = 1 / SIN(theta)
  1164. startInterp = SIN((1 - t) * theta) * invSinTheta
  1165. finishInterp = SIN(t * theta) * invSinTheta
  1166. else
  1167. startInterp = 1 - t
  1168. finishInterp = t
  1169. end
  1170. else
  1171. if (1 + cosTheta) > 0.0001 then
  1172. local theta = ACOS(-cosTheta)
  1173. local invSinTheta = 1 / SIN(theta)
  1174. startInterp = SIN((t - 1) * theta) * invSinTheta
  1175. finishInterp = SIN(t * theta) * invSinTheta
  1176. else
  1177. startInterp = t - 1
  1178. finishInterp = t
  1179. end
  1180. end
  1181. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1182. end
  1183.  
  1184. function Clerp(a, b, t)
  1185. local qa = {QuaternionFromCFrame(a)}
  1186. local qb = {QuaternionFromCFrame(b)}
  1187. local ax, ay, az = a.x, a.y, a.z
  1188. local bx, by, bz = b.x, b.y, b.z
  1189. local _t = 1 - t
  1190. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1191. end
  1192.  
  1193. main = {r = 0;g = 100;b = 255;v = 1}
  1194. if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
  1195. if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
  1196. if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
  1197. if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
  1198. if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
  1199. if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
  1200. pr = p:FindFirstChild("rcolor")
  1201. pg = p:FindFirstChild("gcolor")
  1202. pb = p:FindFirstChild("bcolor")
  1203. pv = p:FindFirstChild("vcolor")
  1204. idth = p:FindFirstChild("idtheme")
  1205. pith = p:FindFirstChild("pitchtheme")
  1206. main_color = Color3.fromRGB(main.r,main.g,main.b)
  1207. explosionid = {144699494,144699494}
  1208. punch = {545219984}
  1209. --919941001
  1210. Prefix = "/"
  1211. p.Chatted:connect(function(msg)
  1212.  
  1213. if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
  1214. local v = tonumber(msg:sub(#Prefix+#'color r '+1))
  1215. main.r = v
  1216. elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
  1217. local v = tonumber(msg:sub(#Prefix+#'color g '+1))
  1218. main.g = v
  1219. elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
  1220. local v = tonumber(msg:sub(#Prefix+#'color b '+1))
  1221. main.b = v
  1222. elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
  1223. local v = tonumber(msg:sub(#Prefix+#'color v '+1))
  1224. if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
  1225.  
  1226. elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
  1227. local v = tonumber(msg:sub(#Prefix+#'theme '+1))
  1228. themeid = v
  1229. music(themeid,themepitch)
  1230.  
  1231. elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
  1232. local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
  1233. themepitch = v
  1234. music(themeid,themepitch)
  1235.  
  1236. elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
  1237. local v = msg:sub(#Prefix+#'prefix '+1)
  1238. Prefix = v
  1239.  
  1240. elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
  1241. main.r = 0
  1242. main.g = 100
  1243. main.b = 255
  1244. main.v = 1
  1245. themeid = 556122490
  1246. themepitch = 1
  1247. music(themeid,themepitch)
  1248.  
  1249. end
  1250.  
  1251. end)
  1252. ----------------------------------------------------------------------------
  1253. no_anim = false
  1254. attack = false
  1255. attacking = false
  1256. canjump = true
  1257. aiming_anim = false
  1258. animid = math.random(0,1)
  1259. timer = 0
  1260. bg = Instance.new("BodyGyro",root)
  1261. bg.P = 100000
  1262. bg.D = 100
  1263. ----------------------------------------------------------------------------
  1264.  
  1265. ----
  1266. function rswait(value)
  1267. if value ~= nil and value ~= 0 then
  1268. for i=1,value do
  1269. rs:wait()
  1270. end
  1271. else
  1272. rs:wait()
  1273. end
  1274. end
  1275.  
  1276. ----
  1277. local maincolor = BrickColor.new("Really red")
  1278. function Eviscerate(dude)
  1279. if dude.Name ~= char then
  1280.  
  1281. local val = Instance.new("BoolValue", dude)
  1282. val.Name = "IsHit"
  1283. local ds = coroutine.wrap(function()
  1284. dude:BreakJoints()
  1285. wait(0)
  1286. local Vanish = Instance.new("Sound",dude)
  1287. Vanish.SoundId = "rbxassetid://427025525"
  1288. Vanish.Volume = 0.5
  1289. Vanish.Pitch = 0.6
  1290. Vanish.Looped = false
  1291. wait(0.01)
  1292. Vanish:Play()
  1293. coroutine.resume(coroutine.create(function()
  1294. for i, v in pairs(dude:GetChildren()) do
  1295. if v:IsA("Accessory") then
  1296. v:Destroy()
  1297. end
  1298.  
  1299. if v:IsA("CharacterMesh") then
  1300. v:Destroy()
  1301. end
  1302. if v:IsA("Model") then
  1303. v:Destroy()
  1304. end
  1305. if v:IsA("Part") or v:IsA("MeshPart") then
  1306. for x, o in pairs(v:GetChildren()) do
  1307. if o:IsA("Decal") then
  1308. o:Destroy()
  1309. end
  1310. end
  1311. coroutine.resume(coroutine.create(function()
  1312. v.Material = "Grass"
  1313. v.CanCollide = false
  1314.  
  1315. coroutine.resume(coroutine.create(function()
  1316. for i = 1,45 do
  1317. v.Transparency = v.Transparency + 0.04
  1318. wait(0.00000000001)
  1319. end
  1320.  
  1321.  
  1322. end))
  1323.  
  1324. local Aura = Instance.new("ParticleEmitter",v)
  1325. Aura.Texture = "rbxassetid://1084976679"
  1326. Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
  1327. Aura.EmissionDirection = "Top"
  1328. Aura.Speed = NumberRange.new(0)
  1329. Aura.Size = NumberSequence.new(2.5)
  1330. Aura.Transparency = NumberSequence.new(0,1)
  1331. Aura.Drag = 0.4
  1332. Aura.LightInfluence = 0
  1333. Aura.LockedToPart = true
  1334. Aura.Lifetime = NumberRange.new(0.9)
  1335. Aura.Rate = 260
  1336. Aura.LightEmission = 1
  1337. Aura.Rotation = NumberRange.new(-360,360)
  1338. Aura.VelocitySpread = 0
  1339. Aura.Acceleration = Vector3.new(0,10,0)
  1340. Aura.ZOffset = 0.2
  1341. local BodPoss = Instance.new("BodyPosition", v)
  1342. BodPoss.P = 3000
  1343. BodPoss.D = 1000
  1344. BodPoss.maxForce = Vector3.new(500, 5000, 500)
  1345. BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0))
  1346. v.BrickColor = BrickColor.new("Dirt brown")
  1347.  
  1348. wait(1.3)
  1349. Aura.Enabled = false
  1350. wait(1.5)
  1351. v:Destroy()
  1352.  
  1353. dude:Destroy()
  1354. end))
  1355. end
  1356.  
  1357. end
  1358. end))
  1359. end)
  1360. ds()
  1361. end
  1362. end
  1363. function Snap(dude)
  1364. if dude.Name ~= char then
  1365. local bgf = Instance.new("BodyGyro", dude.Head)
  1366. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
  1367. local val = Instance.new("BoolValue", dude)
  1368. val.Name = "IsHit"
  1369. local ds = coroutine.wrap(function()
  1370. dude:BreakJoints()
  1371. wait(0)
  1372.  
  1373. coroutine.resume(coroutine.create(function()
  1374. for i, v in pairs(dude:GetChildren()) do
  1375. if v:IsA("Accessory") then
  1376. v:Destroy()
  1377. end
  1378.  
  1379. if v:IsA("CharacterMesh") then
  1380. v:Destroy()
  1381. end
  1382. if v:IsA("Model") then
  1383. v:Destroy()
  1384. end
  1385. if v:IsA("Part") or v:IsA("MeshPart") then
  1386. for x, o in pairs(v:GetChildren()) do
  1387. if o:IsA("Decal") then
  1388. o:Destroy()
  1389. end
  1390. end
  1391. coroutine.resume(coroutine.create(function()
  1392.  
  1393. v.Material = "Neon"
  1394. local PartEmmit1 = Instance.new("ParticleEmitter", v)
  1395. PartEmmit1.LightEmission = 1
  1396. PartEmmit1.Texture = "rbxassetid://520049620"
  1397. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1398. PartEmmit1.Rate = 150
  1399. PartEmmit1.Lifetime = NumberRange.new(1)
  1400. PartEmmit1.Size = NumberSequence.new({
  1401. NumberSequenceKeypoint.new(0, 0.75, 0),
  1402. NumberSequenceKeypoint.new(1, 0, 0)
  1403. })
  1404. PartEmmit1.Transparency = NumberSequence.new({
  1405. NumberSequenceKeypoint.new(0, 0, 0),
  1406. NumberSequenceKeypoint.new(1, 1, 0)
  1407. })
  1408. PartEmmit1.Speed = NumberRange.new(0, 0)
  1409. PartEmmit1.VelocitySpread = 30000
  1410. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1411. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1412. local BodPoss = Instance.new("BodyPosition", v)
  1413. BodPoss.P = 3000
  1414. BodPoss.D = 1000
  1415. BodPoss.maxForce = Vector3.new(200000, 200000, 200000)
  1416. BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
  1417. v.BrickColor = BrickColor.new("Really red")
  1418. coroutine.resume(coroutine.create(function()
  1419. for i = 0, 49 do
  1420. swait(1)
  1421.  
  1422. end
  1423. wait(0.5)
  1424. PartEmmit1.Enabled = false
  1425. wait(3)
  1426. v:Destroy()
  1427. dude:Destroy()
  1428. end))
  1429. end))
  1430. end
  1431. end
  1432. end))
  1433. end)
  1434. ds()
  1435. end
  1436. end
  1437. function Rock(stone)
  1438. if stone.Name ~= char then
  1439.  
  1440. local val = Instance.new("BoolValue", stone)
  1441. val.Name = "IsHit"
  1442. local ds = coroutine.wrap(function()
  1443. stone:BreakJoints()
  1444. wait(0)
  1445.  
  1446. coroutine.resume(coroutine.create(function()
  1447. for i, v in pairs(stone:GetChildren()) do
  1448. if v:IsA("Accessory") then
  1449. v:Destroy()
  1450. end
  1451.  
  1452. if v:IsA("CharacterMesh") then
  1453. v:Destroy()
  1454. end
  1455. if v:IsA("Model") then
  1456. v:Destroy()
  1457. end
  1458. if v:IsA("Part") or v:IsA("MeshPart") then
  1459. for x, o in pairs(v:GetChildren()) do
  1460. if o:IsA("Decal") then
  1461. o:Destroy()
  1462. end
  1463. end
  1464. coroutine.resume(coroutine.create(function()
  1465.  
  1466. v.Material = "Slate"
  1467. v.CanCollide = true
  1468. local BodPoss = Instance.new("BodyPosition", v)
  1469. BodPoss.P = 3000
  1470. BodPoss.D = 1000
  1471. BodPoss.maxForce = Vector3.new(500, 5000, 500)
  1472. BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
  1473.  
  1474. v.BrickColor = BrickColor.new("Dark stone grey")
  1475. wait(0.1)
  1476. BodPoss:Destroy()
  1477. coroutine.resume(coroutine.create(function()
  1478. for i = 0, 49 do
  1479. swait(1)
  1480.  
  1481. end
  1482. wait(0.5)
  1483.  
  1484. wait(3)
  1485.  
  1486. end))
  1487. end))
  1488. end
  1489. end
  1490. end))
  1491. end)
  1492. ds()
  1493. end
  1494. end
  1495. ----------------------------------------------------------------------------
  1496. local instinct = true
  1497.  
  1498.  
  1499. ---
  1500. Instance.new("ForceField",char).Visible = false
  1501. hum:SetStateEnabled("Dead",false)
  1502. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1503. ---
  1504.  
  1505. ---
  1506.  
  1507. local MUI = false
  1508.  
  1509.  
  1510. max = 0
  1511. function music(id,pitch)
  1512. max = 0
  1513. if id == "Stop" then
  1514. if not torso:FindFirstChild("MusicRuin") then
  1515. soundz = Instance.new("Sound",torso)
  1516. end
  1517. soundz:Stop()
  1518. else
  1519. if not torso:FindFirstChild("MusicRuin") then
  1520. soundz = Instance.new("Sound",torso)
  1521. end
  1522. soundz.MaxDistance = 150*5
  1523. soundz.EmitterSize = 150/5
  1524. soundz.Volume = 10
  1525. soundz.Name = "MusicRuin"
  1526. soundz.Looped = true
  1527. soundz.PlaybackSpeed = pitch
  1528. soundz.SoundId = "rbxassetid://"..id
  1529. soundz:Stop()
  1530. soundz:Play()
  1531. end
  1532. end
  1533.  
  1534. ----------------------------------------------------------------------------
  1535.  
  1536. function lerp(a, b, t)
  1537. return a + (b - a)*t
  1538. end
  1539.  
  1540. ----------------------------------------------------------------------------
  1541.  
  1542. function Lerp(c1,c2,al)
  1543. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1544. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1545. for i,v in pairs(com1) do
  1546. com1[i] = v+(com2[i]-v)*al
  1547. end
  1548. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1549. end
  1550.  
  1551. ----------------------------------------------------------------------------
  1552.  
  1553. function slerp(a, b, t)
  1554. dot = a:Dot(b)
  1555. if dot > 0.99999 or dot < -0.99999 then
  1556. return t <= 0.5 and a or b
  1557. else
  1558. r = math.acos(dot)
  1559. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1560. end
  1561. end
  1562.  
  1563. ----------------------------------------------------------------------------
  1564.  
  1565. function clerp(c1,c2,al)
  1566.  
  1567. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1568.  
  1569. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1570.  
  1571. for i,v in pairs(com1) do
  1572.  
  1573. com1[i] = lerp(v,com2[i],al)
  1574.  
  1575. end
  1576.  
  1577. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1578.  
  1579. end
  1580.  
  1581. ----------------------------------------------------------------------------
  1582.  
  1583.  
  1584.  
  1585. -------------------
  1586. function findAllNearestTorso(pos,dist)
  1587. local list = game.Workspace:children()
  1588. local torso = {}
  1589. local temp = nil
  1590. local human = nil
  1591. local temp2 = nil
  1592. for x = 1, #list do
  1593. temp2 = list[x]
  1594. if (temp2.className == "Model") and (temp2 ~= char) then
  1595. local nayem = "Torso"
  1596. if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
  1597. temp = temp2:findFirstChild(nayem)
  1598. human = temp2:findFirstChildOfClass("Humanoid")
  1599. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1600. if (temp.Position - pos).magnitude < dist then
  1601. table.insert(torso,temp)
  1602. dist = (temp.Position - pos).magnitude
  1603. end
  1604. end
  1605. end
  1606. end
  1607. return torso
  1608. end
  1609.  
  1610. ----------------------------------------------------------------------------
  1611.  
  1612. local isAPlayer
  1613. function checkIfNotPlayer(model)
  1614. coroutine.resume(coroutine.create(function()
  1615. 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
  1616. isAPlayer = true
  1617. else
  1618. isAPlayer = false
  1619. end
  1620. end))
  1621. return isAPlayer
  1622. end
  1623.  
  1624. ----------------------------------------------------------------------------
  1625.  
  1626. function computeDirection(vec)
  1627. local lenSquared = vec.magnitude * vec.magnitude
  1628. local invSqrt = 1 / math.sqrt(lenSquared)
  1629. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1630. end
  1631.  
  1632. ----------------------------------------------------------------------------
  1633.  
  1634. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  1635.  
  1636. local wld = Instance.new("Weld", wp1)
  1637.  
  1638. wld.Part0 = wp0
  1639.  
  1640. wld.Part1 = wp1
  1641.  
  1642. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1643.  
  1644. return wld
  1645.  
  1646. end
  1647.  
  1648. ----------------------------------------------------------------------------
  1649.  
  1650. function weld(model)
  1651. local parts,last = {}
  1652. local function scan(parent)
  1653. for _,v in pairs(parent:GetChildren()) do
  1654. if (v:IsA("BasePart")) then
  1655. if (last) then
  1656. local w = Instance.new("Weld")
  1657. w.Name = ("%s_Weld"):format(v.Name)
  1658. w.Part0,w.Part1 = last,v
  1659. w.C0 = last.CFrame:inverse()
  1660. w.C1 = v.CFrame:inverse()
  1661. w.Parent = last
  1662. end
  1663. last = v
  1664. table.insert(parts,v)
  1665. end
  1666. scan(v)
  1667. end
  1668. end
  1669. scan(model)
  1670. for _,v in pairs(parts) do
  1671. v.Anchored = false
  1672. v.Locked = true
  1673. end
  1674. end
  1675.  
  1676. ----------------------------------------------------------------------------
  1677. ----------------------------------------------------------------------------
  1678. eColors={"Really red","Really black"}
  1679. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
  1680. local magz = (Part0 - Part1).magnitude
  1681. local curpos = Part0
  1682. local trz = {-Offset,Offset}
  1683. for i=1,Times do
  1684. local li = Instance.new("Part", DebrisModel)
  1685. li.TopSurface =0
  1686. li.Material = Enum.Material.Neon
  1687. li.BottomSurface = 0
  1688. li.Anchored = true
  1689. li.Locked = true
  1690. li.Transparency = Trans or 0.4
  1691. li.BrickColor = BrickColor.new(Color)
  1692. li.formFactor = "Custom"
  1693. li.CanCollide = false
  1694. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1695. local lim = Instance.new("BlockMesh",li)
  1696. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1697. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1698. if Times == i then
  1699. local magz2 = (curpos - Part1).magnitude
  1700. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1701. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1702. else
  1703. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1704. end
  1705. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1706. li.Name = "LIGHTNING"
  1707. end
  1708. end
  1709.  
  1710. ----------------------------------------------------------------------------
  1711.  
  1712.  
  1713. local HBill = Instance.new("BillboardGui",hed)
  1714. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1715. local HName = Instance.new("TextLabel")
  1716. HBill.Size = UDim2.new(15,0,2.2,0)
  1717. HBill.StudsOffset = Vector3.new(3.675,1.2,0)
  1718. HBill.AlwaysOnTop = true
  1719. HBill.Enabled = true
  1720. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1721. HMain.BackgroundTransparency = 1
  1722. HMain.Size = UDim2.new(.5,0,.2,0)
  1723. HName.Parent = HMain
  1724. HName.BackgroundTransparency = 1
  1725. HName.BackgroundColor3 = Color3.new(255,255,255)
  1726. HName.BorderColor3 = Color3.new(0,0,0)
  1727. HName.BorderSizePixel = 2
  1728. HName.TextTransparency = 1
  1729. HName.Size = UDim2.new(1,0,.75,0)
  1730. HName.Font = "Code"
  1731. HName.Text = [[ok]]
  1732. HName.TextScaled = true
  1733. HName.TextColor3 = Color3.new(0.5,0.5,0.5)
  1734. HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
  1735. HName.TextStrokeTransparency = 1
  1736. HName.TextYAlignment = "Bottom"
  1737.  
  1738. local HBill = Instance.new("BillboardGui",hed)
  1739. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1740. local HName = Instance.new("TextLabel")
  1741. HBill.Size = UDim2.new(15,0,2.2,0)
  1742. HBill.StudsOffset = Vector3.new(3.675,2,0)
  1743. HBill.AlwaysOnTop = true
  1744. HBill.Enabled = true
  1745. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1746. HMain.BackgroundTransparency = 1
  1747. HMain.Size = UDim2.new(.5,0,.5,0)
  1748. HName.Parent = HMain
  1749. HName.BackgroundTransparency = 1
  1750. HName.BackgroundColor3 = Color3.new(255,255,255)
  1751. HName.BorderColor3 = Color3.new(0,0,0)
  1752. HName.BorderSizePixel = 2
  1753. HName.Size = UDim2.new(1,0,.75,0)
  1754. HName.Font = "Code"
  1755. HName.TextTransparency = 1
  1756. HName.Text = [[hi]]
  1757. HName.TextScaled = true
  1758. HName.TextColor3 = Color3.new(0,0,0)
  1759. HName.TextStrokeColor3 = Color3.new(255,255,255)
  1760. HName.TextStrokeTransparency = 1
  1761. HName.TextYAlignment = "Bottom"
  1762.  
  1763. function bigboomrektxd()
  1764. coroutine.resume(coroutine.create(function()
  1765. local magnitude = nil
  1766. local Position = nil
  1767. if animid == 0 then
  1768. Position = larm.Position
  1769. else
  1770. Position = rarm.Position
  1771. end
  1772. --sound(743499393,Position,10,math.random(6,8)/10)
  1773. sound(1050751126,Position,10,math.random(10,12)/10,50)
  1774.  
  1775. local Part1 = Instance.new("Part")
  1776. local mesh2 = Instance.new("SpecialMesh",Part1)
  1777. mesh2.MeshId = "rbxassetid://559831844"
  1778. mesh2.Scale = Vector3.new(0,0,0.4)
  1779. Part1.Material = Enum.Material.Neon
  1780. Part1.CanCollide = false
  1781. Part1.BrickColor = BrickColor.new("White")
  1782. Part1.Parent = DebrisModel
  1783. Part1.Size = Vector3.new(0,0,0)
  1784. Part1.Anchored = true
  1785. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1786. Part1.Name = "EXPLOSION2"
  1787.  
  1788. local Part0 = Instance.new("Part",DebrisModel)
  1789. local PointLight2 = Instance.new("PointLight")
  1790. Part0.Name = "Bullet"
  1791. Part0.Material = Enum.Material.Neon
  1792. Part0.BrickColor = BrickColor.new("New Yeller")
  1793. Part0.Anchored = false
  1794. Part0.Size = Vector3.new(5, 5, 5)
  1795. local mesh = Instance.new("SpecialMesh",Part0)
  1796. mesh.MeshType = Enum.MeshType.Sphere
  1797. local bforce = Instance.new("BodyForce",Part0)
  1798. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1799. Part0.CanCollide = false
  1800. PointLight2.Parent = Part0
  1801. PointLight2.Color = Part0.Color
  1802. local Target = mouse.Hit.p
  1803. local direction = Target - Position
  1804. local direction = computeDirection(direction)
  1805. local pos = Position + (direction * 2)
  1806. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1807. Part0.Velocity = direction * 60
  1808. local asd = nil
  1809. local loop = nil
  1810. delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1811. loop = rs:connect(function()
  1812. local asdf = math.random(500,1000)/1000
  1813. local Part1 = Instance.new("Part")
  1814. local mesh2 = Instance.new("SpecialMesh",Part1)
  1815. mesh2.MeshType = Enum.MeshType.Sphere
  1816. Part1.Material = Enum.Material.Neon
  1817. Part1.CanCollide = false
  1818. Part1.BrickColor = BrickColor.new("Gold")
  1819. Part1.Parent = DebrisModel
  1820. Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
  1821. Part1.Anchored = true
  1822. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  1823. Part1.Name = "SMOKE"
  1824. end)
  1825. asd = Part0.Touched:connect(function(ht)
  1826. local hit=ht.Parent
  1827. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1828. asd:disconnect()
  1829. loop:disconnect()
  1830. Part0:Destroy()
  1831.  
  1832. sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
  1833. for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
  1834. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1835. v:Destroy()
  1836. else
  1837. v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
  1838. end
  1839. local Position = Part0.Position
  1840. local Target = v.Position
  1841. local direction = Target - Position
  1842. local direction = computeDirection(direction)
  1843. local bv = Instance.new("BodyVelocity",v)
  1844. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  1845. debris:AddItem(bv,1)
  1846. end
  1847. for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
  1848. for z=1,math.random(2,3) do
  1849. local asdf = math.random(-5,5)*10-(i/20)*8
  1850. local Part1 = Instance.new("Part")
  1851. local mesh2 = Instance.new("SpecialMesh",Part1)
  1852. mesh2.MeshType = Enum.MeshType.Sphere
  1853. mesh2.Scale = Vector3.new(0,0,0)
  1854. Part1.Material = Enum.Material.Neon
  1855. Part1.CanCollide = false
  1856. Part1.BrickColor = BrickColor.new("Gold")
  1857. Part1.Parent = DebrisModel
  1858. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1859. Part1.Anchored = true
  1860. local a = i*0.5
  1861. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
  1862. Part1.Name = "EXPLOSION"
  1863. end
  1864. end
  1865.  
  1866. end
  1867. end)
  1868. end))
  1869. end
  1870.  
  1871.  
  1872. function WhiteBall()
  1873. coroutine.resume(coroutine.create(function()
  1874. local magnitude = nil
  1875. local Position = nil
  1876. if animid == 0 then
  1877. Position = larm.Position
  1878. else
  1879. Position = rarm.Position
  1880. end
  1881. --sound(743499393,Position,10,math.random(6,8)/10)
  1882. sound(1050751126,Position,10,math.random(4,5)/10,100)
  1883.  
  1884. local Part1 = Instance.new("Part")
  1885. local mesh2 = Instance.new("SpecialMesh",Part1)
  1886. mesh2.MeshId = "rbxassetid://559831844"
  1887. mesh2.Scale = Vector3.new(0,0,0.4)
  1888. Part1.Material = Enum.Material.Neon
  1889. Part1.CanCollide = false
  1890. Part1.BrickColor = BrickColor.new("White")
  1891. Part1.Parent = DebrisModel
  1892. Part1.Size = Vector3.new(0,0,0)
  1893. Part1.Anchored = true
  1894. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  1895. Part1.Name = "EXPLOSION3"
  1896.  
  1897. local Part0 = Instance.new("Part",DebrisModel)
  1898. local PointLight2 = Instance.new("PointLight")
  1899. Part0.Name = "Bullet"
  1900. Part0.Material = Enum.Material.Neon
  1901. Part0.BrickColor = BrickColor.new("White")
  1902. Part0.Anchored = false
  1903. Part0.Size = Vector3.new(5, 5, 5)
  1904. local mesh = Instance.new("SpecialMesh",Part0)
  1905. mesh.MeshType = Enum.MeshType.Sphere
  1906. mesh.Scale = Vector3.new(3,3,3)
  1907. local bforce = Instance.new("BodyForce",Part0)
  1908. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  1909. Part0.CanCollide = false
  1910. PointLight2.Parent = Part0
  1911. PointLight2.Color = Part0.Color
  1912. local Target = mouse.Hit.p
  1913. local direction = Target - Position
  1914. local direction = computeDirection(direction)
  1915. local pos = Position + (direction * 2)
  1916. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1917. Part0.Velocity = direction * 150
  1918. local asd = nil
  1919. local loop = nil
  1920. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  1921. loop = rs:connect(function()
  1922. local asdf = math.random(500,1000)/1000
  1923. local Part1 = Instance.new("Part")
  1924. local mesh2 = Instance.new("SpecialMesh",Part1)
  1925. mesh2.MeshType = Enum.MeshType.Sphere
  1926. Part1.Material = Enum.Material.Neon
  1927. Part1.CanCollide = false
  1928. Part1.BrickColor = BrickColor.new("White")
  1929. Part1.Parent = DebrisModel
  1930. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  1931. Part1.Anchored = true
  1932. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
  1933. Part1.Name = "SMOKE"
  1934. end)
  1935. asd = Part0.Touched:connect(function(ht)
  1936. local hit=ht.Parent
  1937. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  1938. asd:disconnect()
  1939. loop:disconnect()
  1940. Part0:Destroy()
  1941.  
  1942. sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
  1943. for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
  1944. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  1945. v:Destroy()
  1946. else
  1947. v.Parent:BreakJoints()
  1948. end
  1949. local Position = Part0.Position
  1950. local Target = v.Position
  1951. local direction = Target - Position
  1952. local direction = computeDirection(direction)
  1953. local bv = Instance.new("BodyVelocity",v)
  1954. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  1955. debris:AddItem(bv,1)
  1956. end
  1957. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  1958. for z=1,math.random(2,3) do
  1959. local asdf = math.random(-5,5)*10-(i/20)*12
  1960. local Part1 = Instance.new("Part")
  1961. local mesh2 = Instance.new("SpecialMesh",Part1)
  1962. mesh2.MeshType = Enum.MeshType.Sphere
  1963. mesh2.Scale = Vector3.new(0,0,0)
  1964. Part1.Material = Enum.Material.Neon
  1965. Part1.CanCollide = false
  1966. Part1.BrickColor = BrickColor.new("White")
  1967. Part1.Parent = DebrisModel
  1968. Part1.Size = Vector3.new(asdf,asdf,asdf)
  1969. Part1.Anchored = true
  1970. local a = i*5
  1971. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
  1972. Part1.Name = "EXPLOSION4"
  1973. end
  1974. end
  1975.  
  1976. end
  1977. end)
  1978. end))
  1979. end
  1980.  
  1981.  
  1982. function AirPunch()
  1983. coroutine.resume(coroutine.create(function()
  1984. local magnitude = nil
  1985. local Position = nil
  1986. if animid == 0 then
  1987. Position = larm.Position
  1988. else
  1989. Position = rarm.Position
  1990. end
  1991. --sound(743499393,Position,10,math.random(6,8)/10)
  1992. local Sound2 = Instance.new("Sound",hed)
  1993. Sound2.SoundId = "rbxassetid://138137702"
  1994. Sound2.Volume = 5
  1995. Sound2.Pitch = 1
  1996. Sound2.Looped = false
  1997. Sound2:Play()
  1998.  
  1999. local Part1 = Instance.new("Part")
  2000. local mesh2 = Instance.new("SpecialMesh",Part1)
  2001. mesh2.MeshId = "rbxassetid://559831844"
  2002. mesh2.Scale = Vector3.new(0,0,0.4)
  2003. Part1.Material = Enum.Material.Neon
  2004. Part1.CanCollide = false
  2005. Part1.BrickColor = BrickColor.new("White")
  2006. Part1.Parent = DebrisModel
  2007. Part1.Size = Vector3.new(0,0,0)
  2008. Part1.Anchored = true
  2009. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2010. Part1.Name = "EXPLOSION3"
  2011.  
  2012. local Part0 = Instance.new("Part",DebrisModel)
  2013. local PointLight2 = Instance.new("PointLight")
  2014. Part0.Name = "Bullet"
  2015. Part0.Material = Enum.Material.Neon
  2016. Part0.BrickColor = BrickColor.new("White")
  2017. Part0.Anchored = false
  2018. Part0.Size = Vector3.new(20,20,20)
  2019. Part0.Transparency = 0.5
  2020. local mesh = Instance.new("SpecialMesh",Part0)
  2021. mesh.MeshId = "rbxassetid://437347603"
  2022. mesh.Scale = Vector3.new(2.3,2.3,2.7)
  2023.  
  2024.  
  2025. coroutine.resume(coroutine.create(function()
  2026. for i = 3,3 do
  2027.  
  2028.  
  2029.  
  2030. coroutine.resume(coroutine.create(function()
  2031. for i = 1,100 do
  2032. Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
  2033.  
  2034. wait(0.00000000001)
  2035. end
  2036.  
  2037.  
  2038. end))
  2039. wait(0.3)
  2040. end
  2041. end))
  2042.  
  2043.  
  2044. local bforce = Instance.new("BodyForce",Part0)
  2045. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2046. Part0.CanCollide = false
  2047. PointLight2.Parent = Part0
  2048. PointLight2.Color = Part0.Color
  2049. local Target = mouse.Hit.p
  2050. local direction = Target - Position
  2051. local direction = computeDirection(direction)
  2052. local pos = Position + (direction * 2)
  2053. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  2054. coroutine.resume(coroutine.create(function()
  2055. for i = 3,300 do
  2056. Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
  2057.  
  2058.  
  2059. wait(0.00000000001)
  2060. end
  2061.  
  2062.  
  2063. end))
  2064. local FZcharge3 = Instance.new("ParticleEmitter",Part0)
  2065. FZcharge3.Texture = "rbxassetid://174073769"
  2066. FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
  2067. FZcharge3.EmissionDirection = "Top"
  2068. FZcharge3.Speed = NumberRange.new(5)
  2069. FZcharge3.Size = NumberSequence.new(10,0)
  2070. FZcharge3.Transparency = NumberSequence.new(0,1)
  2071. FZcharge3.Drag = 1.2
  2072. FZcharge3.LockedToPart = false
  2073. FZcharge3.Lifetime = NumberRange.new(2)
  2074. FZcharge3.Rate = 105
  2075. FZcharge3.LightEmission = 0.8
  2076. FZcharge3.Rotation = NumberRange.new(-360,360)
  2077. FZcharge3.VelocitySpread = 100
  2078. FZcharge3.ZOffset = 1
  2079. coroutine.resume(coroutine.create(function()
  2080. for i = 1,3 do
  2081. local HQ = Instance.new("Part",Part0)
  2082. HQ.Size = Vector3.new(1,1,1)
  2083. HQ.BrickColor = BrickColor.new("White")
  2084. HQ.Material = "Neon"
  2085. HQ.Anchored = true
  2086. HQ.CanCollide = false
  2087. HQ.Transparency = 0
  2088. HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  2089. local HQ2 = Instance.new("SpecialMesh",HQ)
  2090. HQ2.MeshId = "rbxassetid://20329976"
  2091. HQ2.Scale = Vector3.new(1,1,1)
  2092. local ZQW = Instance.new("Part",Part0)
  2093. ZQW.Size = Vector3.new(1,1,1)
  2094. ZQW.BrickColor = BrickColor.new("White")
  2095. ZQW.Material = "Neon"
  2096. ZQW.Transparency = 1
  2097. ZQW.Anchored = true
  2098. ZQW.CanCollide = false
  2099. ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
  2100. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  2101. ZQW2.MeshType = "Sphere"
  2102. ZQW2.Scale = Vector3.new(1,1,1)
  2103. local H = Instance.new("Part",Part0)
  2104. H.Size = Vector3.new(1,1,1)
  2105. H.BrickColor = BrickColor.new("White")
  2106. H.CanCollide = false
  2107. H.Anchored = true
  2108. H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  2109. local H2 = Instance.new("SpecialMesh",H)
  2110. H2.MeshId = "rbxassetid://3270017"
  2111. coroutine.resume(coroutine.create(function()
  2112. for i = 3,90 do
  2113. ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
  2114. ZQW.Transparency = ZQW.Transparency + 0.06
  2115. HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
  2116. HQ.Transparency = HQ.Transparency + 0.05
  2117. H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
  2118. H.Transparency = H.Transparency + 0.05
  2119. wait(0.00000000001)
  2120. end
  2121. HQ:Destroy()
  2122. H2:Destroy()
  2123. H:Destroy()
  2124. HQ2:Destroy()
  2125. ZQW:Destroy()
  2126. ZQW2:Destroy()
  2127. end))
  2128. wait(0.3)
  2129. end
  2130. end))
  2131. local asd = nil
  2132. local loop = nil
  2133. delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2134. loop = rs:connect(function()
  2135. local asdf = math.random(100,1000)/1000
  2136. local Part1 = Instance.new("Part")
  2137. local mesh2 = Instance.new("SpecialMesh",Part1)
  2138. mesh2.MeshType = Enum.MeshType.Sphere
  2139. Part1.Material = Enum.Material.Neon
  2140. Part1.CanCollide = false
  2141. Part1.Transparency = 0.9
  2142. Part1.BrickColor = BrickColor.new("White")
  2143. Part1.Parent = DebrisModel
  2144. Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
  2145. Part1.Anchored = true
  2146. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
  2147. Part1.Name = "SMOKE"
  2148. end)
  2149. asd = Part0.Touched:connect(function(ht)
  2150. local hit=ht.Parent
  2151.  
  2152.  
  2153. for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
  2154. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2155. v:Destroy()
  2156. else
  2157. v.Parent.Humanoid:TakeDamage(100000)
  2158.  
  2159.  
  2160.  
  2161. end
  2162. local Position = Part0.Position
  2163. local Target = v.Position
  2164. local direction = Target - Position
  2165. local direction = computeDirection(direction)
  2166. local bv = Instance.new("BodyVelocity",v)
  2167. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  2168. debris:AddItem(bv,1)
  2169. end
  2170.  
  2171.  
  2172. end)
  2173. end))
  2174. end
  2175.  
  2176. function DetroitSmash()
  2177. coroutine.resume(coroutine.create(function()
  2178. local magnitude = nil
  2179. local Position = nil
  2180. if animid == 0 then
  2181. Position = larm.Position
  2182. else
  2183. Position = rarm.Position
  2184. end
  2185. --sound(743499393,Position,10,math.random(6,8)/10)
  2186. sound(1050751126,Position,10,math.random(4,5)/10,100)
  2187.  
  2188. local Part1 = Instance.new("Part")
  2189. local mesh2 = Instance.new("SpecialMesh",Part1)
  2190. mesh2.MeshId = "rbxassetid://559831844"
  2191. mesh2.Scale = Vector3.new(0,0,0.4)
  2192. Part1.Material = Enum.Material.Neon
  2193. Part1.CanCollide = false
  2194. Part1.BrickColor = BrickColor.new("White")
  2195. Part1.Parent = DebrisModel
  2196. Part1.Size = Vector3.new(0,0,0)
  2197. Part1.Anchored = true
  2198. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2199. Part1.Name = "EXPLOSION3"
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209. local Target = mouse.Hit.p
  2210. local direction = Target - Position
  2211. local direction = computeDirection(direction)
  2212. local pos = Position + (direction * 2)
  2213.  
  2214.  
  2215.  
  2216. local asd = nil
  2217. local loop = nil
  2218.  
  2219. local asdf = math.random(100,1000)/1000
  2220. local Part1 = Instance.new("Part")
  2221. local mesh2 = Instance.new("SpecialMesh",Part1)
  2222. mesh2.MeshType = Enum.MeshType.Sphere
  2223. Part1.Material = Enum.Material.Neon
  2224. Part1.CanCollide = false
  2225. Part1.Transparency = 0.9
  2226. Part1.BrickColor = BrickColor.new("Institutional white")
  2227. Part1.Parent = DebrisModel
  2228. Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
  2229. Part1.Anchored = true
  2230. Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
  2231. Part1.Name = "SMOKE"
  2232.  
  2233.  
  2234.  
  2235.  
  2236. sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
  2237. for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
  2238. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2239. v:Destroy()
  2240. else
  2241. v.Parent.Humanoid:TakeDamage(100000000000000)
  2242.  
  2243.  
  2244.  
  2245. end
  2246. local Position = Part1.Position
  2247. local Target = v.Position
  2248. local direction = Target - Position
  2249. local direction = computeDirection(direction)
  2250. local bv = Instance.new("BodyVelocity",v)
  2251. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  2252. debris:AddItem(bv,1)
  2253. end
  2254. for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
  2255. for z=1,math.random(1,2) do
  2256. local asdf = math.random(-5,5)*3-(i/20)*10
  2257. local Part1 = Instance.new("Part")
  2258. local mesh2 = Instance.new("SpecialMesh",Part1)
  2259. mesh2.MeshType = Enum.MeshType.Sphere
  2260. mesh2.Scale = Vector3.new(0,0,0)
  2261. Part1.Material = Enum.Material.SmoothPlastic
  2262. Part1.CanCollide = false
  2263. Part1.BrickColor = BrickColor.new("Institutional white")
  2264. Part1.Parent = DebrisModel
  2265. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2266. Part1.Anchored = true
  2267. Part1.Transparency = 0.3
  2268. local a = i*0.9
  2269. Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a))
  2270. Part1.Name = "EXPLOSION4"
  2271. end
  2272. end
  2273. end))
  2274. end
  2275.  
  2276. function DelawareSmash()
  2277. coroutine.resume(coroutine.create(function()
  2278. local magnitude = nil
  2279. local Position = nil
  2280. if animid == 0 then
  2281. Position = larm.Position
  2282. else
  2283. Position = rarm.Position
  2284. end
  2285. --sound(743499393,Position,10,math.random(6,8)/10)
  2286. local Sound2 = Instance.new("Sound",hed)
  2287. Sound2.SoundId = "rbxassetid://138137702"
  2288. Sound2.Volume = 5
  2289. Sound2.Pitch = 0.9
  2290. Sound2.Looped = false
  2291. Sound2:Play()
  2292.  
  2293. local Part1 = Instance.new("Part")
  2294. local mesh2 = Instance.new("SpecialMesh",Part1)
  2295. mesh2.MeshId = "rbxassetid://559831844"
  2296. mesh2.Scale = Vector3.new(0,0,0.4)
  2297. Part1.Material = Enum.Material.Neon
  2298. Part1.CanCollide = false
  2299. Part1.BrickColor = BrickColor.new("White")
  2300. Part1.Parent = DebrisModel
  2301. Part1.Size = Vector3.new(0,0,0)
  2302. Part1.Anchored = true
  2303. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2304. Part1.Name = "EXPLOSION3"
  2305.  
  2306. local Part0 = Instance.new("Part",DebrisModel)
  2307. local PointLight2 = Instance.new("PointLight")
  2308. PointLight2.Brightness = 100
  2309. PointLight2.Range = 40
  2310. Part0.Name = "Bullet"
  2311. Part0.Material = Enum.Material.Glass
  2312. Part0.BrickColor = BrickColor.new("White")
  2313. Part0.Anchored = false
  2314. Part0.Size = Vector3.new(20,20,20)
  2315. Part0.Transparency = 0.5
  2316. local mesh = Instance.new("SpecialMesh",Part0)
  2317. mesh.MeshId = "rbxassetid://437347603"
  2318. mesh.Scale = Vector3.new(4.3,4.3,6.7)
  2319. local Music = Instance.new("Sound",Part0)
  2320. Music.SoundId = "rbxassetid://362395087"
  2321. Music.Pitch = 0.8
  2322. Music.Looped = true
  2323. Music.Volume = 5
  2324.  
  2325. Music:Play()
  2326.  
  2327. coroutine.resume(coroutine.create(function()
  2328. for i = 3,3 do
  2329.  
  2330.  
  2331.  
  2332. coroutine.resume(coroutine.create(function()
  2333. for i = 1,400 do
  2334. Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
  2335.  
  2336. wait()
  2337. end
  2338.  
  2339.  
  2340. end))
  2341. wait(0.3)
  2342. end
  2343. end))
  2344.  
  2345.  
  2346. local bforce = Instance.new("BodyForce",Part0)
  2347. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2348. Part0.CanCollide = false
  2349. PointLight2.Parent = Part0
  2350. PointLight2.Color = Part0.Color
  2351. local Target = mouse.Hit.p
  2352. local direction = Target - Position
  2353. local direction = computeDirection(direction)
  2354. local pos = Position + (direction * 2)
  2355. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  2356.  
  2357. coroutine.resume(coroutine.create(function()
  2358. for i = 3,300 do
  2359. Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4)
  2360.  
  2361.  
  2362. wait()
  2363. end
  2364.  
  2365.  
  2366. end))
  2367. local FZcharge3 = Instance.new("ParticleEmitter",Part0)
  2368. FZcharge3.Texture = "rbxassetid://174073769"
  2369. FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
  2370. FZcharge3.EmissionDirection = "Top"
  2371. FZcharge3.Speed = NumberRange.new(5)
  2372. FZcharge3.Size = NumberSequence.new(40,0)
  2373. FZcharge3.Transparency = NumberSequence.new(0,1)
  2374. FZcharge3.Drag = 1.2
  2375. FZcharge3.LockedToPart = false
  2376. FZcharge3.Lifetime = NumberRange.new(3)
  2377. FZcharge3.Rate = 105
  2378. FZcharge3.LightEmission = 0.8
  2379. FZcharge3.Rotation = NumberRange.new(-360,360)
  2380. FZcharge3.VelocitySpread = 100
  2381. FZcharge3.ZOffset = 1
  2382. local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
  2383. local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0)
  2384. local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  2385. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2386. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  2387.  
  2388. coroutine.resume(coroutine.create(function()
  2389. for i = 1,60 do
  2390. local HQ = Instance.new("Part",Part0)
  2391. HQ.Size = Vector3.new(1,1,1)
  2392. HQ.BrickColor = BrickColor.new("White")
  2393. HQ.Material = Enum.Material.Glass
  2394. HQ.Anchored = true
  2395. HQ.CanCollide = false
  2396. HQ.Transparency = 0
  2397. HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0)
  2398. local HQ2 = Instance.new("SpecialMesh",HQ)
  2399. HQ2.MeshId = "rbxassetid://20329976"
  2400. HQ2.Scale = Vector3.new(14.5,14.5,14.5)
  2401. local ZQW = Instance.new("Part",Part0)
  2402. ZQW.Size = Vector3.new(1,1,1)
  2403. ZQW.BrickColor = BrickColor.new("White")
  2404. ZQW.Material = Enum.Material.Glass
  2405. ZQW.Transparency = 1
  2406. ZQW.Anchored = true
  2407. ZQW.CanCollide = false
  2408. ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
  2409. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  2410. ZQW2.MeshType = "Sphere"
  2411. ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
  2412. local H = Instance.new("Part",Part0)
  2413. H.Size = Vector3.new(1,1,1)
  2414. H.BrickColor = BrickColor.new("White")
  2415. H.CanCollide = false
  2416. H.Anchored = true
  2417. H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
  2418. local H2 = Instance.new("SpecialMesh",H)
  2419. H2.MeshId = "rbxassetid://3270017"
  2420. H2.Scale = Vector3.new(14.5,14.5,2.5)
  2421. coroutine.resume(coroutine.create(function()
  2422. for i = 1,90 do
  2423. ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
  2424. ZQW.Transparency = ZQW.Transparency + 0.06
  2425. HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
  2426. HQ.Transparency = HQ.Transparency + 0.05
  2427. H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
  2428. H.Transparency = H.Transparency + 0.05
  2429. wait(0.00000000001)
  2430. end
  2431. HQ:Destroy()
  2432. H2:Destroy()
  2433. H:Destroy()
  2434. HQ2:Destroy()
  2435. ZQW:Destroy()
  2436. ZQW2:Destroy()
  2437. end))
  2438.  
  2439. wait(0.1)
  2440.  
  2441. end
  2442.  
  2443. end))
  2444. local asd = nil
  2445. local loop = nil
  2446. delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2447. loop = rs:connect(function()
  2448. local asdf = math.random(100,1000)/1000
  2449. local Part1 = Instance.new("Part")
  2450. local mesh2 = Instance.new("SpecialMesh",Part1)
  2451. mesh2.MeshType = Enum.MeshType.Sphere
  2452. Part1.Material = Enum.Material.Neon
  2453. Part1.CanCollide = false
  2454. Part1.Transparency = 0.9
  2455. Part1.BrickColor = BrickColor.new("White")
  2456. Part1.Parent = DebrisModel
  2457. Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
  2458. Part1.Anchored = true
  2459. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
  2460. Part1.Name = "SMOKE"
  2461. end)
  2462. asd = Part0.Touched:connect(function(ht)
  2463. local hit=ht.Parent
  2464.  
  2465.  
  2466.  
  2467.  
  2468. for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
  2469. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2470. v:Destroy()
  2471. else
  2472. v.Parent.Humanoid:TakeDamage(1000)
  2473. v.Velocity = Part0.CFrame.lookVector * 100
  2474.  
  2475. end
  2476.  
  2477. local Position = Part0.Position
  2478. local Target = v.Position
  2479. local direction = Target - Position
  2480. local direction = computeDirection(direction)
  2481. local bv = Instance.new("BodyVelocity",v)
  2482. bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
  2483. debris:AddItem(bv,1)
  2484. end
  2485.  
  2486.  
  2487. end)
  2488. end))
  2489. end
  2490.  
  2491.  
  2492.  
  2493. function unused()
  2494. coroutine.resume(coroutine.create(function()
  2495. local magnitude = nil
  2496. local Position = nil
  2497. if animid == 0 then
  2498. Position = larm.Position
  2499. else
  2500. Position = rarm.Position
  2501. end
  2502. --sound(743499393,Position,10,math.random(6,8)/10)
  2503. sound(1050751126,Position,10,math.random(4,5)/10,100)
  2504.  
  2505. local Part1 = Instance.new("Part")
  2506. local mesh2 = Instance.new("SpecialMesh",Part1)
  2507. mesh2.MeshId = "rbxassetid://559831844"
  2508. mesh2.Scale = Vector3.new(0,0,0.4)
  2509. Part1.Material = Enum.Material.Neon
  2510. Part1.CanCollide = false
  2511. Part1.BrickColor = BrickColor.new("White")
  2512. Part1.Parent = DebrisModel
  2513. Part1.Size = Vector3.new(0,0,0)
  2514. Part1.Anchored = true
  2515. Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
  2516. Part1.Name = "EXPLOSION3"
  2517.  
  2518. local Part0 = Instance.new("Part",DebrisModel)
  2519. local PointLight2 = Instance.new("PointLight")
  2520. Part0.Name = "Bullet"
  2521. Part0.Material = Enum.Material.Neon
  2522. Part0.BrickColor = BrickColor.new("White")
  2523. Part0.Anchored = false
  2524. Part0.Size = Vector3.new(1,1,1)
  2525. Part0.Transparency = 0.5
  2526. local mesh = Instance.new("SpecialMesh",Part0)
  2527. mesh.MeshId = "rbxassetid://437347603"
  2528. mesh.Scale = Vector3.new(1.3,1.3,4.4)
  2529. local bforce = Instance.new("BodyForce",Part0)
  2530. bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
  2531. Part0.CanCollide = false
  2532. PointLight2.Parent = Part0
  2533. PointLight2.Color = Part0.Color
  2534. local Target = mouse.Hit.p
  2535. local direction = Target - Position
  2536. local direction = computeDirection(direction)
  2537. local pos = Position + (direction * 2)
  2538. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
  2539. Part0.Velocity = direction * 750
  2540. local asd = nil
  2541. local loop = nil
  2542. delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
  2543. loop = rs:connect(function()
  2544. local asdf = math.random(500,1000)/1000
  2545. local Part1 = Instance.new("Part")
  2546. local mesh2 = Instance.new("SpecialMesh",Part1)
  2547. mesh2.MeshType = Enum.MeshType.Sphere
  2548. Part1.Material = Enum.Material.Neon
  2549. Part1.CanCollide = false
  2550. Part1.BrickColor = BrickColor.new("White")
  2551. Part1.Parent = DebrisModel
  2552. Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
  2553. Part1.Anchored = true
  2554. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
  2555. Part1.Name = "SMOKE"
  2556. end)
  2557. asd = Part0.Touched:connect(function(ht)
  2558. local hit=ht.Parent
  2559. if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
  2560. asd:disconnect()
  2561. loop:disconnect()
  2562. Part0:Destroy()
  2563.  
  2564. sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
  2565. for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
  2566. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
  2567. v:Destroy()
  2568. else
  2569. v.Parent:BreakJoints()
  2570. local Fl = Instance.new("BodyVelocity",v.Parent.Head)
  2571. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2572. Fl.velocity = Part0.CFrame.lookVector*395
  2573. wait(0.05)
  2574. Fl:remove()
  2575.  
  2576. end
  2577. local Position = Part0.Position
  2578. local Target = v.Position
  2579. local direction = Target - Position
  2580. local direction = computeDirection(direction)
  2581. local bv = Instance.new("BodyVelocity",v)
  2582. bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
  2583. debris:AddItem(bv,1)
  2584. end
  2585. for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
  2586. for z=1,math.random(2,3) do
  2587. local asdf = math.random(-5,5)*2-(i/2)*10
  2588. local Part1 = Instance.new("Part")
  2589. local mesh2 = Instance.new("SpecialMesh",Part1)
  2590. mesh2.MeshType = Enum.MeshType.Sphere
  2591. mesh2.Scale = Vector3.new(0,0,0)
  2592. Part1.Material = Enum.Material.Neon
  2593. Part1.CanCollide = false
  2594. Part1.BrickColor = BrickColor.new("White")
  2595. Part1.Parent = DebrisModel
  2596. Part1.Size = Vector3.new(asdf,asdf,asdf)
  2597. Part1.Anchored = true
  2598. local a = i*0.7
  2599. Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  2600. Part1.Name = "EXPLOSION4"
  2601. end
  2602. end
  2603.  
  2604. end
  2605. end)
  2606. end))
  2607. end
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614. function lerpz(joint, prop, cfrmz, alp)
  2615. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  2616. end
  2617. function resetlerp()
  2618. RJ.C0 = RJC0
  2619. RJ.C1 = RJC1
  2620. N.C0 = NC0
  2621. N.C1 = NC1
  2622. RS.C0 = RSC0
  2623. RS.C1 = RSC1
  2624. LS.C0 = LSC0
  2625. LS.C1 = LSC1
  2626. RH.C0 = RHC0
  2627. RH.C1 = RHC1
  2628. LH.C0 = LHC0
  2629. end
  2630. function swait(num)
  2631. if num == 0 or num == nil then
  2632. Heartbeat.Event:wait()
  2633. else
  2634. for i = 1, num do
  2635. Heartbeat.Event:wait()
  2636. end
  2637. end
  2638. end
  2639. mouse.KeyDown:connect(function(k)
  2640. if k == "=" and MUI == true then
  2641. instinct = false
  2642. animid = 5
  2643. no_anim = true
  2644. for _ = 1, 45 do
  2645. swait()
  2646. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  2647. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  2648. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  2649. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2650. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  2651. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  2652. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  2653. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2654. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  2655. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  2656.  
  2657. end
  2658. AirPunchStrong()
  2659. wait(0.2)
  2660. 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
  2661. 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
  2662. 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
  2663. 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
  2664. 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
  2665. 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
  2666. wait(0.5)
  2667. 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
  2668. 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
  2669. 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
  2670. 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
  2671. 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
  2672. 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
  2673. AirPunchStrong()
  2674. wait(0.2)
  2675. 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
  2676. 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
  2677. 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
  2678. 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
  2679. 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
  2680. 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
  2681. wait(0.5)
  2682. 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
  2683. 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
  2684. 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
  2685. 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
  2686. 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
  2687. 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
  2688. AirPunchStrong()
  2689. wait(0.2)
  2690. no_anim = false
  2691. instinct = true
  2692. end
  2693. end)
  2694.  
  2695.  
  2696.  
  2697. local attacktype = 1
  2698. mouse.Button1Down:connect(function()
  2699. if attack == false and attacktype == 1 and MUI == false then
  2700. Hit()
  2701. attacktype = 2
  2702. elseif attack == false and attacktype == 2 and MUI == false then
  2703. Hit2()
  2704. attacktype = 1
  2705. end
  2706. end)
  2707.  
  2708.  
  2709. mouse.Button1Down:connect(function()
  2710. if attack == false and attacktype == 1 and MUI == true then
  2711. HitFC()
  2712. attacktype = 2
  2713. elseif attack == false and attacktype == 2 and MUI == true then
  2714. HitFC2()
  2715. attacktype = 1
  2716. end
  2717. end)
  2718. function Hit()
  2719. if not D then D = true
  2720. animid = 5
  2721. no_anim = true
  2722.  
  2723. local Grab = Instance.new("Part",larm)
  2724. Grab.Size = Vector3.new(4,4,4)
  2725. Grab.CanCollide = false
  2726. Grab.BrickColor = BrickColor.new("Deep orange")
  2727. Grab.Transparency = math.huge
  2728. local Grabo = Instance.new("Weld",Grab)
  2729. Grabo.Part0 = larm
  2730. Grabo.Part1 = Grab
  2731. Grabo.C0 = CFrame.new(0,-1.1,0)
  2732. local SFXZ = Instance.new("Sound",torso)
  2733. SFXZ.SoundId = "rbxassetid://169259383"
  2734. SFXZ.Volume = 1
  2735. SFXZ.Pitch = 1.5
  2736. SFXZ.Looped = false
  2737. wait(0.01)
  2738. SFXZ:Play()
  2739.  
  2740. Grab.Touched:connect(function(hit)
  2741. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2742. Grab:Destroy()
  2743. SFXZ:Destroy()
  2744.  
  2745. hit.Parent.Humanoid:TakeDamage(5000000000000000)
  2746. local Smash = Instance.new("Part",char)
  2747. Smash.Size = Vector3.new(30,30,30)
  2748. Smash.BrickColor = BrickColor.new("New Yeller")
  2749. Smash.CanCollide = false
  2750. Smash.Anchored = true
  2751. Smash.Transparency = 0.1
  2752. Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
  2753. local Smash2 = Instance.new("SpecialMesh",Smash)
  2754. Smash2.MeshId = "rbxassetid://437347603"
  2755. Smash2.Scale = Vector3.new(2.8,2.8,2.94)
  2756. local Sound2 = Instance.new("Sound",Smash)
  2757. Sound2.SoundId = "rbxassetid://138137702"
  2758. Sound2.Volume = 0.9
  2759. Sound2.Pitch = 1
  2760. Sound2.Looped = false
  2761. Sound2:Play()
  2762. local Sound = Instance.new("Sound",torso)
  2763. Sound.SoundId = "rbxassetid://0"
  2764. Sound.Volume = 7
  2765. Sound.Pitch = 1
  2766. Sound.Looped = false
  2767. Sound:Play()
  2768. coroutine.resume(coroutine.create(function()
  2769. for i = 3,100 do
  2770.  
  2771. Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
  2772. Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4)
  2773.  
  2774.  
  2775. Smash.Transparency = Smash.Transparency + 0.09
  2776.  
  2777. wait(0.00000000001)
  2778. end
  2779. Smash:Destroy()
  2780.  
  2781. end))
  2782.  
  2783.  
  2784. coroutine.resume(coroutine.create(function()
  2785. for i = 1,3 do
  2786. local HQ = Instance.new("Part",root)
  2787. HQ.Size = Vector3.new(1,1,1)
  2788. HQ.BrickColor = BrickColor.new("Medium stone grey")
  2789. HQ.Material = "Neon"
  2790. HQ.Anchored = true
  2791. HQ.CanCollide = false
  2792. HQ.Transparency = 0
  2793. HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55)
  2794. local HQ2 = Instance.new("SpecialMesh",HQ)
  2795. HQ2.MeshId = "rbxassetid://3270017"
  2796. HQ2.Scale = Vector3.new(1,1,1)
  2797. local ZQW = Instance.new("Part",root)
  2798. ZQW.Size = Vector3.new(1,1,1)
  2799. ZQW.BrickColor = BrickColor.new("Medium stone grey")
  2800. ZQW.Material = "Neon"
  2801. ZQW.Transparency = 1
  2802. ZQW.Anchored = true
  2803. ZQW.CanCollide = false
  2804. ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
  2805. local ZQW2 = Instance.new("SpecialMesh",ZQW)
  2806. ZQW2.MeshType = "Sphere"
  2807. ZQW2.Scale = Vector3.new(1,1,1)
  2808. local H = Instance.new("Part",root)
  2809. H.Size = Vector3.new(1,1,1)
  2810. H.BrickColor = BrickColor.new("Medium stone grey")
  2811. H.CanCollide = false
  2812. H.Anchored = true
  2813. H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
  2814. local H2 = Instance.new("SpecialMesh",H)
  2815. H2.MeshId = "rbxassetid://3270017"
  2816. coroutine.resume(coroutine.create(function()
  2817. for i = 3,90 do
  2818. ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
  2819. ZQW.Transparency = ZQW.Transparency + 0.06
  2820. HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
  2821. HQ.Transparency = HQ.Transparency + 0.05
  2822. H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
  2823. H.Transparency = H.Transparency + 0.05
  2824. wait(0.00000000001)
  2825. end
  2826. HQ:Destroy()
  2827. H2:Destroy()
  2828. H:Destroy()
  2829. HQ2:Destroy()
  2830. ZQW:Destroy()
  2831. ZQW2:Destroy()
  2832. end))
  2833. wait(0.3)
  2834. end
  2835. end))
  2836. local Spinn = Instance.new("Part",char)
  2837. Spinn.Size = Vector3.new(1,1,1)
  2838. Spinn.BrickColor = BrickColor.new("New Yeller")
  2839. Spinn.CanCollide = false
  2840. Spinn.Transparency = 0.1
  2841. Spinn.Anchored = true
  2842. Spinn.Material = "Neon"
  2843. Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  2844. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2845. Spinn2.MeshId = "rbxassetid://881809484"
  2846. Spinn2.Scale = Vector3.new(20,20,20)
  2847. coroutine.resume(coroutine.create(function()
  2848. for i = 3,300 do
  2849. Spinn.Transparency = Spinn.Transparency + 0.05
  2850.  
  2851. Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
  2852. wait(0.00000000001)
  2853. end
  2854. end))
  2855.  
  2856.  
  2857. local Spinn = Instance.new("Part",char)
  2858. Spinn.Size = Vector3.new(1,1,1)
  2859. Spinn.BrickColor = BrickColor.new("New Yeller")
  2860. Spinn.CanCollide = false
  2861. Spinn.Transparency = 0.1
  2862. Spinn.Anchored = true
  2863. Spinn.Material = "Neon"
  2864. Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0)
  2865. local Spinn2 = Instance.new("SpecialMesh",Spinn)
  2866. Spinn2.MeshType = 3
  2867. Spinn2.Scale = Vector3.new(6,6,35)
  2868. coroutine.resume(coroutine.create(function()
  2869. for i = 3,300 do
  2870. Spinn.Transparency = Spinn.Transparency + 0.05
  2871.  
  2872.  
  2873. wait(0.00000000001)
  2874. end
  2875. end))
  2876.  
  2877. local SFXZ = Instance.new("Sound",hed)
  2878. SFXZ.SoundId = "rbxassetid://260430060"
  2879. SFXZ.Volume = 3
  2880. SFXZ.Pitch = 1
  2881. SFXZ.Looped = false
  2882. wait(0.01)
  2883. SFXZ:Play()
  2884.  
  2885. end
  2886. SFXZ:Destroy()
  2887. end)
  2888.  
  2889. for i= 1,5 do
  2890. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  2891. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
  2892. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
  2893. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
  2894. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  2895. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  2896. wait()
  2897. end
  2898.  
  2899. coroutine.resume(coroutine.create(function()
  2900. wait(0.5)
  2901. Grab:remove()
  2902. end))
  2903. no_anim = false
  2904. Grab:Destroy()
  2905. wait(0)
  2906. D = false
  2907. end
  2908. end
  2909. function Hit2()
  2910. if not D then D = true
  2911. no_anim = true
  2912. local Grab = Instance.new("Part",rarm)
  2913. Grab.Size = Vector3.new(4,4,4)
  2914. Grab.CanCollide = false
  2915. Grab.BrickColor = BrickColor.new("Deep orange")
  2916. Grab.Transparency = math.huge
  2917. local Grabo = Instance.new("Weld",Grab)
  2918. Grabo.Part0 = rarm
  2919. Grabo.Part1 = Grab
  2920. Grabo.C0 = CFrame.new(0,-1.1,0)
  2921. local SFXZ = Instance.new("Sound",torso)
  2922. SFXZ.SoundId = "rbxassetid://169259383"
  2923. SFXZ.Volume = 1
  2924. SFXZ.Pitch = 1
  2925. SFXZ.Looped = false
  2926. wait(0.01)
  2927. SFXZ:Play()
  2928.  
  2929. Grab.Touched:connect(function(hit)
  2930. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  2931. Grab:Destroy()
  2932. SFXZ:Destroy()
  2933. hit.Parent.Humanoid:TakeDamage(50)
  2934. local Cloud3 = Instance.new("Part",char)
  2935. Cloud3.Size = Vector3.new(1,1,1)
  2936. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  2937. Cloud3.Anchored = true
  2938. Cloud3.Material = "Neon"
  2939. Cloud3.CanCollide = false
  2940. Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
  2941. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  2942. Cloud4.MeshId = "rbxassetid://3270017"
  2943. Cloud4.Scale = Vector3.new(1,1,0.4)
  2944.  
  2945.  
  2946.  
  2947. coroutine.resume(coroutine.create(function()
  2948. for i = 3,650 do
  2949.  
  2950.  
  2951.  
  2952.  
  2953. Cloud3.Transparency = Cloud3.Transparency + 0.03
  2954. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
  2955.  
  2956.  
  2957.  
  2958.  
  2959. wait(0.00000000001)
  2960. end
  2961. end))
  2962. local SFXZ = Instance.new("Sound",hed)
  2963. SFXZ.SoundId = "rbxassetid://260430060"
  2964. SFXZ.Volume = 3
  2965. SFXZ.Pitch = 1.2
  2966. SFXZ.Looped = false
  2967. wait(0.01)
  2968. SFXZ:Play()
  2969.  
  2970. end
  2971. SFXZ:Destroy()
  2972. end)
  2973. for i = 1, 5 do
  2974. wait()
  2975.  
  2976. 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
  2977. 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
  2978. 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
  2979. 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
  2980. 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
  2981. end
  2982.  
  2983. coroutine.resume(coroutine.create(function()
  2984. wait(0.5)
  2985. Grab:remove()
  2986. end))
  2987. no_anim = false
  2988. Grab:Destroy()
  2989. wait(0)
  2990. D = false
  2991. end
  2992. end
  2993.  
  2994. function HitFC()
  2995. if not D then D = true
  2996. animid = 5
  2997. no_anim = true
  2998. local Grab = Instance.new("Part",larm)
  2999. Grab.Size = Vector3.new(3,3,3)
  3000. Grab.CanCollide = false
  3001. Grab.BrickColor = BrickColor.new("Deep orange")
  3002. Grab.Transparency = math.huge
  3003. local Grabo = Instance.new("Weld",Grab)
  3004. Grabo.Part0 = larm
  3005. Grabo.Part1 = Grab
  3006. Grabo.C0 = CFrame.new(0,-1.1,0)
  3007. local SFXZ = Instance.new("Sound",torso)
  3008. SFXZ.SoundId = "rbxassetid://169259383"
  3009. SFXZ.Volume = 1
  3010. SFXZ.Pitch = 1.5
  3011. SFXZ.Looped = false
  3012. wait(0.01)
  3013. SFXZ:Play()
  3014.  
  3015. Grab.Touched:connect(function(hit)
  3016. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  3017. Grab:Destroy()
  3018. SFXZ:Destroy()
  3019. hit.Parent.Humanoid:TakeDamage(250)
  3020. local Cloud3 = Instance.new("Part",char)
  3021. Cloud3.Size = Vector3.new(1,1,1)
  3022. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  3023. Cloud3.Anchored = true
  3024. Cloud3.Material = "Neon"
  3025. Cloud3.CanCollide = false
  3026. Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  3027. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  3028. Cloud4.MeshId = "rbxassetid://3270017"
  3029. Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
  3030.  
  3031.  
  3032.  
  3033. coroutine.resume(coroutine.create(function()
  3034. for i = 3,650 do
  3035.  
  3036.  
  3037.  
  3038.  
  3039. Cloud3.Transparency = Cloud3.Transparency + 0.03
  3040. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
  3041.  
  3042.  
  3043.  
  3044.  
  3045. wait(0.00000000001)
  3046. end
  3047. end))
  3048. local SFXZ = Instance.new("Sound",hed)
  3049. SFXZ.SoundId = "rbxassetid://260430060"
  3050. SFXZ.Volume = 3
  3051. SFXZ.Pitch = 1
  3052. SFXZ.Looped = false
  3053. wait(0.01)
  3054. SFXZ:Play()
  3055.  
  3056. end
  3057. SFXZ:Destroy()
  3058. end)
  3059.  
  3060. for i = 1, 2 do
  3061. wait()
  3062.  
  3063. 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
  3064. 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
  3065. 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
  3066. 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
  3067. 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
  3068. end
  3069.  
  3070. coroutine.resume(coroutine.create(function()
  3071. wait(0.5)
  3072. Grab:remove()
  3073. end))
  3074. no_anim = false
  3075. Grab:Destroy()
  3076. wait(0)
  3077. D = false
  3078. end
  3079. end
  3080. function HitFC2()
  3081. if not D then D = true
  3082. no_anim = true
  3083. local Grab = Instance.new("Part",rarm)
  3084. Grab.Size = Vector3.new(3,3,3)
  3085. Grab.CanCollide = false
  3086. Grab.BrickColor = BrickColor.new("Deep orange")
  3087. Grab.Transparency = math.huge
  3088. local Grabo = Instance.new("Weld",Grab)
  3089. Grabo.Part0 = rarm
  3090. Grabo.Part1 = Grab
  3091. Grabo.C0 = CFrame.new(0,-1.1,0)
  3092. local SFXZ = Instance.new("Sound",torso)
  3093. SFXZ.SoundId = "rbxassetid://169259383"
  3094. SFXZ.Volume = 1
  3095. SFXZ.Pitch = 1
  3096. SFXZ.Looped = false
  3097. wait(0.01)
  3098. SFXZ:Play()
  3099.  
  3100. Grab.Touched:connect(function(hit)
  3101. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
  3102. Grab:Destroy()
  3103. SFXZ:Destroy()
  3104. hit.Parent.Humanoid:TakeDamage(250)
  3105. local Cloud3 = Instance.new("Part",char)
  3106. Cloud3.Size = Vector3.new(1,1,1)
  3107. Cloud3.BrickColor = BrickColor.new("Medium stone grey")
  3108. Cloud3.Anchored = true
  3109. Cloud3.Material = "Neon"
  3110. Cloud3.CanCollide = false
  3111. Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
  3112. local Cloud4 = Instance.new("SpecialMesh",Cloud3)
  3113. Cloud4.MeshId = "rbxassetid://3270017"
  3114. Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
  3115.  
  3116.  
  3117.  
  3118. coroutine.resume(coroutine.create(function()
  3119. for i = 3,650 do
  3120.  
  3121.  
  3122.  
  3123.  
  3124. Cloud3.Transparency = Cloud3.Transparency + 0.03
  3125. Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
  3126.  
  3127.  
  3128.  
  3129.  
  3130. wait(0.00000000001)
  3131. end
  3132. end))
  3133. local SFXZ = Instance.new("Sound",hed)
  3134. SFXZ.SoundId = "rbxassetid://260430060"
  3135. SFXZ.Volume = 3
  3136. SFXZ.Pitch = 1.2
  3137. SFXZ.Looped = false
  3138. wait(0.01)
  3139. SFXZ:Play()
  3140.  
  3141. end
  3142. SFXZ:Destroy()
  3143. end)
  3144. for i = 1, 2 do
  3145. wait()
  3146.  
  3147. 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
  3148. 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
  3149. 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
  3150. 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
  3151. 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
  3152. end
  3153.  
  3154. coroutine.resume(coroutine.create(function()
  3155. wait(0.5)
  3156. Grab:remove()
  3157. end))
  3158. no_anim = false
  3159. Grab:Destroy()
  3160. wait(0)
  3161. D = false
  3162. end
  3163. end
  3164.  
  3165.  
  3166.  
  3167.  
  3168. mouse.KeyDown:connect(function(key)
  3169. if key == '1' then
  3170. no_anim = true
  3171. local Aura = Instance.new("ParticleEmitter",Stone4)
  3172. Aura.Texture = "rbxassetid://271370648"
  3173. Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  3174. Aura.EmissionDirection = "Top"
  3175. Aura.Speed = NumberRange.new(0)
  3176. Aura.Size = NumberSequence.new(2.5)
  3177. Aura.Transparency = NumberSequence.new(0,1)
  3178. Aura.Drag = 0.4
  3179. Aura.LightInfluence = 0
  3180. Aura.LockedToPart = true
  3181. Aura.Lifetime = NumberRange.new(0.9)
  3182. Aura.Rate = 60
  3183. Aura.LightEmission = 0.6
  3184. Aura.Rotation = NumberRange.new(-360,360)
  3185. Aura.VelocitySpread = 0
  3186. Aura.Acceleration = Vector3.new(0,0,0)
  3187. Aura.ZOffset = 0.2
  3188. LockOn()
  3189. for i = 1, 20 do
  3190. wait()
  3191.  
  3192. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3193. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3194. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
  3195. 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
  3196. 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
  3197. end
  3198. no_anim = false
  3199. Aura.Rate = 0
  3200. end
  3201. end)
  3202.  
  3203. mouse.KeyDown:connect(function(key)
  3204. if key == '2' then
  3205. Bring()
  3206. end
  3207. end)
  3208.  
  3209. function LockOn()
  3210. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3211. TargetSelect(mouse.Target.Parent)
  3212. Rock(mouse.Target.Parent)
  3213. end
  3214. end
  3215.  
  3216.  
  3217. function Bring()
  3218. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3219. TargetSelect(mouse.Target.Parent)
  3220.  
  3221. end
  3222. end
  3223. function swait(num)
  3224. if num == 0 or num == nil then
  3225. ArtificialHB.Event:wait()
  3226. else
  3227. for i = 0, num do
  3228. ArtificialHB.Event:wait()
  3229. end
  3230. end
  3231. end
  3232.  
  3233. ArtificialHB = Instance.new("BindableEvent", script)
  3234. ArtificialHB.Name = "Heartbeat"
  3235.  
  3236. script:WaitForChild("Heartbeat")
  3237.  
  3238. function TargetSelect(person)
  3239. local dd=coroutine.wrap(function()
  3240. if targetted ~= person then
  3241. targetted = person
  3242. for i = 0, 2, 0.1 do
  3243. swait()
  3244. end
  3245. end
  3246. end)
  3247. dd()
  3248. end
  3249. local RbxUtility = LoadLibrary("RbxUtility")
  3250. local Create = RbxUtility.Create
  3251. function HomingAttack()
  3252.  
  3253.  
  3254.  
  3255.  
  3256. if targetted == nil then
  3257.  
  3258. end
  3259.  
  3260.  
  3261. targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267. end
  3268. mouse.KeyDown:connect(function(key)
  3269. if key == '3' then
  3270. HomingAttack()
  3271. end
  3272. end)
  3273.  
  3274. function laz0r()
  3275.  
  3276. local Position = nil
  3277. if animid == 0 then
  3278. Position = NeckS.Position
  3279. else
  3280. Position = NeckS.Position
  3281. end
  3282.  
  3283. local Part1 = Instance.new("Part")
  3284. local mesh2 = Instance.new("SpecialMesh",Part1)
  3285. mesh2.MeshId = "rbxassetid://559831844"
  3286. mesh2.Scale = Vector3.new(0,0,0.4)
  3287. Part1.Material = Enum.Material.Neon
  3288. Part1.CanCollide = false
  3289. Part1.BrickColor = BrickColor.new("White")
  3290. Part1.Parent = DebrisModel
  3291. Part1.Size = Vector3.new(0,0,0)
  3292. Part1.Anchored = true
  3293. Part1.CFrame = CFrame.new(Position)
  3294. Part1.Name = "EXPLOSION3"
  3295.  
  3296. local Part0 = Instance.new("Part",DebrisModel)
  3297. Part0.Name = "Bullet"
  3298. Part0.Material = Enum.Material.Neon
  3299. Part0.BrickColor = BrickColor.new("Magenta")
  3300. Part0.Anchored = true
  3301. local mesh = Instance.new("SpecialMesh",Part0)
  3302. mesh.MeshType = Enum.MeshType.Sphere
  3303. Part0.CanCollide = false
  3304. local Target = mouse.Hit.p
  3305. local direction = Target - Position
  3306. local direction = computeDirection(direction)
  3307. local ray = Ray.new(Position, (Target).unit*1048)
  3308. local part, endPoint = workspace:FindPartOnRay(ray, char)
  3309. Part0.Size = Vector3.new(9,1,9)
  3310. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  3311. local pos = Position + (direction * (mesh.Scale.Y/2))
  3312. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  3313.  
  3314. clashpart = Instance.new("Part",DebrisModel)
  3315. clashpart.Size = Vector3.new(50,50,50)
  3316. clashpart.CanCollide = false
  3317. clashpart.Anchored = true
  3318. clashpart.Transparency = 1
  3319. clashpart.BrickColor = BrickColor.new("Magenta")
  3320. clashpart.Name = "StarLightClash"
  3321. clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
  3322.  
  3323.  
  3324.  
  3325. local z = 10
  3326. for i = 1,100 do rs:wait()
  3327. if animid == 0 then
  3328. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
  3329. Position = root.Position
  3330. else
  3331. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
  3332. Position = root.Position
  3333. end
  3334.  
  3335. local Target = mouse.Hit.p
  3336. local direction = Target - Position
  3337. local direction = computeDirection(direction)
  3338. local ray = Ray.new(Position, (Target-Position).unit*1048)
  3339. local part, endPoint = workspace:FindPartOnRay(ray, char)
  3340. Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
  3341. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
  3342. mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
  3343. local pos = Position + (direction * (mesh.Scale.Y/0))
  3344. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  3345. clashpart.CFrame = CFrame.new(endPoint, root.Position)
  3346.  
  3347. local Position = mouse.Hit.p
  3348. local Target = root.Position
  3349. local direction = Target - Position
  3350. local direction = computeDirection(direction)
  3351. root.Velocity = direction * 5
  3352.  
  3353. if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
  3354.  
  3355. Part1 = Part0:Clone()
  3356. Part1.Parent = DebrisModel
  3357. Part1.BrickColor = BrickColor.new("Magenta")
  3358. Part1.Name = "SMOKE2"
  3359.  
  3360. if part ~= nil then
  3361. if part.Name == "StarLightClash" then
  3362. local asdf = math.random(0,5)*20
  3363. local Part1 = Instance.new("Part")
  3364. local mesh2 = Instance.new("SpecialMesh",Part1)
  3365. mesh2.MeshType = Enum.MeshType.Sphere
  3366. mesh2.Scale = Vector3.new(0,0,0)
  3367. Part1.Material = Enum.Material.Neon
  3368. Part1.CanCollide = false
  3369. Part1.BrickColor = BrickColor.new("Magenta")
  3370. Part1.Size = Vector3.new(asdf,asdf,asdf)
  3371. Part1.Anchored = true
  3372. local a = 1.5
  3373. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  3374. Part1.Name = "EXPLOSION"
  3375. else
  3376. local asdf = math.random(0,5)*10
  3377. local Part1 = Instance.new("Part")
  3378. local mesh2 = Instance.new("SpecialMesh",Part1)
  3379. mesh2.MeshType = Enum.MeshType.Sphere
  3380. mesh2.Scale = Vector3.new(0,0,0)
  3381. Part1.Material = Enum.Material.Neon
  3382. Part1.CanCollide = false
  3383. Part1.BrickColor = BrickColor.new("Magenta")
  3384. Part1.Parent = DebrisModel
  3385. Part1.Size = Vector3.new(asdf,asdf,asdf)
  3386. Part1.Anchored = true
  3387. local a = 1.5
  3388. Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
  3389. Part1.Name = "EXPLOSION"
  3390. end
  3391. end
  3392.  
  3393. for i,v in pairs(findAllNearestTorso(endPoint,50)) do
  3394. if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
  3395. v:Destroy()
  3396. else
  3397. v.Parent:BreakJoints()
  3398. end
  3399. local Position = mouse.Hit.p
  3400. local Target = v.Position
  3401. local direction = Target - Position
  3402. local direction = computeDirection(direction)
  3403. local bv = Instance.new("BodyVelocity",v)
  3404. bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
  3405. debris:AddItem(bv,1)
  3406. end
  3407.  
  3408. end
  3409. clashpart:Destroy()
  3410. Part0:Destroy()
  3411. wait(0.3)
  3412. aiming_anim = false
  3413. delay(0.3,function() debounce = false end)
  3414. end
  3415.  
  3416.  
  3417. mouse.KeyDown:connect(function(k)
  3418. if k == "u" and Mode == false then
  3419.  
  3420. animid = 5
  3421. no_anim = true
  3422. hum.WalkSpeed = 0
  3423.  
  3424.  
  3425.  
  3426. for i = 1, 30 do
  3427. wait()
  3428.  
  3429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3430. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3431. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
  3432. 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
  3433. 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
  3434. end
  3435. wait(2)
  3436. local Grab = Instance.new("Part",hed)
  3437. Grab.Size = Vector3.new(3.9,5,3.9)
  3438. Grab.CanCollide = false
  3439. Grab.BrickColor = BrickColor.new("Deep orange")
  3440. Grab.Transparency = 1
  3441. local Grabo = Instance.new("Weld",Grab)
  3442. Grabo.Part0 = hed
  3443. Grabo.Part1 = Grab
  3444. Grabo.C0 = CFrame.new(0,-1.5,0)
  3445.  
  3446. local AuraB = Instance.new("Part",hed)
  3447. AuraB.Size = Vector3.new(2,1,2)
  3448. AuraB.CanCollide = false
  3449. AuraB.BrickColor = BrickColor.new("Deep orange")
  3450. AuraB.Transparency = 1
  3451. local AuraBo = Instance.new("Weld",AuraB)
  3452. AuraBo.Part0 = hed
  3453. AuraBo.Part1 = AuraB
  3454. AuraBo.C0 = CFrame.new(0,-3.6,0)
  3455.  
  3456. local FZcharge3 = Instance.new("ParticleEmitter",Grab)
  3457. FZcharge3.Texture = "rbxassetid://249481494"
  3458. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  3459. FZcharge3.EmissionDirection = "Top"
  3460. FZcharge3.Speed = NumberRange.new(2)
  3461. FZcharge3.Size = NumberSequence.new(4,0)
  3462. FZcharge3.Transparency = NumberSequence.new(0,1)
  3463. FZcharge3.Drag = 1.2
  3464. FZcharge3.LockedToPart = true
  3465. FZcharge3.Lifetime = NumberRange.new(1)
  3466. FZcharge3.Rate = 195
  3467. FZcharge3.LightEmission = 0.3
  3468. FZcharge3.Rotation = NumberRange.new(-360,360)
  3469. FZcharge3.VelocitySpread = 0.2
  3470. FZcharge3.ZOffset = 2.5
  3471. wait(1)
  3472. FZcharge3.Rate = 0
  3473. UltimateBattle.Volume = 0
  3474. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
  3475. for i,v in pairs(char:GetChildren()) do
  3476. if v ~= root then
  3477. if v:IsA("Part") then
  3478. v.Transparency = 1
  3479. elseif v:IsA("Accoutrement") then
  3480. v:FindFirstChildOfClass("Part").Transparency = 1
  3481. end
  3482. end
  3483. end
  3484. for i,v in pairs(NeckS:GetChildren()) do
  3485. if v ~= root then
  3486. if v:IsA("Part") then
  3487. v.Transparency = 1
  3488. elseif v:IsA("Accoutrement") then
  3489. v:FindFirstChildOfClass("Part").Transparency = 1
  3490. end
  3491. end
  3492. end
  3493.  
  3494. wait(2.2)
  3495. FZcharge3.Rate = 195
  3496. root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  3497.  
  3498. for i,v in pairs(char:GetChildren()) do
  3499. if v ~= root then
  3500. if v:IsA("Part") then
  3501. v.Transparency = 0
  3502. elseif v:IsA("Accoutrement") then
  3503. v:FindFirstChildOfClass("Part").Transparency = 0
  3504. end
  3505. end
  3506. end
  3507. for i,v in pairs(NeckS:GetChildren()) do
  3508. if v ~= root then
  3509. if v:IsA("Part") then
  3510. v.Transparency = 0
  3511. elseif v:IsA("Accoutrement") then
  3512. v:FindFirstChildOfClass("Part").Transparency = 0
  3513. end
  3514. end
  3515. end
  3516. hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
  3517. wait(1)
  3518. UltimateBattle.Volume = 5
  3519. FZcharge3.Rate = 0
  3520. hum.WalkSpeed = 16
  3521. wait(1)
  3522. Grab:Destroy()
  3523. no_anim = false
  3524. end
  3525. end)
  3526. mouse.KeyDown:connect(function(k)
  3527. if k == "u" and Mode == true then
  3528.  
  3529.  
  3530. root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  3531.  
  3532.  
  3533. end
  3534. end)
  3535. -------------------------------------------------------
  3536.  
  3537. mouse.KeyDown:connect(function(k)
  3538. if k == "z" then
  3539. local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
  3540. FZcharge3.Texture = "rbxassetid://165211997"
  3541. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
  3542. FZcharge3.EmissionDirection = "Top"
  3543. FZcharge3.Speed = NumberRange.new(8)
  3544. FZcharge3.Size = NumberSequence.new(0.5,0)
  3545. FZcharge3.Transparency = NumberSequence.new(0,1)
  3546. FZcharge3.Drag = 1.2
  3547. FZcharge3.LockedToPart = false
  3548. FZcharge3.Lifetime = NumberRange.new(0.5)
  3549. FZcharge3.Rate = 195
  3550. FZcharge3.LightEmission = 1
  3551. FZcharge3.VelocitySpread = 100
  3552. FZcharge3.Rotation = NumberRange.new(-360,360)
  3553. FZcharge3.VelocitySpread = 100.2
  3554. FZcharge3.ZOffset = 1
  3555. local CHAINLINKS = {}
  3556. local POS = mouse.Hit.p
  3557. local CHAINS = false
  3558. local CHAINLINKS = {}
  3559. local A = Instance.new("Attachment",NeckS)
  3560. A.Position = Vector3.new(0.3,0,0)*Player_Size
  3561. A.Orientation = Vector3.new(-90, -89.982, 0)
  3562. local B = Instance.new("Attachment",NeckS)
  3563. B.Position = Vector3.new(-0.3,0,0)*Player_Size
  3564. B.Orientation = Vector3.new(-90, 89.988, 0)
  3565. local C = Instance.new("Attachment",NeckS)
  3566. C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
  3567. C.Orientation = Vector3.new(-90, -89.982, 0)
  3568. local D = Instance.new("Attachment",NeckS)
  3569. D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
  3570. D.Orientation = Vector3.new(-90, 89.988, 0)
  3571. local LIGHT = Instance.new("Attachment",NeckS)
  3572. LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
  3573. local LIGHT2 = Instance.new("PointLight",larm)
  3574. LIGHT2.Range = 6
  3575. LIGHT2.Brightness = 20
  3576. LIGHT2.Color = Color3.new(0, 255, 0)
  3577. for i = 1, 2 do
  3578. local TWIST = -2
  3579. local START = A
  3580. local END = B
  3581. if i == 1 then
  3582. START = B
  3583. END = A
  3584. end
  3585. local ChainLink = Instance.new("Beam",torso)
  3586. ChainLink.Texture = "rbxassetid://165211997"
  3587. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
  3588. ChainLink.TextureSpeed = 5
  3589. ChainLink.Width0 = 1
  3590. ChainLink.Width1 = 1
  3591. ChainLink.TextureLength = 1.5
  3592. ChainLink.Attachment0 = START
  3593. ChainLink.Attachment1 = END
  3594. ChainLink.CurveSize0 = TWIST
  3595. ChainLink.CurveSize1 = TWIST
  3596. --ChainLink.FaceCamera = true
  3597. ChainLink.Segments = 45
  3598. ChainLink.Transparency = NumberSequence.new(0)
  3599. table.insert(CHAINLINKS,ChainLink)
  3600. end
  3601. coroutine.resume(coroutine.create(function()
  3602. for i = 3,80000000000000000000000000000 do
  3603. hum.Health = hum.MaxHealth
  3604.  
  3605.  
  3606. coroutine.resume(coroutine.create(function()
  3607. for i = 1,15 do
  3608.  
  3609. wait(0.00000000001)
  3610. end
  3611.  
  3612.  
  3613.  
  3614. end))
  3615. wait(0.06)
  3616. end
  3617. end))
  3618.  
  3619. end
  3620. end)
  3621.  
  3622. mouse.KeyDown:connect(function(k)
  3623. if k == "k" then
  3624. no_anim = true
  3625. local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
  3626. local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
  3627. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  3628. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3629. Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
  3630. for i = 1,7 do
  3631. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  3632. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
  3633. 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)), .5)--arm
  3634. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
  3635. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  3636. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  3637. wait()
  3638. end
  3639. wait(0.7)
  3640. local Grab = Instance.new("Part",NeckS)
  3641. Grab.Size = Vector3.new(4,4,4)
  3642. Grab.CanCollide = false
  3643. Grab.BrickColor = BrickColor.new("Deep orange")
  3644. Grab.Transparency = math.huge
  3645. local Grabo = Instance.new("Weld",Grab)
  3646. Grabo.Part0 = larm
  3647. Grabo.Part1 = Grab
  3648. Grabo.C0 = CFrame.new(0,-0.1,0)
  3649. Grab.Touched:connect(function(hit)
  3650. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then
  3651. Grab:Destroy()
  3652. no_anim = true
  3653. local SFXZ = Instance.new("Sound",root)
  3654. SFXZ.SoundId = "rbxassetid://1699290293"
  3655. SFXZ.Volume = 7
  3656. SFXZ.Pitch = 1
  3657. SFXZ.Looped = false
  3658. wait(0.01)
  3659. SFXZ:Play()
  3660. hit.Parent:BreakJoints()
  3661. Snap(hit.Parent)
  3662.  
  3663.  
  3664.  
  3665.  
  3666. end
  3667. end)
  3668. for i= 1,10 do
  3669. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  3670. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
  3671. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
  3672. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
  3673. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  3674. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  3675. wait()
  3676. end
  3677. FlyAt:Destroy()
  3678. no_anim = false
  3679.  
  3680. end
  3681. end)
  3682.  
  3683.  
  3684. mouse.KeyDown:connect(function(k)
  3685. if k == "y" then
  3686. instinct = false
  3687. animid = 5
  3688. no_anim = true
  3689.  
  3690. local sbs = Instance.new("BodyPosition", torso)
  3691. sbs.P = 9000
  3692. sbs.D = 1000
  3693. sbs.maxForce = Vector3.new(900000, 900000000, 900000)
  3694. sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
  3695. for i = 1, 20 do
  3696. wait()
  3697. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head
  3698. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3699. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
  3700. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
  3701. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
  3702. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
  3703. end
  3704. coroutine.resume(coroutine.create(function()
  3705. for i = 3,8 do
  3706. local Ball = Instance.new("Part",char)
  3707. Ball.Size = Vector3.new(1,1,1)
  3708. Ball.BrickColor = BrickColor.new("Magenta")
  3709. Ball.Material = "Neon"
  3710. Ball.Anchored = true
  3711. Ball.CanCollide = false
  3712. Ball.Transparency = 0
  3713. Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  3714. local Ball2 = Instance.new("SpecialMesh",Ball)
  3715. Ball2.MeshType = 3
  3716. Ball2.Scale = Vector3.new(2,2,2)
  3717.  
  3718.  
  3719.  
  3720.  
  3721. coroutine.resume(coroutine.create(function()
  3722. for i = 1,15 do
  3723. Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
  3724. Ball.Transparency = Ball.Transparency + 0.06
  3725. wait(0.00000000001)
  3726. end
  3727. Ball:Destroy()
  3728.  
  3729.  
  3730. end))
  3731. wait(0.06)
  3732. end
  3733. end))
  3734. root.Anchored = true
  3735. g = Instance.new("Explosion")
  3736. g.Parent = workspace
  3737. g.Position = root.Position
  3738. g.BlastRadius = 90
  3739. g.BlastPressure = 4000200
  3740. g.Visible = false
  3741. for i = 1, 70 do
  3742. wait()
  3743. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
  3744. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3745. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm
  3746. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
  3747. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
  3748. 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
  3749. end
  3750. wait(0.2)
  3751.  
  3752. sbs:Destroy()
  3753. no_anim = false
  3754. root.Anchored = false
  3755.  
  3756. end
  3757. end)
  3758. local deb = false
  3759. function smooth(obj)
  3760. local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
  3761. for i,v in pairs(sides) do
  3762. obj[v.."Surface"] = "SmoothNoOutlines"
  3763. end
  3764. end
  3765. local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3766. function hurt(hit, dmg)
  3767. if hit.Parent then
  3768. if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
  3769. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  3770. if hum then
  3771. if hum.Parent.Name ~= plr.Name then
  3772. if dmg == "Kill" or hum.Health > 100000 then
  3773. hit.Parent:BreakJoints()
  3774. return true
  3775. else
  3776. if math.random(0, 100) == 50 then
  3777. hit.Parent:BreakJoints()
  3778. else
  3779. hit.Parent:BreakJoints()
  3780. end
  3781. return true
  3782. end
  3783. end
  3784. end
  3785. end
  3786. end
  3787. local push = 100
  3788. local huge = Vector3.new(math.huge,math.huge,math.huge)
  3789. function gethum(obj)
  3790. if obj.Parent then
  3791. if obj.Parent:FindFirstChild("Humanoid") then
  3792. if obj.Parent.Name ~= plr.Name then
  3793. return obj.Parent:FindFirstChildOfClass("Humanoid")
  3794. end
  3795. end
  3796. end
  3797. end
  3798.  
  3799. mouse.KeyDown:connect(function(key)
  3800. if key == "p" and not deb and not attacking then
  3801. deb = true
  3802. no_anim = true
  3803.  
  3804. local Aura = Instance.new("ParticleEmitter",Stone2)
  3805. Aura.Texture = "rbxassetid://271370648"
  3806. Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  3807. Aura.EmissionDirection = "Top"
  3808. Aura.Speed = NumberRange.new(0)
  3809. Aura.Size = NumberSequence.new(2.5)
  3810. Aura.Transparency = NumberSequence.new(0,1)
  3811. Aura.Drag = 0.4
  3812. Aura.LightInfluence = 0
  3813. Aura.LockedToPart = true
  3814. Aura.Lifetime = NumberRange.new(0.9)
  3815. Aura.Rate = 60
  3816. Aura.LightEmission = 0.6
  3817. Aura.Rotation = NumberRange.new(-360,360)
  3818. Aura.VelocitySpread = 0
  3819. Aura.Acceleration = Vector3.new(0,0,0)
  3820. Aura.ZOffset = 0.2
  3821.  
  3822. for i = 1, 10 do
  3823. wait()
  3824.  
  3825. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  3826. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  3827. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
  3828. 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
  3829. 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
  3830. end
  3831. Aura.Rate = 0
  3832.  
  3833. for i = 0, 10 do
  3834. spawn(function()
  3835. local p = Instance.new("Part")
  3836. p.Anchored = true
  3837. p.CanCollide = false
  3838. p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12))
  3839. smooth(p)
  3840. p.BrickColor = BrickColor.DarkGray()
  3841. p.Material = Enum.Material.Slate
  3842. p.Size = Vector3.new(9,9,9)
  3843. p.Transparency = 0
  3844.  
  3845. p.Parent = workspace
  3846. local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0)
  3847. local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
  3848. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  3849. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3850. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  3851. local endcf = p.CFrame *CFrame.new(0,30,0)
  3852. for i = 0, 20 do
  3853. p.CFrame = p.CFrame:Lerp(endcf, 0.3)
  3854. wait()
  3855. end
  3856. local z = Instance.new("Part")
  3857. z.CFrame = p.CFrame
  3858. z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
  3859. local bv = Instance.new("BodyVelocity", p)
  3860. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3861. bv.Velocity = z.CFrame.lookVector*140
  3862. p.Anchored = false
  3863. z:Destroy()
  3864. p.CanCollide = false
  3865. local connection
  3866. spawn(function()
  3867. local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
  3868. repeat wait()
  3869. p.CFrame = p.CFrame *angle
  3870. until not p or p.CanCollide
  3871. end)
  3872.  
  3873. connection = p.Touched:connect(function(hit)
  3874. hurt(hit, math.random(5,5))
  3875. if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
  3876. p.CanCollide = true
  3877. end
  3878. end)
  3879. game.Debris:AddItem(p, 5)
  3880. end)
  3881.  
  3882. wait()
  3883. deb = false
  3884. no_anim = false
  3885. end
  3886. end
  3887. end)
  3888. function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  3889. local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
  3890. return p
  3891. end
  3892.  
  3893. function doMesh(parent,meshType,meshId,scale)
  3894. local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
  3895. return m
  3896. end
  3897. local EP=Instance.new("Model",char)
  3898. function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
  3899. local cw1=coroutine.wrap(function()
  3900. for i=1,repeatloop do
  3901. local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  3902. local z=doMesh(x,meshType,meshId,scale)
  3903.  
  3904. local cw2=coroutine.wrap(function()
  3905. for i=1,loop do
  3906. if loopTransparency then
  3907. x.Transparency=i/loop
  3908. z.Scale=z.Scale+scaleAdd
  3909. x.CFrame=x.CFrame*loopCFrame
  3910. wait()
  3911. else
  3912. z.Scale=z.Scale+scaleAdd
  3913. x.CFrame=x.CFrame*loopCFrame
  3914. end
  3915. end
  3916. x:Destroy()
  3917. end)
  3918. cw2()
  3919. swait(repeatLoopWait)
  3920. end
  3921. end)
  3922. cw1()
  3923. end
  3924. if MUI == true then
  3925.  
  3926. speed=0.15
  3927. sound(438666277,2,1.5,torso)
  3928. coroutine.resume(coroutine.create(function()
  3929. for i=1,20 do
  3930. magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
  3931. swait(3)
  3932. end
  3933. end))
  3934. for i=0,1,0.1*speed do
  3935. if lastAnim~=thisAnim then break end
  3936.  
  3937.  
  3938.  
  3939. swait()
  3940. end
  3941.  
  3942. doingMove=true
  3943.  
  3944. coroutine.resume(coroutine.create(function()
  3945. for i=1,200 do
  3946. magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  3947. swait()
  3948. end
  3949. end))
  3950.  
  3951. local beam=Instance.new("Part",char)
  3952. beam.Anchored=true
  3953. beam.CanCollide=false
  3954. beam.BrickColor=BrickColor.new("Institutional white")
  3955. beam.Material="Neon"
  3956. beam.Transparency=0.5
  3957.  
  3958. sound(415700134,1.75,0.85,torso)
  3959.  
  3960. coroutine.resume(coroutine.create(function()
  3961. while true do
  3962. if not doingMove then break end
  3963. local dis=(torso.Position-mouse.Hit.p).magnitude
  3964. beam.Size=Vector3.new(2,2,dis)
  3965. beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
  3966. swait()
  3967. end
  3968. end))
  3969.  
  3970. coroutine.resume(coroutine.create(function()
  3971. for i=1,20 do
  3972. if not doingMove then break end
  3973. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  3974. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  3975. coroutine.resume(coroutine.create(function()
  3976. for i=1,7 do
  3977. magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  3978. end
  3979. end))
  3980. for i,v in pairs(workspace:GetChildren()) do
  3981. if v:findFirstChild("Humanoid")~=nil and v~=char then
  3982. if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then
  3983. v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
  3984. end
  3985. end
  3986. end
  3987. swait(10)
  3988. end
  3989. end))
  3990.  
  3991. for i=0,2,0.1*speed do
  3992. if lastAnim~=thisAnim then break end
  3993.  
  3994.  
  3995.  
  3996. swait()
  3997. end
  3998.  
  3999. beam:Destroy()
  4000. lastAnim=nil
  4001. lastPriority=0
  4002. doingMove=false
  4003. end
  4004.  
  4005. function chestBeam()
  4006.  
  4007.  
  4008. MUI = true
  4009.  
  4010.  
  4011. end
  4012. mouse.KeyDown:connect(function(k)
  4013. if k == "n" then
  4014. chestBeam()
  4015. end
  4016. end)
  4017. mouse.KeyDown:connect(function(k)
  4018. if k == "v" then
  4019. UltimateBattle:Stop()
  4020. Mode = true
  4021. local SFXZ = Instance.new("Sound",torso)
  4022. SFXZ.SoundId = "rbxassetid://316675316"
  4023. SFXZ.Volume = 8
  4024. SFXZ.Pitch = 1
  4025. SFXZ.Looped = true
  4026. wait(0.01)
  4027. SFXZ:Play()
  4028. local Wind = Instance.new("Sound",torso)
  4029. Wind.SoundId = "rbxassetid://142840797"
  4030. Wind.Volume = 0.5
  4031. Wind.Pitch = 1
  4032. Wind.Looped = true
  4033. wait(0.01)
  4034. Wind:Play()
  4035.  
  4036.  
  4037. Grab.Touched:connect(function(hit)
  4038. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  4039. hit.Parent:BreakJoints()
  4040. wait(0.2)
  4041. hit.Parent:Destroy()
  4042.  
  4043.  
  4044.  
  4045. end
  4046. end)
  4047. hum.WalkSpeed = 55
  4048.  
  4049. local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
  4050. FZcharge3.Texture = "rbxassetid://37329477"
  4051. FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
  4052. FZcharge3.EmissionDirection = "Top"
  4053. FZcharge3.Speed = NumberRange.new(8)
  4054. FZcharge3.Size = NumberSequence.new(0.5,0)
  4055. FZcharge3.Transparency = NumberSequence.new(0,1)
  4056. FZcharge3.Drag = 1.2
  4057. FZcharge3.LockedToPart = false
  4058. FZcharge3.Lifetime = NumberRange.new(0.5)
  4059. FZcharge3.Rate = 195
  4060. FZcharge3.LightEmission = 1
  4061. FZcharge3.VelocitySpread = 100
  4062. FZcharge3.Rotation = NumberRange.new(-360,360)
  4063. FZcharge3.VelocitySpread = 100.2
  4064. FZcharge3.ZOffset = 1
  4065. local StoneEf2 = Instance.new("ParticleEmitter",Stone4)
  4066. StoneEf2.Texture = "rbxassetid://37329477"
  4067. StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
  4068. StoneEf2.EmissionDirection = "Top"
  4069. StoneEf2.Speed = NumberRange.new(8)
  4070. StoneEf2.Size = NumberSequence.new(0.5,0)
  4071. StoneEf2.Transparency = NumberSequence.new(0,1)
  4072. StoneEf2.LockedToPart = false
  4073. StoneEf2.Lifetime = NumberRange.new(0.5)
  4074. StoneEf2.Rate = 195
  4075. StoneEf2.LightEmission = 1
  4076. StoneEf2.VelocitySpread = 100
  4077. StoneEf2.Rotation = NumberRange.new(-360,360)
  4078. StoneEf2.VelocitySpread = 100.2
  4079. StoneEf2.ZOffset = 1
  4080. local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
  4081. StoneEf3.Texture = "rbxassetid://74675986"
  4082. StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
  4083. StoneEf3.EmissionDirection = "Top"
  4084. StoneEf3.Speed = NumberRange.new(8)
  4085. StoneEf3.Size = NumberSequence.new(0.5,0)
  4086. StoneEf3.Transparency = NumberSequence.new(0,1)
  4087. StoneEf3.LockedToPart = false
  4088. StoneEf3.Lifetime = NumberRange.new(0.5)
  4089. StoneEf3.Rate = 195
  4090. StoneEf3.LightEmission = 1
  4091. StoneEf3.VelocitySpread = 100
  4092. StoneEf3.Rotation = NumberRange.new(-360,360)
  4093. StoneEf3.VelocitySpread = 100.2
  4094. StoneEf3.ZOffset = 1
  4095. local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
  4096. StoneEf5.Texture = "rbxassetid://73229113"
  4097. StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
  4098. StoneEf5.EmissionDirection = "Top"
  4099. StoneEf5.Speed = NumberRange.new(8)
  4100. StoneEf5.Size = NumberSequence.new(0.5,0)
  4101. StoneEf5.Transparency = NumberSequence.new(0,1)
  4102. StoneEf5.LockedToPart = false
  4103. StoneEf5.Lifetime = NumberRange.new(0.5)
  4104. StoneEf5.Rate = 195
  4105. StoneEf5.LightEmission = 1
  4106. StoneEf5.VelocitySpread = 100
  4107. StoneEf5.Rotation = NumberRange.new(-360,360)
  4108. StoneEf5.VelocitySpread = 100.2
  4109. StoneEf5.ZOffset = 1
  4110. local CHAINLINKS = {}
  4111. local POS = mouse.Hit.p
  4112. local CHAINS = false
  4113. local CHAINLINKS = {}
  4114. local A = Instance.new("Attachment",root)
  4115. A.Position = Vector3.new(0.5,0,0)*Player_Size
  4116. A.Orientation = Vector3.new(-90, -89.982, 0)
  4117. local B = Instance.new("Attachment",root)
  4118. B.Position = Vector3.new(-0.5,0,0)*Player_Size
  4119. B.Orientation = Vector3.new(-90, 89.988, 0)
  4120. local C = Instance.new("Attachment",root)
  4121. C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
  4122. C.Orientation = Vector3.new(-90, -89.982, 0)
  4123. local D = Instance.new("Attachment",root)
  4124. D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
  4125. D.Orientation = Vector3.new(-90, 89.988, 0)
  4126. local LIGHT = Instance.new("Attachment",root)
  4127. LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
  4128. local LIGHT2 = Instance.new("PointLight",larm)
  4129. LIGHT2.Range = 6
  4130. LIGHT2.Brightness = 20
  4131. LIGHT2.Color = Color3.new(255, 255, 0)
  4132. for i = 1, 2 do
  4133. local TWIST = -1
  4134. local START = A
  4135. local END = B
  4136. if i == 1 then
  4137. START = B
  4138. END = A
  4139. end
  4140. local ChainLink = Instance.new("Beam",torso)
  4141. ChainLink.Texture = "rbxassetid://37329477"
  4142. ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
  4143. ChainLink.TextureSpeed = 5
  4144. ChainLink.Width0 = 1
  4145. ChainLink.Width1 = 1
  4146. ChainLink.TextureLength = 2.5
  4147. ChainLink.Attachment0 = START
  4148. ChainLink.Attachment1 = END
  4149. ChainLink.CurveSize0 = TWIST
  4150. ChainLink.CurveSize1 = TWIST
  4151. --ChainLink.FaceCamera = true
  4152. ChainLink.Segments = 85
  4153. ChainLink.Transparency = NumberSequence.new(0)
  4154. table.insert(CHAINLINKS,ChainLink)
  4155. end
  4156. coroutine.resume(coroutine.create(function()
  4157. for i = 3,60060 do
  4158.  
  4159.  
  4160. local HQG = Instance.new("Part",char)
  4161. HQG.Size = Vector3.new(1,0,1)
  4162. HQG.BrickColor = BrickColor.new("Ghost grey")
  4163. HQG.Material = "Neon"
  4164. HQG.Anchored = true
  4165. HQG.CanCollide = false
  4166. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4167. local HQG2 = Instance.new("SpecialMesh",HQG)
  4168. HQG2.MeshId = "rbxassetid://1726537151"
  4169. HQG2.Scale = Vector3.new(0.01,0.01,0.01)
  4170.  
  4171.  
  4172. coroutine.resume(coroutine.create(function()
  4173. for i = 1,200 do
  4174.  
  4175.  
  4176. HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
  4177. HQG.Transparency = HQG.Transparency + 0.07
  4178. HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
  4179.  
  4180. wait(0.00000000001)
  4181. end
  4182.  
  4183. HQG:Destroy()
  4184. HQG2:Destroy()
  4185.  
  4186. end))
  4187.  
  4188.  
  4189. wait(0.3)
  4190. end
  4191. end))
  4192. end
  4193. end)
  4194.  
  4195.  
  4196.  
  4197. mouse.KeyDown:connect(function(k)
  4198. if k == "j" then
  4199.  
  4200. animid = 5
  4201. no_anim = true
  4202.  
  4203.  
  4204. local Aura = Instance.new("ParticleEmitter",Stone2)
  4205. Aura.Texture = "rbxassetid://271370648"
  4206. Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  4207. Aura.EmissionDirection = "Top"
  4208. Aura.Speed = NumberRange.new(0)
  4209. Aura.Size = NumberSequence.new(2.5)
  4210. Aura.Transparency = NumberSequence.new(0,1)
  4211. Aura.Drag = 0.4
  4212. Aura.LightInfluence = 0
  4213. Aura.LockedToPart = true
  4214. Aura.Lifetime = NumberRange.new(0.9)
  4215. Aura.Rate = 60
  4216. Aura.LightEmission = 0.6
  4217. Aura.Rotation = NumberRange.new(-360,360)
  4218. Aura.VelocitySpread = 0
  4219. Aura.Acceleration = Vector3.new(0,0,0)
  4220. Aura.ZOffset = 0.2
  4221.  
  4222. for i = 1, 30 do
  4223. wait()
  4224.  
  4225. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4226. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  4227. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
  4228. 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
  4229. 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
  4230. end
  4231.  
  4232.  
  4233. local HQ = Instance.new("Part",char)
  4234. HQ.Size = Vector3.new(1,0,1)
  4235. HQ.BrickColor = BrickColor.new("Grey")
  4236. HQ.Material = "Neon"
  4237. HQ.Anchored = true
  4238. HQ.CanCollide = false
  4239. HQ.Transparency = 0.7
  4240. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4241. local HQ2 = Instance.new("SpecialMesh",HQ)
  4242. HQ2.MeshId = "rbxassetid://20329976"
  4243. HQ2.Scale = Vector3.new(1,1,1)
  4244.  
  4245. local HQG = Instance.new("Part",char)
  4246. HQG.Size = Vector3.new(1,0,1)
  4247. HQG.BrickColor = BrickColor.new("Grey")
  4248. HQG.Material = "Neon"
  4249. HQG.Anchored = true
  4250. HQG.Transparency = 0.7
  4251. HQG.CanCollide = false
  4252. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4253. local HQG2 = Instance.new("SpecialMesh",HQG)
  4254. HQG2.MeshId = "rbxassetid://20329976"
  4255. HQG2.Scale = Vector3.new(1,1,1)
  4256.  
  4257.  
  4258. coroutine.resume(coroutine.create(function()
  4259. for i = 1,200 do
  4260. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4261. HQ.Transparency = HQ.Transparency + 0.01
  4262. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4263.  
  4264. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4265. HQG.Transparency = HQG.Transparency + 0.01
  4266. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4267.  
  4268. wait(0.00000000001)
  4269.  
  4270.  
  4271. end
  4272. HQ:Destroy()
  4273. HQ2:Destroy()
  4274. HQG:Destroy()
  4275. HQG2:Destroy()
  4276. end))
  4277.  
  4278. laz0r()
  4279. wait(0.5)
  4280. no_anim = false
  4281. Aura.Rate = 0
  4282.  
  4283. instinct = true
  4284. end
  4285. end)
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291. mouse.KeyDown:connect(function(key)
  4292. if key == "r" then
  4293. local Aura = Instance.new('ParticleEmitter',Stone3)
  4294. Aura.Texture = "rbxassetid://271370648"
  4295. Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  4296. Aura.EmissionDirection = "Top"
  4297. Aura.Speed = NumberRange.new(0)
  4298. Aura.Size = NumberSequence.new(2.5)
  4299. Aura.Transparency = NumberSequence.new(0,1)
  4300. Aura.Drag = 0.4
  4301. Aura.LightInfluence = 0
  4302. Aura.LockedToPart = true
  4303. Aura.Lifetime = NumberRange.new(0.9)
  4304. Aura.Rate = 60
  4305. Aura.LightEmission = 0.6
  4306. Aura.Rotation = NumberRange.new(-360,360)
  4307. Aura.VelocitySpread = 0
  4308. Aura.Acceleration = Vector3.new(0,0,0)
  4309. Aura.ZOffset = 0.2
  4310. no_anim = true
  4311. for i = 1, 15 do
  4312. wait()
  4313.  
  4314. 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)
  4315. 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)
  4316. end
  4317.  
  4318. local Grab = Instance.new("Part",root)
  4319. Grab.Size = Vector3.new(5.2,5.8,3.9)
  4320. Grab.CanCollide = true
  4321. Grab.Material = "Neon"
  4322. Grab.BrickColor = BrickColor.new("Cyan")
  4323. Grab.Transparency = 0.5
  4324. local Hat2 = Instance.new("SpecialMesh",Grab)
  4325. Hat2.MeshType = 3
  4326. Hat2.Scale = Vector3.new(3.35,3.15,0.95)
  4327. local Grabo = Instance.new("Weld",Grab)
  4328. Grabo.Part0 = root
  4329. Grabo.Part1 = Grab
  4330. Grabo.C0 = CFrame.new(0,0.3,-6.8)
  4331.  
  4332. local AuraB = Instance.new("Part",root)
  4333. AuraB.Size = Vector3.new(2,1,2)
  4334. AuraB.CanCollide = false
  4335. AuraB.BrickColor = BrickColor.new("Deep orange")
  4336. AuraB.Transparency = 1
  4337. local AuraBo = Instance.new("Weld",AuraB)
  4338. AuraBo.Part0 = root
  4339. AuraBo.Part1 = AuraB
  4340. AuraBo.C0 = CFrame.new(0,-0.6,0)
  4341. Grab.Touched:connect(function(hit)
  4342. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  4343.  
  4344.  
  4345. hit.Anchored = false
  4346. local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
  4347. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4348. Fl.velocity = root.CFrame.lookVector*340
  4349. wait(0.05)
  4350. Fl:remove()
  4351.  
  4352. end
  4353. end)
  4354.  
  4355.  
  4356. end
  4357. end)
  4358. mouse.KeyUp:connect(function(key)
  4359. if key == "r" then
  4360.  
  4361. for i, v in pairs(root:GetChildren()) do
  4362. if v:IsA("Part")then
  4363. v:Remove()
  4364. end
  4365. end
  4366. for i, v in pairs(Stone3:GetChildren()) do
  4367. if v:IsA('ParticleEmitter')then
  4368. v.Rate = 0
  4369. end
  4370. end
  4371.  
  4372. no_anim = false
  4373. end
  4374. end)
  4375.  
  4376.  
  4377. mouse.KeyDown:connect(function(key)
  4378. if key == "n" then
  4379.  
  4380. end
  4381. end)
  4382.  
  4383.  
  4384. mouse.KeyDown:connect(function(key)
  4385. if key == "t" then
  4386. local Aura = Instance.new("ParticleEmitter",Stone4)
  4387. Aura.Texture = "rbxassetid://271370648"
  4388. Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  4389. Aura.EmissionDirection = "Top"
  4390. Aura.Speed = NumberRange.new(0)
  4391. Aura.Size = NumberSequence.new(2.5)
  4392. Aura.Transparency = NumberSequence.new(0,1)
  4393. Aura.Drag = 0.4
  4394. Aura.LightInfluence = 0
  4395. Aura.LockedToPart = true
  4396. Aura.Lifetime = NumberRange.new(0.9)
  4397. Aura.Rate = 60
  4398. Aura.LightEmission = 0.6
  4399. Aura.Rotation = NumberRange.new(-360,360)
  4400. Aura.VelocitySpread = 0
  4401. Aura.Acceleration = Vector3.new(0,0,0)
  4402. Aura.ZOffset = 0.2
  4403. no_anim = true
  4404. for i = 1, 15 do
  4405. wait()
  4406.  
  4407. 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)
  4408. 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)
  4409. end
  4410.  
  4411. local Grab = Instance.new("Part",root)
  4412. Grab.Size = Vector3.new(5.2,5.8,3.9)
  4413. Grab.CanCollide = false
  4414. Grab.Material = "Neon"
  4415. Grab.BrickColor = BrickColor.new("Really red")
  4416. Grab.Transparency = 0.5
  4417. local Hat2 = Instance.new("SpecialMesh",Grab)
  4418. Hat2.MeshType = 3
  4419. Hat2.Scale = Vector3.new(3.35,3.15,0.95)
  4420. local Grabo = Instance.new("Weld",Grab)
  4421. Grabo.Part0 = root
  4422. Grabo.Part1 = Grab
  4423. Grabo.C0 = CFrame.new(0,0.3,-6.8)
  4424.  
  4425. local AuraB = Instance.new("Part",root)
  4426. AuraB.Size = Vector3.new(2,1,2)
  4427. AuraB.CanCollide = false
  4428. AuraB.BrickColor = BrickColor.new("Deep orange")
  4429. AuraB.Transparency = 1
  4430. local AuraBo = Instance.new("Weld",AuraB)
  4431. AuraBo.Part0 = root
  4432. AuraBo.Part1 = AuraB
  4433. AuraBo.C0 = CFrame.new(0,-0.6,0)
  4434. Grab.Touched:connect(function(hit)
  4435. if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
  4436.  
  4437.  
  4438. Snap(hit.Parent)
  4439. local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
  4440. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4441. Fl.velocity = root.CFrame.lookVector*340
  4442. wait(0.05)
  4443. Fl:remove()
  4444.  
  4445. end
  4446. end)
  4447.  
  4448.  
  4449. end
  4450. end)
  4451. mouse.KeyUp:connect(function(key)
  4452. if key == "t" then
  4453.  
  4454. for i, v in pairs(root:GetChildren()) do
  4455. if v:IsA("Part")then
  4456. v:Remove()
  4457. end
  4458. end
  4459. for i, v in pairs(Stone4:GetChildren()) do
  4460. if v:IsA("ParticleEmitter")then
  4461. v.Rate = 0
  4462. end
  4463. end
  4464.  
  4465. no_anim = false
  4466. end
  4467. end)
  4468.  
  4469.  
  4470. mouse.KeyDown:connect(function(k)
  4471. if k == "e" and MUI == false then --highjump
  4472.  
  4473. animid = 5
  4474. no_anim = true
  4475.  
  4476. local sbs = Instance.new("BodyPosition", torso)
  4477. sbs.P = 9000
  4478. sbs.D = 1000
  4479. sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
  4480. sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0)
  4481. local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
  4482. local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
  4483. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4484. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4485. Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
  4486.  
  4487. 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.8)--head
  4488. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4489. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
  4490. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
  4491. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
  4492. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4493.  
  4494.  
  4495.  
  4496. local HQ = Instance.new("Part",char)
  4497. HQ.Size = Vector3.new(1,0,1)
  4498. HQ.BrickColor = BrickColor.new("New Yeller")
  4499. HQ.Material = "Neon"
  4500. HQ.Anchored = true
  4501. HQ.CanCollide = false
  4502. HQ.Transparency = 0.7
  4503. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4504. local HQ2 = Instance.new("SpecialMesh",HQ)
  4505. HQ2.MeshId = "rbxassetid://20329976"
  4506. HQ2.Scale = Vector3.new(1,50,1)
  4507.  
  4508. local HQG = Instance.new("Part",char)
  4509. HQG.Size = Vector3.new(1,0,1)
  4510. HQG.BrickColor = BrickColor.new("Grey")
  4511. HQG.Material = "Neon"
  4512. HQG.Anchored = true
  4513. HQG.Transparency = 0.7
  4514. HQG.CanCollide = false
  4515. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4516. local HQG2 = Instance.new("SpecialMesh",HQG)
  4517. HQG2.MeshId = "rbxassetid://20329976"
  4518. HQG2.Scale = Vector3.new(1,1,1)
  4519.  
  4520.  
  4521. coroutine.resume(coroutine.create(function()
  4522. for i = 1,500 do
  4523. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4524. HQ.Transparency = HQ.Transparency + 0.005
  4525. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4526.  
  4527. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4528. HQG.Transparency = HQG.Transparency + 0.005
  4529. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4530.  
  4531. wait(0.00000000001)
  4532.  
  4533.  
  4534. end
  4535. HQ:Destroy()
  4536. HQ2:Destroy()
  4537. HQG:Destroy()
  4538. HQG2:Destroy()
  4539. end))
  4540.  
  4541.  
  4542. wait(0.5)
  4543. sbs:Destroy()
  4544.  
  4545. FlyAt:Destroy()
  4546. wait(0.2)
  4547.  
  4548. no_anim = false
  4549. instinct = true
  4550. end
  4551. end)
  4552.  
  4553.  
  4554. mouse.KeyDown:connect(function(k)
  4555. if k == "e" and MUI == true then --highjump
  4556.  
  4557. animid = 5
  4558. no_anim = true
  4559. hum.WalkSpeed = 60
  4560. local sbs = Instance.new("BodyPosition", torso)
  4561. sbs.P = 9000
  4562. sbs.D = 1000
  4563. sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
  4564. sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
  4565. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
  4566. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
  4567. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4568. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4569. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  4570.  
  4571. 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.8)--head
  4572. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4573. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
  4574. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
  4575. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
  4576. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4577.  
  4578.  
  4579.  
  4580. local HQ = Instance.new("Part",char)
  4581. HQ.Size = Vector3.new(1,0,1)
  4582. HQ.BrickColor = BrickColor.new("Grey")
  4583. HQ.Material = "Neon"
  4584. HQ.Anchored = true
  4585. HQ.CanCollide = false
  4586. HQ.Transparency = 0.7
  4587. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4588. local HQ2 = Instance.new("SpecialMesh",HQ)
  4589. HQ2.MeshId = "rbxassetid://20329976"
  4590. HQ2.Scale = Vector3.new(1,1,1)
  4591.  
  4592. local HQG = Instance.new("Part",char)
  4593. HQG.Size = Vector3.new(1,0,1)
  4594. HQG.BrickColor = BrickColor.new("Grey")
  4595. HQG.Material = "Neon"
  4596. HQG.Anchored = true
  4597. HQG.Transparency = 0.7
  4598. HQG.CanCollide = false
  4599. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
  4600. local HQG2 = Instance.new("SpecialMesh",HQG)
  4601. HQG2.MeshId = "rbxassetid://20329976"
  4602. HQG2.Scale = Vector3.new(1,1,1)
  4603.  
  4604.  
  4605. coroutine.resume(coroutine.create(function()
  4606. for i = 1,200 do
  4607. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4608. HQ.Transparency = HQ.Transparency + 0.01
  4609. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4610.  
  4611. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4612. HQG.Transparency = HQG.Transparency + 0.01
  4613. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4614.  
  4615. wait(0.00000000001)
  4616.  
  4617.  
  4618. end
  4619. HQ:Destroy()
  4620. HQ2:Destroy()
  4621. HQG:Destroy()
  4622. HQG2:Destroy()
  4623. end))
  4624.  
  4625.  
  4626. wait(0.5)
  4627. sbs:Destroy()
  4628. hum.WalkSpeed = 260
  4629. FlyAt:Destroy()
  4630. wait(0.2)
  4631. hum.WalkSpeed = 16
  4632. no_anim = false
  4633. instinct = true
  4634. end
  4635. end)
  4636.  
  4637. mouse.KeyDown:connect(function(k)
  4638. if k == "q" and MUI == false then --highjump
  4639.  
  4640. animid = 5
  4641. no_anim = true
  4642.  
  4643. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
  4644. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
  4645. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4646. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4647. Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
  4648. local bv = Instance.new("BodyVelocity")
  4649. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4650. bv.velocity = root.CFrame.lookVector*200
  4651. bv.Parent = root
  4652.  
  4653.  
  4654.  
  4655. for i = 1, 30 do
  4656. wait()
  4657.  
  4658. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
  4659. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
  4660. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
  4661. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
  4662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
  4663. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
  4664. end
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674. wait(0.5)
  4675. bv:Destroy()
  4676.  
  4677. wait(0.2)
  4678.  
  4679.  
  4680. FlyAt:Destroy()
  4681. no_anim = false
  4682. end
  4683. end)
  4684. holdclick=false
  4685.  
  4686. mouse.KeyDown:connect(function(k)
  4687. if k == "q" and MUI == true then --highjump
  4688.  
  4689. animid = 5
  4690. no_anim = true
  4691. hum.WalkSpeed = 60
  4692. local bv = Instance.new("BodyVelocity")
  4693. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4694. bv.velocity = root.CFrame.lookVector*190
  4695. bv.Parent = root
  4696.  
  4697. local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
  4698. local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0)
  4699. local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
  4700. Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4701. Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5
  4702.  
  4703. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso
  4704. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm
  4705. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm
  4706. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
  4707. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
  4708.  
  4709.  
  4710.  
  4711. local HQ = Instance.new("Part",char)
  4712. HQ.Size = Vector3.new(1,0,1)
  4713. HQ.BrickColor = BrickColor.new("Grey")
  4714. HQ.Material = "Neon"
  4715. HQ.Anchored = true
  4716. HQ.CanCollide = false
  4717. HQ.Transparency = 0.7
  4718. HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
  4719. local HQ2 = Instance.new("SpecialMesh",HQ)
  4720. HQ2.MeshId = "rbxassetid://20329976"
  4721. HQ2.Scale = Vector3.new(1,1,1)
  4722.  
  4723. local HQG = Instance.new("Part",char)
  4724. HQG.Size = Vector3.new(1,0,1)
  4725. HQG.BrickColor = BrickColor.new("Grey")
  4726. HQG.Material = "Neon"
  4727. HQG.Anchored = true
  4728. HQG.Transparency = 0.7
  4729. HQG.CanCollide = false
  4730. HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
  4731. local HQG2 = Instance.new("SpecialMesh",HQG)
  4732. HQG2.MeshId = "rbxassetid://20329976"
  4733. HQG2.Scale = Vector3.new(1,1,1)
  4734.  
  4735.  
  4736. coroutine.resume(coroutine.create(function()
  4737. for i = 1,200 do
  4738. HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
  4739. HQ.Transparency = HQ.Transparency + 0.01
  4740. HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4741.  
  4742. HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
  4743. HQG.Transparency = HQG.Transparency + 0.01
  4744. HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
  4745.  
  4746. wait()
  4747.  
  4748.  
  4749. end
  4750. HQ:Destroy()
  4751. HQ2:Destroy()
  4752. HQG:Destroy()
  4753. HQG2:Destroy()
  4754. end))
  4755.  
  4756.  
  4757. wait(0.5)
  4758. bv:Destroy()
  4759. hum.WalkSpeed = 60
  4760. wait(0.2)
  4761. hum.WalkSpeed = 16
  4762. FlyAt:Destroy()
  4763. no_anim = false
  4764. instinct = true
  4765. end
  4766. end)
  4767. mouse.KeyDown:connect(function(k)
  4768. if k == "l" then
  4769.  
  4770. animid = 5
  4771. no_anim = true
  4772. UltimateBattle:Stop()
  4773.  
  4774.  
  4775. for i = 1, 10 do
  4776. wait()
  4777.  
  4778.  
  4779. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4780. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  4781. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm
  4782. 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
  4783. 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
  4784. end
  4785. wait(2)
  4786. local SFXZ = Instance.new("Sound",char)
  4787. SFXZ.SoundId = "rbxassetid://242076158"
  4788. SFXZ.Volume = 10
  4789. SFXZ.Pitch = 1
  4790. SFXZ.Looped = false
  4791. wait(0.01)
  4792. SFXZ:Play()
  4793.  
  4794. for i = 1, 10 do
  4795. wait()
  4796.  
  4797.  
  4798. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
  4799. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
  4800. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm
  4801. 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
  4802. 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
  4803. end
  4804.  
  4805.  
  4806. coroutine.resume(coroutine.create(function()
  4807. for i = 3,80 do
  4808. local Ball = Instance.new("Part",char)
  4809. Ball.Size = Vector3.new(0,0,0)
  4810. Ball.BrickColor = BrickColor.new("White")
  4811. Ball.Material = "Neon"
  4812. Ball.Anchored = true
  4813. Ball.CanCollide = false
  4814. Ball.Transparency = 0
  4815. Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  4816. local Ball2 = Instance.new("SpecialMesh",Ball)
  4817. Ball2.MeshType = 3
  4818. Ball2.Scale = Vector3.new(0.4,0.4,0.4)
  4819.  
  4820.  
  4821.  
  4822.  
  4823. coroutine.resume(coroutine.create(function()
  4824. for i = 1,15 do
  4825. Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
  4826. Ball.Transparency = Ball.Transparency + 0.06
  4827.  
  4828. wait(0.00000000001)
  4829. end
  4830. Ball:Destroy()
  4831.  
  4832.  
  4833. end))
  4834. wait(0.02)
  4835. end
  4836. end))
  4837.  
  4838. wait(5)
  4839.  
  4840.  
  4841.  
  4842.  
  4843. coroutine.wrap(function()
  4844. for i,v in next, workspace:children() do
  4845. if v:IsA"Model" or v:IsA"Part" then
  4846. if v:FindFirstChildOfClass"Humanoid" and v ~= char then
  4847. Eviscerate(v)
  4848. if v:FindFirstChildOfClass"Humanoid" then Eviscerate(v) end
  4849. wait(.15)
  4850. end
  4851. end
  4852. end
  4853. end)()
  4854.  
  4855.  
  4856. wait(10)
  4857. no_anim = false
  4858.  
  4859.  
  4860.  
  4861. end
  4862. end)
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877. mouse.KeyDown:connect(function(key)
  4878. if debounce == false then
  4879. if key == "=" and MUI == true then
  4880. dashasdf()
  4881. elseif key == "=" and cooldownult == false then
  4882. cooldownult = true
  4883. if animid == 0 then
  4884. animid = 1
  4885. else
  4886. animid = 0
  4887. end
  4888. debounce = true
  4889. holdr = true
  4890. aiming_anim = true
  4891. wait(0.2)
  4892. repeat
  4893. rs:wait()
  4894. timer = 150
  4895. until holdr == false
  4896. nukewelpo()
  4897.  
  4898. local Position = mouse.Hit.p
  4899. local Target = root.Position
  4900. local direction = Target - Position
  4901. local direction = computeDirection(direction)
  4902. root.Velocity = direction * 300
  4903.  
  4904. aiming_anim = false
  4905. delay(5,function() cooldownult = false end)
  4906. delay(1,function() debounce = false end)
  4907.  
  4908. elseif key == "=" then
  4909. debounce = true
  4910. if animid == 0 then
  4911. animid = 1
  4912. else
  4913. animid = 0
  4914. end
  4915. holdq = true
  4916. attack = true
  4917.  
  4918.  
  4919.  
  4920.  
  4921. repeat rs:wait() timer = 150 until holdq == false
  4922. laz0r()
  4923. attack = false
  4924.  
  4925. end
  4926. end
  4927.  
  4928. end)
  4929.  
  4930. mouse.KeyUp:connect(function(key)
  4931. if key == "=" then
  4932. holdq = false
  4933. elseif key == "=" then
  4934. holdr = false
  4935. end
  4936. end)
  4937. --
  4938. hum.Name = 'Goku'
  4939. ----------------------------------------------------------------------------
  4940. music(themeid,themepitch)
  4941. velocityYFall=0
  4942. velocityYFall2=0
  4943. velocityYFall3=0
  4944. velocityYFall4=0
  4945. neckrotY=0
  4946. neckrotY2=0
  4947. torsorotY=0
  4948. torsorotY2=0
  4949. torsoY=0
  4950. torsoY2=0
  4951. sine = 0
  4952. newWeld(torso, larm, -1.5, 0.5, 0)
  4953. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  4954. newWeld(torso, rarm, 1.5, 0.5, 0)
  4955. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  4956. newWeld(torso, hed, 0, 1.5, 0)
  4957. newWeld(torso, lleg, -0.5, -1, 0)
  4958. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  4959. newWeld(torso, rleg, 0.5, -1, 0)
  4960. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  4961. newWeld(root, torso, 0, -1, 0)
  4962. torso.Weld.C1 = CFrame.new(0, -1, 0)
  4963.  
  4964. rs:connect(function()
  4965.  
  4966. bg.MaxTorque = Vector3.new(0,0,0)
  4967.  
  4968. for i,v in pairs(DebrisModel:GetChildren()) do
  4969.  
  4970.  
  4971. if v.Name == "EXPLOSION" then
  4972. local change = 0.04-(v.Transparency*0.02)
  4973. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4974. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  4975. v.Transparency = v.Transparency + 0.02
  4976. if v.Transparency >= 1 then
  4977. v:Destroy()
  4978. end
  4979.  
  4980. elseif v.Name == "EXPLOSION2" then
  4981. local change = 0.04-(v.Transparency*0.04)
  4982. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4983. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  4984. v.Transparency = v.Transparency + 0.025
  4985. if v.Transparency >= 1 then
  4986. v:Destroy()
  4987. end
  4988.  
  4989. elseif v.Name == "EXPLOSION3" then
  4990. local change = 0.5-(v.Transparency*0.5)
  4991. local vm = v:FindFirstChildOfClass("SpecialMesh")
  4992. vm.Scale = vm.Scale + Vector3.new(change,change,0)
  4993. v.Transparency = v.Transparency + 0.1
  4994. if v.Transparency >= 1 then
  4995. v:Destroy()
  4996. end
  4997.  
  4998. elseif v.Name == "EXPLOSION4" then
  4999. local change = 0.15-(v.Transparency*0.125)
  5000. local vm = v:FindFirstChildOfClass("SpecialMesh")
  5001. vm.Scale = vm.Scale + Vector3.new(change,change,change)
  5002. v.Transparency = v.Transparency + 0.01
  5003. if v.Transparency >= 1 then
  5004. v:Destroy()
  5005. end
  5006.  
  5007. elseif v.Name == "SMOKE" then
  5008. local vm = v:FindFirstChildOfClass("SpecialMesh")
  5009. vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
  5010. if vm.Scale.X <= 0 then
  5011. v:Destroy()
  5012. end
  5013.  
  5014. elseif v.Name == "SMOKE2" then
  5015. local change = 2-(v.Transparency*2)
  5016. local vm = v:FindFirstChildOfClass("SpecialMesh")
  5017. local Position = nil
  5018. if animid == 0 then
  5019. Position = larm.Position
  5020. else
  5021. Position = rarm.Position
  5022. end
  5023. local Target = mouse.Hit.p
  5024. local direction = Target - Position
  5025. local direction = computeDirection(direction)
  5026. local ray = Ray.new(Position, (Target-Position).unit*1048)
  5027. local part, endPoint = workspace:FindPartOnRay(ray, char)
  5028. vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
  5029. local pos = Position + (direction * (vm.Scale.Y/2))
  5030. v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  5031. vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
  5032. v.Transparency = v.Transparency + 0.1
  5033. if v.Transparency >= 1 then
  5034. v:Destroy()
  5035. end
  5036.  
  5037.  
  5038. elseif v.Name == "LIGHTNING" then
  5039. local vm = v:FindFirstChildOfClass("BlockMesh")
  5040. vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
  5041. if vm.Scale.X <= 0 then
  5042. v:Destroy()
  5043. end
  5044.  
  5045. end
  5046. end
  5047.  
  5048. if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
  5049. velocityYFall = root.Velocity.Y/1.5
  5050. end
  5051. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  5052. velocityYFall2 = root.Velocity.Y/180
  5053. end
  5054. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  5055. velocityYFall3 = root.Velocity.Y/1.5
  5056. end
  5057. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  5058. velocityYFall4 = root.Velocity.Y/1.5
  5059. end
  5060. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  5061. neckrotY = root.RotVelocity.Y/6
  5062. end
  5063. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  5064. neckrotY2 = root.RotVelocity.Y/8
  5065. end
  5066.  
  5067. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  5068. torsorotY = root.RotVelocity.Y/6
  5069. end
  5070. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  5071. torsorotY2 = root.RotVelocity.Y/8
  5072. end
  5073.  
  5074.  
  5075. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  5076. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  5077.  
  5078.  
  5079. local SINE = 0
  5080. local jumped = false
  5081. local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  5082. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  5083. local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
  5084. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  5085. local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  5086. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  5087. local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
  5088. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  5089.  
  5090. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  5091.  
  5092. local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  5093. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  5094. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  5095. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  5096.  
  5097. local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
  5098. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  5099. local sizem = 1
  5100. if no_anim == false then
  5101. if hum.Health > 0 then
  5102. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  5103. 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)
  5104. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
  5105. 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)
  5106. 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)
  5107. 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)
  5108. 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)
  5109. 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)
  5110. elseif jumped == true then
  5111. 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)
  5112. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
  5113. 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)
  5114. 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)
  5115. 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)
  5116. 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)
  5117. 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)
  5118. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
  5119. 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)
  5120. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
  5121. 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)
  5122. 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)
  5123. 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)
  5124. 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)
  5125. 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)
  5126. end
  5127. for i=1,5 do
  5128. if aiming_anim == true then
  5129. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  5130. if jumped == false then
  5131. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  5132. else
  5133. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  5134. end
  5135. if animid == 0 then
  5136. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
  5137. 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)
  5138. 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)
  5139. else
  5140. if animid == 5 then
  5141. 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
  5142. 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
  5143. 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
  5144. 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
  5145. 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
  5146. 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
  5147. else
  5148. hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
  5149. 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)
  5150. 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)
  5151. end
  5152. end
  5153. else
  5154. if timer <= 0 then
  5155. animid = math.random(0,1)
  5156. else
  5157. timer = timer - 1
  5158. end
  5159. end
  5160. end
  5161. end
  5162. end
  5163. main_color = Color3.fromRGB(main.r,main.g,main.b)
  5164. pr.Value = main.r
  5165. pg.Value = main.g
  5166. pb.Value = main.b
  5167. pv.Value = main.v
  5168. idth.Value = themeid
  5169. pith.Value = themepitch
  5170. HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
  5171. HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
  5172. sine = sine + change
  5173. if hum.Health <= 0 then
  5174. debounce = true
  5175. end
  5176. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement