Advertisement
SirSkyvalky

Untitled

Aug 17th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| Edited By adam222334I (follow me :D )
  3. --\\====================================================//--
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87. ----------skidded by blobgi jk
  88. local plr = owner
  89. local char = plr.Character
  90. local hum = char.Humanoid
  91. local hed = char.Head
  92. Character = char
  93. Torso = Character["Torso"]
  94. Head = Character["Head"]
  95. RightArm = Character["Right Arm"]
  96. LeftArm = Character["Left Arm"]
  97. RightLeg = Character["Right Leg"]
  98. LeftLeg = Character["Left Leg"]
  99.  
  100. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  101. particleemitter.VelocitySpread = 350
  102. particleemitter.Lifetime = NumberRange.new(1)
  103. particleemitter.Speed = NumberRange.new(0)
  104. cringememe= {}
  105. for i=0, 19 do
  106. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  107. end
  108. particleemitter.Size = NumberSequence.new(cringememe)
  109. particleemitter.Rate = 50
  110. particleemitter.LockedToPart = true
  111. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  112. particleemitter.LightEmission = 1
  113. particleemitter.Texture = "rbxassetid://584827399"
  114. particleemitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  115.  
  116. local particleemitter = Instance.new('ParticleEmitter', Torso)
  117. particleemitter.VelocitySpread = 250
  118. particleemitter.Lifetime = NumberRange.new(3)
  119. particleemitter.Speed = NumberRange.new(1.5)
  120. youAreATHOT = {}
  121. for i=0, 19 do
  122. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  123. end
  124. particleemitter.Size = NumberSequence.new(youAreATHOT)
  125. particleemitter.Rate = 50
  126. particleemitter.LockedToPart = false
  127. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  128. particleemitter.LightEmission = 1
  129. particleemitter.Texture = "rbxassetid://584827399"
  130. particleemitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  131.  
  132. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  133. particleemitter.VelocitySpread = 350
  134. particleemitter.Lifetime = NumberRange.new(1)
  135. particleemitter.Speed = NumberRange.new(0)
  136. cringememe2= {}
  137. for i=0, 19 do
  138. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  139. end
  140. particleemitter.Size = NumberSequence.new(cringememe2)
  141. particleemitter.Rate = 50
  142. particleemitter.LockedToPart = true
  143. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  144. particleemitter.LightEmission = 1
  145. particleemitter.Texture = "rbxassetid://584827399"
  146. particleemitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  147.  
  148. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  149. particleemitter.VelocitySpread = 350
  150. particleemitter.Lifetime = NumberRange.new(1)
  151. particleemitter.Speed = NumberRange.new(0)
  152. cringememe3= {}
  153. for i=0, 19 do
  154. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  155. end
  156. particleemitter.Size = NumberSequence.new(cringememe3)
  157. particleemitter.Rate = 50
  158. particleemitter.LockedToPart = true
  159. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  160. particleemitter.LightEmission = 1
  161. particleemitter.Texture = "rbxassetid://584827399"
  162. particleemitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  163.  
  164. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  165. particleemitter.VelocitySpread = 350
  166. particleemitter.Lifetime = NumberRange.new(1)
  167. particleemitter.Speed = NumberRange.new(0)
  168. cringememe4= {}
  169. for i=0, 19 do
  170. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  171. end
  172. particleemitter.Size = NumberSequence.new(cringememe4)
  173. particleemitter.Rate = 50
  174. particleemitter.LockedToPart = true
  175. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  176. particleemitter.LightEmission = 1
  177. particleemitter.Texture = "rbxassetid://584827399"
  178. particleemitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  179.  
  180.  
  181.  
  182. ---------------------------------
  183. local textblin = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  184. textblin.Adornee = cykablyat
  185. textblin.Name = "ky"
  186. textblin.Size = UDim2.new(2, 0, 1.2, 0)
  187. textblin.StudsOffset = Vector3.new(-5, 3, 0)
  188. local textblin= Instance.new("TextLabel", textblin)
  189. textblin.Size = UDim2.new(6, 0, 1, 0)
  190. textblin.FontSize = "Size8"
  191. textblin.TextScaled = true
  192. textblin.TextTransparency = 0
  193. textblin.BackgroundTransparency = 1
  194. textblin.TextTransparency = 0
  195. textblin.TextStrokeTransparency = 0
  196. textblin.Font = "SciFi"
  197. textblin.TextStrokeColor3 = Color3.new(0, 0, 255)
  198. textblin.Text = "Future-eye"
  199. -------------------------
  200. TrailSettings = {
  201. Lifetime = 0.5,
  202. Texture = 'rbxassetid://31270182',
  203. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  204. Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color),
  205. Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color),
  206. AllBody = true,
  207. UpperBodyOnly = false,
  208. LowerBodyOnly = false,
  209. Accessories = false,
  210. Extras = true,
  211. R15 = false, --Change to true if you're using R15
  212. R15Parts = {
  213. 'UpperTorso',
  214. 'LowerTorso',
  215. }
  216. }
  217.  
  218. local Trail; --Making other Trails uses this in this Script
  219.  
  220. --UpperBody Function
  221. UpperBody = function()
  222. if TrailSettings.R15 == false then
  223. A0 = Instance.new('Attachment',Character.Torso)
  224. A1 = Instance.new('Attachment',Character.Head)
  225. A2 = Instance.new('Attachment',Character['Right Arm'])
  226. A3 = Instance.new('Attachment',Character['Left Arm'])
  227. Trail = Instance.new('Trail',Character)
  228. Trail.Attachment0 = A0
  229. Trail.Attachment1 = A1
  230. Trail.Texture = TrailSettings.Texture
  231. Trail.Color = TrailSettings.Color1
  232. Trail.Lifetime = TrailSettings.Lifetime
  233. local Trail2 = Trail:Clone()
  234. Trail2.Parent = Character
  235. Trail2.Attachment1 = A2
  236. local Trail3 = Trail:Clone()
  237. Trail3.Parent = Character
  238. Trail3.Attachment1 = A3
  239. local Trail6 = Trail:Clone()
  240. Trail6.Parent = Character
  241. Trail6.Attachment0 = A1
  242. Trail6.Attachment1 = A2
  243. local Trail7 = Trail:Clone()
  244. Trail7.Parent = Character
  245. Trail7.Attachment0 = A1
  246. Trail7.Attachment1 = A3
  247. else
  248. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  249. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  250. A1 = Instance.new('Attachment',Character.Head)
  251. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  252. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  253. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  254. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  255. Trail = Instance.new('Trail',Character)
  256. Trail.Attachment0 = A0
  257. Trail.Attachment1 = A1
  258. Trail.Texture = TrailSettings.Texture
  259. Trail.Color = TrailSettings.Color1
  260. Trail.Lifetime = TrailSettings.Lifetime
  261. local Trail2 = Trail:Clone()
  262. Trail2.Parent = Character
  263. Trail2.Attachment1 = A2
  264. local Trail3 = Trail:Clone()
  265. Trail3.Parent = Character
  266. Trail3.Attachment1 = A3
  267. local Trail6 = Trail:Clone()
  268. Trail6.Parent = Character
  269. Trail6.Attachment0 = A1
  270. Trail6.Attachment1 = A2
  271. local Trail7 = Trail:Clone()
  272. Trail7.Parent = Character
  273. Trail7.Attachment0 = A1
  274. Trail7.Attachment1 = A3
  275. --R15 Trails
  276. local Trail1R = Trail:Clone()
  277. Trail1R.Parent = Character
  278. Trail1R.Attachment1 = A2R
  279. local Trail2R = Trail:Clone()
  280. Trail2R.Parent = Character
  281. Trail2R.Attachment1 = A3R
  282. local Trail6R = Trail:Clone()
  283. Trail6.Parent = Character
  284. Trail6.Attachment0 = A1
  285. Trail6.Attachment1 = A2R
  286. local Trail7R = Trail:Clone()
  287. Trail7.Parent = Character
  288. Trail7.Attachment0 = A1
  289. Trail7.Attachment1 = A3R
  290. end
  291. end
  292.  
  293. --Lower Body Function
  294. LowerBody = function()
  295. if TrailSettings.R15 == false then
  296. A4 = Instance.new('Attachment',Character['Right Leg'])
  297. A5 = Instance.new('Attachment',Character['Left Leg'])
  298. local Trail4 = Trail:Clone()
  299. Trail4.Parent = Character
  300. Trail4.Attachment1 = A4
  301. local Trail5 = Trail:Clone()
  302. Trail5.Parent = Character
  303. Trail5.Attachment1 = A5
  304. local Trail8 = Trail:Clone()
  305. Trail8.Parent = Character
  306. Trail8.Attachment0 = A2
  307. Trail8.Attachment1 = A4
  308. Trail8.Color = TrailSettings.Color2
  309. local Trail9 = Trail:Clone()
  310. Trail9.Parent = Character
  311. Trail9.Attachment0 = A3
  312. Trail9.Attachment1 = A5
  313. Trail9.Color = TrailSettings.Color2
  314. local FT = Trail:Clone()
  315. FT.Parent = Character
  316. FT.Attachment0 = A4
  317. FT.Attachment1 = A5
  318. FT.Color = TrailSettings.Color2
  319. else
  320. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  321. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  322. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  323. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  324. local Trail4 = Trail:Clone()
  325. Trail4.Parent = Character
  326. Trail4.Attachment1 = A4
  327. local Trail5 = Trail:Clone()
  328. Trail5.Parent = Character
  329. Trail5.Attachment1 = A5
  330. local Trail8 = Trail:Clone()
  331. Trail8.Parent = Character
  332. Trail8.Attachment0 = A2
  333. Trail8.Attachment1 = A4
  334. Trail8.Color = TrailSettings.Color2
  335. local Trail9 = Trail:Clone()
  336. Trail9.Parent = Character
  337. Trail9.Attachment0 = A3
  338. Trail9.Attachment1 = A5
  339. Trail9.Color = TrailSettings.Color2
  340. local FT = Trail:Clone()
  341. FT.Parent = Character
  342. FT.Attachment0 = A4
  343. FT.Attachment1 = A5
  344. FT.Color = TrailSettings.Color2
  345. --R15 Trails
  346. local Trail3R = Trail:Clone()
  347. Trail3R.Parent = Character
  348. Trail3R.Attachment1 = A4R
  349. local Trail4R = Trail:Clone()
  350. Trail4R.Parent = Character
  351. Trail4R.Attachment1 = A5R
  352. local Trail8 = Trail:Clone()
  353. Trail8.Parent = Character
  354. Trail8.Attachment0 = A2R
  355. Trail8.Attachment1 = A4R
  356. Trail8.Color = TrailSettings.Color2
  357. local Trail9 = Trail:Clone()
  358. Trail9.Parent = Character
  359. Trail9.Attachment0 = A3R
  360. Trail9.Attachment1 = A5R
  361. Trail9.Color = TrailSettings.Color2
  362. local FT2R = Trail:Clone()
  363. FT2R.Parent = Character
  364. FT2R.Attachment0 = A4R
  365. FT2R.Attachment1 = A5R
  366. FT2R.Color = TrailSettings.Color2
  367. end
  368. end
  369.  
  370. --All Body Function calling Both Functions
  371. AllBody = function()
  372. UpperBody()
  373. LowerBody()
  374. end
  375.  
  376. --Checking to make sure that Only some Variables are Selected else do All Body
  377. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  378. TrailSettings.UpperBodyOnly = false
  379. TrailSettings.LowerBodyOnly = false
  380. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  381. TrailSettings.UpperBodyOnly = false
  382. TrailSettings.LowerBodyOnly = false
  383. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  384. TrailSettings.UpperBodyOnly = false
  385. TrailSettings.LowerBodyOnly = false
  386. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  387. TrailSettings.AllBody = true
  388. TrailSettings.UpperBodyOnly = false
  389. TrailSettings.LowerBodyOnly = false
  390. end
  391.  
  392. --Call Trail Functions
  393. if TrailSettings.UpperBodyOnly == true then
  394. UpperBody()
  395. print('Called Upper Body Trail')
  396. elseif TrailSettings.LowerBodyOnly == true then
  397. LowerBody()
  398. print('Called Lower Body Trail')
  399. elseif TrailSettings.AllBody == true then
  400. AllBody()
  401. print('Called Full Body Trail')
  402. end
  403.  
  404. --Trails for Accessories
  405. if TrailSettings.Accessories == true then
  406. for Index,Item in pairs(Character:GetChildren()) do
  407. if Item:IsA'Accessory' then
  408. local AA = Instance.new('Attachment',Item.Handle)
  409. local ATrail = Trail:Clone()
  410. ATrail.Parent = Character
  411. ATrail.Attachment1 = AA
  412. end
  413. end
  414. end
  415.  
  416. --Extras
  417. if TrailSettings.Extras == true then
  418. --Making an Invisible Platform Part
  419. local a = Instance.new('Part',Character)
  420. a.CanCollide = false
  421. a.Size = Vector3.new(2,.2,2)
  422. a.Transparency = 1
  423.  
  424. --Constantly putting it under your feet
  425. if TrailSettings.R15 == false then
  426. spawn(function()
  427. game:GetService('RunService').RenderStepped:connect(function()
  428. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  429. end)
  430. end)
  431. else
  432. spawn(function()
  433. game:GetService('RunService').RenderStepped:connect(function()
  434. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  435. end)
  436. end)
  437. end
  438.  
  439. --Make a Trail from both feet to the Platform
  440. spawn(function()
  441. repeat wait() until Trail
  442. local AB = Instance.new('Attachment',a)
  443. local ABT = Trail:Clone()
  444. ABT.Parent = Character
  445. ABT.Attachment0 = A4
  446. ABT.Attachment1 = AB
  447. ABT.Color = TrailSettings.Color2
  448. local ABT2 = Trail:Clone()
  449. ABT2.Parent = Character
  450. ABT2.Attachment0 = A5
  451. ABT2.Attachment1 = AB
  452. ABT2.Color = TrailSettings.Color2
  453. end)
  454. end
  455. --
  456.  
  457. wait(0.2)
  458.  
  459. Player = game:GetService("Players").LocalPlayer
  460. PlayerGui = Player.PlayerGui
  461. Cam = workspace.CurrentCamera
  462. Backpack = Player.Backpack
  463. Character = Player.Character
  464. Humanoid = Character.Humanoid
  465.  
  466. RootPart = Character["HumanoidRootPart"]
  467. Torso = Character["Torso"]
  468. Head = Character["Head"]
  469. RightArm = Character["Right Arm"]
  470. LeftArm = Character["Left Arm"]
  471. RightLeg = Character["Right Leg"]
  472. LeftLeg = Character["Left Leg"]
  473. RootJoint = RootPart["RootJoint"]
  474. Neck = Torso["Neck"]
  475. RightShoulder = Torso["Right Shoulder"]
  476. LeftShoulder = Torso["Left Shoulder"]
  477. RightHip = Torso["Right Hip"]
  478. LeftHip = Torso["Left Hip"]
  479. local sick = Instance.new("Sound",Torso)
  480. sick.SoundId = "rbxassetid://848439234"
  481. sick.Looped = true
  482. sick.Pitch = 1
  483. sick.Volume = 5
  484. sick:Play()
  485.  
  486. IT = Instance.new
  487. CF = CFrame.new
  488. VT = Vector3.new
  489. RAD = math.rad
  490. C3 = Color3.fromRGB
  491. UD2 = UDim2.new
  492. BRICKC = BrickColor.new
  493. ANGLES = CFrame.Angles
  494. EULER = CFrame.fromEulerAnglesXYZ
  495. COS = math.cos
  496. ACOS = math.acos
  497. SIN = math.sin
  498. ASIN = math.asin
  499. ABS = math.abs
  500. MRANDOM = math.random
  501. FLOOR = math.floor
  502.  
  503. --//=================================\\
  504. --|| USEFUL VALUES
  505. --\\=================================//
  506.  
  507. Animation_Speed = 2
  508. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  509. local Speed = 50
  510. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  511. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  512. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  513. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  514. local DAMAGEMULTIPLIER = 1
  515. local ANIM = "Idle"
  516. local ATTACK = false
  517. local EQUIPPED = false
  518. local HOLD = false
  519. local COMBO = 1
  520. local Rooted = false
  521. local SINE = 0
  522. local KEYHOLD = false
  523. local CHANGE = 2 / Animation_Speed
  524. local WALKINGANIM = false
  525. local VALUE1 = false
  526. local VALUE2 = false
  527. local ROBLOXIDLEANIMATION = IT("Animation")
  528. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  529. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  530. --ROBLOXIDLEANIMATION.Parent = Humanoid
  531. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  532. WEAPONGUI.Name = "Weapon GUI"
  533. local Effects = IT("Folder", Character)
  534. Effects.Name = "Effects"
  535. local ANIMATOR = Humanoid.Animator
  536. local ANIMATE = Character.Animate
  537. local UNANCHOR = true
  538. local LAUGHS = {834001699,834001752,834001797,834001828}
  539. local SONGS = {1534958855}
  540. local CHOICE = MRANDOM(1)
  541.  
  542. --//=================================\\
  543. --\\=================================//
  544.  
  545.  
  546. --//=================================\\
  547. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  548. --\\=================================//
  549.  
  550. ArtificialHB = Instance.new("BindableEvent", script)
  551. ArtificialHB.Name = "ArtificialHB"
  552.  
  553. script:WaitForChild("ArtificialHB")
  554.  
  555. frame = Frame_Speed
  556. tf = 0
  557. allowframeloss = false
  558. tossremainder = false
  559. lastframe = tick()
  560. script.ArtificialHB:Fire()
  561.  
  562. game:GetService("RunService").Heartbeat:connect(function(s, p)
  563. tf = tf + s
  564. if tf >= frame then
  565. if allowframeloss then
  566. script.ArtificialHB:Fire()
  567. lastframe = tick()
  568. else
  569. for i = 1, math.floor(tf / frame) do
  570. script.ArtificialHB:Fire()
  571. end
  572. lastframe = tick()
  573. end
  574. if tossremainder then
  575. tf = 0
  576. else
  577. tf = tf - frame * math.floor(tf / frame)
  578. end
  579. end
  580. end)
  581.  
  582. --//=================================\\
  583. --\\=================================//
  584.  
  585. --//=================================\\
  586. --|| SOME FUNCTIONS
  587. --\\=================================//
  588.  
  589. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  590. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  591. end
  592.  
  593. function PositiveAngle(NUMBER)
  594. if NUMBER >= 0 then
  595. NUMBER = 0
  596. end
  597. return NUMBER
  598. end
  599.  
  600. function NegativeAngle(NUMBER)
  601. if NUMBER <= 0 then
  602. NUMBER = 0
  603. end
  604. return NUMBER
  605. end
  606.  
  607. function Swait(NUMBER)
  608. if NUMBER == 0 or NUMBER == nil then
  609. ArtificialHB.Event:wait()
  610. else
  611. for i = 1, NUMBER do
  612. ArtificialHB.Event:wait()
  613. end
  614. end
  615. end
  616.  
  617. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  618. local NEWMESH = IT(MESH)
  619. if MESH == "SpecialMesh" then
  620. NEWMESH.MeshType = MESHTYPE
  621. if MESHID ~= "nil" and MESHID ~= "" then
  622. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  623. end
  624. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  625. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  626. end
  627. end
  628. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  629. NEWMESH.Scale = SCALE
  630. NEWMESH.Parent = PARENT
  631. return NEWMESH
  632. end
  633.  
  634. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  635. local NEWPART = IT("Part")
  636. NEWPART.formFactor = FORMFACTOR
  637. NEWPART.Reflectance = REFLECTANCE
  638. NEWPART.Transparency = TRANSPARENCY
  639. NEWPART.CanCollide = false
  640. NEWPART.Locked = true
  641. NEWPART.Anchored = true
  642. if ANCHOR == false then
  643. NEWPART.Anchored = false
  644. end
  645. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  646. NEWPART.Name = NAME
  647. NEWPART.Size = SIZE
  648. NEWPART.Position = Torso.Position
  649. NEWPART.Material = MATERIAL
  650. NEWPART:BreakJoints()
  651. NEWPART.Parent = PARENT
  652. return NEWPART
  653. end
  654.  
  655. local function weldBetween(a, b)
  656. local weldd = IT("Weld")
  657. weldd.Part0 = a
  658. weldd.Part1 = b
  659. weldd.C0 = CF()
  660. weldd.C1 = b.CFrame:inverse() * a.CFrame
  661. weldd.Parent = a
  662. return weldd
  663. end
  664.  
  665.  
  666. function QuaternionFromCFrame(cf)
  667. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  668. local trace = m00 + m11 + m22
  669. if trace > 0 then
  670. local s = math.sqrt(1 + trace)
  671. local recip = 0.5 / s
  672. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  673. else
  674. local i = 0
  675. if m11 > m00 then
  676. i = 1
  677. end
  678. if m22 > (i == 0 and m00 or m11) then
  679. i = 2
  680. end
  681. if i == 0 then
  682. local s = math.sqrt(m00 - m11 - m22 + 1)
  683. local recip = 0.5 / s
  684. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  685. elseif i == 1 then
  686. local s = math.sqrt(m11 - m22 - m00 + 1)
  687. local recip = 0.5 / s
  688. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  689. elseif i == 2 then
  690. local s = math.sqrt(m22 - m00 - m11 + 1)
  691. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  692. end
  693. end
  694. end
  695.  
  696. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  697. local xs, ys, zs = x + x, y + y, z + z
  698. local wx, wy, wz = w * xs, w * ys, w * zs
  699. local xx = x * xs
  700. local xy = x * ys
  701. local xz = x * zs
  702. local yy = y * ys
  703. local yz = y * zs
  704. local zz = z * zs
  705. 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))
  706. end
  707.  
  708. function QuaternionSlerp(a, b, t)
  709. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  710. local startInterp, finishInterp;
  711. if cosTheta >= 0.0001 then
  712. if (1 - cosTheta) > 0.0001 then
  713. local theta = ACOS(cosTheta)
  714. local invSinTheta = 1 / SIN(theta)
  715. startInterp = SIN((1 - t) * theta) * invSinTheta
  716. finishInterp = SIN(t * theta) * invSinTheta
  717. else
  718. startInterp = 1 - t
  719. finishInterp = t
  720. end
  721. else
  722. if (1 + cosTheta) > 0.0001 then
  723. local theta = ACOS(-cosTheta)
  724. local invSinTheta = 1 / SIN(theta)
  725. startInterp = SIN((t - 1) * theta) * invSinTheta
  726. finishInterp = SIN(t * theta) * invSinTheta
  727. else
  728. startInterp = t - 1
  729. finishInterp = t
  730. end
  731. end
  732. 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
  733. end
  734.  
  735. function Clerp(a, b, t)
  736. local qa = {QuaternionFromCFrame(a)}
  737. local qb = {QuaternionFromCFrame(b)}
  738. local ax, ay, az = a.x, a.y, a.z
  739. local bx, by, bz = b.x, b.y, b.z
  740. local _t = 1 - t
  741. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  742. end
  743.  
  744. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  745. local frame = IT("Frame")
  746. frame.BackgroundTransparency = TRANSPARENCY
  747. frame.BorderSizePixel = BORDERSIZEPIXEL
  748. frame.Position = POSITION
  749. frame.Size = SIZE
  750. frame.BackgroundColor3 = COLOR
  751. frame.BorderColor3 = BORDERCOLOR
  752. frame.Name = NAME
  753. frame.Parent = PARENT
  754. return frame
  755. end
  756.  
  757. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  758. local label = IT("TextLabel")
  759. label.BackgroundTransparency = 1
  760. label.Size = UD2(1, 0, 1, 0)
  761. label.Position = UD2(0, 0, 0, 0)
  762. label.TextColor3 = TEXTCOLOR
  763. label.TextStrokeTransparency = STROKETRANSPARENCY
  764. label.TextTransparency = TRANSPARENCY
  765. label.FontSize = TEXTFONTSIZE
  766. label.Font = TEXTFONT
  767. label.BorderSizePixel = BORDERSIZEPIXEL
  768. label.TextScaled = false
  769. label.Text = TEXT
  770. label.Name = NAME
  771. label.Parent = PARENT
  772. return label
  773. end
  774.  
  775. function NoOutlines(PART)
  776. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  777. end
  778.  
  779. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  780. local NEWWELD = IT(TYPE)
  781. NEWWELD.Part0 = PART0
  782. NEWWELD.Part1 = PART1
  783. NEWWELD.C0 = C0
  784. NEWWELD.C1 = C1
  785. NEWWELD.Parent = PARENT
  786. return NEWWELD
  787. end
  788.  
  789. local S = IT("Sound")
  790. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  791. local NEWSOUND = nil
  792. coroutine.resume(coroutine.create(function()
  793. NEWSOUND = S:Clone()
  794. NEWSOUND.Parent = PARENT
  795. NEWSOUND.Volume = VOLUME
  796. NEWSOUND.Pitch = PITCH
  797. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  798. NEWSOUND:play()
  799. if DOESLOOP == true then
  800. NEWSOUND.Looped = true
  801. else
  802. repeat wait(1) until NEWSOUND.Playing == false
  803. NEWSOUND:remove()
  804. end
  805. end))
  806. return NEWSOUND
  807. end
  808.  
  809. function CFrameFromTopBack(at, top, back)
  810. local right = top:Cross(back)
  811. 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)
  812. end
  813.  
  814. --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})
  815. function WACKYEFFECT(Table)
  816. local TYPE = (Table.EffectType or "Sphere")
  817. local SIZE = (Table.Size or VT(1,1,1))
  818. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  819. local TRANSPARENCY = (Table.Transparency or 0)
  820. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  821. local CFRAME = (Table.CFrame or Torso.CFrame)
  822. local MOVEDIRECTION = (Table.MoveToPos or nil)
  823. local ROTATION1 = (Table.RotationX or 0)
  824. local ROTATION2 = (Table.RotationY or 0)
  825. local ROTATION3 = (Table.RotationZ or 0)
  826. local MATERIAL = (Table.Material or "Neon")
  827. local COLOR = (Table.Color or C3(1,1,1))
  828. local TIME = (Table.Time or 45)
  829. local SOUNDID = (Table.SoundID or nil)
  830. local SOUNDPITCH = (Table.SoundPitch or nil)
  831. local SOUNDVOLUME = (Table.SoundVolume or nil)
  832. coroutine.resume(coroutine.create(function()
  833. local PLAYSSOUND = false
  834. local SOUND = nil
  835. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  836. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  837. PLAYSSOUND = true
  838. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  839. end
  840. EFFECT.Color = COLOR
  841. local MSH = nil
  842. if TYPE == "Sphere" then
  843. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  844. elseif TYPE == "Block" then
  845. MSH = IT("BlockMesh",EFFECT)
  846. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  847. elseif TYPE == "Wave" then
  848. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  849. elseif TYPE == "Ring" then
  850. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  851. elseif TYPE == "Slash" then
  852. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  853. elseif TYPE == "Round Slash" then
  854. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  855. elseif TYPE == "Swirl" then
  856. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  857. elseif TYPE == "Skull" then
  858. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  859. elseif TYPE == "Crystal" then
  860. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  861. end
  862. if MSH ~= nil then
  863. local MOVESPEED = nil
  864. if MOVEDIRECTION ~= nil then
  865. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  866. end
  867. local GROWTH = SIZE - ENDSIZE
  868. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  869. if TYPE == "Block" then
  870. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  871. else
  872. EFFECT.CFrame = CFRAME
  873. end
  874. for LOOP = 1, TIME+1 do
  875. Swait()
  876. MSH.Scale = MSH.Scale - GROWTH/TIME
  877. if TYPE == "Wave" then
  878. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  879. end
  880. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  881. if TYPE == "Block" then
  882. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  883. else
  884. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  885. end
  886. if MOVEDIRECTION ~= nil then
  887. local ORI = EFFECT.Orientation
  888. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  889. EFFECT.Orientation = ORI
  890. end
  891. end
  892. if PLAYSSOUND == false then
  893. EFFECT:remove()
  894. else
  895. SOUND.Stopped:Connect(function()
  896. EFFECT:remove()
  897. end)
  898. end
  899. else
  900. if PLAYSSOUND == false then
  901. EFFECT:remove()
  902. else
  903. repeat Swait() until SOUND.Playing == false
  904. EFFECT:remove()
  905. end
  906. end
  907. end))
  908. end
  909.  
  910. function MakeForm(PART,TYPE)
  911. if TYPE == "Cyl" then
  912. local MSH = IT("CylinderMesh",PART)
  913. elseif TYPE == "Ball" then
  914. local MSH = IT("SpecialMesh",PART)
  915. MSH.MeshType = "Sphere"
  916. elseif TYPE == "Wedge" then
  917. local MSH = IT("SpecialMesh",PART)
  918. MSH.MeshType = "Wedge"
  919. end
  920. end
  921.  
  922. Debris = game:GetService("Debris")
  923.  
  924. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  925. local DIRECTION = CF(StartPos,EndPos).lookVector
  926. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  927. end
  928.  
  929. function turnto(position)
  930. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  931. end
  932.  
  933. function SpawnTrail(FROM,TO,BIG)
  934. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Trail", VT(0,0,0))
  935. MakeForm(TRAIL,"Cyl")
  936. local DIST = (FROM - TO).Magnitude
  937. if BIG == true then
  938. TRAIL.Size = VT(0.5,DIST,0.5)
  939. else
  940. TRAIL.Size = VT(0.25,DIST,0.25)
  941. end
  942. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  943. coroutine.resume(coroutine.create(function()
  944. for i = 0, 5 do
  945. Swait()
  946. TRAIL.Transparency = TRAIL.Transparency + 0.1
  947. end
  948. TRAIL:remove()
  949. end))
  950. end
  951.  
  952. local asd = Instance.new("ParticleEmitter")
  953. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  954. asd.LightEmission = .1
  955. asd.Texture = "http://www.roblox.com/asset/?ID=584827399"
  956. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  957. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  958. asd.Transparency = aaa
  959. asd.Size = bbb
  960. asd.ZOffset = .9
  961. asd.Acceleration = Vector3.new(0, -15, 0)
  962. asd.LockedToPart = false
  963. asd.EmissionDirection = "Back"
  964. asd.Lifetime = NumberRange.new(1, 2)
  965. asd.Rotation = NumberRange.new(-100, 100)
  966. asd.RotSpeed = NumberRange.new(-100, 100)
  967. asd.Speed = NumberRange.new(10)
  968. asd.Enabled = true
  969. asd.VelocitySpread = 999
  970.  
  971. function getbloody(victim,amount)
  972. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really blue", "Blood", victim.Size)
  973. PART.CFrame = victim.CFrame
  974. local HITPLAYERSOUNDS = {"356551938","264486467"}
  975. Debris:AddItem(PART,5)
  976. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  977. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  978. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  979. local prtcl = asd:Clone()
  980. prtcl.Parent = PART
  981. prtcl:Emit(amount*10)
  982. end
  983.  
  984. local Particle = IT("ParticleEmitter",nil)
  985. Particle.Enabled = true
  986. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  987. Particle.LightEmission = 1
  988. Particle.Rate = 800
  989. Particle.ZOffset = 1
  990. Particle.Rotation = NumberRange.new(-180, 180)
  991. Particle.RotSpeed = NumberRange.new(-180, 180)
  992. Particle.Texture = "http://www.roblox.com/asset/?id=584827399"
  993. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0.4,0,0))
  994.  
  995. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 5, Lifetime2 = 5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  996. function ParticleEmitter(Table)
  997. local PRTCL = Particle:Clone()
  998. local Speed = Table.Speed or 5
  999. local Drag = Table.Drag or 0
  1000. local Size1 = Table.Size1 or 1
  1001. local Size2 = Table.Size2 or 5
  1002. local Lifetime1 = Table.Lifetime1 or 1
  1003. local Lifetime2 = Table.Lifetime2 or 1.5
  1004. local Parent = Table.Parent or Torso
  1005. local Emit = Table.Emit or 100
  1006. local Offset = Table.Offset or 360
  1007. local Acel = Table.Acel or VT(0,0,0)
  1008. local Enabled = Table.Enabled or false
  1009. PRTCL.Parent = Parent
  1010. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1011. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1012. PRTCL.Speed = NumberRange.new(Speed)
  1013. PRTCL.VelocitySpread = Offset
  1014. PRTCL.Drag = Drag
  1015. PRTCL.Acceleration = Acel
  1016. if Enabled == false then
  1017. PRTCL:Emit(Emit)
  1018. Debris:AddItem(PRTCL,Lifetime2)
  1019. else
  1020. PRTCL.Enabled = true
  1021. end
  1022. return PRTCL
  1023. end
  1024.  
  1025. --//=================================\\
  1026. --|| WEAPON CREATION
  1027. --\\=================================//
  1028.  
  1029. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,1.2,0.2),false)
  1030. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1031. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.8,0.2),false)
  1032. MakeForm(Part,"Wedge")
  1033. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1034. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.6),false)
  1035. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1036. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.4,0.4,0.4),false)
  1037. MakeForm(Part,"Cyl")
  1038. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1039. for i = 1, 8 do
  1040. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0,0.35,0.41),false)
  1041. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1042. end
  1043. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.5,0.2),false)
  1044. MakeForm(Part,"Wedge")
  1045. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1046. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.39,0.41,0.39),false)
  1047. MakeForm(Part,"Cyl")
  1048. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1049. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.5),false)
  1050. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1051. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.4,0.5),false)
  1052. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1053. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0,0.6),false)
  1054. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1055. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.28,5,0.28),false)
  1056. MakeForm(RightBarrel,"Cyl")
  1057. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1058. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0,0.2,0.2),false)
  1059. MakeForm(Part,"Wedge")
  1060. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1061. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.2,0,0.2),false)
  1062. MakeForm(RightHole,"Cyl")
  1063. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1064. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,1.2,0.2),false)
  1065. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1066. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.8,0.2),false)
  1067. MakeForm(Part,"Wedge")
  1068. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1069. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.6),false)
  1070. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1071. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.4,0.4,0.4),false)
  1072. MakeForm(Part,"Cyl")
  1073. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1074. for i = 1, 8 do
  1075. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0,0.35,0.41),false)
  1076. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1077. end
  1078. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.5,0.2),false)
  1079. MakeForm(Part,"Wedge")
  1080. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1081. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.39,0.41,0.39),false)
  1082. MakeForm(Part,"Cyl")
  1083. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1084. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.5),false)
  1085. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1086. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.4,0.5),false)
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0,0.6),false)
  1089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1090. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.28,5,0.28),false)
  1091. MakeForm(LeftBarrel,"Cyl")
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1093. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0,0.2,0.2),false)
  1094. MakeForm(Part,"Wedge")
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.2,0,0.2),false)
  1097. MakeForm(LeftHole,"Cyl")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1099. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1100. MakeForm(Eye,"Ball")
  1101. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1102. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1103. MakeForm(Eye,"Ball")
  1104. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1105. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1106. MakeForm(Eye,"Ball")
  1107. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1108. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1109. MakeForm(Eye,"Ball")
  1110. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1111. local A = IT("Attachment",Torso)
  1112. A.Position = VT(1,1.3,0)
  1113. A.Orientation = VT(-0.098, -89.999, 0.227)
  1114. local B = IT("Attachment",Torso)
  1115. B.Position = VT(-1.3,-0.6,0)
  1116. B.Orientation = VT(-88.911, -68.808, 158.782)
  1117. local ChainLink = IT("Beam",Torso)
  1118. ChainLink.Texture = "rbxassetid://73042633"
  1119. ChainLink.Color = ColorSequence.new(C3(0,0,255))
  1120. ChainLink.TextureSpeed = 1
  1121. ChainLink.FaceCamera = true
  1122. ChainLink.Width0 = 1
  1123. ChainLink.Width1 = 1
  1124. ChainLink.TextureLength = 3
  1125. ChainLink.Attachment0 = A
  1126. ChainLink.Attachment1 = B
  1127. ChainLink.CurveSize0 = 1.6
  1128. ChainLink.CurveSize1 = 1.6
  1129. ChainLink.FaceCamera = true
  1130. ChainLink.Transparency = NumberSequence.new(0)
  1131. local ChainLink = IT("Beam",Torso)
  1132. ChainLink.Texture = "rbxassetid://73042633"
  1133. ChainLink.Color = ColorSequence.new(C3(0,0,255))
  1134. ChainLink.TextureSpeed = 1
  1135. ChainLink.FaceCamera = true
  1136. ChainLink.Width0 = 1
  1137. ChainLink.Width1 = 1
  1138. ChainLink.TextureLength = 3
  1139. ChainLink.Attachment0 = B
  1140. ChainLink.Attachment1 = A
  1141. ChainLink.CurveSize0 = 2
  1142. ChainLink.CurveSize1 = 2
  1143. ChainLink.FaceCamera = true
  1144. ChainLink.Transparency = NumberSequence.new(0)
  1145. local A = IT("Attachment",Torso)
  1146. A.Position = VT(1.3,-0.85,0)
  1147. A.Orientation = VT(-0.098, -89.999, 0.227)
  1148. local B = IT("Attachment",Torso)
  1149. B.Position = VT(-1,2,0)
  1150. B.Orientation = VT(-88.911, -68.808, 158.782)
  1151. local ChainLink = IT("Beam",Torso)
  1152. ChainLink.Texture = "rbxassetid://73042633"
  1153. ChainLink.Color = ColorSequence.new(C3(0,0,255))
  1154. ChainLink.TextureSpeed = 1
  1155. ChainLink.FaceCamera = true
  1156. ChainLink.Width0 = 1
  1157. ChainLink.Width1 = 1
  1158. ChainLink.TextureLength = 3
  1159. ChainLink.Attachment0 = A
  1160. ChainLink.Attachment1 = B
  1161. ChainLink.CurveSize0 = 1.3
  1162. ChainLink.CurveSize1 = 1.3
  1163. ChainLink.FaceCamera = true
  1164. ChainLink.Transparency = NumberSequence.new(0)
  1165. local ChainLink = IT("Beam",Torso)
  1166. ChainLink.Texture = "rbxassetid://73042633"
  1167. ChainLink.Color = ColorSequence.new(C3(0,0,255))
  1168. ChainLink.TextureSpeed = 1
  1169. ChainLink.FaceCamera = true
  1170. ChainLink.Width0 = 1
  1171. ChainLink.Width1 = 1
  1172. ChainLink.TextureLength = 3
  1173. ChainLink.Attachment0 = B
  1174. ChainLink.Attachment1 = A
  1175. ChainLink.CurveSize0 = 1.5
  1176. ChainLink.CurveSize1 = 1.5
  1177. ChainLink.FaceCamera = true
  1178. ChainLink.Transparency = NumberSequence.new(0)
  1179.  
  1180. local A = IT("Attachment",LeftBarrel)
  1181. A.Position = VT(0,-2.5,0)
  1182. local B = IT("Attachment",LeftBarrel)
  1183. B.Position = VT(0,2.5,0)
  1184. local Trail = IT("Trail",LeftBarrel)
  1185. Trail.Attachment0 = A
  1186. Trail.Attachment1 = B
  1187. Trail.Lifetime = 0.5
  1188. Trail.Color = ColorSequence.new(BRICKC"Really blue".Color)
  1189. Trail.Transparency = NumberSequence.new(0, 1)
  1190. Trail.Enabled = true
  1191. -------------------------------------------------------------
  1192. local A = IT("Attachment",RightBarrel)
  1193. A.Position = VT(0,-2.5,0)
  1194. local B = IT("Attachment",RightBarrel)
  1195. B.Position = VT(0,2.5,0)
  1196. local Trail = IT("Trail",RightBarrel)
  1197. Trail.Attachment0 = A
  1198. Trail.Attachment1 = B
  1199. Trail.Lifetime = 0.5
  1200. Trail.Color = ColorSequence.new(BRICKC"Really blue".Color)
  1201. Trail.Transparency = NumberSequence.new(0, 1)
  1202. Trail.Enabled = true
  1203.  
  1204. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1205. PRT.LockedToPart = true
  1206. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1207. PRT.LockedToPart = true
  1208. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1209. PRT.LockedToPart = true
  1210. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1211. PRT.LockedToPart = true
  1212. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1213. PRT.LockedToPart = true
  1214. for _, c in pairs(Character:GetDescendants()) do
  1215. if c and c.Parent then
  1216. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1217. local ACCESSORY = c.Parent
  1218. c.Parent = Character
  1219. if c then
  1220. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1221. weldBetween(Head,c)
  1222. else
  1223. weldBetween(Torso,c)
  1224. end
  1225. end
  1226. ACCESSORY:remove()
  1227. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1228. c.Material = "Neon"
  1229. c.Color = C3(0,0,0)
  1230. if c:FindFirstChildOfClass("SpecialMesh") then
  1231. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1232. end
  1233. if c == Head then
  1234. if c:FindFirstChild("face") then
  1235. c.face:remove()
  1236. end
  1237. end
  1238. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1239. c.Color = C3(0,0,255)
  1240. c.Material = "Neon"
  1241. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1242. c:remove()
  1243. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1244. c:remove()
  1245. end
  1246. end
  1247. end
  1248. local BODY = {}
  1249. for _, c in pairs(Character:GetDescendants()) do
  1250. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1251. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1252. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1253. end
  1254. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1255. elseif c:IsA("JointInstance") then
  1256. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1257. end
  1258. end
  1259. function refit()
  1260. Character.Parent = workspace
  1261. for e = 1, #BODY do
  1262. if BODY[e] ~= nil then
  1263. local STUFF = BODY[e]
  1264. local PART = STUFF[1]
  1265. local PARENT = STUFF[2]
  1266. local MATERIAL = STUFF[3]
  1267. local COLOR = STUFF[4]
  1268. local TRANSPARENCY = STUFF[5]
  1269. --local SIZE = STUFF[6]
  1270. local NAME = STUFF[7]
  1271. if PART.ClassName == "Part" and PART ~= RootPart then
  1272. PART.Material = MATERIAL
  1273. PART.Transparency = TRANSPARENCY
  1274. PART.Name = NAME
  1275. end
  1276. if PART.Parent ~= PARENT then
  1277. Humanoid:remove()
  1278. PART.Parent = PARENT
  1279. Humanoid = IT("Humanoid",Character)
  1280. end
  1281. end
  1282. end
  1283. end
  1284.  
  1285. local SKILLTEXTCOLOR = C3(0,0,255)
  1286. local SKILLFONT = "Fantasy"
  1287. local SKILLTEXTSIZE = 6
  1288.  
  1289. Humanoid.Died:connect(function()
  1290. refit()
  1291. end)
  1292.  
  1293. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1294. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1295. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1296. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1297. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1298. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1299. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1300.  
  1301. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  1302. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  1303. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Cleave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1304. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Lock n' load", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1305. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  1306. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Deathbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1307. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1308.  
  1309. --//=================================\\
  1310. --|| DAMAGE FUNCTIONS
  1311. --\\=================================//
  1312.  
  1313. function StatLabel(CFRAME, TEXT, COLOR)
  1314. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really blue", "Effect", VT())
  1315. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1316. local BODYGYRO = IT("BodyGyro", STATPART)
  1317. game:GetService("Debris"):AddItem(STATPART ,5)
  1318. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1319. BILLBOARDGUI.Adornee = STATPART
  1320. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1321. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1322. BILLBOARDGUI.AlwaysOnTop = false
  1323. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1324. TEXTLABEL.BackgroundTransparency = 1
  1325. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1326. TEXTLABEL.Text = TEXT
  1327. TEXTLABEL.Font = SKILLFONT
  1328. TEXTLABEL.FontSize="Size42"
  1329. TEXTLABEL.TextColor3 = COLOR
  1330. TEXTLABEL.TextStrokeTransparency = 0
  1331. TEXTLABEL.TextScaled = true
  1332. TEXTLABEL.TextWrapped = true
  1333. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1334. for i = 1, 50 do
  1335. Swait()
  1336. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1337. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1338. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1339. end
  1340. THEPART.Parent = nil
  1341. end),STATPART, TEXTLABEL)
  1342. end
  1343.  
  1344. --//=================================\\
  1345. --|| DAMAGING
  1346. --\\=================================//
  1347.  
  1348. function Kill(Char)
  1349. local NewCharacter = IT("Model",Effects)
  1350. NewCharacter.Name = "Ow im ded ;-;"
  1351. for _, c in pairs(Char:GetDescendants()) do
  1352. if c:IsA("BasePart") and c.Transparency == 0 then
  1353. if c.Parent == Char then
  1354. getbloody(c,5)
  1355. end
  1356. c:BreakJoints()
  1357. c.Material = "Glass"
  1358. c.Color = C3(0.5,0,0)
  1359. c.CanCollide = true
  1360. c.Transparency = 0.3
  1361. if c:FindFirstChildOfClass("SpecialMesh") then
  1362. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1363. end
  1364. if c.Name == "Head" then
  1365. c:ClearAllChildren()
  1366. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1367. end
  1368. if c.ClassName == "MeshPart" then
  1369. c.TextureID = ""
  1370. end
  1371. if c:FindFirstChildOfClass("BodyPosition") then
  1372. c:FindFirstChildOfClass("BodyPosition"):remove()
  1373. end
  1374. if c:FindFirstChildOfClass("ParticleEmitter") then
  1375. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1376. end
  1377. c.Parent = NewCharacter
  1378. c.Name = "DeadPart"
  1379. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1380. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1381. end
  1382. end
  1383. Char:remove()
  1384. Debris:AddItem(NewCharacter,5)
  1385. end
  1386.  
  1387. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1388. local CHILDREN = workspace:GetDescendants()
  1389. for index, CHILD in pairs(CHILDREN) do
  1390. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1391. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1392. if HUM then
  1393. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1394. if TORSO then
  1395. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1396. if BRUTAL == true then
  1397. Kill(CHILD)
  1398. else
  1399. CHILD:BreakJoints()
  1400. end
  1401. end
  1402. end
  1403. end
  1404. end
  1405. end
  1406. end
  1407.  
  1408. function BulletDetection(FROM,TO,BRUTAL)
  1409. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1410. coroutine.resume(coroutine.create(function()
  1411. if AIMHIT ~= nil then
  1412. if AIMHIT.Parent ~= Character then
  1413. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1414. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1415. if BRUTAL == true then
  1416. Kill(AIMHIT.Parent)
  1417. else
  1418. getbloody(AIMHIT,15)
  1419. AIMHIT.Parent:BreakJoints()
  1420. if AIMHIT.Name == "Head" then
  1421. AIMHIT.Name = "HEADSHOT"
  1422. AIMHIT:remove()
  1423. end
  1424. end
  1425. else
  1426. if BRUTAL == true then
  1427. Kill(AIMHIT.Parent.Parent)
  1428. else
  1429. AIMHIT.Parent.Parent:BreakJoints()
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end
  1435. end))
  1436. SpawnTrail(FROM,AIMPOS)
  1437. return AIMHIT,AIMPOS,NORMAL
  1438. end
  1439.  
  1440. --//=================================\\
  1441. --|| ATTACK FUNCTIONS AND STUFF
  1442. --\\=================================//
  1443.  
  1444. function Unload()
  1445. ATTACK = true
  1446. Rooted = false
  1447. repeat
  1448. local GYRO = IT("BodyGyro",RootPart)
  1449. GYRO.D = 175
  1450. GYRO.P = 20000
  1451. GYRO.MaxTorque = VT(0,40000,0)
  1452. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1453. if COMBO == 1 then
  1454. COMBO = 2
  1455. for i=0, 0, 0.1 / Animation_Speed do
  1456. Swait()
  1457. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1462. 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)
  1463. 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)
  1464. end
  1465. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1466. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1467. CreateSound(268761947, LeftHole, 7, 1, false)
  1468. BulletDetection(LeftHole.Position,Mouse.Hit.p,false)
  1469. for i=0, 0, 0.1 / Animation_Speed do
  1470. Swait()
  1471. 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)
  1472. 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)
  1473. 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)
  1474. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1475. 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)
  1476. 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)
  1477. end
  1478. elseif COMBO == 2 then
  1479. COMBO = 1
  1480. for i=0, 0.1, 0.1 / Animation_Speed do
  1481. Swait()
  1482. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1483. 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)
  1484. 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)
  1485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1486. 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)
  1487. 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)
  1488. 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)
  1489. end
  1490. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1491. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1492. CreateSound(268761947, RightHole, 7, 1, false)
  1493. BulletDetection(RightHole.Position,Mouse.Hit.p,false)
  1494. for i=0, 0.1, 0.1 / Animation_Speed do
  1495. Swait()
  1496. 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)
  1497. 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)
  1498. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1499. 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)
  1500. 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)
  1501. 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)
  1502. end
  1503. end
  1504. GYRO:remove()
  1505. until KEYHOLD == false
  1506. ATTACK = false
  1507. Rooted = false
  1508. end
  1509. function Psyo()
  1510. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1511. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1512. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1513. if TORSO and HUM.Health > 0 then
  1514. ATTACK = true
  1515. Rooted = false
  1516. local GYRO = IT("BodyGyro",RootPart)
  1517. GYRO.D = 275
  1518. GYRO.P = 20000
  1519. GYRO.MaxTorque = VT(0,40000,0)
  1520. for i=0, 0.8, 0.1 / Animation_Speed do
  1521. Swait()
  1522. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1524. 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)
  1525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1527. 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)
  1528. 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)
  1529. end
  1530. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1531. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1532. local grav = Instance.new("BodyPosition",TORSO)
  1533. grav.D = 1500
  1534. grav.P = 20000
  1535. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1536. grav.position = TORSO.Position+VT(0,15,0)
  1537. Debris:AddItem(grav,10)
  1538. Debris:AddItem(MAGIC,10)
  1539. CreateSound(429459101, Torso, 7, 1, false)
  1540. CreateSound(429459101, TORSO, 7, 1, false)
  1541. for i=0, 1, 0.1 / Animation_Speed do
  1542. Swait()
  1543. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1544. 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)
  1545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1547. 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)
  1548. 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)
  1549. end
  1550. GYRO:remove()
  1551. ATTACK = false
  1552. Rooted = false
  1553. end
  1554. end
  1555. end
  1556. function Cleave()
  1557. ATTACK = true
  1558. Rooted = false
  1559. local TARGET = nil
  1560. local TORS = nil
  1561. local GYRO = IT("BodyGyro",RootPart)
  1562. GYRO.D = 175
  1563. GYRO.P = 20000
  1564. GYRO.MaxTorque = VT(0,40000,0)
  1565. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1566. local RANGE = 5
  1567. CreateSound(541909867, Torso, 7, 1, false)
  1568. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1569. for i=0, 1, 0.1 / Animation_Speed do
  1570. Swait()
  1571. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1572. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1573. local CHILDREN = workspace:GetDescendants()
  1574. for index, CHILD in pairs(CHILDREN) do
  1575. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1576. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1577. if HUM then
  1578. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1579. if TORSO then
  1580. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1581. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1582. TARGET = HUM
  1583. TORS = TORSO
  1584. end
  1585. end
  1586. end
  1587. end
  1588. end
  1589. if TARGET then
  1590. break
  1591. end
  1592. 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)
  1593. 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)
  1594. 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)
  1595. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1596. 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)
  1597. 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)
  1598. end
  1599. GYRO:remove()
  1600. if TORS and TARGET then
  1601. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1602. Rooted = true
  1603. local BODYPOSITION = IT("BodyPosition", TORS)
  1604. BODYPOSITION.P = 2000
  1605. BODYPOSITION.D = 100
  1606. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1607. for i=0, 1, 0.1 / Animation_Speed do
  1608. Swait()
  1609. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1610. BODYPOSITION.Position = TORS.Position
  1611. 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)
  1612. 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)
  1613. 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)
  1614. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1615. 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)
  1616. 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)
  1617. end
  1618. for i=0, 0.4, 0.1 / Animation_Speed do
  1619. Swait()
  1620. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1621. BODYPOSITION.Position = TORS.Position
  1622. 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)
  1623. 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)
  1624. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1625. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1626. 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)
  1627. 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)
  1628. end
  1629. local LOOP = 0
  1630. local LOOP2 = 0
  1631. for i=0, 5, 0.1 / Animation_Speed do
  1632. Swait()
  1633. LOOP = LOOP + 1
  1634. TORS.Anchored = true
  1635. LOOP2 = LOOP2 + 1
  1636. if LOOP2 >= 5 then
  1637. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1638. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1639. CreateSound(268761947, RightHole, 7, 1, false)
  1640. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  1641. LOOP2 = 0
  1642. getbloody(TORS,1)
  1643. end
  1644. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1645. BODYPOSITION.Position = TORS.Position
  1646. 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)
  1647. 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)
  1648. 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)
  1649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1650. 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)
  1651. 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)
  1652. end
  1653. BODYPOSITION:remove()
  1654. if TORS then
  1655. TORS.Anchored = false
  1656. Kill(TORS.Parent)
  1657. end
  1658. end
  1659. ATTACK = false
  1660. Rooted = false
  1661. end
  1662. function Lock_n_Load()
  1663. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1664. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1665. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1666. if TORSO and HUM.Health > 0 then
  1667. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1668. ATTACK = true
  1669. Rooted = true
  1670. local GYRO = IT("BodyGyro",RootPart)
  1671. GYRO.D = 175
  1672. GYRO.P = 20000
  1673. GYRO.MaxTorque = VT(0,40000,0)
  1674. if COMBO == 1 then
  1675. COMBO = 2
  1676. for i=0, 1, 0.1 / Animation_Speed do
  1677. Swait()
  1678. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1679. 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)
  1680. 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)
  1681. 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)
  1682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1683. 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)
  1684. 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)
  1685. end
  1686. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1687. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1688. CreateSound(268761947, LeftHole, 7, 1, false)
  1689. BulletDetection(LeftHole.Position,TORSO.Position,false)
  1690. for i=0, 0.4, 0.1 / Animation_Speed do
  1691. Swait()
  1692. 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)
  1693. 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)
  1694. 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)
  1695. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1696. 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)
  1697. 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)
  1698. end
  1699. elseif COMBO == 2 then
  1700. COMBO = 1
  1701. for i=0, 1, 0.1 / Animation_Speed do
  1702. Swait()
  1703. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1704. 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)
  1705. 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)
  1706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1707. 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)
  1708. 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)
  1709. 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)
  1710. end
  1711. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1712. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1713. CreateSound(268761947, RightHole, 7, 1, false)
  1714. BulletDetection(RightHole.Position,TORSO.Position,false)
  1715. for i=0, 0.4, 0.1 / Animation_Speed do
  1716. Swait()
  1717. 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)
  1718. 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)
  1719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1720. 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)
  1721. 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)
  1722. 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)
  1723. end
  1724. end
  1725. GYRO:remove()
  1726. ATTACK = false
  1727. Rooted = false
  1728. end
  1729. end
  1730. end
  1731. function Morning_Star()
  1732. ATTACK = true
  1733. Rooted = true
  1734. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1735. for i=0, 1, 0.1 / Animation_Speed do
  1736. Swait()
  1737. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1738. 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)
  1739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1741. 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)
  1742. 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)
  1743. end
  1744. coroutine.resume(coroutine.create(function()
  1745. local POS = Mouse.Hit.p
  1746. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,2000,0))
  1747. MakeForm(RAY,"Cyl")
  1748. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  1749. MakeForm(SPHERE,"Ball")
  1750. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Strike", VT(0,0,0))
  1751. MakeForm(SHIELD,"Ball")
  1752. SHIELD.CFrame = CF(POS)
  1753. RAY.CFrame = CF(POS)
  1754. SPHERE.CFrame = CF(POS)
  1755. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1756. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1757. for i = 1, 200 do
  1758. Swait()
  1759. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1760. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1761. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1762. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1763. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1764. end
  1765. for i = 1, 45 do
  1766. Swait()
  1767. RAY.Transparency = RAY.Transparency + 1/45
  1768. SPHERE.Transparency = RAY.Transparency
  1769. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1770. end
  1771. RAY:remove()
  1772. SHIELD:remove()
  1773. SPHERE:remove()
  1774. end))
  1775. for i=0, 1, 0.1 / Animation_Speed do
  1776. Swait()
  1777. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1778. 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)
  1779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1781. 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)
  1782. 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)
  1783. end
  1784. ATTACK = false
  1785. Rooted = false
  1786. end
  1787. function Deathbound()
  1788. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1789. ATTACK = true
  1790. Rooted = true
  1791. for i=0, 1, 0.1 / Animation_Speed do
  1792. Swait()
  1793. 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)
  1794. 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)
  1795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1797. 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)
  1798. 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)
  1799. end
  1800. local DONE = false
  1801. local GATE = nil
  1802. local GATESPIN = true
  1803. coroutine.resume(coroutine.create(function()
  1804. repeat
  1805. Swait()
  1806. if GATE ~= nil then
  1807. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1808. end
  1809. until GATESPIN == false
  1810. end))
  1811. coroutine.resume(coroutine.create(function()
  1812. repeat
  1813. Swait()
  1814. 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)
  1815. 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)
  1816. 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)
  1817. 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)
  1818. 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)
  1819. 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)
  1820. until DONE == true
  1821. Swait(50)
  1822. for i = 1, 35 do
  1823. Swait(4)
  1824. local FIRED = false
  1825. local CHILDREN = workspace:GetDescendants()
  1826. for index, CHILD in pairs(CHILDREN) do
  1827. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1828. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1829. if HUM then
  1830. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1831. if TORSO then
  1832. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1833. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1834. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1835. 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(0,0,255), SoundID = 268761947, SoundPitch = 1.5, SoundVolume = 6})
  1836. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1837. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1838. Kill(CHILD)
  1839. FIRED = true
  1840. break
  1841. end
  1842. end
  1843. end
  1844. end
  1845. end
  1846. if FIRED == false then
  1847. 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)))
  1848. 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(0,0,255), SoundID = 268761947, SoundPitch = 1, SoundVolume = 6})
  1849. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1850. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1851. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1852. if HITBOD ~= nil then
  1853. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1854. Kill(HITBOD.Parent)
  1855. end
  1856. end
  1857. end
  1858. end
  1859. for i = 1, 45 do
  1860. Swait()
  1861. GATE.Size = GATE.Size - VT(3,0,3)
  1862. end
  1863. GATESPIN = false
  1864. GATE:remove()
  1865. end))
  1866. Swait(15)
  1867. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1868. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Gate", VT(0,0,0))
  1869. local DECAL = IT("Decal",GATE)
  1870. DECAL.Texture = "http://www.roblox.com/asset/?id=70345333"
  1871. DECAL.Face = "Top"
  1872. GATE.CFrame = CF(HITPOS)
  1873. CreateSound(160772554, GATE, 7, 1.3, false)
  1874. for i = 1, 45 do
  1875. Swait()
  1876. GATE.Size = GATE.Size + VT(3,0,3)
  1877. end
  1878. CreateSound(268761947, RightHole, 7, 1, false)
  1879. CreateSound(268761947, LeftHole, 7, 1, false)
  1880. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1881. 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1882. ATTACK = false
  1883. Rooted = false
  1884. DONE = true
  1885. end
  1886. function Execute()
  1887. ATTACK = true
  1888. Rooted = false
  1889. local Part = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Part", VT(0,1,4),false)
  1890. Part.Color = C3(0,0,0)
  1891. MakeForm(Part,"Wedge")
  1892. Part.CanCollide = true
  1893. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1894. for i=0, 1, 0.1 / Animation_Speed do
  1895. Swait()
  1896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1897. 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)
  1898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1900. 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)
  1901. 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)
  1902. end
  1903. Trail.Enabled = true
  1904. CreateSound(541909867, RightBarrel, 7, 1, false)
  1905. local TOCH = Part.Touched:Connect(function(hit)
  1906. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1907. Kill(hit.Parent)
  1908. end
  1909. end)
  1910. for i=0, 0.35, 0.1 / Animation_Speed do
  1911. Swait()
  1912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1916. 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)
  1917. 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)
  1918. end
  1919. TOCH:disconnect()
  1920. Trail.Enabled = true
  1921. for i=0, 0.35, 0.1 / Animation_Speed do
  1922. Swait()
  1923. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1924. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1925. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1926. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1927. 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)
  1928. 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)
  1929. end
  1930. Part:remove()
  1931. ATTACK = false
  1932. Rooted = false
  1933. end
  1934.  
  1935. --//=================================\\
  1936. --|| ASSIGN THINGS TO KEYS
  1937. --\\=================================//
  1938.  
  1939. function MouseDown(Mouse)
  1940. if ATTACK == false then
  1941. Execute()
  1942. end
  1943. end
  1944.  
  1945. function MouseUp(Mouse)
  1946. HOLD = false
  1947. end
  1948.  
  1949. function KeyDown(Key)
  1950. KEYHOLD = true
  1951. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1952. if Key == "z" and ATTACK == false then
  1953. Unload()
  1954.  
  1955. elseif Key == "b" and ATTACK == false then
  1956. Psyo()
  1957.  
  1958. elseif Key == "c" and ATTACK == false then
  1959. Cleave()
  1960.  
  1961. elseif Key == "v" and ATTACK == false then
  1962. Lock_n_Load()
  1963.  
  1964. elseif Key == "g" and ATTACK == false then
  1965. Deathbound()
  1966.  
  1967. elseif Key == "x" and ATTACK == false then
  1968. Morning_Star()
  1969.  
  1970. elseif Key == "t" then
  1971. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1972. elseif Key == "1" and ATTACK == false then
  1973. if CHOICE ~= 1 then
  1974. CHOICE = 1
  1975. sick:Play()
  1976. end
  1977. elseif Key == "2" and ATTACK == false then
  1978. if CHOICE ~= 2 then
  1979. CHOICE = 2
  1980. sick:Play()
  1981. end
  1982. elseif Key == "3" and ATTACK == false then
  1983. if CHOICE ~= 3 then
  1984. CHOICE = 3
  1985. sick:Play()
  1986. end
  1987. elseif Key == "4" and ATTACK == false then
  1988. if CHOICE ~= 4 then
  1989. CHOICE = 4
  1990. sick:Play()
  1991. end
  1992. end
  1993. end
  1994. end
  1995.  
  1996. function KeyUp(Key)
  1997. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1998. KEYHOLD = false
  1999. end
  2000. end
  2001.  
  2002. Mouse.Button1Down:connect(function(NEWKEY)
  2003. MouseDown(NEWKEY)
  2004. end)
  2005. Mouse.Button1Up:connect(function(NEWKEY)
  2006. MouseUp(NEWKEY)
  2007. end)
  2008. Mouse.KeyDown:connect(function(NEWKEY)
  2009. KeyDown(NEWKEY)
  2010. end)
  2011. Mouse.KeyUp:connect(function(NEWKEY)
  2012. KeyUp(NEWKEY)
  2013. end)
  2014.  
  2015. --//=================================\\
  2016. --\\=================================//
  2017.  
  2018.  
  2019. function unanchor()
  2020. if UNANCHOR == true then
  2021. g = Character:GetChildren()
  2022. for i = 1, #g do
  2023. if g[i].ClassName == "Part" then
  2024. g[i].Anchored = false
  2025. end
  2026. end
  2027. end
  2028. end
  2029.  
  2030.  
  2031. --//=================================\\
  2032. --|| WRAP THE WHOLE SCRIPT UP
  2033. --\\=================================//
  2034.  
  2035. Humanoid.Changed:connect(function(Jump)
  2036. if Jump == "Jump" and (Disable_Jump == true) then
  2037. Humanoid.Jump = false
  2038. end
  2039. end)
  2040.  
  2041. while true do
  2042. Swait()
  2043. Humanoid.HipHeight = 1.5
  2044. script.Parent = WEAPONGUI
  2045. ANIMATE.Parent = nil
  2046. if Humanoid then
  2047. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2048. IDLEANIMATION:Play()
  2049. end
  2050. SINE = SINE + CHANGE
  2051. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2052. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2053. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2054. if ATTACK == false then
  2055. if TORSOVELOCITY < 1 then
  2056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2058. 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)
  2059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2060. 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)
  2061. 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)
  2062. elseif TORSOVELOCITY > 1 then
  2063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2065. 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)
  2066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2067. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2068. 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)
  2069. end
  2070. end
  2071. RightArmGrasp.C0 = Clerp(RightArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(-1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  2072. LeftArmGraps.C0 = Clerp(LeftArmGraps.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  2073. unanchor()
  2074. Humanoid.MaxHealth = "inf"
  2075. Humanoid.Health = "inf"
  2076. if Rooted == false then
  2077. Disable_Jump = false
  2078. Humanoid.WalkSpeed = Speed
  2079. elseif Rooted == true then
  2080. Disable_Jump = true
  2081. Humanoid.WalkSpeed = 0
  2082. end
  2083. for _, c in pairs(Character:GetDescendants()) do
  2084. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2085. c.Material = "Neon"
  2086. c.Color = C3(0,0,0)
  2087. if c:FindFirstChildOfClass("SpecialMesh") then
  2088. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2089. end
  2090. if c == Head then
  2091. if c:FindFirstChild("face") then
  2092. c.face:remove()
  2093. end
  2094. end
  2095. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2096. c.Color = C3(0,0,255)
  2097. c.Material = "Neon"
  2098. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  2099. c:remove()
  2100. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2101. c:remove()
  2102. end
  2103. end
  2104. refit()
  2105. Humanoid.Name = "Deadeyes"
  2106. sick.Parent = Torso
  2107. sick:resume()
  2108. sick.Volume = 5
  2109. sick.Pitch = 1
  2110. sick.SoundId = "rbxassetid://"..SONGS[CHOICE]
  2111. if Head:FindFirstChildOfClass("Sound") then
  2112. Head:FindFirstChildOfClass("Sound"):remove()
  2113. end
  2114. end
  2115.  
  2116. --//=================================\\
  2117. --\\=================================//
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123. --//====================================================\\--
  2124. --|| END OF SCRIPT
  2125. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement