Advertisement
PiterMosskva_TV

lol2

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