Advertisement
Basykung7845

test (lag)

May 5th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.42 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. do
  4. print("FE Compatibility code by Basykung7845")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. function swait(dur)
  85. if(dur == 0 or typeof(dur) ~= 'number')then
  86. AHB.Event:wait()
  87. else
  88. for i = 1, dur*FPS do
  89. AHB.Event:wait()
  90. end
  91. end
  92. end
  93.  
  94. local loudnesses={}
  95. script.Parent = Player.Character
  96. local CoAS = {Actions={}}
  97. local Event = Instance.new("RemoteEvent")
  98. Event.Name = "UserInputEvent"
  99. Event.Parent = Player.Character
  100. local Func = Instance.new("RemoteFunction")
  101. Func.Name = "GetClientProperty"
  102. Func.Parent = Player.Character
  103. local fakeEvent = function()
  104. local t = {_fakeEvent=true,Waited={}}
  105. t.Connect = function(self,f)
  106. local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
  107. ft.Disconnect=ft.disconnect
  108.  
  109. ft.Func=function(...)
  110. for id,_ in next, t.Waited do
  111. t.Waited[id] = true
  112. end
  113. return f(...)
  114. end;
  115. self.Function=ft;
  116. return ft;
  117. end
  118. t.connect = t.Connect
  119. t.Wait = function()
  120. local guid = GUID:new(25)
  121. local waitingId = guid:Get()
  122. t.Waited[waitingId]=false
  123. repeat swait() until t.Waited[waitingId]==true
  124. t.Waited[waitingId]=nil;
  125. guid:Trash()
  126. end
  127. t.wait = t.Wait
  128. return t
  129. end
  130. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  131. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  132.  
  133. function CoAS:BindAction(name,fun,touch,...)
  134. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  135. end
  136. function CoAS:UnbindAction(name)
  137. CoAS.Actions[name] = nil
  138. end
  139. local function te(self,ev,...)
  140. local t = self[ev]
  141. if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
  142. t.Function.Func(...)
  143. elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
  144. self[ev].Function=nil
  145. end
  146. end
  147. m.TrigEvent = te
  148. UsIS.TrigEvent = te
  149. Event.OnServerEvent:Connect(function(plr,io)
  150. if plr~=Player then return end
  151. if io.Mouse then
  152. m.Target = io.Target
  153. m.Hit = io.Hit
  154. elseif io.KeyEvent then
  155. print('Key'..io.KeyEvent,io.Key)
  156. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  157. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  158. if io.UserInputState == Enum.UserInputState.Begin then
  159. print'down'
  160. m:TrigEvent("Button1Down")
  161. else
  162. print'up'
  163. m:TrigEvent("Button1Up")
  164. end
  165. end
  166. if(not io.KeyEvent and not io.Mouse)then
  167. for n,t in pairs(CoAS.Actions) do
  168. for _,k in pairs(t.Keys) do
  169. if k==io.KeyCode then
  170. t.Function(t.Name,io.UserInputState,io)
  171. end
  172. end
  173. end
  174. if io.UserInputState == Enum.UserInputState.Begin then
  175. UsIS:TrigEvent("InputBegan",io,false)
  176. else
  177. UsIS:TrigEvent("InputEnded",io,false)
  178. end
  179. end
  180. end)
  181.  
  182. Func.OnServerInvoke = function(plr,inst,play)
  183. if plr~=Player then return end
  184. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  185. loudnesses[inst]=play
  186. end
  187. end
  188.  
  189. function GetClientProperty(inst,prop)
  190. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  191. return loudnesses[inst]
  192. elseif(prop == 'PlaybackLoudness')then
  193. return Func:InvokeClient(Player,'RegSound',inst)
  194. end
  195. return Func:InvokeClient(Player,inst,prop)
  196. end
  197. Mouse, mouse, UserInputService, ContextActionService = m, m, UsIS, CoAS
  198. end
  199.  
  200. workspace:WaitForChild = owner
  201. local Player = owner
  202. for i,v in pairs(Player.Character:GetChildren())do
  203. if v:IsA("Model") then v:Destroy() end
  204. if v:IsA("BasePart") and v.Name == "Ring" then v:Destroy() end
  205. end
  206.  
  207.  
  208. -- Nebula stuff --
  209. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  210. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  211. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  212. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  213. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  214. local R3 = {N=Region3.new}
  215. local De = S.Debris
  216. local WS = workspace
  217. local Lght = S.Lighting
  218. local RepS = S.ReplicatedStorage
  219. local IN = Instance.new
  220. local Plrs = S.Players
  221. local FXFolder = script:FindFirstChild'Effects'
  222. FXFolder.Parent = nil
  223. local Alpha = .3
  224. -- Nebula stuff2 --
  225. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  226. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  227. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  228. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  229. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  230. local R3 = {N=Region3.new}
  231. local De = S.Debris
  232. local WS = workspace
  233. local Lght = S.Lighting
  234. local RepS = S.ReplicatedStorage
  235. local IN = Instance.new
  236. local Plrs = S.Players
  237. local UIS = S.UserInputService
  238. local CAS = S.ContextActionService
  239.  
  240. NewInstance = function(instance,parent,properties)
  241. local inst = Instance.new(instance)
  242. inst.Parent = parent
  243. if(properties)then
  244. for i,v in next, properties do
  245. pcall(function() inst[i] = v end)
  246. end
  247. end
  248. return inst;
  249. end
  250. --Script--
  251. plr = owner
  252. char = plr.Character
  253. hum = char:FindFirstChildOfClass("Humanoid")
  254. local cam = game.Workspace.CurrentCamera
  255. Camera = cam
  256. local CamInterrupt = false
  257. local TwoD = false
  258. local TargetInfo = {nil, nil}
  259. cam.CameraType = "Custom"
  260. t = char.Torso
  261. h = char.Head
  262. ra = char["Right Arm"]
  263. la = char["Left Arm"]
  264. rl = char["Right Leg"]
  265. ll = char["Left Leg"]
  266. tors = char.Torso
  267. lleg = char["Left Leg"]
  268. root = char.HumanoidRootPart
  269. hed = char.Head
  270. rleg = char["Right Leg"]
  271. rarm = char["Right Arm"]
  272. larm = char["Left Arm"]
  273. radian = math.rad
  274. random = math.random
  275. Vec3 = Vector3.new
  276. Inst = Instance.new
  277. cFrame = CFrame.new
  278. Euler = CFrame.fromEulerAnglesXYZ
  279. vt = Vector3.new
  280. bc = BrickColor.new
  281. br = BrickColor.random
  282. it = Instance.new
  283. cf = CFrame.new
  284.  
  285. cam = game.Workspace.CurrentCamera
  286. CF = CFrame.new
  287. angles = CFrame.Angles
  288. attack = false
  289. Euler = CFrame.fromEulerAnglesXYZ
  290. Rad = math.rad
  291. IT = Instance.new
  292. BrickC = BrickColor.new
  293. Cos = math.cos
  294. Acos = math.acos
  295. Sin = math.sin
  296. Asin = math.asin
  297. Abs = math.abs
  298. Mrandom = math.random
  299. Floor = math.floor
  300.  
  301. Cf = CFrame.new
  302. SIN = math.sin
  303. COS = math.cos
  304. RAD = math.rad
  305. BrickC = BrickColor.new
  306. BRICKC = BrickColor.new
  307. CF = CFrame.new
  308. equipped = false
  309. advanced = false
  310. vt = Vector3.new
  311. euler = CFrame.fromEulerAnglesXYZ
  312. angles = CFrame.Angles
  313. ANGLES = CFrame.Angles
  314. local sine = 0
  315. local SINE = 0
  316. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  317. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  318. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  319. radian = math.rad
  320. random = math.random
  321. Player_Size = 1
  322. Cos = math.cos
  323. Sin = math.sin
  324. Rad = math.rad
  325. rad = math.rad
  326. MRANDOM = math.random
  327. local Diversial = false
  328. local enableddam = true
  329. local DAMAGEMULTIPLIER = 1
  330. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  331. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  332. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  333. local maincolor = BrickColor.new("Institutional white")
  334.  
  335. CF = CFrame.new
  336. VT = Vector3.new
  337. angles = CFrame.Angles
  338. attack = false
  339. Euler = CFrame.fromEulerAnglesXYZ
  340. Rad = math.rad
  341. IT = Instance.new
  342. BrickC = BrickColor.new
  343. Cos = math.cos
  344. Acos = math.acos
  345. Sin = math.sin
  346. Asin = math.asin
  347. Abs = math.abs
  348. Mrandom = math.random
  349. Floor = math.floor
  350. local cn = CFrame.new
  351. local mr = math.rad
  352. local angles = CFrame.Angles
  353. local ud = UDim2.new
  354. local c3 = Color3.new
  355. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  356.  
  357. local kan = Instance.new("Sound",char)
  358. kan.Volume = 1.25
  359. kan.TimePosition = 0
  360. kan.PlaybackSpeed = 1
  361. kan.Pitch = 1
  362. kan.SoundId = "rbxassetid://1383202399"
  363. kan.Name = "ero"
  364. kan.Looped = true
  365. kan:Play()
  366. local Mode = "Neutral"
  367. local enableddam = true
  368.  
  369. function shakes(power,length)
  370. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  371. local var = script.Shaker:Clone()
  372. var.Parent = v.Character
  373. local pw = var.Shakeval
  374. local lgth = var.MultLength
  375. pw.Value = power
  376. lgth.Value = length
  377. var.Disabled = false
  378. game:GetService("Debris"):AddItem(var, length+4)
  379. end
  380. end
  381.  
  382. function localshakes(power,length)
  383. local var = script.Shaker:Clone()
  384. var.Parent = plr.Character
  385. local pw = var.Shakeval
  386. local lgth = var.MultLength
  387. pw.Value = power
  388. lgth.Value = length
  389. var.Disabled = false
  390. game:GetService("Debris"):AddItem(var, length+4)
  391. end
  392. local Booleans = {
  393. CamFollow = true,
  394. GyroUse = true
  395. }
  396.  
  397. function lerp(object, newCFrame, alpha)
  398. return object:lerp(newCFrame, alpha)
  399. end
  400.  
  401. local Directer = Inst("BodyGyro", root)
  402. Directer.MaxTorque = Vec3(0, 0, 0)
  403. Directer.P = 600000
  404. local CPart = Inst("Part")
  405. CPart.Anchored = true
  406. CPart.CanCollide = false
  407. CPart.Locked = true
  408. CPart.Transparency = 1
  409.  
  410. local rainbowmode = false
  411. local chaosmode = false
  412.  
  413. local kan = char.ero
  414. local currentThemePlaying = kan.SoundId
  415. local currentPitch = kan.Pitch
  416. local currentVol = kan.Volume
  417. function newTheme(ID,timepos,pitch,vol)
  418. local kanz = kan
  419. --kanz:Stop()
  420. kanz.Volume = vol
  421. --kanz.TimePosition = timepos
  422. kanz.PlaybackSpeed = pitch
  423. kanz.Pitch = pitch
  424. kanz.SoundId = ID
  425. kanz.Name = "ero"
  426. kanz.Looped = true
  427. currentThemePlaying = kanz.SoundId
  428. currentVol = kanz.Volume
  429. currentPitch = kanz.Pitch
  430. --kanz:Play()
  431. --coroutine.resume(coroutine.create(function()
  432. --wait(0.05)
  433. --end))
  434. end
  435.  
  436.  
  437. function newThemeCust(ID,timepos,pitch,vol)
  438. local kanz = kan
  439. kanz:Stop()
  440. kanz.Volume = vol
  441. kanz.TimePosition = timepos
  442. kanz.PlaybackSpeed = pitch
  443. kanz.Pitch = pitch
  444. kanz.SoundId = ID
  445. kanz.Looped = true
  446. currentThemePlaying = kanz.SoundId
  447. currentVol = kanz.Volume
  448. currentPitch = kanz.Pitch
  449. kanz:Play()
  450. coroutine.resume(coroutine.create(function()
  451. wait(0.05)
  452. end))
  453. end
  454.  
  455. local mutedtog = false
  456.  
  457. function CamShake(who,times,intense,origin)
  458. coroutine.wrap(function()
  459. if(FXFolder:FindFirstChild'CamShake')then
  460. local cam = FXFolder.CamShake:Clone()
  461. cam:WaitForChild'intensity'.Value = intense
  462. cam:WaitForChild'times'.Value = times
  463.  
  464. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  465. cam.Parent = who
  466. wait()
  467. cam.Disabled = false
  468. end
  469. end)()
  470. end
  471.  
  472. function CamShakeAll(times,intense,origin)
  473. for _,v in next, Plrs:players() do
  474. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  475. end
  476. end
  477.  
  478. function CameraEnshaking(Length,Intensity)
  479. coroutine.resume(coroutine.create(function()
  480. local intensity = 1*Intensity
  481. local rotM = 0.01*Intensity
  482. for i = 0, Length, 0.1 do
  483. swait()
  484. intensity = intensity - 0.05*Intensity/Length
  485. rotM = rotM - 0.0005*Intensity/Length
  486. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  487. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  488. end
  489. Humanoid.CameraOffset = Vec3(0, 0, 0)
  490. end))
  491. end
  492. CamShake=function(Part,Distan,Power,Times)
  493. local de=Part.Position
  494. for i,v in pairs(workspace:children()) do
  495. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  496. for _,c in pairs(v:children()) do
  497. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  498. local Noob=v.Humanoid
  499. if Noob~=nil then
  500. coroutine.resume(coroutine.create(function()
  501. FV = Instance.new("BoolValue", Noob)
  502. FV.Name = "CameraShake"
  503. for ShakeNum=1,Times do
  504. swait()
  505. local ef=Power
  506. if ef>=1 then
  507. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  508. else
  509. ef=Power*10
  510. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  511. end
  512. end
  513. Humanoid.CameraOffset = Vector3.new(0,0,0)
  514. FV:Destroy()
  515. end))
  516. CameraShake(Times, Power, Noob)
  517. end
  518. end
  519. end
  520. end
  521. end
  522. end
  523.  
  524. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  525.  
  526. --// Require stuff \\--
  527. function CamShake(who,times,intense,origin)
  528. coroutine.wrap(function()
  529. if(FXFolder:FindFirstChild'CamShake')then
  530. local cam = FXFolder.CamShake:Clone()
  531. cam:WaitForChild'intensity'.Value = intense
  532. cam:WaitForChild'times'.Value = times
  533.  
  534. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  535. cam.Parent = who
  536. wait()
  537. cam.Disabled = false
  538. end
  539. end)()
  540. end
  541.  
  542. function CamShakeAll(times,intense,origin)
  543. for _,v in next, Plrs:players() do
  544. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  545. end
  546. end
  547.  
  548. Player = owner
  549. PlayerGui = Player.PlayerGui
  550. Cam = workspace.CurrentCamera
  551. Backpack = Player.Backpack
  552. Character = Player.Character
  553. Humanoid = Character.Humanoid
  554. RootPart = Character["HumanoidRootPart"]
  555. Torso = Character["Torso"]
  556. Head = Character["Head"]
  557. RightArm = Character["Right Arm"]
  558. LeftArm = Character["Left Arm"]
  559. RightLeg = Character["Right Leg"]
  560. LeftLeg = Character["Left Leg"]
  561. RootJoint = RootPart["RootJoint"]
  562. Neck = Torso["Neck"]
  563. RightShoulder = Torso["Right Shoulder"]
  564. LeftShoulder = Torso["Left Shoulder"]
  565. RightHip = Torso["Right Hip"]
  566. LeftHip = Torso["Left Hip"]
  567. local TIME = 0
  568.  
  569. IT = Instance.new
  570. CF = CFrame.new
  571. VT = Vector3.new
  572. RAD = math.rad
  573. C3 = Color3.new
  574. UD2 = UDim2.new
  575. BRICKC = BrickColor.new
  576. ANGLES = CFrame.Angles
  577. EULER = CFrame.fromEulerAnglesXYZ
  578. COS = math.cos
  579. ACOS = math.acos
  580. SIN = math.sin
  581. ASIN = math.asin
  582. ABS = math.abs
  583. MRANDOM = math.random
  584. FLOOR = math.floor
  585.  
  586. --//=================================\\
  587. --|| USEFUL VALUES
  588. --\\=================================//
  589.  
  590. Animation_Speed = 3
  591. local FORCERESET = false
  592. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  593. local SIZE = 1
  594. local Speed = 16
  595. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  596. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  597. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  598. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  599. local DAMAGEMULTIPLIER = 1
  600. local ANIM = "Idle"
  601. local ATTACK = false
  602. local EQUIPPED = false
  603. local HOLD = false
  604. local COMBO = 1
  605. local Rooted = false
  606. local SINE = 0
  607. local KEYHOLD = false
  608. local CHANGE = 2 / Animation_Speed
  609. local WALKINGANIM = false
  610. local VALUE1 = false
  611. local VALUE2 = false
  612. local ROBLOXIDLEANIMATION = IT("Animation")
  613. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  614. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  615. --ROBLOXIDLEANIMATION.Parent = Humanoid
  616. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  617. WEAPONGUI.Name = "BanishV3Gui"
  618. local Weapon = IT("Folder", Character)
  619. Weapon.Name = "Weapon"
  620. local Effects = IT("Folder", Character)
  621. Effects.Name = "Effects"
  622. local FaceGradient = IT("Folder", Character)
  623. FaceGradient.Name = "FaceGradient"
  624. local ANIMATOR = Humanoid.Animator
  625. local ANIMATE = Character:FindFirstChild("Animate")
  626. local UNANCHOR = true
  627. local CLOCKLOOP = 0
  628. local CLOCKTARGET = nil
  629. local CLOCKSPEED = 1
  630. script.Parent = WEAPONGUI
  631. local HITFLOOR = nil
  632. local INTRO = false
  633. local INSTANT = false
  634. local LEFTWINGS = {}
  635. local RIGHTWINGS = {}
  636. local BODY = {}
  637. local TOBANISH = {}
  638. script.Parent = PlayerGui
  639. local MODE = "Devil"
  640. local LAUGHS = {834001699,834001752,834001797,834001828}
  641. local SONGS = {534861083,530959353,1534958855,0}
  642. local CHOICE = MRANDOM(1,4)
  643. --//=================================\\
  644. --\\=================================//
  645.  
  646.  
  647.  
  648. --//=================================\\
  649. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  650. --\\=================================//
  651.  
  652. ArtificialHB = Instance.new("BindableEvent", script)
  653. ArtificialHB.Name = "ArtificialHB"
  654.  
  655. script:WaitForChild("ArtificialHB")
  656.  
  657. frame = Frame_Speed
  658. tf = 0
  659. allowframeloss = false
  660. tossremainder = false
  661. lastframe = tick()
  662. script.ArtificialHB:Fire()
  663.  
  664. game:GetService("RunService").Heartbeat:connect(function(s, p)
  665. tf = tf + s
  666. if tf >= frame then
  667. if allowframeloss then
  668. script.ArtificialHB:Fire()
  669. lastframe = tick()
  670. else
  671. for i = 1, math.floor(tf / frame) do
  672. script.ArtificialHB:Fire()
  673. end
  674. lastframe = tick()
  675. end
  676. if tossremainder then
  677. tf = 0
  678. else
  679. tf = tf - frame * math.floor(tf / frame)
  680. end
  681. end
  682. end)
  683.  
  684. --//=================================\\
  685. --\\=================================//
  686.  
  687. --//=================================\\
  688. --|| SOME FUNCTIONS
  689. --\\=================================//
  690.  
  691. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  692. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  693. end
  694.  
  695. function PositiveAngle(NUMBER)
  696. if NUMBER >= 0 then
  697. NUMBER = 0
  698. end
  699. return NUMBER
  700. end
  701.  
  702. function NegativeAngle(NUMBER)
  703. if NUMBER <= 0 then
  704. NUMBER = 0
  705. end
  706. return NUMBER
  707. end
  708.  
  709. function Swait(NUMBER)
  710. if NUMBER == 0 or NUMBER == nil then
  711. ArtificialHB.Event:wait()
  712. else
  713. for i = 1, NUMBER do
  714. ArtificialHB.Event:wait()
  715. end
  716. end
  717. end
  718.  
  719. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  720. local NEWMESH = IT(MESH)
  721. if MESH == "SpecialMesh" then
  722. NEWMESH.MeshType = MESHTYPE
  723. if MESHID ~= "nil" and MESHID ~= "" then
  724. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  725. end
  726. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  727. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  728. end
  729. end
  730. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  731. NEWMESH.Scale = SCALE
  732. NEWMESH.Parent = PARENT
  733. return NEWMESH
  734. end
  735.  
  736. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  737. local NEWPART = IT("Part")
  738. NEWPART.formFactor = FORMFACTOR
  739. NEWPART.Reflectance = REFLECTANCE
  740. NEWPART.Transparency = TRANSPARENCY
  741. NEWPART.CanCollide = false
  742. NEWPART.Locked = true
  743. NEWPART.Anchored = true
  744. if ANCHOR == false then
  745. NEWPART.Anchored = false
  746. end
  747. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  748. NEWPART.Name = NAME
  749. NEWPART.Size = SIZE
  750. NEWPART.Position = Torso.Position
  751. NEWPART.Material = MATERIAL
  752. NEWPART:BreakJoints()
  753. NEWPART.Parent = PARENT
  754. return NEWPART
  755. end
  756.  
  757. local function weldBetween(a, b)
  758. local weldd = Instance.new("ManualWeld")
  759. weldd.Part0 = a
  760. weldd.Part1 = b
  761. weldd.C0 = CFrame.new()
  762. weldd.C1 = b.CFrame:inverse() * a.CFrame
  763. weldd.Parent = a
  764. return weldd
  765. end
  766.  
  767.  
  768. function QuaternionFromCFrame(cf)
  769. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  770. local trace = m00 + m11 + m22
  771. if trace > 0 then
  772. local s = math.sqrt(1 + trace)
  773. local recip = 0.5 / s
  774. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  775. else
  776. local i = 0
  777. if m11 > m00 then
  778. i = 1
  779. end
  780. if m22 > (i == 0 and m00 or m11) then
  781. i = 2
  782. end
  783. if i == 0 then
  784. local s = math.sqrt(m00 - m11 - m22 + 1)
  785. local recip = 0.5 / s
  786. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  787. elseif i == 1 then
  788. local s = math.sqrt(m11 - m22 - m00 + 1)
  789. local recip = 0.5 / s
  790. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  791. elseif i == 2 then
  792. local s = math.sqrt(m22 - m00 - m11 + 1)
  793. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  794. end
  795. end
  796. end
  797.  
  798. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  799. local xs, ys, zs = x + x, y + y, z + z
  800. local wx, wy, wz = w * xs, w * ys, w * zs
  801. local xx = x * xs
  802. local xy = x * ys
  803. local xz = x * zs
  804. local yy = y * ys
  805. local yz = y * zs
  806. local zz = z * zs
  807. 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))
  808. end
  809.  
  810. function QuaternionSlerp(a, b, t)
  811. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  812. local startInterp, finishInterp;
  813. if cosTheta >= 0.0001 then
  814. if (1 - cosTheta) > 0.0001 then
  815. local theta = ACOS(cosTheta)
  816. local invSinTheta = 1 / SIN(theta)
  817. startInterp = SIN((1 - t) * theta) * invSinTheta
  818. finishInterp = SIN(t * theta) * invSinTheta
  819. else
  820. startInterp = 1 - t
  821. finishInterp = t
  822. end
  823. else
  824. if (1 + cosTheta) > 0.0001 then
  825. local theta = ACOS(-cosTheta)
  826. local invSinTheta = 1 / SIN(theta)
  827. startInterp = SIN((t - 1) * theta) * invSinTheta
  828. finishInterp = SIN(t * theta) * invSinTheta
  829. else
  830. startInterp = t - 1
  831. finishInterp = t
  832. end
  833. end
  834. 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
  835. end
  836.  
  837. function Clerp(a, b, t)
  838. local qa = {QuaternionFromCFrame(a)}
  839. local qb = {QuaternionFromCFrame(b)}
  840. local ax, ay, az = a.x, a.y, a.z
  841. local bx, by, bz = b.x, b.y, b.z
  842. local _t = 1 - t
  843. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  844. end
  845.  
  846. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  847. local frame = IT("Frame")
  848. frame.BackgroundTransparency = TRANSPARENCY
  849. frame.BorderSizePixel = BORDERSIZEPIXEL
  850. frame.Position = POSITION
  851. frame.Size = SIZE
  852. frame.BackgroundColor3 = COLOR
  853. frame.BorderColor3 = BORDERCOLOR
  854. frame.Name = NAME
  855. frame.Parent = PARENT
  856. return frame
  857. end
  858.  
  859. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  860. local label = IT("TextLabel")
  861. label.BackgroundTransparency = 1
  862. label.Size = UD2(1, 0, 1, 0)
  863. label.Position = UD2(0, 0, 0, 0)
  864. label.TextColor3 = TEXTCOLOR
  865. label.TextStrokeTransparency = STROKETRANSPARENCY
  866. label.TextTransparency = TRANSPARENCY
  867. label.FontSize = TEXTFONTSIZE
  868. label.Font = TEXTFONT
  869. label.BorderSizePixel = BORDERSIZEPIXEL
  870. label.TextScaled = false
  871. label.Text = TEXT
  872. label.Name = NAME
  873. label.Parent = PARENT
  874. return label
  875. end
  876.  
  877. function NoOutlines(PART)
  878. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  879. end
  880.  
  881. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  882. local NEWWELD = IT(TYPE)
  883. NEWWELD.Part0 = PART0
  884. NEWWELD.Part1 = PART1
  885. NEWWELD.C0 = C0
  886. NEWWELD.C1 = C1
  887. NEWWELD.Parent = PARENT
  888. return NEWWELD
  889. end
  890.  
  891. local S = IT("Sound")
  892. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  893. local NEWSOUND = nil
  894. coroutine.resume(coroutine.create(function()
  895. NEWSOUND = S:Clone()
  896. NEWSOUND.Parent = PARENT
  897. NEWSOUND.Volume = VOLUME
  898. NEWSOUND.Pitch = PITCH
  899. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  900. NEWSOUND:play()
  901. if DOESLOOP == true then
  902. NEWSOUND.Looped = true
  903. else
  904. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  905. NEWSOUND:remove()
  906. end
  907. end))
  908. return NEWSOUND
  909. end
  910.  
  911. function CFrameFromTopBack(at, top, back)
  912. local right = top:Cross(back)
  913. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  914. end
  915.  
  916. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  917. function WACKYEFFECT(Table)
  918. local TYPE = (Table.EffectType or "Sphere")
  919. local SIZE = (Table.Size or VT(1,1,1))
  920. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  921. local TRANSPARENCY = (Table.Transparency or 0)
  922. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  923. local CFRAME = (Table.CFrame or Torso.CFrame)
  924. local MOVEDIRECTION = (Table.MoveToPos or nil)
  925. local ROTATION1 = (Table.RotationX or 0)
  926. local ROTATION2 = (Table.RotationY or 0)
  927. local ROTATION3 = (Table.RotationZ or 0)
  928. local MATERIAL = (Table.Material or "Neon")
  929. local COLOR = (Table.Color or C3(1,1,1))
  930. local TIME = (Table.Time or 45)
  931. local SOUNDID = (Table.SoundID or nil)
  932. local SOUNDPITCH = (Table.SoundPitch or nil)
  933. local SOUNDVOLUME = (Table.SoundVolume or nil)
  934. coroutine.resume(coroutine.create(function()
  935. local PLAYSSOUND = false
  936. local SOUND = nil
  937. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  938. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  939. PLAYSSOUND = true
  940. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  941. end
  942. EFFECT.Color = COLOR
  943. local MSH = nil
  944. if TYPE == "Sphere" then
  945. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  946. elseif TYPE == "Block" or TYPE == "Box" then
  947. MSH = IT("BlockMesh",EFFECT)
  948. MSH.Scale = SIZE
  949. elseif TYPE == "Wave" then
  950. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  951. elseif TYPE == "Ring" then
  952. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  953. elseif TYPE == "Slash" then
  954. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  955. elseif TYPE == "Round Slash" then
  956. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  957. elseif TYPE == "Swirl" then
  958. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  959. elseif TYPE == "Skull" then
  960. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  961. elseif TYPE == "Crystal" then
  962. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  963. end
  964. if MSH ~= nil then
  965. local MOVESPEED = nil
  966. if MOVEDIRECTION ~= nil then
  967. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  968. end
  969. local GROWTH = SIZE - ENDSIZE
  970. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  971. if TYPE == "Block" then
  972. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  973. else
  974. EFFECT.CFrame = CFRAME
  975. end
  976. for LOOP = 1, TIME+1 do
  977. Swait()
  978. MSH.Scale = MSH.Scale - GROWTH/TIME
  979. if TYPE == "Wave" then
  980. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  981. end
  982. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  983. if TYPE == "Block" then
  984. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  985. else
  986. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  987. end
  988. if MOVEDIRECTION ~= nil then
  989. local ORI = EFFECT.Orientation
  990. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  991. EFFECT.Orientation = ORI
  992. end
  993. end
  994. if PLAYSSOUND == false then
  995. EFFECT:remove()
  996. else
  997. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  998. EFFECT:remove()
  999. end
  1000. else
  1001. if PLAYSSOUND == false then
  1002. EFFECT:remove()
  1003. else
  1004. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1005. EFFECT:remove()
  1006. end
  1007. end
  1008. end))
  1009. end
  1010.  
  1011. function MakeForm(PART,TYPE)
  1012. if TYPE == "Cyl" then
  1013. local MSH = IT("CylinderMesh",PART)
  1014. elseif TYPE == "Ball" then
  1015. local MSH = IT("SpecialMesh",PART)
  1016. MSH.MeshType = "Sphere"
  1017. elseif TYPE == "Wedge" then
  1018. local MSH = IT("SpecialMesh",PART)
  1019. MSH.MeshType = "Wedge"
  1020. end
  1021. end
  1022.  
  1023. function SpawnTrail(FROM,TO,BIG)
  1024. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1025. MakeForm(TRAIL,"Cyl")
  1026. local DIST = (FROM - TO).Magnitude
  1027. if BIG == true then
  1028. TRAIL.Size = VT(0.5,DIST,0.5)
  1029. else
  1030. TRAIL.Size = VT(0.25,DIST,0.25)
  1031. end
  1032. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1033. coroutine.resume(coroutine.create(function()
  1034. for i = 1, 5 do
  1035. Swait()
  1036. TRAIL.Transparency = TRAIL.Transparency + 0
  1037. end
  1038. TRAIL:remove()
  1039. end))
  1040. end
  1041.  
  1042. Debris = game:GetService("Debris")
  1043.  
  1044. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1045. local DIRECTION = CF(StartPos,EndPos).lookVector
  1046. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1047. end
  1048.  
  1049. function turnto(position)
  1050. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1051. end
  1052.  
  1053. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1054. local NEWSOUND = nil
  1055. coroutine.resume(coroutine.create(function()
  1056. NEWSOUND = IT("Sound", PARENT)
  1057. NEWSOUND.Volume = VOLUME
  1058. NEWSOUND.Pitch = PITCH
  1059. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1060. Swait()
  1061. NEWSOUND:play()
  1062. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1063. end))
  1064. return NEWSOUND
  1065. end
  1066. --//=================================\\
  1067. --|| WEAPON CREATION
  1068. --\\=================================//
  1069.  
  1070. local Particle = IT("ParticleEmitter",nil)
  1071. Particle.Enabled = false
  1072. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1073. Particle.LightEmission = 0.5
  1074. Particle.Rate = 150
  1075. Particle.ZOffset = 0.2
  1076. Particle.Rotation = NumberRange.new(-180, 180)
  1077. Particle.RotSpeed = NumberRange.new(-180, 180)
  1078. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1079. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0,0,0))
  1080.  
  1081. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1082. function ParticleEmitter(Table)
  1083. local PRTCL = Particle:Clone()
  1084. local Speed = Table.Speed or 5
  1085. local Drag = Table.Drag or 0
  1086. local Size1 = Table.Size1 or 1
  1087. local Size2 = Table.Size2 or 5
  1088. local Lifetime1 = Table.Lifetime1 or 1
  1089. local Lifetime2 = Table.Lifetime2 or 1.5
  1090. local Parent = Table.Parent or Torso
  1091. local Emit = Table.Emit or 100
  1092. local Offset = Table.Offset or 360
  1093. local Acel = Table.Acel or VT(0,0,0)
  1094. local Enabled = Table.Enabled or false
  1095. PRTCL.Parent = Parent
  1096. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1097. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1098. PRTCL.Speed = NumberRange.new(Speed)
  1099. PRTCL.VelocitySpread = Offset
  1100. PRTCL.Drag = Drag
  1101. PRTCL.Acceleration = Acel
  1102. if Enabled == false then
  1103. PRTCL:Emit(Emit)
  1104. Debris:AddItem(PRTCL,Lifetime2)
  1105. else
  1106. PRTCL.Enabled = true
  1107. end
  1108. return PRTCL
  1109. end
  1110.  
  1111. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1112. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1113. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1114. MakeForm(Part,"Wedge")
  1115. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1117. MakeForm(Part,"Wedge")
  1118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1119. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1121. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1122. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1123. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1124. MakeForm(Part,"Cyl")
  1125. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1126. for i = 1, 8 do
  1127. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1128. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1129. end
  1130. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1131. MakeForm(Part,"Cyl")
  1132. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1133. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1134. MakeForm(Part,"Ball")
  1135. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1136. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1137. MakeForm(Part,"Wedge")
  1138. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1139. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1141. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1142. MakeForm(Part,"Cyl")
  1143. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1145. MakeForm(Part,"Cyl")
  1146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1147. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1148. MakeForm(Part,"Cyl")
  1149. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1151. MakeForm(Part,"Wedge")
  1152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1154. MakeForm(Part,"Cyl")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1157. MakeForm(Part,"Wedge")
  1158. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1159. local LASTPART = Handle
  1160. for i = 1, 10 do
  1161. if LASTPART == Handle then
  1162. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1163. LASTPART = Part
  1164. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1165. else
  1166. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1167. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1168. LASTPART = Part
  1169. end
  1170. end
  1171. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1172. MakeForm(Barrel,"Cyl")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1174. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1175. MakeForm(Part,"Cyl")
  1176. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1177. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1178. MakeForm(Part,"Wedge")
  1179. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1180. local RightHole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1181. MakeForm(RightHole,"Cyl")
  1182. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1183. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1184. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1185. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1186. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1187. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1188. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1189. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Part", VT(0,0,0),false)
  1190. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(-1.5, 1, 0))
  1191. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1192. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1193. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(-2, 1, 0))
  1194. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1195. coroutine.resume(coroutine.create(function()
  1196. while wait() do
  1197. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1198. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1199. GEARWELD3.C0 = GEARWELD3.C0 * ANGLES(RAD(3), RAD(0), RAD(3))
  1200. GEARWELD4.C0 = GEARWELD4.C0 * ANGLES(RAD(-3), RAD(0), RAD(-3))
  1201. end
  1202. end))
  1203.  
  1204. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1205. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1207. MakeForm(Part,"Wedge")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1210. MakeForm(Part,"Wedge")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1213. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1214. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1215. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1216. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1217. MakeForm(Part,"Cyl")
  1218. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1219. for i = 1, 8 do
  1220. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1221. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1222. end
  1223. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1224. MakeForm(Part,"Cyl")
  1225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1226. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1227. MakeForm(Part,"Ball")
  1228. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1229. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1230. MakeForm(Part,"Wedge")
  1231. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1232. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1233. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1234. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1235. MakeForm(Part,"Cyl")
  1236. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1237. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1238. MakeForm(Part,"Cyl")
  1239. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1240. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1241. MakeForm(Part,"Cyl")
  1242. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1243. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1244. MakeForm(Part,"Wedge")
  1245. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1246. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1247. MakeForm(Part,"Cyl")
  1248. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1249. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1250. MakeForm(Part,"Wedge")
  1251. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1252. local LASTPART = Handle
  1253. for i = 1, 10 do
  1254. if LASTPART == Handle then
  1255. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1256. LASTPART = Part
  1257. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1258. else
  1259. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1260. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1261. LASTPART = Part
  1262. end
  1263. end
  1264. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1265. MakeForm(Barrel,"Cyl")
  1266. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1267. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1268. MakeForm(Part,"Cyl")
  1269. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1270. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1271. MakeForm(Part,"Wedge")
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1273. local LeftHole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1274. MakeForm(LeftHole,"Cyl")
  1275. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1276. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1277. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1278. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1279. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1280. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1281. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1282. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Part", VT(0,0,0),false)
  1283. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(-1.5, 1, 0))
  1284. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1285. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1286. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(-2, 1, 0))
  1287. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1288. coroutine.resume(coroutine.create(function()
  1289. while wait() do
  1290. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1291. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1292. GEARWELD3.C0 = GEARWELD3.C0 * ANGLES(RAD(3), RAD(0), RAD(3))
  1293. GEARWELD4.C0 = GEARWELD4.C0 * ANGLES(RAD(-3), RAD(0), RAD(-3))
  1294. end
  1295. end))
  1296.  
  1297. for _, c in pairs(Weapon:GetDescendants()) do
  1298. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1299. c.Material = "Glass"
  1300. c.Color = C3(0,0,0)
  1301. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1302. c.Color = C3(1,0,0)
  1303. c.Material = "Neon"
  1304. end
  1305. end
  1306.  
  1307. for i = 1, 35 do
  1308. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1309. FACE.Color = C3(0,0,0)
  1310. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1311. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1312. end
  1313.  
  1314. local EXE = Instance.new("Shirt")
  1315. EXE.ShirtTemplate = "rbxassetid://466341864"
  1316. EXE.Parent = Character
  1317. EXE.Name = "Cloth"
  1318. local LOL = Instance.new("Pants")
  1319. LOL.PantsTemplate = "rbxassetid://1608263437"
  1320. LOL.Parent = Character
  1321. LOL.Name = "Cloth"
  1322.  
  1323. ParticleEmitter({Speed = 0.02, Drag = 0, Size1 = 0.3, Size2 = 0, Lifetime1 = 0.5, Lifetime2 = 2, Parent = RightHole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1324. ParticleEmitter({Speed = 0.02, Drag = 0, Size1 = 0.3, Size2 = 0, Lifetime1 = 0.5, Lifetime2 = 2, Parent = LeftHole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1325.  
  1326. local BODY = {}
  1327. for _, c in pairs(Character:GetDescendants()) do
  1328. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1329. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1330. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1331. end
  1332. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1333. elseif c:IsA("JointInstance") then
  1334. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1335. end
  1336. end
  1337.  
  1338. for e = 1, #BODY do
  1339. if BODY[e] ~= nil then
  1340. local STUFF = BODY[e]
  1341. local PART = STUFF[1]
  1342. local PARENT = STUFF[2]
  1343. local MATERIAL = STUFF[3]
  1344. local COLOR = STUFF[4]
  1345. local TRANSPARENCY = STUFF[5]
  1346. if PART.ClassName == "Part" and PART ~= RootPart then
  1347. PART.Material = MATERIAL
  1348. PART.Color = COLOR
  1349. PART.Transparency = TRANSPARENCY
  1350. end
  1351. PART.AncestryChanged:Connect(function()
  1352. PART.Parent = PARENT
  1353. end)
  1354. end
  1355. end
  1356.  
  1357. function refit()
  1358. Character.Parent = workspace
  1359. for e = 1, #BODY do
  1360. if BODY[e] ~= nil then
  1361. local STUFF = BODY[e]
  1362. local PART = STUFF[1]
  1363. local PARENT = STUFF[2]
  1364. local MATERIAL = STUFF[3]
  1365. local COLOR = STUFF[4]
  1366. local TRANSPARENCY = STUFF[5]
  1367. if PART.ClassName == "Part" and PART ~= RootPart then
  1368. PART.Material = MATERIAL
  1369. PART.Color = COLOR
  1370. PART.Transparency = TRANSPARENCY
  1371. end
  1372. if PART.Parent ~= PARENT then
  1373. Humanoid:remove()
  1374. PART.Parent = PARENT
  1375. Humanoid = IT("Humanoid",Character)
  1376. end
  1377. end
  1378. end
  1379. end
  1380.  
  1381. Weapon.Parent = Character
  1382. for _, c in pairs(Weapon:GetChildren()) do
  1383. if c.ClassName == "Part" then
  1384. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1385. end
  1386. end
  1387.  
  1388. local SKILLTEXTCOLOR = C3(1,0,0)
  1389. local SKILLFONT = "Antique"
  1390. local SKILLTEXTSIZE = 7
  1391.  
  1392. Humanoid.Died:connect(function()
  1393. ATTACK = true
  1394. end)
  1395.  
  1396. function printbye(Name)
  1397. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1398. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1399. end
  1400.  
  1401. workspace.ChildAdded:connect(function(instance)
  1402. for BANISH = 1, #TOBANISH do
  1403. if TOBANISH[BANISH] ~= nil then
  1404. if instance.Name == TOBANISH[BANISH] then
  1405. coroutine.resume(coroutine.create(function()
  1406. printbye(instance.Name)
  1407. instance:ClearAllChildren()
  1408. Debris:AddItem(instance,0.0005)
  1409. end))
  1410. end
  1411. end
  1412. end
  1413. end)
  1414.  
  1415. --//=================================\\
  1416. --|| DAMAGING
  1417. --\\=================================//
  1418.  
  1419. function Kill(Char)
  1420. local NewCharacter = IT("Model",Effects)
  1421. NewCharacter.Name = "Ow im ded ;-;"
  1422. for _, c in pairs(Char:GetDescendants()) do
  1423. if c:IsA("BasePart") and c.Transparency == 0 then
  1424. if c.Parent == Char then
  1425. end
  1426. c:Kick("GoodBye Noob")
  1427. c:BreakJoints()
  1428. c.Material = "Glass"
  1429. c.Color = C3(1,0,0)
  1430. c.CanCollide = true
  1431. c.Transparency = 0.3
  1432. if c:FindFirstChildOfClass("SpecialMesh") then
  1433. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1434. end
  1435. if c.Name == "Head" then
  1436. c:ClearAllChildren()
  1437. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1438. end
  1439. if c.ClassName == "MeshPart" then
  1440. c.TextureID = ""
  1441. end
  1442. if c:FindFirstChildOfClass("BodyPosition") then
  1443. c:FindFirstChildOfClass("BodyPosition"):remove()
  1444. end
  1445. if c:FindFirstChildOfClass("ParticleEmitter") then
  1446. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1447. end
  1448. c.Parent = NewCharacter
  1449. c.Name = "DeadPart"
  1450. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1451. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1452. end
  1453. end
  1454. Char:remove()
  1455. Debris:AddItem(NewCharacter,5)
  1456. end
  1457.  
  1458. function Kill2(Char)
  1459. local NewCharacter = IT("Model",Effects)
  1460. NewCharacter.Name = "Ow im ded ;-;"
  1461. for _, c in pairs(Char:GetDescendants()) do
  1462. if c:IsA("BasePart") and c.Transparency == 0 then
  1463. if c.Parent == Char then
  1464. end
  1465. c:BreakJoints()
  1466. c.Material = "Glass"
  1467. c.Color = C3(1,0,0)
  1468. c.CanCollide = true
  1469. c.Transparency = 0.3
  1470. if c:FindFirstChildOfClass("SpecialMesh") then
  1471. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1472. end
  1473. if c.Name == "Head" then
  1474. c:ClearAllChildren()
  1475. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1476. end
  1477. if c.ClassName == "MeshPart" then
  1478. c.TextureID = ""
  1479. end
  1480. if c:FindFirstChildOfClass("BodyPosition") then
  1481. c:FindFirstChildOfClass("BodyPosition"):remove()
  1482. end
  1483. if c:FindFirstChildOfClass("ParticleEmitter") then
  1484. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1485. end
  1486. c.Parent = NewCharacter
  1487. c.Name = "DeadPart"
  1488. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1489. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1490. end
  1491. end
  1492. Char:remove()
  1493. Debris:AddItem(NewCharacter,5)
  1494. end
  1495.  
  1496. function Banish(Foe)
  1497. if Foe then
  1498. coroutine.resume(coroutine.create(function()
  1499. --if game.Players:FindFirstChild(Foe.Name) then
  1500. table.insert(TOBANISH,Foe.Name)
  1501. printbye(Foe.Name)
  1502. --end
  1503. Foe.Archivable = true
  1504. local CLONE = Foe:Clone()
  1505. Foe:Destroy()
  1506. CLONE.Parent = Effects
  1507. CLONE:BreakJoints()
  1508. local MATERIALS = {"Glass","Neon"}
  1509. for _, c in pairs(CLONE:GetDescendants()) do
  1510. if c:IsA("BasePart") then
  1511. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1512. CreateSound(340722848, c, 10, 1, false)
  1513. end
  1514. c.Anchored = true
  1515. c.Transparency = c.Transparency + 0.2
  1516. c.Material = MATERIALS[MRANDOM(1,2)]
  1517. c.Color = C3(1,0,0)
  1518. if c.ClassName == "MeshPart" then
  1519. c.TextureID = ""
  1520. end
  1521. if c:FindFirstChildOfClass("SpecialMesh") then
  1522. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1523. end
  1524. if c:FindFirstChildOfClass("Decal") then
  1525. c:FindFirstChildOfClass("Decal"):remove()
  1526. end
  1527. c.Name = "Banished"
  1528. c.CanCollide = false
  1529. else
  1530. c:remove()
  1531. end
  1532. end
  1533. local A = false
  1534. for i = 1, 35 do
  1535. if A == false then
  1536. A = true
  1537. elseif A == true then
  1538. A = false
  1539. end
  1540. for _, c in pairs(CLONE:GetDescendants()) do
  1541. if c:IsA("BasePart") then
  1542. c.Anchored = true
  1543. c.Material = MATERIALS[MRANDOM(1,2)]
  1544. c.Transparency = c.Transparency + 0.8/35
  1545. if A == false then
  1546. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1547. elseif A == true then
  1548. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1549. end
  1550. end
  1551. end
  1552. Swait()
  1553. end
  1554. CLONE:remove()
  1555. end))
  1556. end
  1557. end
  1558.  
  1559. function Kickish(Foe)
  1560. if Foe then
  1561. coroutine.resume(coroutine.create(function()
  1562. if game.Players:FindFirstChild(Foe.Name) then
  1563. table.insert(TOBANISH,Foe.Name)
  1564. printbye(Foe.Name)
  1565. end
  1566. Foe.Archivable = true
  1567. local CLONE = Foe:Clone()
  1568. Foe:Destroy()
  1569. CLONE.Parent = Effects
  1570. CLONE:BreakJoints()
  1571. local MATERIALS = {"Glass","Neon"}
  1572. for _, c in pairs(CLONE:GetDescendants()) do
  1573. if c:IsA("BasePart") then
  1574. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1575. CreateSound(340722848, c, 10, 1, false)
  1576. end
  1577. c:Destroy()
  1578. c:Kick("GoodBye Noob")
  1579. else
  1580. c:remove()
  1581. end
  1582. end
  1583. local A = false
  1584. for i = 1, 35 do
  1585. if A == false then
  1586. A = true
  1587. elseif A == true then
  1588. A = false
  1589. end
  1590. for _, c in pairs(game.Players:GetPlayers()) do
  1591.  
  1592. end
  1593. Swait()
  1594. end
  1595. end))
  1596. end
  1597. end
  1598.  
  1599. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1600. local CHILDREN = workspace:GetDescendants()
  1601. for index, CHILD in pairs(CHILDREN) do
  1602. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1603. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1604. if HUM then
  1605. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1606. if TORSO then
  1607. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1608. if ISBANISH == true then
  1609. Banish(CHILD)
  1610. else
  1611. if ISBANISH == "Gravity" then
  1612. HUM.PlatformStand = true
  1613. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1614. local grav = Instance.new("BodyPosition",TORSO)
  1615. grav.D = 15
  1616. grav.P = 20000
  1617. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1618. grav.position = TORSO.Position
  1619. grav.Name = "V3BanishForce"..Player.Name
  1620. else
  1621. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1622. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1623. end
  1624. else
  1625. HUM.PlatformStand = false
  1626. end
  1627. end
  1628. elseif ISBANISH == "Gravity" then
  1629. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1630. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1631. HUM.PlatformStand = false
  1632. end
  1633. end
  1634. end
  1635. end
  1636. end
  1637. end
  1638. end
  1639.  
  1640. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1641. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1642. local mesh = IT("SpecialMesh",wave)
  1643. mesh.MeshType = "Sphere"
  1644. mesh.Scale = SIZE
  1645. mesh.Offset = VT(0,0,0)
  1646. wave.CFrame = CFRAME
  1647. coroutine.resume(coroutine.create(function(PART)
  1648. for i = 1, WAIT do
  1649. Swait()
  1650. mesh.Scale = mesh.Scale + GROW
  1651. wave.Transparency = wave.Transparency + (1/WAIT)
  1652. if wave.Transparency > 0.99 then
  1653. wave:remove()
  1654. end
  1655. end
  1656. end))
  1657. end
  1658.  
  1659. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1660. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1661. local mesh = IT("SpecialMesh",wave)
  1662. mesh.MeshType = "FileMesh"
  1663. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1664. mesh.Scale = SIZE
  1665. mesh.Offset = VT(0,0,0)
  1666. wave.CFrame = CFRAME
  1667. coroutine.resume(coroutine.create(function(PART)
  1668. for i = 1, WAIT do
  1669. Swait()
  1670. mesh.Scale = mesh.Scale + GROW
  1671. if DOESROT == true then
  1672. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1673. end
  1674. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1675. if wave.Transparency > 0.99 then
  1676. wave:remove()
  1677. end
  1678. end
  1679. end))
  1680. end
  1681.  
  1682. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  1683. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1684. local mesh = IT("SpecialMesh",wave)
  1685. mesh.MeshType = "Sphere"
  1686. mesh.Scale = SIZE
  1687. mesh.Offset = VT(0,0,0)
  1688. wave.CFrame = CFRAME
  1689. coroutine.resume(coroutine.create(function(PART)
  1690. for i = 1, WAIT do
  1691. Swait()
  1692. mesh.Scale = mesh.Scale + GROW
  1693. wave.Transparency = wave.Transparency + (1/WAIT)
  1694. if wave.Transparency > 0.99 then
  1695. wave:remove()
  1696. end
  1697. end
  1698. end))
  1699. end
  1700.  
  1701. function ApplyDamage(Humanoid,Damage,OneShot)
  1702. Damage = Damage * DAMAGEMULTIPLIER
  1703. local DEAD = false
  1704. if Humanoid.Health < 2000 and OneShot == false then
  1705. if Humanoid.Health - Damage > 0 then
  1706. Humanoid.Health = Humanoid.Health - Damage
  1707. else
  1708. Banish(Humanoid.Parent)
  1709. DEAD = true
  1710. end
  1711. else
  1712. DEAD = true
  1713. Banish(Humanoid.Parent)
  1714. end
  1715. if DEAD == true then
  1716. local PARTS = {}
  1717. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1718. if CHILD:IsA("BasePart") then
  1719. table.insert(PARTS,CHILD)
  1720. end
  1721. end
  1722. coroutine.resume(coroutine.create(function()
  1723. wait(2)
  1724. repeat
  1725. Swait()
  1726. local PIECE = nil
  1727. if MRANDOM(1,5) == 1 then
  1728. for E = 1, #PARTS do
  1729. if MRANDOM(1,5) == 1 then
  1730. PIECE = PARTS[E]
  1731. table.remove(PARTS,E)
  1732. break
  1733. end
  1734. end
  1735. end
  1736. if PIECE ~= nil then
  1737. if PIECE.Name == "Head" then
  1738. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1739. else
  1740. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1741. end
  1742. PIECE:remove()
  1743. end
  1744. until #PARTS == 0
  1745. end))
  1746. end
  1747. end
  1748.  
  1749. function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  1750. local CHILDREN = workspace:GetDescendants()
  1751. for index, CHILD in pairs(CHILDREN) do
  1752. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1753. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1754. if HUM then
  1755. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1756. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1757. if IZBANISH == true then
  1758. Kill2(CHILD)
  1759. else
  1760. local DMG = MRANDOM(MINDMG, MAXDMG)
  1761. ApplyDamage(HUM, DMG, TORSO)
  1762. end
  1763. if FLING > 0 then
  1764. for _, c in pairs(CHILD:GetChildren()) do
  1765. if c:IsA("BasePart") then
  1766. local bv = Instance.new("BodyVelocity")
  1767. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1768. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1769. bv.Parent = c
  1770. Debris:AddItem(bv, 0.05)
  1771. end
  1772. end
  1773. end
  1774. end
  1775. end
  1776. end
  1777. end
  1778. end
  1779.  
  1780. --//=================================\\
  1781. --|| ATTACK FUNCTIONS AND STUFF
  1782. --\\=================================//
  1783.  
  1784. function Unload()
  1785. ATTACK = true
  1786. Rooted = false
  1787. repeat
  1788. if COMBO == 1 then
  1789. COMBO = 2
  1790. for i=0, 0.6, 0.5 / Animation_Speed do
  1791. Swait()
  1792. turnto(Mouse.Hit.p)
  1793. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1794. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1795. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1796. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1799. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1800. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1801. end
  1802. local HIT,POS = CastProperRay(LeftHole.Position, Mouse.Hit.p, 1000, Character)
  1803. SpawnTrail(LeftHole.Position,POS)
  1804. if HIT ~= nil then
  1805. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1806. Banish(HIT.Parent)
  1807. end
  1808. end
  1809. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1810. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1811. CreateSound(1463566014, LeftHole, 10, 1, false)
  1812. for i=0, 0.2, 0.5 / Animation_Speed do
  1813. Swait()
  1814. turnto(Mouse.Hit.p)
  1815. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1816. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1821. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1822. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1823. end
  1824. elseif COMBO == 2 then
  1825. COMBO = 1
  1826. for i=0, 0.6, 0.5 / Animation_Speed do
  1827. Swait()
  1828. turnto(Mouse.Hit.p)
  1829. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1830. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1831. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1832. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1833. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1834. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1835. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1836. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1837. end
  1838. local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character)
  1839. SpawnTrail(RightHole.Position,POS)
  1840. if HIT ~= nil then
  1841. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1842. Banish(HIT.Parent)
  1843. end
  1844. end
  1845. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1846. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1847. CreateSound(1463566014, RightHole, 10, 1, false)
  1848. for i=0, 0.2, 0.5 / Animation_Speed do
  1849. Swait()
  1850. turnto(Mouse.Hit.p)
  1851. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1852. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1857. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1859. end
  1860. end
  1861. until KEYHOLD == false
  1862. ATTACK = false
  1863. Rooted = false
  1864. end
  1865.  
  1866. function Deathbound()
  1867. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Character, 10, 1, false)
  1868. ATTACK = true
  1869. Rooted = true
  1870. for i=0, 1, 0.1 / Animation_Speed do
  1871. Swait()
  1872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1878. end
  1879. local DONE = false
  1880. local GATE = nil
  1881. local GATESPIN = true
  1882. coroutine.resume(coroutine.create(function()
  1883. repeat
  1884. Swait()
  1885. if GATE ~= nil then
  1886. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1887. end
  1888. until GATESPIN == false
  1889. end))
  1890. coroutine.resume(coroutine.create(function()
  1891. repeat
  1892. Swait()
  1893. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1894. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1895. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1896. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1897. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1898. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1899. until DONE == true
  1900. Swait(50)
  1901. for i = 1, 35 do
  1902. Swait(4)
  1903. local FIRED = false
  1904. local CHILDREN = workspace:GetDescendants()
  1905. for index, CHILD in pairs(CHILDREN) do
  1906. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1907. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1908. if HUM then
  1909. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1910. if TORSO then
  1911. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1912. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1913. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1914. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = 1.5, SoundVolume = 6})
  1915. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1916. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1917. Banish(CHILD)
  1918. FIRED = true
  1919. break
  1920. end
  1921. end
  1922. end
  1923. end
  1924. end
  1925. if FIRED == false then
  1926. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1927. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = 1.5, SoundVolume = 6})
  1928. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1929. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1930. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1931. if HITBOD ~= nil then
  1932. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1933. Banish(HITBOD.Parent)
  1934. end
  1935. end
  1936. end
  1937. end
  1938. for i = 1, 45 do
  1939. Swait()
  1940. GATE.Size = GATE.Size - VT(3,0,3)
  1941. end
  1942. GATESPIN = false
  1943. GATE:remove()
  1944. end))
  1945. Swait(15)
  1946. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1947. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  1948. local DECAL = IT("Decal",GATE)
  1949. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  1950. DECAL.Face = "Top"
  1951. GATE.CFrame = CF(HITPOS)
  1952. CreateSound(160772554, GATE, 7, 1.3, false)
  1953. for i = 1, 45 do
  1954. Swait()
  1955. GATE.Size = GATE.Size + VT(3,0,3)
  1956. end
  1957. CreateSound(1463566014, RightHole, 7, 1, false)
  1958. CreateSound(1463566014, LeftHole, 7, 1, false)
  1959. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1960. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1961. ATTACK = false
  1962. Rooted = false
  1963. DONE = true
  1964. end
  1965.  
  1966. function Cleave()
  1967. ATTACK = true
  1968. Rooted = false
  1969. local TARGET = nil
  1970. local TORS = nil
  1971. local GYRO = IT("BodyGyro",RootPart)
  1972. GYRO.D = 175
  1973. GYRO.P = 20000
  1974. GYRO.MaxTorque = VT(0,40000,0)
  1975. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1976. local RANGE = 5
  1977. CreateSound(541909867, Torso, 7, 1, false)
  1978. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1979. for i=0, 1, 0.1 / Animation_Speed do
  1980. Swait()
  1981. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1982. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1983. local CHILDREN = workspace:GetDescendants()
  1984. for index, CHILD in pairs(CHILDREN) do
  1985. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1986. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1987. if HUM then
  1988. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1989. if TORSO then
  1990. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1991. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1992. TARGET = HUM
  1993. TORS = TORSO
  1994. end
  1995. end
  1996. end
  1997. end
  1998. end
  1999. if TARGET then
  2000. break
  2001. end
  2002. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  2004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2006. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2007. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2008. end
  2009. GYRO:remove()
  2010. if TORS and TARGET then
  2011. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2012. Rooted = true
  2013. local BODYPOSITION = IT("BodyPosition", TORS)
  2014. BODYPOSITION.P = 2000
  2015. BODYPOSITION.D = 100
  2016. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2017. for i=0, 1, 0.1 / Animation_Speed do
  2018. Swait()
  2019. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2020. BODYPOSITION.Position = TORS.Position
  2021. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2027. end
  2028. for i=0, 0.4, 0.1 / Animation_Speed do
  2029. Swait()
  2030. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2031. BODYPOSITION.Position = TORS.Position
  2032. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2038. end
  2039. local LOOP = 0
  2040. local LOOP2 = 0
  2041. for i=0, 5, 0.1 / Animation_Speed do
  2042. Swait()
  2043. LOOP = LOOP + 1
  2044. TORS.Anchored = true
  2045. LOOP2 = LOOP2 + 1
  2046. if LOOP2 >= 5 then
  2047. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2048. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2049. CreateSound(1463566014, RightHole, 7, 1, false)
  2050. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  2051. LOOP2 = 0
  2052. end
  2053. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2054. BODYPOSITION.Position = TORS.Position
  2055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2059. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2061. end
  2062. BODYPOSITION:remove()
  2063. if TORS then
  2064. TORS.Anchored = false
  2065. Banish(TORS.Parent)
  2066. end
  2067. end
  2068. ATTACK = false
  2069. Rooted = false
  2070. end
  2071.  
  2072. function Smite()
  2073. ATTACK = true
  2074. Rooted = true
  2075. CreateSound(1368573150, RightArm, 3, 1.5)
  2076. for i=0, 2, 0.1 / Animation_Speed do
  2077. Swait()
  2078. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2079. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(40)), 0.5 / Animation_Speed)
  2080. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 3 / Animation_Speed)
  2081. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(150), RAD(35), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2082. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2083. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2084. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2085. end
  2086. local POWER = 1
  2087. repeat
  2088. Swait()
  2089. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2090. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2091. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(40)), 0.5 / Animation_Speed)
  2092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 3 / Animation_Speed)
  2093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(150), RAD(35), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2095. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2096. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2097. POWER = POWER + 0.009
  2098. if POWER >= 6 then
  2099. POWER = 6
  2100. end
  2101. until KEYHOLD == false
  2102. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
  2103. CreateSound("1137548130", Effects, 10, 1)
  2104. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  2105. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  2106. for i=0, 1, 0.1 / Animation_Speed do
  2107. Swait()
  2108. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2109. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2113. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.7*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(10), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2114. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.13) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  2115. end
  2116. ATTACK = false
  2117. Rooted = false
  2118. end
  2119.  
  2120. function Shot()
  2121. ATTACK = true
  2122. Rooted = false
  2123. for i=0, 0.5, 0.1 / Animation_Speed do
  2124. Swait()
  2125. turnto(Mouse.Hit.p)
  2126. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2130. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2132. end
  2133. repeat
  2134. for i=0, 0.5, 0.1 / Animation_Speed do
  2135. Swait()
  2136. turnto(Mouse.Hit.p)
  2137. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2143. end
  2144. local HIT,POS = CastProperRay(LeftHole.Position, Mouse.Hit.p, 1000, Character)
  2145. SpawnTrail(LeftHole.Position,POS)
  2146. if HIT ~= nil then
  2147. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2148. Kickish(HIT.Parent)
  2149. end
  2150. end
  2151. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2152. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2153. CreateSound(1463566014, LeftHole, 10, 1, false)
  2154.  
  2155. local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character)
  2156. SpawnTrail(RightHole.Position,POS)
  2157. if HIT ~= nil then
  2158. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2159. Kickish(HIT.Parent)
  2160. end
  2161. end
  2162. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2163. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2164. CreateSound(1463566014, RightHole, 10, 1, false)
  2165. for i=0, 0.5, 0.1 / Animation_Speed do
  2166. Swait()
  2167. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2168. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2170. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2171. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2172. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2173. end
  2174. until KEYHOLD == false
  2175. ATTACK = false
  2176. Rooted = false
  2177. end
  2178.  
  2179. --//=================================\\
  2180. --|| ASSIGN THINGS TO KEYS
  2181. --\\=================================//
  2182.  
  2183. function MouseDown(Mouse)
  2184. if ATTACK == false then
  2185. end
  2186. end
  2187.  
  2188. function MouseUp(Mouse)
  2189. HOLD = false
  2190. end
  2191.  
  2192. function KeyDown(Key)
  2193. KEYHOLD = true
  2194. if Key == "z" and ATTACK == false then
  2195. Unload()
  2196. end
  2197.  
  2198. if Key == "x" and ATTACK == false then
  2199. Deathbound()
  2200. end
  2201.  
  2202. if Key == "c" and ATTACK == false then
  2203. Cleave()
  2204. end
  2205.  
  2206. if Key == "v" and ATTACK == false then
  2207. Smite()
  2208. end
  2209.  
  2210. if Key == "f" and ATTACK == false then
  2211. Shot()
  2212. end
  2213. end
  2214.  
  2215. local OVMID = 1383202399
  2216. local OVMPIT = 1
  2217. local OVMVOL = 5
  2218. local VOLSS = 5
  2219. plr.Chatted:connect(function(message)
  2220. if message:sub(1,5) == "play/" then
  2221. OVMID = message:sub(6)
  2222. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  2223. elseif message:sub(1,6) == "pitch/" then
  2224. OVMPIT = message:sub(7)
  2225. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  2226. elseif message:sub(1,4) == "vol/" then
  2227. OVMVOL = message:sub(5)
  2228. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  2229. elseif message:sub(1,7) == "sr/" then
  2230. kan.TimePosition = 0
  2231. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  2232. end
  2233. end)
  2234.  
  2235. function KeyUp(Key)
  2236. KEYHOLD = false
  2237. end
  2238.  
  2239. Mouse.Button1Down:connect(function(NEWKEY)
  2240. MouseDown(NEWKEY)
  2241. end)
  2242. Mouse.Button1Up:connect(function(NEWKEY)
  2243. MouseUp(NEWKEY)
  2244. end)
  2245. Mouse.KeyDown:connect(function(NEWKEY)
  2246. KeyDown(NEWKEY)
  2247. end)
  2248. Mouse.KeyUp:connect(function(NEWKEY)
  2249. KeyUp(NEWKEY)
  2250. end)
  2251.  
  2252. --//=================================\\
  2253. --\\=================================//
  2254.  
  2255.  
  2256.  
  2257. function unanchor()
  2258. if UNANCHOR == true then
  2259. g = Character:GetChildren()
  2260. for i = 1, #g do
  2261. if g[i].ClassName == "Part" then
  2262. g[i].Anchored = false
  2263. end
  2264. end
  2265. end
  2266. end
  2267.  
  2268.  
  2269. --//=================================\\
  2270. --|| WRAP THE WHOLE SCRIPT UP
  2271. --\\=================================//
  2272.  
  2273. Humanoid.Changed:connect(function(Jump)
  2274. if Jump == "Jump" and (Disable_Jump == true) then
  2275. Humanoid.Jump = false
  2276. end
  2277. end)
  2278.  
  2279. local CONNECT = nil
  2280.  
  2281. while true do
  2282. Swait()
  2283. ANIMATE.Parent = nil
  2284. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2285. Humanoid = IT("Humanoid",Character)
  2286. end
  2287. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2288. v:Stop();
  2289. end
  2290. SINE = SINE + CHANGE
  2291. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2292. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2293. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2294. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2295. local sickPlaybackLoudness = GetClientProperty(kan,'PlaybackLoudness')
  2296. local all = sickPlaybackLoudness/80
  2297. CamShakeAll(all,all,char)
  2298. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2299. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2300. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2301. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2302. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2303. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2304. end
  2305. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2306. ANIM = "Jump"
  2307. if ATTACK == false then
  2308. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2309. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2310. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2316. end
  2317. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2318. ANIM = "Fall"
  2319. if ATTACK == false then
  2320. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2321. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2322. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2323. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2324. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2325. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2326. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2327. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2328. end
  2329. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2330. ANIM = "Idle"
  2331. if ATTACK == false then
  2332. local vis = sickPlaybackLoudness/70
  2333. WACKYEFFECT({EffectType = "Block", Size = VT(vis,vis,vis)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2334. WACKYEFFECT({EffectType = "Block", Size = VT(vis,vis,vis)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 3 / Animation_Speed)
  2336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
  2338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(150), RAD(35), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2340. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2342. end
  2343. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2344. ANIM = "Walk"
  2345. if ATTACK == false then
  2346. local vis = sickPlaybackLoudness/70
  2347. WACKYEFFECT({EffectType = "Block", Size = VT(vis,vis,vis)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2348. WACKYEFFECT({EffectType = "Block", Size = VT(vis,vis,vis)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2349. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2350. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, - 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2352. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, - 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2353. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2354. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2355. end
  2356. end
  2357. if kan.Parent ~= char then
  2358. kan = Instance.new("Sound",tors)
  2359. kan.PlaybackSpeed = currentPitch
  2360. kan.Pitch = currentPitch
  2361. kan.SoundId = currentThemePlaying
  2362. kan.Looped = true
  2363. kan.Name = "wrecked"
  2364. kan.TimePosition = TimeValue
  2365. kan:Resume()
  2366. end
  2367. if mutedtog == false then
  2368. kan.Volume = currentVol
  2369. elseif mutedtog == true then
  2370. kan.Volume = 0
  2371. end
  2372. kan.PlaybackSpeed = currentPitch
  2373. kan.Pitch = currentPitch
  2374. kan.SoundId = currentThemePlaying
  2375. kan.Looped = true
  2376. kan.Parent = char
  2377. kan:Resume()
  2378. kan.Volume = 10
  2379. unanchor()
  2380. Humanoid.MaxHealth = "inf"
  2381. Humanoid.Health = "inf"
  2382. if Rooted == false then
  2383. Disable_Jump = false
  2384. Humanoid.WalkSpeed = Speed
  2385. elseif Rooted == true then
  2386. Disable_Jump = true
  2387. Humanoid.WalkSpeed = 0
  2388. end
  2389. if MODE == "Devil" then
  2390. if HITFLOOR ~= nil then
  2391. if MRANDOM(1,4) == 1 then
  2392. local ect = sickPlaybackLoudness/90
  2393. WACKYEFFECT({EffectType = "Box", Size = VT(ect,5,ect), Size2 = VT(0,5,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),-2.5,MRANDOM(-15,15)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2394. WACKYEFFECT({EffectType = "Box", Size = VT(ect,5,ect), Size2 = VT(0,5,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),-2.5,MRANDOM(-15,15)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(ect,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2395. end
  2396. end
  2397. end
  2398. for _, c in pairs(Weapon:GetDescendants()) do
  2399. local ect = sickPlaybackLoudness/70
  2400. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2401. c.Material = "Glass"
  2402. c.Color = C3(0,0,0)
  2403. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2404. c.Color = C3(ect,0,0)
  2405. c.Material = "Neon"
  2406. end
  2407. end
  2408. if Head:FindFirstChild("face") then
  2409. Head.face.Texture = "rbxassetid://403870689"
  2410. end
  2411. for _, c in pairs(Character:GetChildren()) do
  2412. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2413. c.Color = C3(21,71,109)
  2414. c.Material = "Neon"
  2415. if c:FindFirstChildOfClass("ParticleEmitter") then
  2416. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2417. end
  2418. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2419. c:remove()
  2420. end
  2421. end
  2422. end
  2423. --//=================================\\
  2424. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement