Advertisement
xdfromxd

good

Apr 24th, 2019
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 236.49 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. -- Farewell Infortality.
  87. -- Version: 2.82
  88. -- Instances:
  89. local THESCRIPTGUI = Instance.new("ScreenGui")
  90. local tehwarudo = Instance.new("Frame")
  91. local BigBan = Instance.new("TextButton")
  92. local TheCreator = Instance.new("TextButton")
  93. local MrByeBye = Instance.new("TextButton")
  94. local VoidEye = Instance.new("TextButton")
  95. local KitchenGun = Instance.new("TextButton")
  96. local GoldenGun = Instance.new("TextButton")
  97. local FallenAngel = Instance.new("TextButton")
  98. local Comingsoon = Instance.new("TextButton")
  99. local COMINGSOON = Instance.new("TextButton")
  100. local Credits = Instance.new("TextButton")
  101. --Properties:
  102. THESCRIPTGUI.Name = "THE SCRIPT GUI"
  103. THESCRIPTGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  104. THESCRIPTGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  105.  
  106. tehwarudo.Name = "teh warudo"
  107. tehwarudo.Parent = THESCRIPTGUI
  108. tehwarudo.BackgroundColor3 = Color3.new(0, 0.333333, 0)
  109. tehwarudo.BorderColor3 = Color3.new(0, 0, 0)
  110. tehwarudo.BorderSizePixel = 12
  111. tehwarudo.Position = UDim2.new(0.191349939, 0, 0.32239157, 0)
  112. tehwarudo.Size = UDim2.new(0, 489, 0, 227)
  113.  
  114. BigBan.Name = "Big Ban"
  115. BigBan.Parent = tehwarudo
  116. BigBan.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  117. BigBan.Position = UDim2.new(0.0615384616, 0, 0.084615387, 0)
  118. BigBan.Size = UDim2.new(0, 116, 0, 50)
  119. BigBan.Font = Enum.Font.SourceSans
  120. BigBan.Text = "Big Ban"
  121. BigBan.TextColor3 = Color3.new(0, 0, 0)
  122. BigBan.TextSize = 14
  123. BigBan.MouseButton1Down:connect(function()
  124. require(2594357090).bban(owner.Name)
  125. end)
  126. TheCreator.Name = "The Creator"
  127. TheCreator.Parent = tehwarudo
  128. TheCreator.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  129. TheCreator.BorderColor3 = Color3.new(0, 0, 0)
  130. TheCreator.Position = UDim2.new(0.419780225, 0, 0.084615387, 0)
  131. TheCreator.Size = UDim2.new(0, 116, 0, 50)
  132. TheCreator.Font = Enum.Font.SourceSans
  133. TheCreator.Text = "OOFER'S GUI"
  134. TheCreator.TextColor3 = Color3.new(0, 0, 0)
  135. TheCreator.TextSize = 14
  136.  
  137. MrByeBye.Name = "Mr. Bye Bye"
  138. MrByeBye.Parent = tehwarudo
  139. MrByeBye.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  140. MrByeBye.Position = UDim2.new(0.725274742, 0, 0.084615387, 0)
  141. MrByeBye.Size = UDim2.new(0, 116, 0, 50)
  142. MrByeBye.Font = Enum.Font.SourceSans
  143. MrByeBye.Text = "Mr . Bye Bye "
  144. MrByeBye.TextColor3 = Color3.new(0, 0, 0)
  145. MrByeBye.TextSize = 14
  146. MrByeBye.MouseButton1Down:connect(function()
  147. require(2595582545).mbye(owner.Name)
  148. end)
  149. VoidEye.Name = "Void Eye"
  150. VoidEye.Parent = tehwarudo
  151. VoidEye.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  152. VoidEye.Position = UDim2.new(0.0615384579, 0, 0.376923084, 0)
  153. VoidEye.Size = UDim2.new(0, 116, 0, 50)
  154. VoidEye.Font = Enum.Font.SourceSans
  155. VoidEye.Text = "Void Eye "
  156. VoidEye.TextColor3 = Color3.new(0, 0, 0)
  157. VoidEye.TextSize = 14
  158. VoidEye.MouseButton1Down:connect(function()
  159. -- This script has been converted to FE by iPxter
  160.  
  161.  
  162. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  163. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  164. do
  165. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  166. script.Parent = Player.Character
  167.  
  168. --RemoteEvent for communicating
  169. local Event = Instance.new("RemoteEvent")
  170. Event.Name = "UserInput_Event"
  171.  
  172. --Fake event to make stuff like Mouse.KeyDown work
  173. local function fakeEvent()
  174. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  175. t.connect = t.Connect
  176. return t
  177. end
  178.  
  179. --Creating fake input objects with fake variables
  180. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  181. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  182. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  183. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  184. end}
  185. --Merged 2 functions into one by checking amount of arguments
  186. CAS.UnbindAction = CAS.BindAction
  187.  
  188. --This function will trigger the events that have been :Connect()'ed
  189. local function te(self,ev,...)
  190. local t = m[ev]
  191. if t and t._fakeEvent and t.Function then
  192. t.Function(...)
  193. end
  194. end
  195. m.TrigEvent = te
  196. UIS.TrigEvent = te
  197.  
  198. Event.OnServerEvent:Connect(function(plr,io)
  199. if plr~=Player then return end
  200. if io.isMouse then
  201. m.Target = io.Target
  202. m.Hit = io.Hit
  203. else
  204. local b = io.UserInputState == Enum.UserInputState.Begin
  205. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  206. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  207. end
  208. for _,t in pairs(CAS.Actions) do
  209. for _,k in pairs(t.Keys) do
  210. if k==io.KeyCode then
  211. t.Function(t.Name,io.UserInputState,io)
  212. end
  213. end
  214. end
  215. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  216. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  217. end
  218. end)
  219. Event.Parent = NLS([==[
  220. local Player = game:GetService("Players").LocalPlayer
  221. local Event = script:WaitForChild("UserInput_Event")
  222.  
  223. local UIS = game:GetService("UserInputService")
  224. local input = function(io,a)
  225. if a then return end
  226. --Since InputObject is a client-side instance, we create and pass table instead
  227. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  228. end
  229. UIS.InputBegan:Connect(input)
  230. UIS.InputEnded:Connect(input)
  231.  
  232. local Mouse = Player:GetMouse()
  233. local h,t
  234. --Give the server mouse data 30 times every second, but only if the values changed
  235. --If player is not moving their mouse, client won't fire events
  236. while wait(1/30) do
  237. if h~=Mouse.Hit or t~=Mouse.Target then
  238. h,t=Mouse.Hit,Mouse.Target
  239. Event:FireServer({isMouse=true,Target=t,Hit=h})
  240. end
  241. end]==],Player.Character)
  242. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  243. end
  244. wait(0.2)
  245. Player = owner
  246. PlayerGui = Player.PlayerGui
  247. Cam = workspace.CurrentCamera
  248. Backpack = Player.Backpack
  249. Character = Player.Character
  250. Humanoid = Character.Humanoid
  251. RootPart = Character["HumanoidRootPart"]
  252. Torso = Character["Torso"]
  253. Head = Character["Head"]
  254. RightArm = Character["Right Arm"]
  255. LeftArm = Character["Left Arm"]
  256. RightLeg = Character["Right Leg"]
  257. LeftLeg = Character["Left Leg"]
  258. RootJoint = RootPart["RootJoint"]
  259. Neck = Torso["Neck"]
  260. RightShoulder = Torso["Right Shoulder"]
  261. LeftShoulder = Torso["Left Shoulder"]
  262. RightHip = Torso["Right Hip"]
  263. LeftHip = Torso["Left Hip"]
  264. local sick = Instance.new("Sound",Character)
  265. sick.SoundId = "rbxassetid://727237039"
  266. sick.Looped = true
  267. sick.Pitch = 1
  268. sick.Volume = 2
  269. sick:Play()
  270.  
  271. IT = Instance.new
  272. CF = CFrame.new
  273. VT = Vector3.new
  274. RAD = math.rad
  275. C3 = Color3.new
  276. UD2 = UDim2.new
  277. BRICKC = BrickColor.new
  278. ANGLES = CFrame.Angles
  279. EULER = CFrame.fromEulerAnglesXYZ
  280. COS = math.cos
  281. ACOS = math.acos
  282. SIN = math.sin
  283. ASIN = math.asin
  284. ABS = math.abs
  285. MRANDOM = math.random
  286. FLOOR = math.floor
  287.  
  288. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  289. local NEWMESH = IT(MESH)
  290. if MESH == "SpecialMesh" then
  291. NEWMESH.MeshType = MESHTYPE
  292. if MESHID ~= "nil" and MESHID ~= "" then
  293. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  294. end
  295. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  296. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  297. end
  298. end
  299. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  300. NEWMESH.Scale = SCALE
  301. NEWMESH.Parent = PARENT
  302. return NEWMESH
  303. end
  304.  
  305. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  306. local NEWPART = IT("Part")
  307. NEWPART.formFactor = FORMFACTOR
  308. NEWPART.Reflectance = REFLECTANCE
  309. NEWPART.Transparency = TRANSPARENCY
  310. NEWPART.CanCollide = false
  311. NEWPART.Locked = true
  312. NEWPART.Anchored = true
  313. if ANCHOR == false then
  314. NEWPART.Anchored = false
  315. end
  316. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  317. NEWPART.Name = NAME
  318. NEWPART.Size = SIZE
  319. NEWPART.Position = Torso.Position
  320. NEWPART.Material = MATERIAL
  321. NEWPART:BreakJoints()
  322. NEWPART.Parent = PARENT
  323. return NEWPART
  324. end
  325.  
  326. Class_Name = "Void Face"
  327. Weapon_Name = "Add-ons"
  328.  
  329. Player_Size = 1 --Size of the player.
  330. Animation_Speed = 3
  331. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  332.  
  333. local Speed = 16
  334. local Effects2 = {}
  335.  
  336. local function weldBetween(a, b)
  337. local weldd = Instance.new("ManualWeld")
  338. weldd.Part0 = a
  339. weldd.Part1 = b
  340. weldd.C0 = CFrame.new()
  341. weldd.C1 = b.CFrame:inverse() * a.CFrame
  342. weldd.Parent = a
  343. return weldd
  344. end
  345.  
  346. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  347. local acs = Instance.new("Part")
  348. acs.CanCollide = false
  349. acs.Anchored = false
  350. acs.Size = Vector3.new(0,0,0)
  351. acs.CFrame = attachmentpart.CFrame
  352. acs.Parent = Character
  353. acs.BrickColor = color
  354. local meshs = Instance.new("SpecialMesh")
  355. meshs.MeshId = mesh
  356. meshs.TextureId = texture
  357. meshs.Parent = acs
  358. meshs.Scale = scale
  359. meshs.Offset = offset
  360. weldBetween(attachmentpart,acs)
  361. end
  362.  
  363. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  364. if TYPE == "Gem" then
  365. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  366. acs.Anchored = false
  367. acs.CanCollide = false
  368. acs.CFrame = PART.CFrame
  369. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  370. weldBetween(PART,acs)
  371. elseif TYPE == "Skull" then
  372. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  373. acs.Anchored = false
  374. acs.CanCollide = false
  375. acs.CFrame = PART.CFrame
  376. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  377. weldBetween(PART,acs)
  378. elseif TYPE == "Eye" then
  379. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  380. acs.Anchored = false
  381. acs.CanCollide = false
  382. acs.CFrame = PART.CFrame
  383. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  384. weldBetween(PART,acs)
  385. end
  386. end
  387.  
  388. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  389. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  390. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  391. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  392. local CHANGEDEFENSE = 0
  393. local CHANGEDAMAGE = 0
  394. local CHANGEMOVEMENT = 0
  395. local ANIM = "Idle"
  396. local ATTACK = false
  397. local EQUIPPED = false
  398. local HOLD = false
  399. local COMBO = 1
  400. local Rooted = false
  401. local SINE = 0
  402. local KEYHOLD = false
  403. local CHANGE = 2 / Animation_Speed
  404. local WALKINGANIM = false
  405. local WALK = 0
  406. local VALUE1 = false
  407. local VALUE2 = false
  408. local ROBLOXIDLEANIMATION = IT("Animation")
  409. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  410. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  411. --ROBLOXIDLEANIMATION.Parent = Humanoid
  412. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  413. WEAPONGUI.Name = "Weapon GUI"
  414. local Weapon = IT("Model")
  415. Weapon.Name = Weapon_Name
  416. local Effects = IT("Folder", Weapon)
  417. Effects.Name = "Effects"
  418. local ANIMATOR = Humanoid.Animator
  419. local ANIMATE = Character.Animate
  420. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  421. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  422. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  423. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  424. local TAUNTS = {"368794227","368794903","368794985"}
  425. local UNANCHOR = true
  426.  
  427. ArtificialHB = Instance.new("BindableEvent", script)
  428. ArtificialHB.Name = "ArtificialHB"
  429.  
  430. script:WaitForChild("ArtificialHB")
  431.  
  432. frame = Frame_Speed
  433. tf = 0
  434. allowframeloss = false
  435. tossremainder = false
  436. lastframe = tick()
  437. script.ArtificialHB:Fire()
  438.  
  439. game:GetService("RunService").Heartbeat:connect(function(s, p)
  440. tf = tf + s
  441. if tf >= frame then
  442. if allowframeloss then
  443. script.ArtificialHB:Fire()
  444. lastframe = tick()
  445. else
  446. for i = 1, math.floor(tf / frame) do
  447. script.ArtificialHB:Fire()
  448. end
  449. lastframe = tick()
  450. end
  451. if tossremainder then
  452. tf = 0
  453. else
  454. tf = tf - frame * math.floor(tf / frame)
  455. end
  456. end
  457. end)
  458.  
  459. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  460. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  461. end
  462.  
  463. function PositiveAngle(NUMBER)
  464. if NUMBER >= 0 then
  465. NUMBER = 0
  466. end
  467. return NUMBER
  468. end
  469.  
  470. function NegativeAngle(NUMBER)
  471. if NUMBER <= 0 then
  472. NUMBER = 0
  473. end
  474. return NUMBER
  475. end
  476.  
  477. function Swait(NUMBER)
  478. if NUMBER == 0 or NUMBER == nil then
  479. ArtificialHB.Event:wait()
  480. else
  481. for i = 1, NUMBER do
  482. ArtificialHB.Event:wait()
  483. end
  484. end
  485. end
  486.  
  487. function QuaternionFromCFrame(cf)
  488. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  489. local trace = m00 + m11 + m22
  490. if trace > 0 then
  491. local s = math.sqrt(1 + trace)
  492. local recip = 0.5 / s
  493. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  494. else
  495. local i = 0
  496. if m11 > m00 then
  497. i = 1
  498. end
  499. if m22 > (i == 0 and m00 or m11) then
  500. i = 2
  501. end
  502. if i == 0 then
  503. local s = math.sqrt(m00 - m11 - m22 + 1)
  504. local recip = 0.5 / s
  505. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  506. elseif i == 1 then
  507. local s = math.sqrt(m11 - m22 - m00 + 1)
  508. local recip = 0.5 / s
  509. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  510. elseif i == 2 then
  511. local s = math.sqrt(m22 - m00 - m11 + 1)
  512. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  513. end
  514. end
  515. end
  516.  
  517. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  518. local xs, ys, zs = x + x, y + y, z + z
  519. local wx, wy, wz = w * xs, w * ys, w * zs
  520. local xx = x * xs
  521. local xy = x * ys
  522. local xz = x * zs
  523. local yy = y * ys
  524. local yz = y * zs
  525. local zz = z * zs
  526. 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))
  527. end
  528.  
  529. function QuaternionSlerp(a, b, t)
  530. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  531. local startInterp, finishInterp;
  532. if cosTheta >= 0.0001 then
  533. if (1 - cosTheta) > 0.0001 then
  534. local theta = ACOS(cosTheta)
  535. local invSinTheta = 1 / SIN(theta)
  536. startInterp = SIN((1 - t) * theta) * invSinTheta
  537. finishInterp = SIN(t * theta) * invSinTheta
  538. else
  539. startInterp = 1 - t
  540. finishInterp = t
  541. end
  542. else
  543. if (1 + cosTheta) > 0.0001 then
  544. local theta = ACOS(-cosTheta)
  545. local invSinTheta = 1 / SIN(theta)
  546. startInterp = SIN((t - 1) * theta) * invSinTheta
  547. finishInterp = SIN(t * theta) * invSinTheta
  548. else
  549. startInterp = t - 1
  550. finishInterp = t
  551. end
  552. end
  553. 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
  554. end
  555.  
  556. function Clerp(a, b, t)
  557. local qa = {QuaternionFromCFrame(a)}
  558. local qb = {QuaternionFromCFrame(b)}
  559. local ax, ay, az = a.x, a.y, a.z
  560. local bx, by, bz = b.x, b.y, b.z
  561. local _t = 1 - t
  562. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  563. end
  564.  
  565. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  566. local frame = IT("Frame")
  567. frame.BackgroundTransparency = TRANSPARENCY
  568. frame.BorderSizePixel = BORDERSIZEPIXEL
  569. frame.Position = POSITION
  570. frame.Size = SIZE
  571. frame.BackgroundColor3 = COLOR
  572. frame.BorderColor3 = BORDERCOLOR
  573. frame.Name = NAME
  574. frame.Parent = PARENT
  575. return frame
  576. end
  577.  
  578. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  579. local label = IT("TextLabel")
  580. label.BackgroundTransparency = 1
  581. label.Size = UD2(1, 0, 1, 0)
  582. label.Position = UD2(0, 0, 0, 0)
  583. label.TextColor3 = TEXTCOLOR
  584. label.TextStrokeTransparency = STROKETRANSPARENCY
  585. label.TextTransparency = TRANSPARENCY
  586. label.FontSize = TEXTFONTSIZE
  587. label.Font = TEXTFONT
  588. label.BorderSizePixel = BORDERSIZEPIXEL
  589. label.TextScaled = false
  590. label.Text = TEXT
  591. label.Name = NAME
  592. label.Parent = PARENT
  593. return label
  594. end
  595.  
  596. function NoOutlines(PART)
  597. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  598. end
  599.  
  600.  
  601. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  602. local NEWWELD = IT(TYPE)
  603. NEWWELD.Part0 = PART0
  604. NEWWELD.Part1 = PART1
  605. NEWWELD.C0 = C0
  606. NEWWELD.C1 = C1
  607. NEWWELD.Parent = PARENT
  608. return NEWWELD
  609. end
  610.  
  611. local sound = IT("Sound",nil)
  612.  
  613. function CreateSound(ID, PARENT, VOLUME, PITCH)
  614. local NEWSOUND = nil
  615. coroutine.resume(coroutine.create(function()
  616. NEWSOUND = sound:Clone()
  617. NEWSOUND.Parent = PARENT
  618. NEWSOUND.Volume = VOLUME
  619. NEWSOUND.Pitch = PITCH
  620. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  621. Swait()
  622. NEWSOUND:play()
  623. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  624. end))
  625. return NEWSOUND
  626. end
  627.  
  628. function CFrameFromTopBack(at, top, back)
  629. local right = top:Cross(back)
  630. 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)
  631. end
  632.  
  633. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  634. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  635. local mesh = IT("SpecialMesh",wave)
  636. mesh.MeshType = "FileMesh"
  637. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  638. mesh.Scale = SIZE
  639. mesh.Offset = VT(0,0,-SIZE.X/8)
  640. wave.CFrame = CFRAME
  641. coroutine.resume(coroutine.create(function(PART)
  642. for i = 1, WAIT do
  643. Swait()
  644. mesh.Scale = mesh.Scale + GROW
  645. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  646. if DOESROT == true then
  647. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  648. end
  649. wave.Transparency = wave.Transparency + (0.5/WAIT)
  650. if wave.Transparency > 0.99 then
  651. wave:remove()
  652. end
  653. end
  654. end))
  655. end
  656.  
  657. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  658. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  659. local mesh = IT("SpecialMesh",wave)
  660. mesh.MeshType = "FileMesh"
  661. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  662. mesh.Scale = SIZE
  663. mesh.Offset = VT(0,0,-SIZE.X/8)
  664. wave.CFrame = CFRAME
  665. coroutine.resume(coroutine.create(function(PART)
  666. for i = 1, WAIT do
  667. Swait()
  668. mesh.Scale = mesh.Scale + GROW
  669. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  670. if DOESROT == true then
  671. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  672. end
  673. wave.Transparency = wave.Transparency + (0.5/WAIT)
  674. if wave.Transparency > 0.99 then
  675. wave:remove()
  676. end
  677. end
  678. end))
  679. end
  680.  
  681. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  682. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  683. local mesh = IT("SpecialMesh",wave)
  684. mesh.MeshType = "FileMesh"
  685. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  686. mesh.Scale = SIZE
  687. mesh.Offset = VT(0,0,-SIZE.X/8)
  688. wave.CFrame = CFRAME
  689. coroutine.resume(coroutine.create(function(PART)
  690. for i = 1, WAIT do
  691. Swait()
  692. mesh.Scale = mesh.Scale + GROW
  693. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  694. if DOESROT == true then
  695. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  696. end
  697. wave.Transparency = wave.Transparency + (0.5/WAIT)
  698. if wave.Transparency > 0.99 then
  699. wave:remove()
  700. end
  701. end
  702. end))
  703. end
  704.  
  705. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  706. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  707. local mesh = IT("SpecialMesh",wave)
  708. mesh.MeshType = "FileMesh"
  709. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  710. mesh.Scale = SIZE
  711. mesh.Offset = VT(0,0,-SIZE.X/8)
  712. wave.CFrame = CFRAME
  713. coroutine.resume(coroutine.create(function(PART)
  714. for i = 1, WAIT do
  715. Swait()
  716. mesh.Scale = mesh.Scale + GROW
  717. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  718. if DOESROT == true then
  719. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  720. end
  721. wave.Transparency = wave.Transparency + (0.5/WAIT)
  722. if wave.Transparency > 0.99 then
  723. wave:remove()
  724. end
  725. end
  726. end))
  727. end
  728.  
  729. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  730. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  731. local mesh = IT("SpecialMesh",wave)
  732. mesh.MeshType = "FileMesh"
  733. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  734. mesh.Scale = SIZE
  735. wave.CFrame = CFRAME
  736. coroutine.resume(coroutine.create(function(PART)
  737. for i = 1, WAIT do
  738. Swait()
  739. mesh.Scale = mesh.Scale + GROW
  740. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  741. if DOESROT == true then
  742. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  743. end
  744. wave.Transparency = wave.Transparency + (0.5/WAIT)
  745. if wave.Transparency > 0.99 then
  746. wave:remove()
  747. end
  748. end
  749. end))
  750. end
  751.  
  752. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  753. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  754. local mesh = IT("SpecialMesh",wave)
  755. mesh.MeshType = "FileMesh"
  756. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  757. mesh.Scale = SIZE
  758. wave.CFrame = CFRAME
  759. coroutine.resume(coroutine.create(function(PART)
  760. for i = 1, WAIT do
  761. Swait()
  762. mesh.Scale = mesh.Scale + GROW
  763. if DOESROT == true then
  764. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  765. end
  766. wave.Transparency = wave.Transparency + (0.5/WAIT)
  767. if wave.Transparency > 0.99 then
  768. wave:remove()
  769. end
  770. end
  771. end))
  772. end
  773.  
  774. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  775. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  776. local mesh = IT("SpecialMesh",wave)
  777. mesh.MeshType = "FileMesh"
  778. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  779. mesh.Scale = SIZE
  780. mesh.Offset = VT(0,0,0)
  781. wave.CFrame = CFRAME
  782. coroutine.resume(coroutine.create(function(PART)
  783. for i = 1, WAIT do
  784. Swait()
  785. mesh.Scale = mesh.Scale + GROW
  786. if DOESROT == true then
  787. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  788. end
  789. wave.Transparency = wave.Transparency + (0.5/WAIT)
  790. if wave.Transparency > 0.99 then
  791. wave:remove()
  792. end
  793. end
  794. end))
  795. end
  796.  
  797. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  798. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  799. local mesh = IT("SpecialMesh",wave)
  800. mesh.MeshType = "Sphere"
  801. mesh.Scale = SIZE
  802. mesh.Offset = VT(0,0,0)
  803. wave.CFrame = CFRAME
  804. coroutine.resume(coroutine.create(function(PART)
  805. for i = 1, WAIT do
  806. Swait()
  807. mesh.Scale = mesh.Scale + GROW
  808. wave.Transparency = wave.Transparency + (1/WAIT)
  809. if wave.Transparency > 0.99 then
  810. wave:remove()
  811. end
  812. end
  813. end))
  814. end
  815.  
  816. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  817. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  818. local mesh = IT("BlockMesh",wave)
  819. wave.CFrame = CFRAME
  820. coroutine.resume(coroutine.create(function(PART)
  821. for i = 1, WAIT do
  822. Swait()
  823. mesh.Scale = mesh.Scale + GROW
  824. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  825. wave.Transparency = wave.Transparency + (1/WAIT)
  826. if wave.Transparency > 0.99 then
  827. wave:remove()
  828. end
  829. end
  830. end))
  831. end
  832.  
  833. function MakeForm(PART,TYPE)
  834. if TYPE == "Cyl" then
  835. local MSH = IT("CylinderMesh",PART)
  836. elseif TYPE == "Ball" then
  837. local MSH = IT("SpecialMesh",PART)
  838. MSH.MeshType = "Sphere"
  839. elseif TYPE == "Wedge" then
  840. local MSH = IT("SpecialMesh",PART)
  841. MSH.MeshType = "Wedge"
  842. elseif TYPE == "Head" then
  843. local MSH = IT("SpecialMesh",PART)
  844. MSH.Scale = VT(1.25,1.25,1.25)
  845. end
  846. end
  847.  
  848. function CheckTableForString(Table, String)
  849. for i, v in pairs(Table) do
  850. if string.find(string.lower(String), string.lower(v)) then
  851. return true
  852. end
  853. end
  854. return false
  855. end
  856.  
  857. function CheckIntangible(Hit)
  858. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  859. if Hit and Hit.Parent then
  860. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  861. return true
  862. end
  863. end
  864. return false
  865. end
  866.  
  867. Debris = game:GetService("Debris")
  868.  
  869. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  870. local Direction = CFrame.new(StartPos, Vec).lookVector
  871. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  872. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  873. if RayHit and CheckIntangible(RayHit) then
  874. if DelayIfHit then
  875. wait()
  876. end
  877. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  878. end
  879. return RayHit, RayPos, RayNormal
  880. end
  881.  
  882. function CreateMagicCircle()
  883. local sinkhole = IT("Part")
  884. sinkhole.Size = VT(0,0,0)
  885. sinkhole.Parent = Effects
  886. sinkhole.Material = "Neon"
  887. sinkhole.Color = C3(0,0,0)
  888. sinkhole.Anchored = true
  889. sinkhole.CanCollide = false
  890. sinkhole.Transparency = 1
  891. local decal = IT("Decal",sinkhole)
  892. decal.Face = "Top"
  893. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  894. local decal2 = IT("Decal",sinkhole)
  895. decal2.Face = "Bottom"
  896. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  897. return sinkhole
  898. end
  899.  
  900. function CreateGUICircle(TARGET)
  901. local GUI = Instance.new("BillboardGui",Character)
  902. GUI.Size = UDim2.new(0,0,0,0)
  903. GUI.Adornee = TARGET
  904. local GUI2 = IT("ImageLabel",GUI)
  905. GUI2.BackgroundTransparency = 1
  906. GUI2.BorderSizePixel = 0
  907. GUI2.Size = UDim2.new(1,0,1,0)
  908. GUI2.SizeConstraint = "RelativeYY"
  909. GUI.AlwaysOnTop = true
  910. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  911. return GUI,GUI2
  912. end
  913.  
  914. function CastWarpOutlines(TARGET)
  915. coroutine.resume(coroutine.create(function()
  916. local T = TARGET:GetChildren()
  917. for i = 1, # T do
  918. local child = T[i]
  919. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  920. local clone = child:Clone()
  921. clone.Parent = Effects
  922. clone.Anchored = true
  923. clone.CanCollide = false
  924. clone:ClearAllChildren()
  925. clone.CFrame = child.CFrame
  926. if clone.Name == "Head" then
  927. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  928. end
  929. if clone.ClassName == "MeshPart" then
  930. clone.TextureID = ""
  931. end
  932. clone.BrickColor = BRICKC"Black"
  933. clone.Material = "Neon"
  934. coroutine.resume(coroutine.create(function()
  935. for i = 1, 200 do
  936. Swait()
  937. clone.Transparency = clone.Transparency + 0.005
  938. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  939. end
  940. clone:remove()
  941. end))
  942. end
  943. end
  944. end))
  945. end
  946.  
  947. function turnto(position)
  948. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  949. end
  950.  
  951. local face = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Face mask", VT(1.001,1.001,1.001),false)
  952. local weld = CreateWeldOrSnapOrMotor("Weld", face, Head, face, CF(0.02,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  953. MakeForm(face,"Head")
  954. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Bright red", "Eye", VT(0.4,0.25,0.2),false)
  955. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
  956. MakeForm(part,"Ball")
  957. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.1,0.15),false)
  958. local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  959. MakeForm(Eye,"Ball")
  960.  
  961. for _, c in pairs(Weapon:GetChildren()) do
  962. if c.ClassName == "Part" then
  963. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  964. end
  965. end
  966.  
  967. Weapon.Parent = Character
  968.  
  969. Humanoid.Died:connect(function()
  970. ATTACK = true
  971. end)
  972.  
  973. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  974. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  975. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  976. local BODYGYRO = IT("BodyGyro", STATPART)
  977. local BODYPOSITION = IT("BodyPosition", STATPART)
  978. BODYPOSITION.P = 2000
  979. BODYPOSITION.D = 100
  980. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  981. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  982. game:GetService("Debris"):AddItem(STATPART ,5)
  983. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  984. BILLBOARDGUI.Adornee = STATPART
  985. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  986. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  987. BILLBOARDGUI.AlwaysOnTop = false
  988. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  989. TEXTLABEL.BackgroundTransparency = 1
  990. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  991. TEXTLABEL.Text = TEXT
  992. TEXTLABEL.Font = "SciFi"
  993. TEXTLABEL.FontSize="Size42"
  994. TEXTLABEL.TextColor3 = COLOR
  995. TEXTLABEL.TextStrokeTransparency = 1
  996. TEXTLABEL.TextScaled = true
  997. TEXTLABEL.TextWrapped = true
  998. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  999. if LABELTYPE == "Normal" then
  1000. for i = 1, 20 do
  1001. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1002. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1003. end
  1004. elseif LABELTYPE == "Debuff" then
  1005. for i = 1, 20 do
  1006. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1007. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1008. end
  1009. elseif LABELTYPE == "Shock" then
  1010. local ORIGIN = STATPART.Position
  1011. for i = 1, 20 do
  1012. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1013. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1014. end
  1015. end
  1016. THEPART.Parent = nil
  1017. end),STATPART, BODYPOSITION, TEXTLABEL)
  1018. end
  1019.  
  1020. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  1021. local dmg = math.random(min,max)
  1022. for i,v in ipairs(workspace:GetChildren()) do
  1023. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1024. local body = v:GetChildren()
  1025. for part = 1, #body do
  1026. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1027. if(body[part].Position - position).Magnitude < radius then
  1028. if v.ClassName == "Model" then
  1029. if v:FindFirstChildOfClass("Humanoid") then
  1030. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  1031. if HUMAN.Health ~= 0 then
  1032. if HasChain == true then
  1033. local defence = Instance.new("BoolValue",v)
  1034. defence.Name = ("HitBy"..Player.Name)
  1035. game:GetService("Debris"):AddItem(defence, 1)
  1036. coroutine.resume(coroutine.create(function()
  1037. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1038. if TORSO then
  1039. --print("Found "..v.Name.."'s Torso")
  1040. local PART = IT("Part",Effects)
  1041. PART.Anchored = true
  1042. PART.CanCollide = false
  1043. PART.Transparency = 1
  1044. PART.CFrame = CF(position)
  1045. Debris:AddItem(PART,15)
  1046. local A = IT("Attachment",PART)
  1047. --TORSO.Anchored = true
  1048. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1049. --print("Chain start")
  1050. Front.CFrame = CF(position)
  1051. Front.CanCollide = true
  1052. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1053. local B = IT("Attachment",Front)
  1054. local ChainLink = IT("Beam",Effects)
  1055. ChainLink.Texture = "rbxassetid://1262544869"
  1056. ChainLink.TextureSpeed = 0
  1057. ChainLink.FaceCamera = true
  1058. ChainLink.Width0 = 3
  1059. ChainLink.Attachment0 = A
  1060. ChainLink.Attachment1 = B
  1061. ChainLink.TextureMode = "Static"
  1062. local bv = Instance.new("BodyVelocity")
  1063. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1064. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  1065. bv.Parent = Front
  1066. bv.Name = "MOVE"
  1067. --print("Chain made")
  1068. coroutine.resume(coroutine.create(function()
  1069. Swait(30)
  1070. bv:remove()
  1071. local POS = Front.Position
  1072. Front.CanCollide = false
  1073. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  1074. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  1075. for i = 0, 1, 0.07 do
  1076. Swait()
  1077. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  1078. end
  1079. Front:remove()
  1080. ChainLink:remove()
  1081. end))
  1082. local harm = Front.Touched:Connect(function(hit)
  1083. impale(Front,hit)
  1084. end)
  1085. end
  1086. end))
  1087. elseif DoesWarp == true then
  1088. local defence = Instance.new("BoolValue",v)
  1089. defence.Name = ("HitBy"..Player.Name)
  1090. game:GetService("Debris"):AddItem(defence, 0.001)
  1091. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1092. Warp(TORSO,Instakill)
  1093. else
  1094. if CanBeDodgedByJumping == true then
  1095. if body[part].Position.Y < position.Y+5 then
  1096. if math.random(1,100) < critrate+1 then
  1097. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1098. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1099. else
  1100. HUMAN.Health = HUMAN.Health - dmg
  1101. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1102. end
  1103. local defence = Instance.new("BoolValue",v)
  1104. defence.Name = ("HitBy"..Player.Name)
  1105. game:GetService("Debris"):AddItem(defence, 0.01)
  1106. end
  1107. else
  1108. if beserk == true then
  1109. HUMAN.Health = 0
  1110. end
  1111. if math.random(1,100) < critrate+1 then
  1112. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1113. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1114. else
  1115. HUMAN.Health = HUMAN.Health - dmg
  1116. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1117. end
  1118. local defence = Instance.new("BoolValue",v)
  1119. defence.Name = ("HitBy"..Player.Name)
  1120. game:GetService("Debris"):AddItem(defence, 0.01)
  1121. end
  1122. end
  1123. end
  1124. end
  1125. end
  1126. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1127. end
  1128. end
  1129. end
  1130. if v.ClassName == "Part" then
  1131. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1132. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1133. end
  1134. end
  1135. end
  1136. end
  1137. end
  1138.  
  1139. function Warp(Victim,WarpToVoid)
  1140. print("Warping "..Victim.Name.."...")
  1141. Victim.Anchored = true
  1142. coroutine.resume(coroutine.create(function()
  1143. local GUI,GUI2 = CreateGUICircle(Victim)
  1144. CreateSound("1208650519", Victim, 10, 1)
  1145. for i = 1, 100 do
  1146. Swait()
  1147. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  1148. GUI2.Rotation = GUI2.Rotation + 4
  1149. end
  1150. CastWarpOutlines(Victim.Parent)
  1151. if WarpToVoid == false then
  1152. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1153. CreateSound("1177785010", Victim, 10, 1)
  1154. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1155. if HUMANOID ~= nil then
  1156. local dmg = MRANDOM(75,95)
  1157. HUMANOID.Health = HUMANOID.Health - dmg
  1158. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1159. end
  1160. for i = 1, 50 do
  1161. Swait()
  1162. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1163. GUI2.Rotation = GUI2.Rotation - 8
  1164. end
  1165. Victim.Anchored = false
  1166. GUI:remove()
  1167. elseif WarpToVoid == true then
  1168. CastWarpOutlines(Victim.Parent)
  1169. q = Victim.Parent:GetChildren()
  1170. for i = 1, #q do
  1171. if q[i] ~= Victim then
  1172. q[i]:remove()
  1173. end
  1174. end
  1175. CreateSound("1177785010", Victim, 10, 1)
  1176. Victim.Transparency = 1
  1177. for i = 1, 50 do
  1178. Swait()
  1179. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1180. GUI2.Rotation = GUI2.Rotation - 8
  1181. end
  1182. Victim.Parent:remove()
  1183. end
  1184. end))
  1185. end
  1186.  
  1187. function killnearest(position,range,maxstrength)
  1188. for i,v in ipairs(workspace:GetChildren()) do
  1189. local body = v:GetChildren()
  1190. for part = 1, #body do
  1191. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1192. if(body[part].Position - position).Magnitude < range then
  1193. if v.ClassName == "Model" then
  1194. v:BreakJoints()
  1195. end
  1196. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1197. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1198. end
  1199. end
  1200. end
  1201. if v.ClassName == "Part" then
  1202. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1203. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1204. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1205. end
  1206. end
  1207. end
  1208. end
  1209.  
  1210. function AttackTemplate()
  1211. ATTACK = true
  1212. Rooted = false
  1213. for i=0, 1, 0.1 / Animation_Speed do
  1214. Swait()
  1215. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1217. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1218. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1219. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1220. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1221. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1222. end
  1223. ATTACK = false
  1224. Rooted = false
  1225. end
  1226.  
  1227. function VoidWarp()
  1228. ATTACK = true
  1229. Rooted = false
  1230. for i=0, 0.2, 0.1 / Animation_Speed do
  1231. Swait()
  1232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1234. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1239. end
  1240. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  1241. CreateSound("1208650519", Torso, 10, 2.5)
  1242. local GUI,GUI2 = CreateGUICircle(Torso)
  1243. for i = 1, 50 do
  1244. Swait()
  1245. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1246. GUI2.Rotation = GUI2.Rotation + i/10
  1247. end
  1248. CastWarpOutlines(Character)
  1249. local POS = Torso.Position
  1250. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  1251. Swait()
  1252. CreateSound("1177785010", Torso, 10, 1)
  1253. coroutine.resume(coroutine.create(function()
  1254. for i = 1, 50 do
  1255. Swait()
  1256. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  1257. GUI2.Rotation = GUI2.Rotation - i/10
  1258. end
  1259. end))
  1260. ATTACK = false
  1261. Rooted = false
  1262. end
  1263.  
  1264. local asd = Instance.new("ParticleEmitter")
  1265. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1266. asd.LightEmission = .1
  1267. asd.Size = NumberSequence.new(0.2)
  1268. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1269. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1270. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1271. asd.Transparency = bbb
  1272. asd.Size = aaa
  1273. asd.ZOffset = .9
  1274. asd.Acceleration = Vector3.new(0, -15, 0)
  1275. asd.LockedToPart = false
  1276. asd.EmissionDirection = "Back"
  1277. asd.Lifetime = NumberRange.new(1, 2)
  1278. asd.Rotation = NumberRange.new(-100, 100)
  1279. asd.RotSpeed = NumberRange.new(-100, 100)
  1280. asd.Speed = NumberRange.new(25,35)
  1281. asd.Enabled = false
  1282. asd.VelocitySpread = 5
  1283.  
  1284. function getbloody(victim,amount)
  1285. local PART = IT("Part",Effects)
  1286. PART.Transparency = 1
  1287. PART.Size = victim.Size
  1288. PART.Anchored = true
  1289. PART.CanCollide = false
  1290. PART.CFrame = CF(victim.Position,Torso.Position)
  1291. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1292. Debris:AddItem(PART,5)
  1293. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1294. local prtcl = asd:Clone()
  1295. prtcl.Parent = PART
  1296. prtcl:Emit(amount*10)
  1297. end
  1298.  
  1299. function impale(chain,hit)
  1300. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1301. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1302. if humanoid.Health ~= 0 then
  1303. hit.Parent:BreakJoints()
  1304. getbloody(hit,15)
  1305. local prtcl = asd:Clone()
  1306. prtcl.Parent = chain
  1307. prtcl.Enabled = true
  1308. prtcl.Speed = NumberRange.new(0)
  1309. prtcl.Size = NumberSequence.new(0.2)
  1310. end
  1311. end
  1312. end
  1313.  
  1314. function clerp(a, b, t)
  1315. return a:lerp(b, t)
  1316. end
  1317.  
  1318. function newBezier(startpos, pos2, pos3, endpos, t)
  1319. local A = clerp(startpos, pos2, t)
  1320. local B = clerp(pos2, pos3, t)
  1321. local C = clerp(pos3, endpos, t)
  1322. local lerp1 = clerp(A, B, t)
  1323. local lerp2 = clerp(B, C, t)
  1324. local cubic = clerp(lerp1, lerp2, t)
  1325. return cubic
  1326. end
  1327.  
  1328. function VoidChain()
  1329. ATTACK = true
  1330. Rooted = false
  1331. for i=0, 2, 0.1 / Animation_Speed do
  1332. turnto(Mouse.Hit.p)
  1333. Swait()
  1334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  1336. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1337. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1338. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1339. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1340. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1341. end
  1342. CreateSound("1208650519", RightArm, 10, 2)
  1343. local RING = CreateMagicCircle()
  1344. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1345. for i = 1, 5 do
  1346. turnto(Mouse.Hit.p)
  1347. Swait()
  1348. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1349. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1350. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1351. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1352. RING.Size = RING.Size + VT(1,0,1)
  1353. end
  1354. coroutine.resume(coroutine.create(function()
  1355. local POS = Mouse.Hit.p
  1356. local A = IT("Attachment",RING)
  1357. for i = 1, 15 do
  1358. Swait(MRANDOM(0,5))
  1359. coroutine.resume(coroutine.create(function()
  1360. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1361. --print("Chain start")
  1362. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1363. Front.CanCollide = true
  1364. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1365. local B = IT("Attachment",Front)
  1366. local ChainLink = IT("Beam",RING)
  1367. ChainLink.Texture = "rbxassetid://1262544869"
  1368. ChainLink.TextureSpeed = 0
  1369. ChainLink.FaceCamera = true
  1370. ChainLink.Width0 = 3
  1371. ChainLink.Attachment0 = A
  1372. ChainLink.Attachment1 = B
  1373. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1374. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1375. ChainLink.TextureMode = "Static"
  1376. local bv = Instance.new("BodyVelocity")
  1377. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1378. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1379. bv.Parent = Front
  1380. bv.Name = "MOVE"
  1381. --print("Chain made")
  1382. coroutine.resume(coroutine.create(function()
  1383. Swait(50)
  1384. bv:remove()
  1385. local POS = Front.Position
  1386. Front.CanCollide = false
  1387. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1388. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1389. for i = 0, 1, 0.07 do
  1390. Swait()
  1391. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1392. end
  1393. Front:remove()
  1394. ChainLink:remove()
  1395. end))
  1396. local harm = Front.Touched:Connect(function(hit)
  1397. impale(Front,hit)
  1398. end)
  1399. end))
  1400. end
  1401. Swait(60)
  1402. for i = 1, 5 do
  1403. Swait()
  1404. RING.Size = RING.Size - VT(1,0,1)
  1405. end
  1406. RING:remove()
  1407. end))
  1408. ATTACK = false
  1409. Rooted = false
  1410. end
  1411.  
  1412. function VortexLeash()
  1413. ATTACK = true
  1414. Rooted = true
  1415. for i=0, 1, 0.1 / Animation_Speed do
  1416. Swait()
  1417. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1418. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1419. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  1424. end
  1425. local RING = CreateMagicCircle()
  1426. CreateSound("1208650519", RING, 10, 1.5)
  1427. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  1428. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  1429. for i = 1, 75 do
  1430. Swait()
  1431. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1432. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1433. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1434. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  1435. RING.Size = RING.Size + VT(1,0,1)
  1436. end
  1437. coroutine.resume(coroutine.create(function()
  1438. for i = 1, 450 do
  1439. Swait(2)
  1440. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  1441. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1442. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1443. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  1444. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  1445. local A = IT("Attachment",RING)
  1446. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  1447. coroutine.resume(coroutine.create(function()
  1448. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1449. --print("Chain start")
  1450. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1451. Front.CanCollide = false
  1452. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  1453. local B = IT("Attachment",Front)
  1454. local ChainLink = IT("Beam",RING)
  1455. ChainLink.Texture = "rbxassetid://1262544869"
  1456. ChainLink.TextureSpeed = 0
  1457. ChainLink.FaceCamera = true
  1458. ChainLink.Width0 = 3
  1459. ChainLink.Attachment0 = A
  1460. ChainLink.Attachment1 = B
  1461. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1462. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1463. ChainLink.TextureMode = "Static"
  1464. local bv = Instance.new("BodyVelocity")
  1465. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1466. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1467. bv.Parent = Front
  1468. bv.Name = "MOVE"
  1469. --print("Chain made")
  1470. coroutine.resume(coroutine.create(function()
  1471. Swait(50)
  1472. bv:remove()
  1473. local POS = Front.Position
  1474. Front.CanCollide = false
  1475. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1476. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1477. for i = 0, 1, 0.07 do
  1478. Swait()
  1479. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1480. end
  1481. Front:remove()
  1482. ChainLink:remove()
  1483. end))
  1484. local harm = Front.Touched:Connect(function(hit)
  1485. impale(Front,hit)
  1486. end)
  1487. end))
  1488. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  1489. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  1490. end
  1491. Swait(65)
  1492. for i = 1, 75 do
  1493. Swait()
  1494. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  1495. RING.Size = RING.Size - VT(1,0,1)
  1496. end
  1497. RING:remove()
  1498. end))
  1499. ATTACK = false
  1500. Rooted = false
  1501. end
  1502.  
  1503. function VortexBarrier()
  1504. ATTACK = true
  1505. Rooted = true
  1506. for i=0, 2, 0.1 / Animation_Speed do
  1507. Swait()
  1508. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1509. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1510. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1515. end
  1516. for i=0, 0.5, 0.1 / Animation_Speed do
  1517. Swait()
  1518. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1519. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1520. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1521. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1522. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1523. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1525. end
  1526. CreateSound("1208650519", Effects, 10, 1)
  1527. local GUI,GUI2 = CreateGUICircle(Torso)
  1528. local GUI3,GUI4 = CreateGUICircle(Torso)
  1529. for i = 1, 200 do
  1530. Swait()
  1531. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1532. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1533. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1534. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1535. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1536. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1537. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1538. GUI2.Rotation = GUI2.Rotation + i/10
  1539. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  1540. GUI4.Rotation = GUI4.Rotation - i/10
  1541. end
  1542. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  1543. Swait(25)
  1544. for i = 1, 100 do
  1545. Swait()
  1546. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  1547. GUI2.Rotation = GUI2.Rotation - i/5
  1548. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  1549. GUI4.Rotation = GUI4.Rotation + i/5
  1550. end
  1551. GUI:remove()
  1552. GUI3:remove()
  1553. ATTACK = false
  1554. Rooted = false
  1555. end
  1556.  
  1557. function MouseDown(Mouse)
  1558. if ATTACK == false then
  1559. end
  1560. end
  1561.  
  1562. function MouseUp(Mouse)
  1563. HOLD = false
  1564. end
  1565.  
  1566. function KeyDown(Key)
  1567. KEYHOLD = true
  1568. if Key == "z" and ATTACK == false then
  1569. VoidWarp()
  1570. end
  1571.  
  1572. if Key == "b" and ATTACK == false then
  1573. VoidChain()
  1574. end
  1575.  
  1576. if Key == "c" and ATTACK == false then
  1577. VortexLeash()
  1578. end
  1579.  
  1580. if Key == "v" and ATTACK == false then
  1581. VortexBarrier()
  1582. end
  1583.  
  1584. if Key == "x" and ATTACK == false then
  1585. end
  1586.  
  1587. if Key == "t" and ATTACK == false then
  1588. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 10, 1)
  1589. end
  1590. end
  1591.  
  1592. function KeyUp(Key)
  1593. KEYHOLD = false
  1594. end
  1595.  
  1596. Mouse.Button1Down:connect(function(NEWKEY)
  1597. MouseDown(NEWKEY)
  1598. end)
  1599. Mouse.Button1Up:connect(function(NEWKEY)
  1600. MouseUp(NEWKEY)
  1601. end)
  1602. Mouse.KeyDown:connect(function(NEWKEY)
  1603. KeyDown(NEWKEY)
  1604. end)
  1605. Mouse.KeyUp:connect(function(NEWKEY)
  1606. KeyUp(NEWKEY)
  1607. end)
  1608.  
  1609. function unanchor()
  1610. if UNANCHOR == true then
  1611. g = Character:GetChildren()
  1612. for i = 1, #g do
  1613. if g[i].ClassName == "Part" then
  1614. g[i].Anchored = false
  1615. end
  1616. end
  1617. end
  1618. end
  1619.  
  1620. local FF = IT("ForceField",Character)
  1621. FF.Visible = false
  1622.  
  1623. Humanoid.Changed:connect(function(Jump)
  1624. if Jump == "Jump" and (Disable_Jump == true) then
  1625. Humanoid.Jump = false
  1626. end
  1627. end)
  1628.  
  1629. Speed = 45
  1630.  
  1631. while true do
  1632. Swait()
  1633. ANIMATE.Parent = nil
  1634. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1635. IDLEANIMATION:Play()
  1636. SINE = SINE + CHANGE
  1637. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1638. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1639. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1640. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1641. local WALKSPEEDVALUE = 3
  1642. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1643. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1644. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1645. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1646. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1647. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1648. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1649. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1650. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1651. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1652. end
  1653. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1654. ANIM = "Jump"
  1655. if ATTACK == false then
  1656. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1657. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1658. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1., 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1661. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1662. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1663. end
  1664. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1665. ANIM = "Fall"
  1666. if ATTACK == false then
  1667. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1668. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1669. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.22,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1672. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1673. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1674. end
  1675. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1676. ANIM = "Idle"
  1677. if ATTACK == false then
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1680. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.25,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1685. end
  1686. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1687. ANIM = "Walk"
  1688. WALK = WALK + 1 / Animation_Speed
  1689. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1690. WALK = 0
  1691. if WALKINGANIM == true then
  1692. WALKINGANIM = false
  1693. elseif WALKINGANIM == false then
  1694. WALKINGANIM = true
  1695. end
  1696. end
  1697. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1698. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1699. if ATTACK == false then
  1700. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1701. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1702. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.26,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-120 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1705. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1707. end
  1708. end
  1709. if #Effects2>0 then
  1710. for e=1,#Effects2 do
  1711. if Effects2[e]~=nil then
  1712. local Thing=Effects2[e]
  1713. if Thing~=nil then
  1714. local Part=Thing[1]
  1715. local Mode=Thing[2]
  1716. local Delay=Thing[3]
  1717. local IncX=Thing[4]
  1718. local IncY=Thing[5]
  1719. local IncZ=Thing[6]
  1720. local Part2=Thing[8]
  1721. if Thing[1].Transparency<=1 then
  1722. if Thing[2]=="Block1" then
  1723. Thing[1].CFrame=Thing[1].CFrame
  1724. Mesh=Thing[1].Mesh
  1725. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1726. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1727. elseif Thing[2]=="Cylinder" then
  1728. Mesh=Thing[1].Mesh
  1729. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1730. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1731. elseif Thing[2]=="Blood" then
  1732. Mesh=Thing[7]
  1733. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1734. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1735. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1736. elseif Thing[2]=="Elec" then
  1737. Mesh=Thing[1].Mesh
  1738. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1739. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1740. elseif Thing[2]=="Disappear" then
  1741. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1742. end
  1743. else
  1744. Part.Parent=nil
  1745. table.remove(Effects2,e)
  1746. end
  1747. end
  1748. end
  1749. end
  1750. end
  1751. unanchor()
  1752. Humanoid.MaxHealth = "inf"
  1753. Humanoid.Health = "inf"
  1754. if Rooted == false then
  1755. Disable_Jump = false
  1756. Humanoid.WalkSpeed = Speed
  1757. elseif Rooted == true then
  1758. Disable_Jump = true
  1759. Humanoid.WalkSpeed = 0
  1760. end
  1761. q = Character:GetChildren()
  1762. for u = 1, #q do
  1763. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1764. if q[u].Handle:FindFirstChild("FaceFrontAttachment") or q[u].Handle:FindFirstChild("HatAttachment") then
  1765. q[u].Handle.Transparency = 1
  1766. end
  1767. end
  1768. end
  1769. local MATHS = {"0","1"}
  1770. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1771. Humanoid.PlatformStand = false
  1772. end
  1773. end)
  1774. KitchenGun.Name = "Kitchen Gun"
  1775. KitchenGun.Parent = tehwarudo
  1776. KitchenGun.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  1777. KitchenGun.Position = UDim2.new(0.419780225, 0, 0.376923084, 0)
  1778. KitchenGun.Size = UDim2.new(0, 116, 0, 50)
  1779. KitchenGun.Font = Enum.Font.SourceSans
  1780. KitchenGun.Text = "Kitchen Gun"
  1781. KitchenGun.TextColor3 = Color3.new(0, 0, 0)
  1782. KitchenGun.TextSize = 14
  1783. KitchenGun.MouseButton1Down:connect(function()
  1784. -- This script has been converted to FE by iPxter
  1785.  
  1786.  
  1787. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1788. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1789. do
  1790. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  1791. script.Parent = Player.Character
  1792.  
  1793. --RemoteEvent for communicating
  1794. local Event = Instance.new("RemoteEvent")
  1795. Event.Name = "UserInput_Event"
  1796.  
  1797. --Fake event to make stuff like Mouse.KeyDown work
  1798. local function fakeEvent()
  1799. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1800. t.connect = t.Connect
  1801. return t
  1802. end
  1803.  
  1804. --Creating fake input objects with fake variables
  1805. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1806. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1807. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1808. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1809. end}
  1810. --Merged 2 functions into one by checking amount of arguments
  1811. CAS.UnbindAction = CAS.BindAction
  1812.  
  1813. --This function will trigger the events that have been :Connect()'ed
  1814. local function te(self,ev,...)
  1815. local t = m[ev]
  1816. if t and t._fakeEvent and t.Function then
  1817. t.Function(...)
  1818. end
  1819. end
  1820. m.TrigEvent = te
  1821. UIS.TrigEvent = te
  1822.  
  1823. Event.OnServerEvent:Connect(function(plr,io)
  1824. if plr~=Player then return end
  1825. if io.isMouse then
  1826. m.Target = io.Target
  1827. m.Hit = io.Hit
  1828. else
  1829. local b = io.UserInputState == Enum.UserInputState.Begin
  1830. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1831. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1832. end
  1833. for _,t in pairs(CAS.Actions) do
  1834. for _,k in pairs(t.Keys) do
  1835. if k==io.KeyCode then
  1836. t.Function(t.Name,io.UserInputState,io)
  1837. end
  1838. end
  1839. end
  1840. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1841. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1842. end
  1843. end)
  1844. Event.Parent = NLS([==[
  1845. local Player = game:GetService("Players").LocalPlayer
  1846. local Event = script:WaitForChild("UserInput_Event")
  1847.  
  1848. local UIS = game:GetService("UserInputService")
  1849. local input = function(io,a)
  1850. if a then return end
  1851. --Since InputObject is a client-side instance, we create and pass table instead
  1852. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1853. end
  1854. UIS.InputBegan:Connect(input)
  1855. UIS.InputEnded:Connect(input)
  1856.  
  1857. local Mouse = Player:GetMouse()
  1858. local h,t
  1859. --Give the server mouse data 30 times every second, but only if the values changed
  1860. --If player is not moving their mouse, client won't fire events
  1861. while wait(1/30) do
  1862. if h~=Mouse.Hit or t~=Mouse.Target then
  1863. h,t=Mouse.Hit,Mouse.Target
  1864. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1865. end
  1866. end]==],Player.Character)
  1867. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1868. end
  1869. --[[ Kitchen Gun (REMADE) ]]--
  1870. -------------------------------------------------------
  1871. --[[
  1872.  
  1873. This script was created by WafflesAreVeryGood.
  1874. ATTACKS
  1875. _______
  1876.  
  1877.  
  1878. --]]
  1879. -------------------------------------------------------
  1880. print("This script was created by WafflesAreVeryGood!")
  1881. --[[Changeable Variables]]--
  1882. local multiplier = 10000 --Attack multiplier (default is 1)
  1883. local soundlist = {
  1884. HardHit1 = "rbxassetid://565207203",
  1885. HardHit2 = "rbxassetid://541909913",
  1886. HardHit3 = "rbxassetid://541909983",
  1887. WeakHit1 = "rbxassetid://558642292",
  1888. WeakHit2 = "rbxassetid://541907812",
  1889. Slice1 = "rbxassetid://260429964",
  1890. Slice2 = "rbxassetid://260430015",
  1891. Explosion1 = "rbxassetid://138186576",
  1892. Explosion2 = "rbxassetid://157878578",
  1893. Woosh1 = "rbxassetid://541909867",
  1894. Woosh2 = "rbxassetid://541909763",
  1895.  
  1896. }
  1897. local bgmusic = Instance.new("Sound")
  1898. bgmusic.Volume = 3.5
  1899. bgmusic.SoundId = "rbxassetid://877658690"
  1900. bgmusic.Looped = true
  1901. bgmusic.Parent = owner
  1902. bgmusic:Play()
  1903.  
  1904. --[[Important Variables]]--
  1905. local plr = owner
  1906. local char = plr.Character
  1907. local input = game:GetService('UserInputService')
  1908. ----
  1909. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  1910. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  1911. local rs = torso["Right Shoulder"]
  1912. local ls = torso["Left Shoulder"]
  1913. local rh = torso["Right Hip"]
  1914. local lh = torso["Left Hip"]
  1915. local neck = torso.Neck
  1916. local rj = rootpart["RootJoint"]
  1917. local humanoid = char:FindFirstChildOfClass("Humanoid")
  1918. ----
  1919. local huge = Vector3.new(math.huge, math.huge, math.huge)
  1920. local attacking = false
  1921. local cananim = true
  1922. local currentanim = "Idle"
  1923. local mode = "Normal"
  1924.  
  1925. --[[ Functions ]]--
  1926. function addattack(keycode, func)
  1927. if keycode ~= "MouseClick" then
  1928. input.InputBegan:connect(function(inp)
  1929. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  1930. func()
  1931. end
  1932. end)
  1933. else
  1934. mouse.Button1Down:connect(function()
  1935. func()
  1936. end)
  1937. end
  1938. end
  1939. function attackend(keycode, func)
  1940. input.InputEnded:connect(function(inp)
  1941. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  1942. func()
  1943. end
  1944. end)
  1945. end
  1946. function swait(t)
  1947. if t then
  1948. for i = 0, t do
  1949. game:GetService('RunService').Stepped:wait(0)
  1950. end
  1951. else
  1952. game:GetService('RunService').Stepped:wait(0)
  1953. end
  1954. return true
  1955. end
  1956. function fade(obj, dest, grow)
  1957. spawn(function()
  1958. local oldcf = obj.CFrame
  1959. for i = 0, 10 do
  1960. if grow then
  1961. obj.Size = obj.Size +Vector3.new(215,197,154)
  1962. obj.CFrame = oldcf
  1963. end
  1964. obj.Transparency = obj.Transparency +0.1
  1965. swait()
  1966. end
  1967. if dest then
  1968. obj:Destroy()
  1969. end
  1970. end)
  1971. end
  1972. function replacejoint(name)
  1973. local j = torso:FindFirstChild(name)
  1974. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  1975. if j then
  1976. if true then
  1977. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  1978. local new = Instance.new("Weld")
  1979. local c0 = j.C0
  1980. local c1 = j.C1
  1981. new.Part0 = j.Part0
  1982. j.Part0 = nil
  1983. new.Name = j.Name.." Replacement"
  1984. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  1985. new.Parent = j.Parent
  1986. new.Part1 = j.Part1
  1987. new.C0 = c0
  1988. new.C1 = c1
  1989. return new
  1990. end
  1991. end
  1992. end
  1993. function removejoint(name, fast)
  1994. local j = torso:FindFirstChild(name.." Replacement")
  1995. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  1996. if j then
  1997. local p0 = j.Part0
  1998. if p0 ~= nil then
  1999. local c0 = j.C0
  2000. local c1 = j.C1
  2001. j:Destroy()
  2002. local new = p0:FindFirstChild(name)
  2003. local ac0 = new.C0
  2004. local ac1 = new.C1
  2005. new.Part0 = p0
  2006. new.C0 = c0
  2007. new.C1 = c1
  2008. spawn(function()
  2009. if name ~= "RootJoint" then
  2010. if not fast then
  2011. for i = 0, 0.6, 0.1 do
  2012. print(i)
  2013. new.C0 = new.C0:Lerp(ac0, 0.5)
  2014. new.C1 = new.C1:lerp(ac1, 0.5)
  2015. swait()
  2016. end
  2017. else
  2018. new.C0 = new.C0:Lerp(ac0, 1)
  2019. new.C1 = new.C1:lerp(ac1, 1)
  2020. end
  2021. end
  2022. end)
  2023. end
  2024. end
  2025. end
  2026. function fixalljoints(fast)
  2027. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  2028. removejoint(v, fast)
  2029. end
  2030. end
  2031. function getnewjoints()
  2032. local rs = replacejoint("Right Shoulder")
  2033. local ls = replacejoint("Left Shoulder")
  2034. local rh = replacejoint("Right Hip")
  2035. local lh = replacejoint("Left Hip")
  2036. local neck = replacejoint("Neck")
  2037. local rj = replacejoint("RootJoint")
  2038. return rs,ls,rh,lh,neck,rj
  2039. end
  2040. function knockback(hit, force)
  2041. local bv = Instance.new("BodyVelocity")
  2042. bv.MaxForce = huge
  2043. bv.Velocity = force
  2044. bv.Parent = hit
  2045. game:GetService('Debris'):AddItem(bv, 0.15)
  2046. end
  2047. function soundeffect(id, volume, speed, parent, forcewait)
  2048. local func = function()
  2049. local s = LoadLibrary("RbxUtility").Create("Sound")()
  2050. s.Name = "SoundEffect"
  2051. s.Volume = volume
  2052. s.PlaybackSpeed = speed
  2053. s.SoundId = id
  2054. s.Looped = false
  2055. s.Parent = parent
  2056. s:Play()
  2057. repeat wait() until not s.Playing
  2058. s:Destroy()
  2059. end
  2060. if forcewait then
  2061. func()
  2062. else
  2063. spawn(func)
  2064. end
  2065. end
  2066. function specialsound(id, volume, speed, parent, starts, ends)
  2067. local func = function()
  2068. local s = LoadLibrary("RbxUtility").Create("Sound")()
  2069. s.Name = "SoundEffect"
  2070. s.Volume = volume
  2071. s.PlaybackSpeed = speed
  2072. s.SoundId = id
  2073. s.TimePosition = starts
  2074. s.Looped = false
  2075. s.Parent = parent
  2076. s:Play()
  2077. repeat swait() until s.TimePosition >= ends
  2078. s:Destroy()
  2079. end
  2080. spawn(func)
  2081. end
  2082. function hurt(hit, dmg)
  2083. --pcall(function()
  2084. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2085. if hum then
  2086. if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
  2087. hum.Health = hum.Health - dmg
  2088. return true
  2089. end
  2090. end
  2091. --end)
  2092. end
  2093. function disable(hit)
  2094. pcall(function()
  2095. for i,v in pairs(hit.Parent:GetChildren()) do
  2096. if v:IsA("Script") and v.Name ~= "Animate" then
  2097. v:Destroy()
  2098. soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
  2099. end
  2100. if v:IsA("Model") then
  2101. v:BreakJoints()
  2102. end
  2103. if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  2104. for _,child in pairs(v:GetChildren()) do
  2105. if child:IsA("Weld") then
  2106. child:Destroy()
  2107. end
  2108. end
  2109. end
  2110. end
  2111. end)
  2112. end
  2113. humanoid.Running:connect(function(speed)
  2114. if speed > 2 then
  2115. currentanim = "Walking"
  2116. else
  2117. currentanim = "Idle"
  2118. end
  2119. end)
  2120. humanoid.Jumping:connect(function(active)
  2121. if active then
  2122. currentanim = "Jumping"
  2123. end
  2124. end)
  2125. humanoid.FallingDown:connect(function(active)
  2126. if active then
  2127. currentanim = "Falling"
  2128. end
  2129. end)
  2130. humanoid.FreeFalling:connect(function(active)
  2131. if active and char.HumanoidRootPart.Velocity.Y < 0 then
  2132. currentanim = "Falling"
  2133. end
  2134. end)
  2135. pcall(function()
  2136. char.Animate:Destroy()
  2137. end)
  2138. for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
  2139. v:Stop()
  2140. end
  2141. --[[ Actual script :OOOOOOOOOO ]]--
  2142. local gun = Instance.new("Part")
  2143. gun.Size = Vector3.new(1, 1, 2)
  2144. gun.CanCollide = false
  2145. gun.Anchored = false
  2146. gun.Color = Color3.new(0,0,0)
  2147. local gunw = Instance.new("Weld")
  2148. gunw.Name = "GunWeld"
  2149. gunw.Part0 = gun
  2150. gunw.Part1 = char["Right Arm"]
  2151. gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
  2152. gunw.Parent = gun
  2153. local m = Instance.new("SpecialMesh")
  2154. m.MeshId = "http://www.roblox.com/asset/?id=4372594"
  2155. m.Scale = Vector3.new(1.2,1.2,1.2)
  2156. m.Parent = gun
  2157. gun.Parent = char
  2158.  
  2159. addattack(Enum.KeyCode.R, function()
  2160. if not attacking then
  2161. if mode == "Normal" then
  2162. mode = "Heal"
  2163. gun.Color = Color3.new(0,1,0)
  2164. specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
  2165. else
  2166. gun.Color = Color3.new(0,0,0)
  2167. mode = "Normal"
  2168. soundeffect("rbxassetid://833797091", 5, 1, char)
  2169. end
  2170. end
  2171. end)
  2172. addattack(Enum.KeyCode.Q, function()
  2173. if not attacking then
  2174. mode = "Disable"
  2175. gun.Color = Color3.new(1,0,0)
  2176. specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
  2177. end
  2178. end)
  2179. addattack(Enum.KeyCode.P, function()
  2180. if bgmusic.Playing then
  2181. bgmusic:Stop()
  2182. else
  2183. bgmusic:Play()
  2184. end
  2185. end)
  2186. addattack("MouseClick", function()
  2187. if not attacking then
  2188. cananim = false
  2189. attacking = true
  2190. for i = 0, 0.6, 0.1 do
  2191. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2192. rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
  2193. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2194. ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
  2195. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2196. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
  2197. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2198. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
  2199. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  2200. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  2201. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  2202. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  2203. swait()
  2204. end
  2205. local sounds = {
  2206. {17.49, 17.981267708586};
  2207. {17.490114626798, 17.755552823579};
  2208. {18, 18.465876732586707476};
  2209. }
  2210. local ids = sounds[math.random(#sounds)]
  2211. specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
  2212. local p = Instance.new("Part")
  2213. p.Anchored = false
  2214. p.Material = "Neon"
  2215. p.CanCollide = false
  2216. local start = gun.Position +Vector3.new(0.5,0,-0.5)
  2217. local endp = mouse.Hit.p
  2218. local ray = Ray.new(start, (endp-start).unit * 999)
  2219. local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
  2220. local mag = (start-position).magnitude + 2
  2221. p.Size = Vector3.new(0.1,0.1,mag)
  2222. p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
  2223. local bp = Instance.new("BodyPosition")
  2224. bp.MaxForce = huge
  2225. bp.Position = p.Position
  2226. bp.Parent = p
  2227. p.Color = gun.Color
  2228. if mode == "Normal" then
  2229. p.Color = Color3.new(215,197,154)
  2230. end
  2231. p.Parent = workspace
  2232. spawn(function()
  2233. for i = 1, 10 do
  2234. p.Transparency = i/10
  2235. swait()
  2236. end
  2237. p:Destroy()
  2238. end)
  2239. local con
  2240. local dmg = 75000
  2241. if mode == "Heal" then dmg = -1000 end
  2242. if mode == "Disable" then dmg = 0 end
  2243. con = p.Touched:connect(function(hit)
  2244. if hurt(hit, dmg) then
  2245. pcall(function()
  2246. con:disconnect()
  2247. if mode == "Disable" then
  2248. disable(hit)
  2249. end
  2250. for i,v in pairs(hit.Parent:GetDescendants()) do
  2251. spawn(function()
  2252. if v:IsA("BasePart") and mode == "Normal" then
  2253. local bv = Instance.new("BodyVelocity")
  2254. bv.MaxForce = huge
  2255. bv.Velocity = CFrame.new(start, position).lookVector*100
  2256. bv.Parent = v
  2257. game:GetService('Debris'):AddItem(bv, 0.1)
  2258. if v.Transparency <= 0.9 then
  2259. for i = 1, 20 do
  2260. v.Transparency = i/20
  2261. swait()
  2262. end
  2263. end
  2264. v:Destroy()
  2265. end
  2266. end)
  2267. end
  2268. end)
  2269. end
  2270. end)
  2271. for i = 0, 0.3, 0.1 do
  2272. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  2273. rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
  2274. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  2275. ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
  2276. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  2277. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
  2278. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  2279. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
  2280. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  2281. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
  2282. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  2283. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
  2284. swait()
  2285. end
  2286. cananim = true
  2287. attacking = false
  2288. end
  2289. end)
  2290. while true do
  2291. swait()
  2292. if currentanim == "Jumping" and cananim then
  2293. for i = 0, 1.2, 0.1 do
  2294. if currentanim ~= "Jumping" or not cananim then break end
  2295. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  2296. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
  2297. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  2298. ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
  2299. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  2300. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
  2301. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  2302. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
  2303. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  2304. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  2305. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  2306. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
  2307. swait()
  2308. end
  2309. end
  2310. if currentanim == "Falling" and cananim then
  2311. for i = 0, 1.2, 0.1 do
  2312. if currentanim ~= "Falling" or not cananim then break end
  2313. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  2314. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
  2315. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  2316. ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
  2317. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  2318. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
  2319. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  2320. lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
  2321. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  2322. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  2323. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  2324. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
  2325. swait()
  2326. end
  2327. end
  2328. if currentanim == "Walking" and cananim then
  2329. for i = 0, 0.6, 0.1 do
  2330. if currentanim ~= "Walking" or not cananim then break end
  2331. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2332. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  2333. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2334. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  2335. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2336. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
  2337. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2338. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
  2339. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  2340. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  2341. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  2342. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
  2343. swait()
  2344. end
  2345. local rslastc0 = rs.C0
  2346. local rslastc1 = rs.C1
  2347. local lslastc0 = ls.C0
  2348. local lslastc1 = ls.C1
  2349. local rhlastc0 = rh.C0
  2350. local rhlastc1 = rh.C1
  2351. local lhlastc0 = lh.C0
  2352. local lhlastc1 = lh.C1
  2353. local necklastc0 = neck.C0
  2354. local necklastc1 = neck.C1
  2355. local rjlastc0 = rj.C0
  2356. local rjlastc1 = rj.C1
  2357. local max = 0.6
  2358. for i = 0, max, 0.1 do
  2359. if currentanim ~= "Walking" or not cananim then break end
  2360. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  2361. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  2362. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  2363. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  2364. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  2365. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  2366. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  2367. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  2368. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  2369. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  2370. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  2371. rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
  2372. swait()
  2373. end
  2374. for i = 0, 0.6, 0.1 do
  2375. if currentanim ~= "Walking" or not cananim then break end
  2376. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2377. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  2378. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2379. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  2380. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  2381. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
  2382. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  2383. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
  2384. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  2385. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  2386. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  2387. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
  2388. swait()
  2389. end
  2390. local rslastc0 = rs.C0
  2391. local rslastc1 = rs.C1
  2392. local lslastc0 = ls.C0
  2393. local lslastc1 = ls.C1
  2394. local rhlastc0 = rh.C0
  2395. local rhlastc1 = rh.C1
  2396. local lhlastc0 = lh.C0
  2397. local lhlastc1 = lh.C1
  2398. local necklastc0 = neck.C0
  2399. local necklastc1 = neck.C1
  2400. local rjlastc0 = rj.C0
  2401. local rjlastc1 = rj.C1
  2402. local max = 0.6
  2403. for i = 0, max, 0.1 do
  2404. if currentanim ~= "Walking" or not cananim then break end
  2405. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  2406. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  2407. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  2408. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  2409. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  2410. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  2411. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  2412. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  2413. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  2414. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  2415. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  2416. rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
  2417. wait()
  2418. end
  2419. end
  2420. if currentanim == "Idle" and cananim then
  2421. for i = 0, 5, 0.1 do
  2422. if currentanim ~= "Idle" or not cananim then break end
  2423. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  2424. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
  2425. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  2426. ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
  2427. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  2428. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  2429. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  2430. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  2431. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2432. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2433. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2434. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
  2435. swait()
  2436. end
  2437. for i = 0, 5, 0.1 do
  2438. if currentanim ~= "Idle" or not cananim then break end
  2439. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  2440. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
  2441. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  2442. ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
  2443. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  2444. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  2445. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  2446. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  2447. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2448. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2449. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  2450. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
  2451. swait()
  2452. end
  2453. end
  2454. end
  2455. end)
  2456. GoldenGun.Name = "Golden Gun"
  2457. GoldenGun.Parent = tehwarudo
  2458. GoldenGun.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  2459. GoldenGun.Position = UDim2.new(0.725274742, 0, 0.376923084, 0)
  2460. GoldenGun.Size = UDim2.new(0, 116, 0, 50)
  2461. GoldenGun.Font = Enum.Font.SourceSans
  2462. GoldenGun.Text = "golden Gun"
  2463. GoldenGun.TextColor3 = Color3.new(0, 0, 0)
  2464. GoldenGun.TextSize = 14
  2465. GoldenGun.MouseButton1Down:connect(function()
  2466. -- This script has been converted to FE by iPxter
  2467.  
  2468.  
  2469. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2470. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2471. do
  2472. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  2473. script.Parent = Player.Character
  2474.  
  2475. --RemoteEvent for communicating
  2476. local Event = Instance.new("RemoteEvent")
  2477. Event.Name = "UserInput_Event"
  2478.  
  2479. --Fake event to make stuff like Mouse.KeyDown work
  2480. local function fakeEvent()
  2481. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  2482. t.connect = t.Connect
  2483. return t
  2484. end
  2485.  
  2486. --Creating fake input objects with fake variables
  2487. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2488. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2489. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2490. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2491. end}
  2492. --Merged 2 functions into one by checking amount of arguments
  2493. CAS.UnbindAction = CAS.BindAction
  2494.  
  2495. --This function will trigger the events that have been :Connect()'ed
  2496. local function te(self,ev,...)
  2497. local t = m[ev]
  2498. if t and t._fakeEvent and t.Function then
  2499. t.Function(...)
  2500. end
  2501. end
  2502. m.TrigEvent = te
  2503. UIS.TrigEvent = te
  2504.  
  2505. Event.OnServerEvent:Connect(function(plr,io)
  2506. if plr~=Player then return end
  2507. if io.isMouse then
  2508. m.Target = io.Target
  2509. m.Hit = io.Hit
  2510. else
  2511. local b = io.UserInputState == Enum.UserInputState.Begin
  2512. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2513. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2514. end
  2515. for _,t in pairs(CAS.Actions) do
  2516. for _,k in pairs(t.Keys) do
  2517. if k==io.KeyCode then
  2518. t.Function(t.Name,io.UserInputState,io)
  2519. end
  2520. end
  2521. end
  2522. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2523. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2524. end
  2525. end)
  2526. Event.Parent = NLS([==[
  2527. local Player = game:GetService("Players").LocalPlayer
  2528. local Event = script:WaitForChild("UserInput_Event")
  2529.  
  2530. local UIS = game:GetService("UserInputService")
  2531. local input = function(io,a)
  2532. if a then return end
  2533. --Since InputObject is a client-side instance, we create and pass table instead
  2534. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  2535. end
  2536. UIS.InputBegan:Connect(input)
  2537. UIS.InputEnded:Connect(input)
  2538.  
  2539. local Mouse = Player:GetMouse()
  2540. local h,t
  2541. --Give the server mouse data 30 times every second, but only if the values changed
  2542. --If player is not moving their mouse, client won't fire events
  2543. while wait(1/30) do
  2544. if h~=Mouse.Hit or t~=Mouse.Target then
  2545. h,t=Mouse.Hit,Mouse.Target
  2546. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2547. end
  2548. end]==],Player.Character)
  2549. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  2550. end
  2551. --[[Nocturna_A._Alteriano_Night.Owl.Inc]]--
  2552. wait(1 / 60)
  2553. Effects = { }
  2554. local Player = owner
  2555. local Character = Player.Character
  2556. local Humanoid = Character.Humanoid
  2557. local m = Instance.new('Model', Character)
  2558. m.Name = "WeaponModel"
  2559. local LeftArm = Character["Left Arm"]
  2560. local RightArm = Character["Right Arm"]
  2561. local LeftLeg = Character["Left Leg"]
  2562. local RightLeg = Character["Right Leg"]
  2563. local Head = Character.Head
  2564. local Torso = Character.Torso
  2565. local cam = game.Workspace.CurrentCamera
  2566. local RootPart = Character.HumanoidRootPart
  2567. local RootJoint = RootPart.RootJoint
  2568. local equipped = false
  2569. local attack = false
  2570. local Anim = 'Idle'
  2571. local idle = 0
  2572. local attacktype = 1
  2573. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2574. local velocity = RootPart.Velocity.y
  2575. local sine = 0
  2576. local change = 1
  2577. local grabbed = false
  2578. local cn = CFrame.new
  2579. local mr = math.rad
  2580. local angles = CFrame.Angles
  2581. local ud = UDim2.new
  2582. local c3 = Color3.new
  2583.  
  2584. Humanoid.Animator.Parent = nil
  2585. Character.Animate.Parent = nil
  2586.  
  2587. local newMotor = function(part0, part1, c0, c1)
  2588. local w = Instance.new('Motor', part0)
  2589. w.Part0 = part0
  2590. w.Part1 = part1
  2591. w.C0 = c0
  2592. w.C1 = c1
  2593. return w
  2594. end
  2595.  
  2596. function clerp(a, b, t)
  2597. return a:lerp(b, t)
  2598. end
  2599.  
  2600. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2601. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2602.  
  2603. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  2604. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  2605. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  2606. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  2607. RootJoint.C1 = CFrame.new(0, 0, 0)
  2608. RootJoint.C0 = CFrame.new(0, 0, 0)
  2609. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  2610. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  2611.  
  2612. local rarmc1 = RW.C1
  2613. local larmc1 = LW.C1
  2614. local rlegc1 = RH.C1
  2615. local llegc1 = LH.C1
  2616.  
  2617. local resetc1 = false
  2618.  
  2619. function PlayAnimationFromTable(table, speed, bool)
  2620. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  2621. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  2622. RW.C0 = clerp(RW.C0, table[3], speed)
  2623. LW.C0 = clerp(LW.C0, table[4], speed)
  2624. RH.C0 = clerp(RH.C0, table[5], speed)
  2625. LH.C0 = clerp(LH.C0, table[6], speed)
  2626. if bool == true then
  2627. if resetc1 == false then
  2628. resetc1 = true
  2629. RootJoint.C1 = RootJoint.C1
  2630. Torso.Neck.C1 = Torso.Neck.C1
  2631. RW.C1 = rarmc1
  2632. LW.C1 = larmc1
  2633. RH.C1 = rlegc1
  2634. LH.C1 = llegc1
  2635. end
  2636. end
  2637. end
  2638.  
  2639. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  2640.  
  2641. ArtificialHB = Instance.new("BindableEvent", script)
  2642. ArtificialHB.Name = "Heartbeat"
  2643.  
  2644. script:WaitForChild("Heartbeat")
  2645.  
  2646. frame = 1 / 30
  2647. tf = 0
  2648. allowframeloss = false
  2649. tossremainder = false
  2650. lastframe = tick()
  2651. script.Heartbeat:Fire()
  2652.  
  2653. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2654. tf = tf + s
  2655. if tf >= frame then
  2656. if allowframeloss then
  2657. script.Heartbeat:Fire()
  2658. lastframe = tick()
  2659. else
  2660. for i = 1, math.floor(tf / frame) do
  2661. script.Heartbeat:Fire()
  2662. end
  2663. lastframe = tick()
  2664. end
  2665. if tossremainder then
  2666. tf = 0
  2667. else
  2668. tf = tf - frame * math.floor(tf / frame)
  2669. end
  2670. end
  2671. end)
  2672.  
  2673. function swait(num)
  2674. if num == 0 or num == nil then
  2675. ArtificialHB.Event:wait()
  2676. else
  2677. for i = 0, num do
  2678. ArtificialHB.Event:wait()
  2679. end
  2680. end
  2681. end
  2682.  
  2683. local RbxUtility = LoadLibrary("RbxUtility")
  2684. local Create = RbxUtility.Create
  2685.  
  2686. function RemoveOutlines(part)
  2687. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2688. end
  2689.  
  2690. CFuncs = {
  2691. ["Part"] = {
  2692. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2693. local Part = Create("Part"){
  2694. Parent = Parent,
  2695. Reflectance = Reflectance,
  2696. Transparency = Transparency,
  2697. CanCollide = false,
  2698. Locked = true,
  2699. BrickColor = BrickColor.new(tostring(BColor)),
  2700. Name = Name,
  2701. Size = Size,
  2702. Material = Material,
  2703. }
  2704. RemoveOutlines(Part)
  2705. return Part
  2706. end;
  2707. };
  2708.  
  2709. ["Mesh"] = {
  2710. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2711. local Msh = Create(Mesh){
  2712. Parent = Part,
  2713. Offset = OffSet,
  2714. Scale = Scale,
  2715. }
  2716. if Mesh == "SpecialMesh" then
  2717. Msh.MeshType = MeshType
  2718. Msh.MeshId = MeshId
  2719. end
  2720. return Msh
  2721. end;
  2722. };
  2723.  
  2724. ["Mesh"] = {
  2725. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2726. local Msh = Create(Mesh){
  2727. Parent = Part,
  2728. Offset = OffSet,
  2729. Scale = Scale,
  2730. }
  2731. if Mesh == "SpecialMesh" then
  2732. Msh.MeshType = MeshType
  2733. Msh.MeshId = MeshId
  2734. end
  2735. return Msh
  2736. end;
  2737. };
  2738.  
  2739. ["Weld"] = {
  2740. Create = function(Parent, Part0, Part1, C0, C1)
  2741. local Weld = Create("Weld"){
  2742. Parent = Parent,
  2743. Part0 = Part0,
  2744. Part1 = Part1,
  2745. C0 = C0,
  2746. C1 = C1,
  2747. }
  2748. return Weld
  2749. end;
  2750. };
  2751.  
  2752. ["Sound"] = {
  2753. Create = function(id, par, vol, pit)
  2754. coroutine.resume(coroutine.create(function()
  2755. local S = Create("Sound"){
  2756. Volume = vol,
  2757. Pitch = pit or 1,
  2758. SoundId = id,
  2759. Parent = par or workspace,
  2760. }
  2761. Instance.new("DistortionSoundEffect", S).Level = 1
  2762. wait()
  2763. S:play()
  2764. game:GetService("Debris"):AddItem(S, 10)
  2765. end))
  2766. end;
  2767. };
  2768.  
  2769. ["ParticleEmitter"] = {
  2770. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2771. local fp = Create("ParticleEmitter"){
  2772. Parent = Parent,
  2773. Color = ColorSequence.new(Color1, Color2),
  2774. LightEmission = LightEmission,
  2775. Size = Size,
  2776. Texture = Texture,
  2777. Transparency = Transparency,
  2778. ZOffset = ZOffset,
  2779. Acceleration = Accel,
  2780. Drag = Drag,
  2781. LockedToPart = LockedToPart,
  2782. VelocityInheritance = VelocityInheritance,
  2783. EmissionDirection = EmissionDirection,
  2784. Enabled = Enabled,
  2785. Lifetime = LifeTime,
  2786. Rate = Rate,
  2787. Rotation = Rotation,
  2788. RotSpeed = RotSpeed,
  2789. Speed = Speed,
  2790. VelocitySpread = VelocitySpread,
  2791. }
  2792. return fp
  2793. end;
  2794. };
  2795. }
  2796.  
  2797. function rayCast(Position, Direction, Range, Ignore)
  2798. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2799. end
  2800.  
  2801. local function GetNearest(obj, distance)
  2802. local last, lastx = distance + 1
  2803. for i, v in pairs(workspace:GetChildren()) do
  2804. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  2805. local t = v.Torso
  2806. local dist = (t.Position - obj.Position).magnitude
  2807. if dist <= distance then
  2808. if dist < last then
  2809. last = dist
  2810. lastx = v
  2811. end
  2812. end
  2813. end
  2814. end
  2815. return lastx
  2816. end
  2817.  
  2818. --[[ Credits to Kert109 (Ninja_Deer) for the Damage function. Fenrier for the Magnitude Damage ]]--
  2819.  
  2820. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  2821. for i, v in pairs(hit:GetChildren()) do
  2822. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  2823. local find = v:FindFirstChild("DebounceHit")
  2824. if not find then
  2825. if v.Parent:findFirstChild("Head") then
  2826. local BillG = Create("BillboardGui"){
  2827. Parent = v.Parent.Head,
  2828. Size = UDim2.new(1, 0, 1, 0),
  2829. Adornee = v.Parent.Head,
  2830. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  2831. }
  2832. local TL = Create("TextLabel"){
  2833. Parent = BillG,
  2834. Size = UDim2.new(3, 3, 3, 3),
  2835. BackgroundTransparency = 1,
  2836. Text = tostring(damage).."-",
  2837. TextColor3 = Color1.Color,
  2838. TextStrokeColor3 = Color2.Color,
  2839. TextStrokeTransparency = 0,
  2840. TextXAlignment = Enum.TextXAlignment.Center,
  2841. TextYAlignment = Enum.TextYAlignment.Center,
  2842. FontSize = Enum.FontSize.Size18,
  2843. Font = "ArialBold",
  2844. }
  2845. coroutine.resume(coroutine.create(function()
  2846. swait(1)
  2847. for i = 0, 1, .1 do
  2848. swait(.1)
  2849. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  2850. end
  2851. BillG:Destroy()
  2852. end))
  2853. end
  2854. v.Health = v.Health - damage
  2855. local bool = Create("BoolValue"){
  2856. Parent = v,
  2857. Name = "DebounceHit",
  2858. }
  2859. if HSound ~= nil and HPitch ~= nil then
  2860. CFuncs["Sound"].Create(HSound, hit, 1, HPitch)
  2861. end
  2862. game:GetService("Debris"):AddItem(bool, cooldown)
  2863. end
  2864. end
  2865. end
  2866. end
  2867.  
  2868. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
  2869. for _, c in pairs(workspace:children()) do
  2870. local hum = c:findFirstChild("Humanoid")
  2871. if hum ~= nil then
  2872. local head = c:findFirstChild("Torso")
  2873. if head ~= nil then
  2874. local targ = head.Position - Part.Position
  2875. local mag = targ.magnitude
  2876. if mag <= magni and c.Name ~= Player.Name then
  2877. Damage(head.Parent, math.random(mindam, maxdam), 0.5, Color1, Color2, HSound, HPitch)
  2878. end
  2879. end
  2880. end
  2881. end
  2882. end
  2883.  
  2884. Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
  2885. HandleWeld = CFuncs["Weld"].Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199958801, -0.0500774384, -1.09998882, -1, 0, 0, 0, 0, -1, -0, -1, -0))
  2886. FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "FakeHandle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
  2887. FakeHandleWeld = CFuncs["Weld"].Create(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  2888. Barrel = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Barrel", Vector3.new(0.399999946, 0.399999976, 0.400000095))
  2889. BarrelWeld = CFuncs["Weld"].Create(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.749999046, -1.50000024, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  2890. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.399999946, 0.299999952, 0.400000095))
  2891. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.300000191, -0.400000095, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  2892. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://435840330", Vector3.new(0, 0, 0), Vector3.new(0.00200000009, 0.00200000009, 0.00200000009))
  2893. Part.Mesh.TextureId = "rbxassetid://435840335"
  2894.  
  2895. EffectModel = Instance.new("Model", Character)
  2896. EffectModel.Name = "Effects"
  2897.  
  2898. Effects = {
  2899. ["Block"] = {
  2900. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2901. local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2902. prt.Anchored = true
  2903. prt.CFrame = cframe
  2904. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2905. game:GetService("Debris"):AddItem(prt, 10)
  2906. if Type == 1 or Type == nil then
  2907. table.insert(Effects, {
  2908. prt,
  2909. "Block1",
  2910. delay,
  2911. x3,
  2912. y3,
  2913. z3,
  2914. msh
  2915. })
  2916. elseif Type == 2 then
  2917. table.insert(Effects, {
  2918. prt,
  2919. "Block2",
  2920. delay,
  2921. x3,
  2922. y3,
  2923. z3,
  2924. msh
  2925. })
  2926. end
  2927. end;
  2928. };
  2929.  
  2930. ["Cylinder"] = {
  2931. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2932. local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  2933. prt.Anchored = true
  2934. prt.CFrame = cframe
  2935. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2936. game:GetService("Debris"):AddItem(prt, 2)
  2937. Effects[#Effects + 1] = {
  2938. prt,
  2939. "Cylinder",
  2940. delay,
  2941. x3,
  2942. y3,
  2943. z3
  2944. }
  2945. end;
  2946. };
  2947.  
  2948. ["Sphere"] = {
  2949. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2950. local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2951. prt.Anchored = true
  2952. prt.CFrame = cframe
  2953. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2954. game:GetService("Debris"):AddItem(prt, 10)
  2955. table.insert(Effects, {
  2956. prt,
  2957. "Cylinder",
  2958. delay,
  2959. x3,
  2960. y3,
  2961. z3,
  2962. msh
  2963. })
  2964. end;
  2965. };
  2966.  
  2967. ["Elec"] = {
  2968. Create = function(cff, x, y, z)
  2969. local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  2970. prt.Anchored = true
  2971. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2972. prt.CFrame = CFrame.new(prt.Position)
  2973. game:GetService("Debris"):AddItem(prt, 2)
  2974. local xval = math.random() / 2
  2975. local yval = math.random() / 2
  2976. local zval = math.random() / 2
  2977. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2978. table.insert(Effects, {
  2979. prt,
  2980. "Elec",
  2981. 0.1,
  2982. x,
  2983. y,
  2984. z,
  2985. xval,
  2986. yval,
  2987. zval
  2988. })
  2989. end;
  2990.  
  2991. };
  2992.  
  2993. ["Ring"] = {
  2994. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2995. local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2996. prt.Anchored = true
  2997. prt.CFrame = cframe
  2998. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2999. game:GetService("Debris"):AddItem(prt, 10)
  3000. table.insert(Effects, {
  3001. prt,
  3002. "Cylinder",
  3003. delay,
  3004. x3,
  3005. y3,
  3006. z3,
  3007. msh
  3008. })
  3009. end;
  3010. };
  3011.  
  3012.  
  3013. ["Wave"] = {
  3014. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3015. local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3016. prt.Anchored = true
  3017. prt.CFrame = cframe
  3018. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3019. game:GetService("Debris"):AddItem(prt, 10)
  3020. table.insert(Effects, {
  3021. prt,
  3022. "Cylinder",
  3023. delay,
  3024. x3,
  3025. y3,
  3026. z3,
  3027. msh
  3028. })
  3029. end;
  3030. };
  3031.  
  3032. ["Break"] = {
  3033. Create = function(brickcolor, cframe, x1, y1, z1)
  3034. local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3035. prt.Anchored = true
  3036. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3037. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3038. local num = math.random(10, 50) / 1000
  3039. game:GetService("Debris"):AddItem(prt, 10)
  3040. table.insert(Effects, {
  3041. prt,
  3042. "Shatter",
  3043. num,
  3044. prt.CFrame,
  3045. math.random() - math.random(),
  3046. 0,
  3047. math.random(50, 100) / 100
  3048. })
  3049. end;
  3050. };
  3051. }
  3052.  
  3053. Shoot2 = function(orgpos)
  3054. local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p)
  3055. Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(orgpos), 5, 5, 5, 3, 3, 3, 0.1)
  3056. table.insert(Effects, {
  3057. MouseLook.lookVector,
  3058. "Shoot2",
  3059. 50,
  3060. orgpos,
  3061. 5,
  3062. 7,
  3063. 0,
  3064. 1,
  3065. 2
  3066. })
  3067. end
  3068.  
  3069. function attackone()
  3070. attack = true
  3071. CFuncs["Sound"].Create("rbxassetid://243053454", Torso, .1, 2.8)
  3072. for i = 0, 1, 0.025 do
  3073. swait()
  3074. PlayAnimationFromTable({
  3075. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3076. CFrame.new(0, 1.4999907, 3.42726707e-007, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3077. CFrame.new(0.431798398, 0.400000006, -0.888215482, 0.939692736, 0.342019886, 0, 0, 0, -1, -0.342019916, 0.939692736, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3078. CFrame.new(-0.559965074, 0.300000012, -0.828456283, 0.939692736, -0.342019886, 0, 0, 0, -1, 0.342019916, 0.939692736, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3079. CFrame.new(0.599619746, -1.99127948, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3080. CFrame.new(-0.599619746, -1.99127901, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3081. }, .3, false)
  3082. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  3083. end
  3084. CFuncs["Sound"].Create("rbxassetid://203691837", Barrel, .01, .3)
  3085. CFuncs["Sound"].Create("rbxassetid://131384028", Barrel, .01, .9)
  3086. CFuncs["Sound"].Create("rbxassetid://184718741", Barrel, .05, .9)
  3087. Shoot2(Barrel.Position)
  3088. for i = 0, 1, 0.15 do
  3089. swait()
  3090. RootPart.Velocity = RootPart.CFrame.lookVector * -50
  3091. PlayAnimationFromTable({
  3092. CFrame.new(-0, -0.281125277, 0.157014638, 1, 0, -0, 0, 0.906307876, -0.422617942, 0, 0.422617942, 0.906307876) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3093. CFrame.new(0, 1.4999938, 1.05202198e-005, 1, 0, -0, 0, 0.965925813, 0.258818924, -0, -0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3094. CFrame.new(0.406597674, 0.817824185, -0.957423151, 0.939692974, 0.280165672, -0.196174338, -5.36441803e-007, -0.573575616, -0.819152534, -0.34201926, 0.769751906, -0.538984895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3095. CFrame.new(-0.506752789, 0.775180221, -0.974653006, 0.939692974, -0.280165732, 0.196174279, 5.36441803e-007, -0.573575556, -0.819152713, 0.34201926, 0.769752145, -0.538984716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3096. CFrame.new(0.566868722, -1.61683154, -0.13679418, 0.954536259, -0.174988821, -0.241328761, 0.172366679, 0.984509468, -0.0321052969, 0.243208498, -0.0109513998, 0.969912171) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3097. CFrame.new(-0.545306504, -1.37044179, -0.679420352, 0.996202111, 0.0754783303, 0.0434113704, -0.0434117466, 0.862729907, -0.503797948, -0.0754781216, 0.49999994, 0.862729967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3098. }, .6, false)
  3099. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
  3100. end
  3101. for i = 0, 1, 0.15 do
  3102. swait()
  3103. RootPart.Velocity = RootPart.CFrame.lookVector * -100
  3104. PlayAnimationFromTable({
  3105. CFrame.new(-0, -0.795007467, 0.0831707418, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3106. CFrame.new(0, 1.49999774, 1.20103359e-005, 1, 0, -0, 0, 0.965925634, 0.258819878, -0, -0.258819878, 0.965925634) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3107. CFrame.new(1.70605683, 1.21151328, -0.185158521, 0.893217862, -0.29338178, -0.340718448, -0.340719074, -0.936116338, -0.0871595442, -0.293381065, 0.193941653, -0.936116695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3108. CFrame.new(-1.69524968, 1.05172348, -0.252849877, 0.812758088, 0.493294626, 0.309975445, 0.582562625, -0.694268882, -0.422624737, 0.00672781467, 0.524071693, -0.851647615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3109. CFrame.new(0.689150453, -1.88461804, -0.0157705098, 0.954536736, -0.174989104, -0.241326213, 0.172367141, 0.984509468, -0.0321044922, 0.243205875, -0.0109517872, 0.969912887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3110. CFrame.new(-0.536899447, -1.34506011, -0.583059072, 0.99620223, 0.0226762109, 0.0840658173, -0.043412663, 0.966281295, 0.253803402, -0.0754759163, -0.256489068, 0.963595748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3111. }, .2, false)
  3112. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  3113. end
  3114. for i = 0, 1, 0.05 do
  3115. swait()
  3116. RootPart.Velocity = RootPart.CFrame.lookVector * -50
  3117. PlayAnimationFromTable({
  3118. CFrame.new(-0, -2.09708667, 0.108620644, 1, 0, -0, 0, 0.573575675, -0.819152594, 0, 0.819152594, 0.573575675) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3119. CFrame.new(0, 1.53697455, -0.422635257, 1, 0, -0, 0, 0.766043842, 0.64278841, -0, -0.64278841, 0.766043842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3120. CFrame.new(1.57810855, 0.650130272, 0.33058399, 0.930655897, -0.284022599, -0.230674848, 0.352510452, 0.527023435, 0.773293555, -0.0980618149, -0.800985396, 0.590598404) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3121. CFrame.new(-1.38994181, 0.87733829, 0.667137444, 0.963715255, 0.08906921, 0.251633942, -0.25866431, 0.0788001418, 0.962747812, 0.0659223944, -0.992903471, 0.0989798903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3122. CFrame.new(0.774198592, -1.52057803, -0.607582211, 0.954536974, -0.272207022, -0.121501081, 0.172365844, 0.83655864, -0.520057499, 0.243206039, 0.475471497, 0.845445395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3123. CFrame.new(-0.530096769, -1.05517173, -0.660005629, 0.99620223, 0.0226761587, 0.0840661526, -0.0434127897, 0.966280818, 0.253804684, -0.0754762068, -0.256490231, 0.96359539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3124. }, .3, false)
  3125. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  3126. end
  3127. for i = 0, 1, 0.13 do
  3128. swait()
  3129. PlayAnimationFromTable({
  3130. CFrame.new(-0, -1.01349139, -0.251608461, 1, 0, 0, 0, 0.707105339, 0.707108378, 0, -0.707108378, 0.707105339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3131. CFrame.new(0.0127754211, 1.44207788, 0.0749337673, 1, 0, 0, 0, 0.939691544, -0.342023343, 0, 0.342023343, 0.939691544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3132. CFrame.new(1.62296665, 0.191783041, -0.192457974, 0.930656254, -0.329096794, 0.159920022, 0.352511466, 0.923570275, -0.150843769, -0.098055169, 0.196757287, 0.975536823) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3133. CFrame.new(-0.870643735, 0.71258086, -0.942903101, 0.18127799, -0.372358024, -0.910213113, -0.781424284, 0.507405519, -0.363202393, 0.597088516, 0.777103186, -0.19898814) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3134. CFrame.new(0.214147568, -1.73508716, -0.0895051956, 0.924306214, 0.282332808, -0.256800473, -0.113861978, 0.846218646, 0.520528436, 0.364271581, -0.451887846, 0.814311981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3135. CFrame.new(-0.535767198, -0.599929333, -0.996632636, 0.996202111, 0.0754788443, 0.0434101112, -0.0434126705, 0.862728953, -0.503799856, -0.0754773915, 0.500001788, 0.862729192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3136. }, .3, false)
  3137. end
  3138. attack = false
  3139. end
  3140.  
  3141. --[[Attacks]]--
  3142.  
  3143. mouse.Button1Down:connect(function()
  3144. if attack == false and attacktype == 1 then
  3145. attackone()
  3146. end
  3147. end)
  3148.  
  3149. mouse.KeyDown:connect(function(k)
  3150. k = k:lower()
  3151. if attack == false and k == '' then
  3152.  
  3153. end
  3154. end)
  3155.  
  3156. while true do
  3157. swait()
  3158. for i, v in pairs(Character:GetChildren()) do
  3159. if v:IsA("Part") then
  3160. v.Material = "SmoothPlastic"
  3161. elseif v:IsA("Accessory") then
  3162. v:WaitForChild("Handle").Material = "SmoothPlastic"
  3163. end
  3164. end
  3165. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3166. velocity = RootPart.Velocity.y
  3167. sine = sine + change
  3168. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  3169. if equipped == true or equipped == false then
  3170. if RootPart.Velocity.y > 1 and hit == nil then
  3171. Anim = "Jump"
  3172. if attack == false then
  3173. PlayAnimationFromTable({
  3174. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3175. CFrame.new(0, 1.49221826, -0.044082582, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3176. CFrame.new(1.66304386, 0.182627335, 0.00782334805, 0.883022726, -0.392632574, 0.257119894, 0.321392894, 0.905103981, 0.2783764, -0.342019886, -0.163176134, 0.925416708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3177. CFrame.new(-1.66570556, 0.224230319, 0.110721856, 0.903736115, 0.408218145, -0.128915116, -0.34750703, 0.875426054, 0.33595863, 0.25000003, -0.258819014, 0.933012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3178. CFrame.new(0.499999166, -1.99999452, 4.76837158e-007, 0.984807849, -5.94328526e-007, -0.173648044, 0.0449439958, 0.965925872, 0.254886925, 0.167730987, -0.258819073, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3179. CFrame.new(-0.499999404, -1.51703107, -0.129407585, 0.965925753, 6.6929374e-007, 0.258819193, -0.0669879839, 0.965925813, 0.24999994, -0.24999994, -0.258819163, 0.933012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3180. }, .3, false)
  3181. end
  3182. elseif RootPart.Velocity.y < -1 and hit == nil then
  3183. Anim = "Fall"
  3184. if attack == false then
  3185. PlayAnimationFromTable({
  3186. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3187. CFrame.new(0, 1.49221873, -0.0440826714, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3188. CFrame.new(1.76076102, 0.406842887, 0.0212866664, 0.695482016, -0.670965135, 0.257119834, 0.611573994, 0.74059701, 0.278376371, -0.377202988, -0.0363579579, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3189. CFrame.new(-1.68029141, 0.390803367, 0.155905366, 0.70961535, 0.692695498, -0.128914997, -0.625963271, 0.703777075, 0.335958213, 0.323444158, -0.157705069, 0.933012843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3190. CFrame.new(0.693307817, -1.96826017, -0.0605875254, 0.986561239, -0.127662987, -0.101976946, 0.137943029, 0.985269904, 0.101069227, 0.0875720233, -0.113777988, 0.989639223) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3191. CFrame.new(-0.526552737, -1.81498528, -0.152177691, 0.965925574, 0.0449441113, 0.254888207, -0.066988036, 0.994663239, 0.0784704387, -0.250001162, -0.0928710476, 0.963781357) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3192. }, .3, false)
  3193. end
  3194. elseif Torsovelocity < 1 and hit ~= nil then
  3195. Anim = "Idle"
  3196. if attack == false then
  3197. change = 1
  3198. PlayAnimationFromTable({
  3199. CFrame.new(1.22602091e-006, -0.219458103, 1.46111324e-006, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3200. CFrame.new(0, 1.49999201, 0, 0.707106233, 0, -0.707107306, 0, 1, 0, 0.707107306, 0, 0.707106233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3201. CFrame.new(0.571566343, -0.0739164352, -0.639066696, 0.939692855, 0.340718329, -0.0298085809, -0.241844058, 0.600305915, -0.762328327, -0.241844922, 0.723563433, 0.646503866) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3202. CFrame.new(-0.628383756, -0.12163578, -0.696761668, 0.939692736, -0.342020065, -5.06639481e-007, 0.196173996, 0.538984895, -0.819152653, 0.280166954, 0.769751549, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3203. CFrame.new(0.624118924, -1.79798961, 0.0678238794, 0.995454907, -0.0383867361, -0.0871553123, 0.0385330059, 0.999257326, -4.09960694e-006, 0.0870907605, -0.00335427374, 0.996194839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3204. CFrame.new(-0.53866595, -1.82180798, 0.00821807235, 0.977763176, 0.0281341001, 0.207816422, -0.0287620034, 0.999586344, -1.4934686e-007, -0.207730502, -0.00597707182, 0.978167892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3205. }, .3, false)
  3206. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  3207. end
  3208. elseif Torsovelocity > 2 and hit ~= nil then
  3209. Anim = "Walk"
  3210. if attack == false then
  3211. change = 3
  3212. PlayAnimationFromTable({
  3213. CFrame.new(0, -0.0240751095, -0.146390602, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3214. CFrame.new(0, 1.49999237, -1.81794167e-006, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3215. CFrame.new(0.172261134, 0.427689523, -1.09730911, 0.644483984, 0.748984814, -0.153825179, 0.413525045, -0.510645986, -0.753815472, -0.643146515, 0.422211438, -0.638827145) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3216. CFrame.new(-1.1922102, 0.363029838, -0.448653877, 0.935289383, -0.110854559, -0.33607316, -0.341521561, -0.531564534, -0.775114357, -0.0927196145, 0.839732468, -0.535025835) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3217. CFrame.new(.5, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 1.8 * math.sin(sine / 8) / 2) * angles(math.rad(-50 * math.sin(sine / 8)), math.rad(0), math.rad(0)),
  3218. CFrame.new(-.5, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 1.8 * math.sin(sine / 8) / 2) * angles(math.rad(50 * math.sin(sine / 8)), math.rad(0), math.rad(0)),
  3219. }, .3, false)
  3220. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3221. end
  3222. end
  3223. end
  3224. if 0 < #Effects then
  3225. for e = 1, #Effects do
  3226. if Effects[e] ~= nil then
  3227. local Thing = Effects[e]
  3228. if Thing ~= nil then
  3229. local Part = Thing[1]
  3230. local Mode = Thing[2]
  3231. local Delay = Thing[3]
  3232. local IncX = Thing[4]
  3233. local IncY = Thing[5]
  3234. local IncZ = Thing[6]
  3235. if Thing[2] == "Shoot" then
  3236. local Look = Thing[1]
  3237. local hit, pos = rayCast(Thing[4], Look, 15, Character)
  3238. local mag = (Thing[4] - pos).magnitude
  3239. Thing[9] = Thing[9] + 0.5
  3240. Thing[5] = Thing[5] + 0.2
  3241. Thing[6] = Thing[6] + 0.2
  3242. Effects["Cylinder"].Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), Thing[9], mag * 5, Thing[9], -0.2, 0, -0.2, 0.1)
  3243. Thing[4] = Thing[4] + Look * 15
  3244. Thing[3] = Thing[3] - 1
  3245. if hit ~= nil then
  3246. Thing[3] = 0
  3247. ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  3248. ref.Anchored = true
  3249. ref.CFrame = CFrame.new(pos)
  3250. Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  3251. CFuncs["Sound"].Create("rbxassetid://315748949", ref, 1, 1.1)
  3252. game:GetService("Debris"):AddItem(ref, 1)
  3253. end
  3254. if Thing[3] <= 0 then
  3255. table.remove(Effects, e)
  3256. end
  3257. end
  3258. do
  3259. if Thing[2] == "Shoot2" then
  3260. local Look = Thing[1]
  3261. local hit, pos = rayCast(Thing[4], Look, 3, Character)
  3262. local mag = (Thing[4] - pos).magnitude
  3263. Thing[9] = Thing[9] + 0.5
  3264. Thing[5] = Thing[5] + 0.2
  3265. Thing[6] = Thing[6] + 0.2
  3266. Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos), 25, 25, 25, -5, -5, -5, 0.2)
  3267. Thing[4] = Thing[4] + Look * 3
  3268. Thing[3] = Thing[3] + 5
  3269. if hit ~= nil then
  3270. Thing[3] = 0
  3271. ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  3272. ref.Anchored = true
  3273. ref.CFrame = CFrame.new(pos)
  3274. Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 25, 25, 25, 5, 5, 5, 0.01)
  3275. Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01)
  3276. Effects["Block"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01, 1)
  3277. Effects["Wave"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 2, 2, 2, 3, 3, 3, 0.01)
  3278. CFuncs["Sound"].Create("rbxassetid://203691837", ref, 1, .3)
  3279. CFuncs["Sound"].Create("rbxassetid://203691885", ref, 1, .9)
  3280. CFuncs["Sound"].Create("rbxassetid://184718741", ref, 1, .9)
  3281. local e = Instance.new("Explosion", ref)
  3282. e.Position = ref.Position
  3283. e.BlastRadius = 400
  3284. e.DestroyJointRadiusPercent = 20
  3285. e.Visible = false
  3286. e.ExplosionType = "CratersAndDebris"
  3287. game:GetService("Debris"):AddItem(ref, 10)
  3288. end
  3289. if Thing[3] <= 0 then
  3290. table.remove(Effects, e)
  3291. end
  3292. end
  3293. do
  3294. do
  3295. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Shoot2" then
  3296. if Thing[1].Transparency <= 1 then
  3297. if Thing[2] == "Block1" then
  3298. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3299. Mesh = Thing[7]
  3300. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3301. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3302. else
  3303. if Thing[2] == "Block2" then
  3304. Thing[1].CFrame = Thing[1].CFrame
  3305. Mesh = Thing[7]
  3306. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3307. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3308. else
  3309. if Thing[2] == "Block3" then
  3310. Thing[8].C0 = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * Thing[9]
  3311. Mesh = Thing[7]
  3312. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3313. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3314. else
  3315. if Thing[2] == "Cylinder" then
  3316. Mesh = Thing[7]
  3317. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3318. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3319. else
  3320. if Thing[2] == "Cylinder2" then
  3321. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
  3322. Mesh = Thing[7]
  3323. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3324. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3325. else
  3326. if Thing[2] == "Blood" then
  3327. Mesh = Thing[7]
  3328. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  3329. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3330. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3331. else
  3332. if Thing[2] == "Elec" then
  3333. Mesh = Thing[10]
  3334. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3335. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3336. else
  3337. if Thing[2] == "Disappear" then
  3338. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3339. end
  3340. end
  3341. end
  3342. end
  3343. end
  3344. end
  3345. end
  3346. end
  3347. else
  3348. Part.Parent = nil
  3349. table.remove(Effects, e)
  3350. end
  3351. end
  3352. end
  3353. end
  3354. end
  3355. end
  3356. end
  3357. end
  3358. end
  3359. end
  3360. end)
  3361. FallenAngel.Name = "Fallen Angel"
  3362. FallenAngel.Parent = tehwarudo
  3363. FallenAngel.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  3364. FallenAngel.Position = UDim2.new(0.0615384579, 0, 0.676923096, 0)
  3365. FallenAngel.Size = UDim2.new(0, 116, 0, 50)
  3366. FallenAngel.Font = Enum.Font.SourceSans
  3367. FallenAngel.Text = "fallen angel"
  3368. FallenAngel.TextColor3 = Color3.new(0, 0, 0)
  3369. FallenAngel.TextSize = 14
  3370. fallenAngel.MouseButton1Down:connect(function()
  3371. -- This script has been converted to FE by iPxter
  3372.  
  3373.  
  3374. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3375. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3376. do
  3377. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  3378. script.Parent = Player.Character
  3379.  
  3380. --RemoteEvent for communicating
  3381. local Event = Instance.new("RemoteEvent")
  3382. Event.Name = "UserInput_Event"
  3383.  
  3384. --Fake event to make stuff like Mouse.KeyDown work
  3385. local function fakeEvent()
  3386. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  3387. t.connect = t.Connect
  3388. return t
  3389. end
  3390.  
  3391. --Creating fake input objects with fake variables
  3392. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  3393. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  3394. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  3395. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  3396. end}
  3397. --Merged 2 functions into one by checking amount of arguments
  3398. CAS.UnbindAction = CAS.BindAction
  3399.  
  3400. --This function will trigger the events that have been :Connect()'ed
  3401. local function te(self,ev,...)
  3402. local t = m[ev]
  3403. if t and t._fakeEvent and t.Function then
  3404. t.Function(...)
  3405. end
  3406. end
  3407. m.TrigEvent = te
  3408. UIS.TrigEvent = te
  3409.  
  3410. Event.OnServerEvent:Connect(function(plr,io)
  3411. if plr~=Player then return end
  3412. if io.isMouse then
  3413. m.Target = io.Target
  3414. m.Hit = io.Hit
  3415. else
  3416. local b = io.UserInputState == Enum.UserInputState.Begin
  3417. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  3418. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  3419. end
  3420. for _,t in pairs(CAS.Actions) do
  3421. for _,k in pairs(t.Keys) do
  3422. if k==io.KeyCode then
  3423. t.Function(t.Name,io.UserInputState,io)
  3424. end
  3425. end
  3426. end
  3427. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  3428. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  3429. end
  3430. end)
  3431. Event.Parent = NLS([==[
  3432. local Player = game:GetService("Players").LocalPlayer
  3433. local Event = script:WaitForChild("UserInput_Event")
  3434.  
  3435. local UIS = game:GetService("UserInputService")
  3436. local input = function(io,a)
  3437. if a then return end
  3438. --Since InputObject is a client-side instance, we create and pass table instead
  3439. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  3440. end
  3441. UIS.InputBegan:Connect(input)
  3442. UIS.InputEnded:Connect(input)
  3443.  
  3444. local Mouse = Player:GetMouse()
  3445. local h,t
  3446. --Give the server mouse data 30 times every second, but only if the values changed
  3447. --If player is not moving their mouse, client won't fire events
  3448. while wait(1/30) do
  3449. if h~=Mouse.Hit or t~=Mouse.Target then
  3450. h,t=Mouse.Hit,Mouse.Target
  3451. Event:FireServer({isMouse=true,Target=t,Hit=h})
  3452. end
  3453. end]==],Player.Character)
  3454. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  3455. end
  3456. Player = owner
  3457. Character = Player.Character
  3458. local txt = Instance.new("BillboardGui", Character)
  3459. txt.Adornee = Character.Head
  3460. txt.Name = "_status"
  3461. txt.Size = UDim2.new(2, 0, 1.2, 0)
  3462. txt.StudsOffset = Vector3.new(-9, 8, 0)
  3463. local text = Instance.new("TextLabel", txt)
  3464. text.Size = UDim2.new(10, 0, 7, 0)
  3465. text.FontSize = "Size24"
  3466. text.TextScaled = true
  3467. text.TextTransparency = 1
  3468. text.BackgroundTransparency = 1
  3469. text.TextTransparency = 1
  3470. text.TextStrokeTransparency = 0
  3471. text.Font = "Antique"
  3472. text.TextStrokeColor3 = Color3.new(1, 1, 1)
  3473. text.Text = "Fallen Angel"
  3474. script.Name = "Banisher Gun V3 / 1"
  3475. --//====================================================\\--
  3476. --|| CREATED BY SHACKLUSTER
  3477. --\\====================================================//--
  3478. local Player_Size = 1
  3479. script:ClearAllChildren()
  3480. wait(0.2)
  3481.  
  3482. Player = owner
  3483. PlayerGui = Player.PlayerGui
  3484. Cam = workspace.CurrentCamera
  3485. Backpack = Player.Backpack
  3486. Character = Player.Character
  3487. Humanoid = Character.Humanoid
  3488. RootPart = Character["HumanoidRootPart"]
  3489. Torso = Character["Torso"]
  3490. Head = Character["Head"]
  3491. RightArm = Character["Right Arm"]
  3492. LeftArm = Character["Left Arm"]
  3493. RightLeg = Character["Right Leg"]
  3494. LeftLeg = Character["Left Leg"]
  3495. RootJoint = RootPart["RootJoint"]
  3496. Neck = Torso["Neck"]
  3497. RightShoulder = Torso["Right Shoulder"]
  3498. LeftShoulder = Torso["Left Shoulder"]
  3499. RightHip = Torso["Right Hip"]
  3500. LeftHip = Torso["Left Hip"]
  3501. local TIME = 0
  3502. local sick = Instance.new("Sound",Torso)
  3503.  
  3504. for i,v in pairs(Character:GetChildren()) do
  3505. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  3506. v:Destroy()
  3507. end
  3508. end
  3509.  
  3510. local Shirt = Instance.new("Shirt",Character)
  3511. local Pants = Instance.new("Pants",Character)
  3512. Shirt.ShirtTemplate = "rbxassetid://811066647"
  3513. Pants.PantsTemplate = "rbxassetid://1088567690"
  3514.  
  3515. IT = Instance.new
  3516. CF = CFrame.new
  3517. VT = Vector3.new
  3518. RAD = math.rad
  3519. C3 = Color3.new
  3520. UD2 = UDim2.new
  3521. BRICKC = BrickColor.new
  3522. ANGLES = CFrame.Angles
  3523. EULER = CFrame.fromEulerAnglesXYZ
  3524. COS = math.cos
  3525. ACOS = math.acos
  3526. SIN = math.sin
  3527. ASIN = math.asin
  3528. ABS = math.abs
  3529. MRANDOM = math.random
  3530. FLOOR = math.floor
  3531. --//=================================\\
  3532. --|| USEFUL VALUES
  3533. --\\=================================//
  3534.  
  3535. Animation_Speed = 3
  3536. local FORCERESET = false
  3537. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3538. local Speed = 16
  3539. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3540. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3541. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3542. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3543. local DAMAGEMULTIPLIER = 1
  3544. local ANIM = "Idle"
  3545. local ATTACK = false
  3546. local EQUIPPED = false
  3547. local HOLD = false
  3548. local COMBO = 1
  3549. local Rooted = false
  3550. local SINE = 0
  3551. local KEYHOLD = false
  3552. local CHANGE = 2 / Animation_Speed
  3553. local WALKINGANIM = false
  3554. local VALUE1 = false
  3555. local VALUE2 = false
  3556. local ROBLOXIDLEANIMATION = IT("Animation")
  3557. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3558. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3559. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3560. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3561. WEAPONGUI.Name = "BanishV3Gui"
  3562. local Weapon = IT("Model")
  3563. Weapon.Name = "Adds"
  3564. local Effects = IT("Folder", Weapon)
  3565. Effects.Name = "Effects"
  3566. local ANIMATOR = Humanoid.Animator
  3567. local ANIMATE = Character:FindFirstChild("Animate")
  3568. local UNANCHOR = true
  3569. local TOBANISH = {}
  3570. script.Parent = PlayerGui
  3571.  
  3572. --//=================================\\
  3573. --\\=================================//
  3574.  
  3575.  
  3576. --//=================================\\
  3577. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3578. --\\=================================//
  3579.  
  3580. ArtificialHB = Instance.new("BindableEvent", script)
  3581. ArtificialHB.Name = "ArtificialHB"
  3582.  
  3583. script:WaitForChild("ArtificialHB")
  3584.  
  3585. frame = Frame_Speed
  3586. tf = 0
  3587. allowframeloss = false
  3588. tossremainder = false
  3589. lastframe = tick()
  3590. script.ArtificialHB:Fire()
  3591.  
  3592. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3593. tf = tf + s
  3594. if tf >= frame then
  3595. if allowframeloss then
  3596. script.ArtificialHB:Fire()
  3597. lastframe = tick()
  3598. else
  3599. for i = 1, math.floor(tf / frame) do
  3600. script.ArtificialHB:Fire()
  3601. end
  3602. lastframe = tick()
  3603. end
  3604. if tossremainder then
  3605. tf = 0
  3606. else
  3607. tf = tf - frame * math.floor(tf / frame)
  3608. end
  3609. end
  3610. end)
  3611.  
  3612. --//=================================\\
  3613. --\\=================================//
  3614.  
  3615. --//=================================\\
  3616. --|| SOME FUNCTIONS
  3617. --\\=================================//
  3618.  
  3619. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3620. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3621. end
  3622.  
  3623. function PositiveAngle(NUMBER)
  3624. if NUMBER >= 0 then
  3625. NUMBER = 0
  3626. end
  3627. return NUMBER
  3628. end
  3629.  
  3630. function NegativeAngle(NUMBER)
  3631. if NUMBER <= 0 then
  3632. NUMBER = 0
  3633. end
  3634. return NUMBER
  3635. end
  3636.  
  3637. function Swait(NUMBER)
  3638. if NUMBER == 0 or NUMBER == nil then
  3639. ArtificialHB.Event:wait()
  3640. else
  3641. for i = 1, NUMBER do
  3642. ArtificialHB.Event:wait()
  3643. end
  3644. end
  3645. end
  3646.  
  3647. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3648. local NEWMESH = IT(MESH)
  3649. if MESH == "SpecialMesh" then
  3650. NEWMESH.MeshType = MESHTYPE
  3651. if MESHID ~= "nil" and MESHID ~= "" then
  3652. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3653. end
  3654. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3655. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3656. end
  3657. end
  3658. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3659. NEWMESH.Scale = SCALE
  3660. NEWMESH.Parent = PARENT
  3661. return NEWMESH
  3662. end
  3663.  
  3664. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3665. local NEWPART = IT("Part")
  3666. NEWPART.formFactor = FORMFACTOR
  3667. NEWPART.Reflectance = REFLECTANCE
  3668. NEWPART.Transparency = TRANSPARENCY
  3669. NEWPART.CanCollide = false
  3670. NEWPART.Locked = true
  3671. NEWPART.Anchored = true
  3672. if ANCHOR == false then
  3673. NEWPART.Anchored = false
  3674. end
  3675. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3676. NEWPART.Name = NAME
  3677. NEWPART.Size = SIZE
  3678. NEWPART.Position = Torso.Position
  3679. NEWPART.Material = MATERIAL
  3680. NEWPART:BreakJoints()
  3681. NEWPART.Parent = PARENT
  3682. return NEWPART
  3683. end
  3684.  
  3685. local function weldBetween(a, b)
  3686. local weldd = Instance.new("ManualWeld")
  3687. weldd.Part0 = a
  3688. weldd.Part1 = b
  3689. weldd.C0 = CFrame.new()
  3690. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3691. weldd.Parent = a
  3692. return weldd
  3693. end
  3694.  
  3695.  
  3696. function QuaternionFromCFrame(cf)
  3697. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3698. local trace = m00 + m11 + m22
  3699. if trace > 0 then
  3700. local s = math.sqrt(1 + trace)
  3701. local recip = 0.5 / s
  3702. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3703. else
  3704. local i = 0
  3705. if m11 > m00 then
  3706. i = 1
  3707. end
  3708. if m22 > (i == 0 and m00 or m11) then
  3709. i = 2
  3710. end
  3711. if i == 0 then
  3712. local s = math.sqrt(m00 - m11 - m22 + 1)
  3713. local recip = 0.5 / s
  3714. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3715. elseif i == 1 then
  3716. local s = math.sqrt(m11 - m22 - m00 + 1)
  3717. local recip = 0.5 / s
  3718. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3719. elseif i == 2 then
  3720. local s = math.sqrt(m22 - m00 - m11 + 1)
  3721. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3722. end
  3723. end
  3724. end
  3725.  
  3726. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3727. local xs, ys, zs = x + x, y + y, z + z
  3728. local wx, wy, wz = w * xs, w * ys, w * zs
  3729. local xx = x * xs
  3730. local xy = x * ys
  3731. local xz = x * zs
  3732. local yy = y * ys
  3733. local yz = y * zs
  3734. local zz = z * zs
  3735. 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))
  3736. end
  3737.  
  3738. function QuaternionSlerp(a, b, t)
  3739. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3740. local startInterp, finishInterp;
  3741. if cosTheta >= 0.0001 then
  3742. if (1 - cosTheta) > 0.0001 then
  3743. local theta = ACOS(cosTheta)
  3744. local invSinTheta = 1 / SIN(theta)
  3745. startInterp = SIN((1 - t) * theta) * invSinTheta
  3746. finishInterp = SIN(t * theta) * invSinTheta
  3747. else
  3748. startInterp = 1 - t
  3749. finishInterp = t
  3750. end
  3751. else
  3752. if (1 + cosTheta) > 0.0001 then
  3753. local theta = ACOS(-cosTheta)
  3754. local invSinTheta = 1 / SIN(theta)
  3755. startInterp = SIN((t - 1) * theta) * invSinTheta
  3756. finishInterp = SIN(t * theta) * invSinTheta
  3757. else
  3758. startInterp = t - 1
  3759. finishInterp = t
  3760. end
  3761. end
  3762. 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
  3763. end
  3764.  
  3765. function Clerp(a, b, t)
  3766. local qa = {QuaternionFromCFrame(a)}
  3767. local qb = {QuaternionFromCFrame(b)}
  3768. local ax, ay, az = a.x, a.y, a.z
  3769. local bx, by, bz = b.x, b.y, b.z
  3770. local _t = 1 - t
  3771. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3772. end
  3773.  
  3774. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3775. local frame = IT("Frame")
  3776. frame.BackgroundTransparency = TRANSPARENCY
  3777. frame.BorderSizePixel = BORDERSIZEPIXEL
  3778. frame.Position = POSITION
  3779. frame.Size = SIZE
  3780. frame.BackgroundColor3 = COLOR
  3781. frame.BorderColor3 = BORDERCOLOR
  3782. frame.Name = NAME
  3783. frame.Parent = PARENT
  3784. return frame
  3785. end
  3786.  
  3787. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3788. local label = IT("TextLabel")
  3789. label.BackgroundTransparency = 1
  3790. label.Size = UD2(1, 0, 1, 0)
  3791. label.Position = UD2(0, 0, 0, 0)
  3792. label.TextColor3 = TEXTCOLOR
  3793. label.TextStrokeTransparency = STROKETRANSPARENCY
  3794. label.TextTransparency = TRANSPARENCY
  3795. label.FontSize = TEXTFONTSIZE
  3796. label.Font = TEXTFONT
  3797. label.BorderSizePixel = BORDERSIZEPIXEL
  3798. label.TextScaled = false
  3799. label.Text = TEXT
  3800. label.Name = NAME
  3801. label.Parent = PARENT
  3802. return label
  3803. end
  3804.  
  3805. function NoOutlines(PART)
  3806. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3807. end
  3808.  
  3809. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3810. local NEWWELD = IT(TYPE)
  3811. NEWWELD.Part0 = PART0
  3812. NEWWELD.Part1 = PART1
  3813. NEWWELD.C0 = C0
  3814. NEWWELD.C1 = C1
  3815. NEWWELD.Parent = PARENT
  3816. return NEWWELD
  3817. end
  3818.  
  3819. local S = IT("Sound")
  3820. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3821. local NEWSOUND
  3822. coroutine.resume(coroutine.create(function()
  3823. NEWSOUND = S:Clone()
  3824. NEWSOUND.Parent = PARENT
  3825. NEWSOUND.EmitterSize = VOLUME * 3
  3826. NEWSOUND.Volume = VOLUME
  3827. NEWSOUND.Pitch = PITCH
  3828. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  3829. NEWSOUND:play()
  3830. if DOESLOOP == true then
  3831. NEWSOUND.Looped = true
  3832. else
  3833. repeat
  3834. wait(1)
  3835. until NEWSOUND.Playing == false
  3836. NEWSOUND:remove()
  3837. end
  3838. end))
  3839. return NEWSOUND
  3840. end
  3841.  
  3842. function CFrameFromTopBack(at, top, back)
  3843. local right = top:Cross(back)
  3844. 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)
  3845. end
  3846.  
  3847. local HATWELD = nil
  3848. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  3849. PLAYMAINANIM = false
  3850. if WhichPose == "Cast1" then
  3851. for i=0, Time, 0.1 / Animation_Speed do
  3852. Swait()
  3853. if Magic == true then
  3854. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3855. end
  3856. if Gyro ~= nil and Gyro ~= false then
  3857. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3858. end
  3859. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  3860. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  3861. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3862. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3863. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3864. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3865. end
  3866. elseif WhichPose == "Cast2" then
  3867. for i=0, Time, 0.1 / Animation_Speed do
  3868. Swait()
  3869. if Magic == true then
  3870. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3871. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3872. end
  3873. if Gyro ~= nil and Gyro ~= false then
  3874. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3875. end
  3876. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  3877. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  3878. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3879. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3880. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3881. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3882. end
  3883. elseif WhichPose == "RightArmUp" then
  3884. for i=0, Time, 0.1 / Animation_Speed do
  3885. Swait()
  3886. if Magic == true then
  3887. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3888. end
  3889. if Gyro ~= nil and Gyro ~= false then
  3890. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3891. end
  3892. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  3893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3894. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3895. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3896. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3897. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3898. end
  3899. elseif WhichPose == "Taunt" then
  3900. for i=0, Time, 0.1 / Animation_Speed do
  3901. Swait()
  3902. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  3903. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  3904. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3905. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3906. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3907. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3908. end
  3909. HATWELD.Part0 = RightArm
  3910. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  3911. CreateSound(137473066,Torso,10,1,false)
  3912. for i=0, Time*2, 0.1 / Animation_Speed do
  3913. Swait()
  3914. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  3915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  3916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3918. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3920. end
  3921. for i=0, Time, 0.1 / Animation_Speed do
  3922. Swait()
  3923. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  3924. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  3925. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3926. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3927. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3928. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3929. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  3930. end
  3931. HATWELD.Part0 = Head
  3932. HATWELD.C0 = CF(0,0.35,0)
  3933. elseif WhichPose == "Prepare key" then
  3934. for i=0, Time, 0.1 / Animation_Speed do
  3935. Swait()
  3936. if Gyro ~= nil and Gyro ~= false then
  3937. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  3938. end
  3939. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  3940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  3941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3943. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3945. end
  3946. elseif WhichPose == "Turn key" then
  3947. for i=0, Time, 0.1 / Animation_Speed do
  3948. Swait()
  3949. if Gyro ~= nil and Gyro ~= false then
  3950. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  3951. end
  3952. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  3953. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  3954. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  3955. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  3956. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  3957. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  3958. end
  3959. end
  3960. PLAYMAINANIM = true
  3961. end
  3962.  
  3963. --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})
  3964. function WACKYEFFECT(Table)
  3965. local TYPE = (Table.EffectType or "Sphere")
  3966. local SIZE = (Table.Size or VT(1,1,1))
  3967. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3968. local TRANSPARENCY = (Table.Transparency or 0)
  3969. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3970. local CFRAME = (Table.CFrame or Torso.CFrame)
  3971. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3972. local ROTATION1 = (Table.RotationX or 0)
  3973. local ROTATION2 = (Table.RotationY or 0)
  3974. local ROTATION3 = (Table.RotationZ or 0)
  3975. local MATERIAL = (Table.Material or "Neon")
  3976. local COLOR = (Table.Color or C3(1,1,1))
  3977. local TIME = (Table.Time or 45)
  3978. local SOUNDID = (Table.SoundID or nil)
  3979. local SOUNDPITCH = (Table.SoundPitch or nil)
  3980. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3981. coroutine.resume(coroutine.create(function()
  3982. local PLAYSSOUND = false
  3983. local SOUND = nil
  3984. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3985. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3986. PLAYSSOUND = true
  3987. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3988. end
  3989. EFFECT.Color = COLOR
  3990. local MSH = nil
  3991. if TYPE == "Sphere" then
  3992. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3993. elseif TYPE == "Block" then
  3994. MSH = IT("BlockMesh",EFFECT)
  3995. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3996. elseif TYPE == "Wave" then
  3997. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3998. elseif TYPE == "Ring" then
  3999. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  4000. elseif TYPE == "Slash" then
  4001. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4002. elseif TYPE == "Round Slash" then
  4003. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4004. elseif TYPE == "Swirl" then
  4005. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  4006. elseif TYPE == "Skull" then
  4007. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  4008. elseif TYPE == "Crystal" then
  4009. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  4010. end
  4011. if MSH ~= nil then
  4012. local MOVESPEED = nil
  4013. if MOVEDIRECTION ~= nil then
  4014. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  4015. end
  4016. local GROWTH = SIZE - ENDSIZE
  4017. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  4018. if TYPE == "Block" then
  4019. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4020. else
  4021. EFFECT.CFrame = CFRAME
  4022. end
  4023. for LOOP = 1, TIME+1 do
  4024. Swait()
  4025. MSH.Scale = MSH.Scale - GROWTH/TIME
  4026. if TYPE == "Wave" then
  4027. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  4028. end
  4029. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  4030. if TYPE == "Block" then
  4031. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4032. else
  4033. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  4034. end
  4035. if MOVEDIRECTION ~= nil then
  4036. local ORI = EFFECT.Orientation
  4037. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  4038. EFFECT.Orientation = ORI
  4039. end
  4040. end
  4041. if PLAYSSOUND == false then
  4042. EFFECT:remove()
  4043. else
  4044. SOUND.Stopped:Connect(function()
  4045. EFFECT:remove()
  4046. end)
  4047. end
  4048. else
  4049. if PLAYSSOUND == false then
  4050. EFFECT:remove()
  4051. else
  4052. repeat Swait() until SOUND.Playing == false
  4053. EFFECT:remove()
  4054. end
  4055. end
  4056. end))
  4057. end
  4058.  
  4059. function MakeForm(PART,TYPE)
  4060. if TYPE == "Cyl" then
  4061. local MSH = IT("CylinderMesh",PART)
  4062. elseif TYPE == "Ball" then
  4063. local MSH = IT("SpecialMesh",PART)
  4064. MSH.MeshType = "Sphere"
  4065. elseif TYPE == "Wedge" then
  4066. local MSH = IT("SpecialMesh",PART)
  4067. MSH.MeshType = "Wedge"
  4068. end
  4069. end
  4070.  
  4071. function SpawnTrail(FROM,TO,BIG)
  4072. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
  4073. MakeForm(TRAIL,"Cyl")
  4074. local DIST = (FROM - TO).Magnitude
  4075. if BIG == true then
  4076. TRAIL.Size = VT(0.5,DIST,0.5)
  4077. else
  4078. TRAIL.Size = VT(0.25,DIST,0.25)
  4079. end
  4080. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  4081. coroutine.resume(coroutine.create(function()
  4082. for i = 1, 5 do
  4083. Swait()
  4084. TRAIL.Transparency = TRAIL.Transparency + 0.1
  4085. end
  4086. TRAIL:remove()
  4087. end))
  4088. end
  4089.  
  4090. Debris = game:GetService("Debris")
  4091.  
  4092. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  4093. local DIRECTION = CF(StartPos,EndPos).lookVector
  4094. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  4095. end
  4096.  
  4097. function turnto(position)
  4098. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  4099. end
  4100.  
  4101. --//=================================\\
  4102. --|| WEAPON CREATION
  4103. --\\=================================//
  4104.  
  4105. local Particle = IT("ParticleEmitter",nil)
  4106. Particle.Enabled = false
  4107. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  4108. Particle.LightEmission = 0.5
  4109. Particle.Rate = 150
  4110. Particle.ZOffset = 0.2
  4111. Particle.Rotation = NumberRange.new(-180, 180)
  4112. Particle.RotSpeed = NumberRange.new(-180, 180)
  4113. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  4114. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
  4115.  
  4116. local HAT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  4117. local Hatweld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT, CF(0,1,0), CF(0, 0, 0))
  4118. CreateMesh("SpecialMesh", HAT, "FileMesh", "97094619", "97094572", VT(1,1,1), VT(0,0,0))
  4119. for i = 1, 16 do
  4120. local FACE = CreatePart(3, Character, "Neon", 0, 0+(i-1)/16.2, "White", "FaceGradient", VT(1.01,0.65,1.01),false)
  4121. FACE.Color = C3(0,0,0)
  4122. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  4123. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  4124. end
  4125. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  4126. MakeForm(EYE,"Ball")
  4127. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  4128. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  4129. MakeForm(EYE2,"Ball")
  4130. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  4131.  
  4132. local Particle = IT("ParticleEmitter",nil)
  4133. Particle.Enabled = false
  4134. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  4135. Particle.LightEmission = 5
  4136. Particle.Rate = 300
  4137. Particle.ZOffset = 0.2
  4138. Particle.Rotation = NumberRange.new(-180, 180)
  4139. Particle.RotSpeed = NumberRange.new(-180, 180)
  4140. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  4141. Particle.Color = ColorSequence.new(C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1))
  4142.  
  4143. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  4144. function ParticleEmitter(Table)
  4145. local PRTCL = Particle:Clone()
  4146. local Speed = Table.Speed or 5
  4147. local Drag = Table.Drag or 0
  4148. local Size1 = Table.Size1 or 1
  4149. local Size2 = Table.Size2 or 5
  4150. local Lifetime1 = Table.Lifetime1 or 1
  4151. local Lifetime2 = Table.Lifetime2 or 1.5
  4152. local Parent = Table.Parent or Torso
  4153. local Emit = Table.Emit or 100
  4154. local Offset = Table.Offset or 360
  4155. local Acel = Table.Acel or VT(0,0,0)
  4156. local Enabled = Table.Enabled or false
  4157. PRTCL.Parent = Parent
  4158. PRTCL.Size = NumberSequence.new(Size1,Size2)
  4159. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  4160. PRTCL.Speed = NumberRange.new(Speed)
  4161. PRTCL.VelocitySpread = Offset
  4162. PRTCL.Drag = Drag
  4163. PRTCL.Acceleration = Acel
  4164. if Enabled == false then
  4165. PRTCL:Emit(Emit)
  4166. Debris:AddItem(PRTCL,Lifetime2)
  4167. else
  4168. PRTCL.Enabled = true
  4169. end
  4170. return PRTCL
  4171. end
  4172.  
  4173. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  4174. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  4175. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  4176. MakeForm(Part,"Wedge")
  4177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  4178. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
  4179. MakeForm(Part,"Wedge")
  4180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  4181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
  4182. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4183. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
  4184. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4185. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
  4186. MakeForm(Part,"Cyl")
  4187. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4188. for i = 1, 8 do
  4189. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
  4190. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  4191. end
  4192. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
  4193. MakeForm(Part,"Cyl")
  4194. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4195. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
  4196. MakeForm(Part,"Ball")
  4197. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4198. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
  4199. MakeForm(Part,"Wedge")
  4200. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  4201. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
  4202. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4203. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
  4204. MakeForm(Part,"Cyl")
  4205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
  4207. MakeForm(Part,"Cyl")
  4208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
  4210. MakeForm(Part,"Cyl")
  4211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
  4213. MakeForm(Part,"Wedge")
  4214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  4215. local LASTPART = Handle
  4216. for i = 1, 10 do
  4217. if LASTPART == Handle then
  4218. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
  4219. LASTPART = Part
  4220. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4221. else
  4222. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
  4223. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  4224. LASTPART = Part
  4225. end
  4226. end
  4227.  
  4228. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
  4229. MakeForm(Barrel,"Cyl")
  4230. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4231. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
  4232. MakeForm(Part,"Cyl")
  4233. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  4234. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
  4235. MakeForm(Part,"Wedge")
  4236. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  4237. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
  4238. MakeForm(Hole,"Cyl")
  4239. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  4240. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
  4241. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4242. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  4243. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
  4244. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4245. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  4246. coroutine.resume(coroutine.create(function()
  4247. while wait() do
  4248. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  4249. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  4250. end
  4251. end))
  4252.  
  4253. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  4254. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  4255.  
  4256. for _, c in pairs(Weapon:GetDescendants()) do
  4257. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  4258. c.Material = "Glass"
  4259. c.Color = C3(1,1,1)
  4260. elseif c.ClassName == "Part" and c.Name == "Eye" then
  4261. c.Color = C3(0,0,0)
  4262. c.Material = "Neon"
  4263. end
  4264. end
  4265.  
  4266. Weapon.Parent = Character
  4267. for _, c in pairs(Weapon:GetChildren()) do
  4268. if c.ClassName == "Part" then
  4269. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4270. end
  4271. end
  4272.  
  4273. local SKILLTEXTCOLOR = C3(1,0,0)
  4274. local SKILLFONT = "Antique"
  4275. local SKILLTEXTSIZE = 7
  4276.  
  4277. Humanoid.Died:connect(function()
  4278. ATTACK = true
  4279. end)
  4280.  
  4281. 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")
  4282. --[[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")
  4283. 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")
  4284. 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")
  4285. 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")
  4286. ]]
  4287. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  4288. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  4289. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  4290. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  4291. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  4292. ]]
  4293. function printbye(Name)
  4294. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  4295. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  4296. end
  4297.  
  4298. workspace.ChildAdded:connect(function(instance)
  4299. for BANISH = 1, #TOBANISH do
  4300. if TOBANISH[BANISH] ~= nil then
  4301. if instance.Name == TOBANISH[BANISH] then
  4302. coroutine.resume(coroutine.create(function()
  4303. printbye(instance.Name)
  4304. instance:ClearAllChildren()
  4305. Debris:AddItem(instance,0.0005)
  4306. end))
  4307. end
  4308. end
  4309. end
  4310. end)
  4311.  
  4312. --//=================================\\
  4313. --|| DAMAGING
  4314. --\\=================================//
  4315.  
  4316. function Banish(Foe)
  4317. if Foe then
  4318. coroutine.resume(coroutine.create(function()
  4319. --if game.Players:FindFirstChild(Foe.Name) then
  4320. table.insert(TOBANISH,Foe.Name)
  4321. printbye(Foe.Name)
  4322. --end
  4323. Foe.Archivable = true
  4324. local CLONE = Foe:Clone()
  4325. Foe:Destroy()
  4326. CLONE.Parent = Effects
  4327. CLONE:BreakJoints()
  4328. local MATERIALS = {"Glass","Neon"}
  4329. for _, c in pairs(CLONE:GetDescendants()) do
  4330. if c:IsA("BasePart") then
  4331. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  4332. CreateSound(340722848, c, 10, 1, false)
  4333. end
  4334. c.Anchored = true
  4335. c.Transparency = c.Transparency + 0.2
  4336. c.Material = MATERIALS[MRANDOM(1,2)]
  4337. c.Color = C3(1,1,1)
  4338. if c.ClassName == "MeshPart" then
  4339. c.TextureID = ""
  4340. end
  4341. if c:FindFirstChildOfClass("SpecialMesh") then
  4342. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4343. end
  4344. if c:FindFirstChildOfClass("Decal") then
  4345. c:FindFirstChildOfClass("Decal"):remove()
  4346. end
  4347. c.Name = "Banished"
  4348. c.CanCollide = false
  4349. else
  4350. c:remove()
  4351. end
  4352. end
  4353. local A = false
  4354. for i = 1, 35 do
  4355. if A == false then
  4356. A = true
  4357. elseif A == true then
  4358. A = false
  4359. end
  4360. for _, c in pairs(CLONE:GetDescendants()) do
  4361. if c:IsA("BasePart") then
  4362. c.Anchored = true
  4363. c.Material = MATERIALS[MRANDOM(1,2)]
  4364. c.Transparency = c.Transparency + 0.8/35
  4365. if A == false then
  4366. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4367. elseif A == true then
  4368. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4369. end
  4370. end
  4371. end
  4372. Swait()
  4373. end
  4374. CLONE:remove()
  4375. end))
  4376. end
  4377. end
  4378.  
  4379. function ApplyAoE(POSITION,RANGE,ISBANISH)
  4380. local CHILDREN = workspace:GetDescendants()
  4381. for index, CHILD in pairs(CHILDREN) do
  4382. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4383. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4384. if HUM then
  4385. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4386. if TORSO then
  4387. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4388. if ISBANISH == true then
  4389. Banish(CHILD)
  4390. else
  4391. if ISBANISH == "Gravity" then
  4392. HUM.PlatformStand = true
  4393. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4394. local grav = Instance.new("BodyPosition",TORSO)
  4395. grav.D = 15
  4396. grav.P = 20000
  4397. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4398. grav.position = TORSO.Position
  4399. grav.Name = "V3BanishForce"..Player.Name
  4400. else
  4401. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  4402. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  4403. end
  4404. else
  4405. HUM.PlatformStand = false
  4406. end
  4407. end
  4408. elseif ISBANISH == "Gravity" then
  4409. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4410. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  4411. HUM.PlatformStand = false
  4412. end
  4413. end
  4414. end
  4415. end
  4416. end
  4417. end
  4418. end
  4419.  
  4420. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  4421.  
  4422. --//=================================\\
  4423. --|| ATTACK FUNCTIONS AND STUFF
  4424. --\\=================================//
  4425.  
  4426. function Shot()
  4427. ATTACK = true
  4428. Rooted = false
  4429. for i=0, 0.05, 0.1 / Animation_Speed do
  4430. Swait()
  4431. turnto(Mouse.Hit.p)
  4432. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4433. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4434. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4435. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4436. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4437. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4438. end
  4439. repeat
  4440. for i=0, 0.05, 0.1 / Animation_Speed do
  4441. Swait()
  4442. turnto(Mouse.Hit.p)
  4443. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4447. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4448. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4449. end
  4450. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  4451. SpawnTrail(Hole.Position,POS)
  4452. if HIT ~= nil then
  4453. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4454. Banish(HIT.Parent)
  4455. end
  4456. end
  4457. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4458. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  4459. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  4460. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  4461. for i=0, 0.05, 0.1 / Animation_Speed do
  4462. Swait()
  4463. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  4465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4467. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4469. end
  4470. until KEYHOLD == false
  4471. ATTACK = false
  4472. Rooted = false
  4473. end
  4474.  
  4475. function AttackTemplate()
  4476. ATTACK = true
  4477. Rooted = false
  4478. for i=0, 1, 0.1 / Animation_Speed do
  4479. Swait()
  4480. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4484. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4486. end
  4487. ATTACK = false
  4488. Rooted = false
  4489. end
  4490.  
  4491. function chatfunc(text)
  4492. local chat = coroutine.wrap(function()
  4493. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4494. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4495. end
  4496. local Bill = Instance.new("BillboardGui",Character)
  4497. Bill.Size = UDim2.new(0,100,0,40)
  4498. Bill.StudsOffset = Vector3.new(0,3,0)
  4499. Bill.Adornee = Character.Head
  4500. Bill.Name = "TalkingBillBoard"
  4501. local Hehe = Instance.new("TextLabel",Bill)
  4502. Hehe.BackgroundTransparency = 1
  4503. Hehe.BorderSizePixel = 0
  4504. Hehe.Text = ""
  4505. Hehe.Font = "Bodoni"
  4506. Hehe.TextSize = 40
  4507. Hehe.TextStrokeTransparency = 0
  4508. Hehe.Size = UDim2.new(1,0,0.5,0)
  4509. coroutine.resume(coroutine.create(function()
  4510. while Hehe ~= nil do
  4511. swait()
  4512. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  4513. Hehe.Rotation = math.random(-5,5)
  4514. Hehe.TextColor3 = Color3.new(196, 40, 28)
  4515. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  4516. end
  4517. end))
  4518. for i = 1,string.len(text),1 do
  4519. swait()
  4520. Hehe.Text = string.sub(text,1,i)
  4521. end
  4522. swait(90)--Re[math.random(1, 93)]
  4523. for i = 0, 1, .025 do
  4524. swait()
  4525. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  4526. Hehe.TextStrokeTransparency = i
  4527. Hehe.TextTransparency = i
  4528. end
  4529. Bill:Destroy()
  4530. end)
  4531. chat()
  4532. end
  4533.  
  4534. function onChatted(msg)
  4535. chatfunc(msg)
  4536. end
  4537.  
  4538. Player.Chatted:connect(onChatted)
  4539.  
  4540. function Swait(NUMBER)
  4541. if NUMBER == 0 or NUMBER == nil then
  4542. ArtificialHB.Event:wait()
  4543. else
  4544. for i = 1, NUMBER do
  4545. ArtificialHB.Event:wait()
  4546. end
  4547. end
  4548. end
  4549.  
  4550. function swait(num)
  4551. if num == 0 or num == nil then
  4552. ArtificialHB.Event:wait()
  4553. else
  4554. for i = 0, num do
  4555. ArtificialHB.Event:wait()
  4556. end
  4557. end
  4558. end
  4559.  
  4560. local EYES = {}
  4561. function ApplyDamage9(Humanoid,Damage,TorsoPart)
  4562. local defence = Instance.new("BoolValue",Humanoid.Parent)
  4563. defence.Name = ("HitBy"..Player.Name)
  4564. game:GetService("Debris"):AddItem(defence, 0.001)
  4565. Damage = Damage * DAMAGEMULTIPLIER
  4566. if Humanoid.Health ~= 0 then
  4567. local CritChance = MRANDOM(1,100)
  4568. if Damage > Humanoid.Health then
  4569. Damage = math.ceil(Humanoid.Health)
  4570. if Damage == 0 then
  4571. Damage = 0.1
  4572. end
  4573. end
  4574. Humanoid.Health = Humanoid.Health - Damage
  4575. end
  4576. end
  4577.  
  4578. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  4579. local CHILDREN = workspace:GetDescendants()
  4580. for index, CHILD in pairs(CHILDREN) do
  4581. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4582. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4583. if HUM then
  4584. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4585. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  4586. if IZBANISH == true then
  4587. Banish(CHILD)
  4588. else
  4589. local DMG = MRANDOM(MINDMG, MAXDMG)
  4590. ApplyDamage9(HUM, DMG, TORSO)
  4591. end
  4592. if FLING > 0 then
  4593. for _, c in pairs(CHILD:GetChildren()) do
  4594. if c:IsA("BasePart") then
  4595. local bv = Instance.new("BodyVelocity")
  4596. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4597. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  4598. bv.Parent = c
  4599. Debris:AddItem(bv, 0.05)
  4600. end
  4601. end
  4602. end
  4603. end
  4604. end
  4605. end
  4606. end
  4607. end
  4608.  
  4609. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  4610. if FLOOR ~= nil then
  4611. coroutine.resume(coroutine.create(function()
  4612. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  4613. PART.CFrame = CF(POSITION)
  4614. for i = 1, 45 do
  4615. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  4616. RingPiece.Material = FLOOR.Material
  4617. RingPiece.Color = FLOOR.Color
  4618. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  4619. Debris:AddItem(RingPiece, SWAIT)
  4620. end
  4621. PART:remove()
  4622. end))
  4623. end
  4624. end
  4625. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  4626. if FLOOR ~= nil then
  4627. for i = 1, AMOUNT do
  4628. do
  4629. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  4630. DEBREE.Material = FLOOR.Material
  4631. DEBREE.Color = FLOOR.Color
  4632. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  4633. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  4634. coroutine.resume(coroutine.create(function()
  4635. Swait(15)
  4636. DEBREE.Parent = workspace
  4637. DEBREE.CanCollide = true
  4638. Debris:AddItem(DEBREE, SWAIT)
  4639. end))
  4640. end
  4641. end
  4642. end
  4643. end
  4644.  
  4645. function Fire_At_Will()
  4646. ATTACK = true
  4647. Rooted = false
  4648. local GYRO = IT("BodyGyro", RootPart)
  4649. GYRO.D = 750
  4650. GYRO.P = 2000
  4651. GYRO.MaxTorque = VT(0, 40000, 0)
  4652. for i = 0, 0.2, 0.1 / Animation_Speed do
  4653. Swait()
  4654. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4655. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  4656. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  4657. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4658. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4659. if ANIM == "Idle" then
  4660. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4661. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4662. elseif ANIM == "Walk" then
  4663. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4664. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4665. elseif ANIM == "Jump" or ANIM == "Fall" then
  4666. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4667. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4668. end
  4669. end
  4670. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "White", "Sphere", VT(1, 1, 1), false)
  4671. MakeForm(BOMB, "Ball")
  4672. BOMB.Mesh.Scale = VT(2, 2, 2)
  4673. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  4674. for i = 0, 1.5, 0.1 / Animation_Speed do
  4675. Swait()
  4676. if MRANDOM(1, 2) == 1 then
  4677. for E = 1, #EYES do
  4678. if EYES[E] ~= nil then
  4679. local EY = EYES[E]
  4680. local LIGHTNING = Zap({
  4681. StartPosition = EY.Position,
  4682. TargetPosition = BOMB.Position,
  4683. Character = Character,
  4684. Color = "Really red",
  4685. Individual = false,
  4686. MaxRange = 7,
  4687. SegmentLength = 1,
  4688. Offset = 0.3,
  4689. SIZE = 0.05
  4690. })
  4691. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  4692. end
  4693. end
  4694. end
  4695. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  4696. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4697. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  4698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  4699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4701. if ANIM == "Idle" then
  4702. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4703. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4704. elseif ANIM == "Walk" then
  4705. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4707. elseif ANIM == "Jump" or ANIM == "Fall" then
  4708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4710. end
  4711. end
  4712. WACKYEFFECT({
  4713. Time = 25,
  4714. EffectType = "Ring",
  4715. Size = VT(0, 0, 0),
  4716. Size2 = VT(3.75, 3.75, 0),
  4717. Transparency = 0.7,
  4718. Transparency2 = 1,
  4719. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4720. MoveToPos = nil,
  4721. RotationX = 0,
  4722. RotationY = 0,
  4723. RotationZ = 0,
  4724. Material = "Neon",
  4725. Color = BOMB.Color,
  4726. SoundID = nil,
  4727. SoundPitch = nil,
  4728. SoundVolume = nil
  4729. })
  4730. WACKYEFFECT({
  4731. Time = 50,
  4732. EffectType = "Ring",
  4733. Size = VT(0, 0, 0),
  4734. Size2 = VT(75, 75, 0),
  4735. Transparency = 0.7,
  4736. Transparency2 = 1,
  4737. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4738. MoveToPos = nil,
  4739. RotationX = 0,
  4740. RotationY = 0,
  4741. RotationZ = 0,
  4742. Material = "Neon",
  4743. Color = BOMB.Color,
  4744. SoundID = nil,
  4745. SoundPitch = nil,
  4746. SoundVolume = nil
  4747. })
  4748. BOMB.Anchored = true
  4749. WELD:remove()
  4750. GYRO:remove()
  4751. coroutine.resume(coroutine.create(function()
  4752. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  4753. for i = 1, 500 do
  4754. Swait()
  4755. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  4756. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  4757. if HITFLOOR ~= nil then
  4758. break
  4759. end
  4760. end
  4761. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  4762. for i = 1, 3 do
  4763. WACKYEFFECT({
  4764. Time = 35,
  4765. EffectType = "Swirl",
  4766. Size = VT(0, 0, 0),
  4767. Size2 = VT(250, 325, 250) + VT(50, 150, 50) * i,
  4768. Transparency = 0,
  4769. Transparency2 = 1,
  4770. CFrame = BOMB.CFrame,
  4771. MoveToPos = nil,
  4772. RotationX = 0,
  4773. RotationY = 5 * i,
  4774. RotationZ = 0,
  4775. Material = "Neon",
  4776. Color = BOMB.Color,
  4777. SoundID = nil,
  4778. SoundPitch = nil,
  4779. SoundVolume = nil
  4780. })
  4781. end
  4782. for i = 1, 5 do
  4783. WACKYEFFECT({
  4784. Time = 75,
  4785. EffectType = "Sphere",
  4786. Size = BOMB.Mesh.Scale,
  4787. Size2 = VT(100, 100, 100) * i,
  4788. Transparency = 0.5,
  4789. Transparency2 = 1,
  4790. CFrame = BOMB.CFrame,
  4791. MoveToPos = nil,
  4792. RotationX = 0,
  4793. RotationY = 0,
  4794. RotationZ = 0,
  4795. Material = "Neon",
  4796. Color = BOMB.Color,
  4797. SoundID = 1222405264,
  4798. SoundPitch = 1,
  4799. SoundVolume = 10
  4800. })
  4801. end
  4802. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  4803. if HITFLOOR then
  4804. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(18, 18, 18), 5)
  4805. end
  4806. BOMB.Transparency = 1
  4807. for i = 1, 35 do
  4808. Swait()
  4809. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  4810. end
  4811. BOMB:remove()
  4812. end))
  4813. ATTACK = false
  4814. Rooted = false
  4815. end
  4816.  
  4817. function ApplyDamage(Humanoid, Damage, TorsoPart)
  4818. local defence = Instance.new("BoolValue", Humanoid.Parent)
  4819. defence.Name = "HitBy" .. Player.Name
  4820. game:GetService("Debris"):AddItem(defence, 0.001)
  4821. Damage = Damage * DAMAGEMULTIPLIER
  4822. if Humanoid.Health ~= 0 then
  4823. local CritChance = MRANDOM(1, 100)
  4824. if Damage > Humanoid.Health then
  4825. Damage = math.ceil(Humanoid.Health)
  4826. if Damage == 0 then
  4827. Damage = 0.1
  4828. end
  4829. end
  4830. Humanoid.Health = Humanoid.Health - Damage
  4831. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  4832. end
  4833. end
  4834. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  4835. local CHILDREN = workspace:GetDescendants()
  4836. for index, CHILD in pairs(CHILDREN) do
  4837. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4838. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4839. if HUM then
  4840. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4841. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  4842. if INSTAKILL == true then
  4843. CHILD:BreakJoints()
  4844. else
  4845. local DMG = MRANDOM(MINDMG, MAXDMG)
  4846. ApplyDamage(HUM, DMG, TORSO)
  4847. end
  4848. if FLING > 0 then
  4849. for _, c in pairs(CHILD:GetChildren()) do
  4850. if c:IsA("BasePart") then
  4851. local bv = Instance.new("BodyVelocity")
  4852. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4853. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  4854. bv.Parent = c
  4855. Debris:AddItem(bv, 0.05)
  4856. end
  4857. end
  4858. end
  4859. end
  4860. end
  4861. end
  4862. end
  4863. end
  4864. function Extreme_Offset()
  4865. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  4866. if HITFLOOR then
  4867. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  4868. CreateSound("1295446488", Torso, 5, 1)
  4869. for i = 1, 5 do
  4870. WACKYEFFECT({
  4871. Time = MRANDOM(15, 35),
  4872. EffectType = "Round Slash",
  4873. Size = VT(0, 0, 0),
  4874. Size2 = VT(0.3, 0, 0.3),
  4875. Transparency = 0.5,
  4876. Transparency2 = 1,
  4877. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  4878. MoveToPos = nil,
  4879. RotationX = MRANDOM(-50, 50) / 10,
  4880. RotationY = MRANDOM(-50, 50) / 10,
  4881. RotationZ = MRANDOM(-50, 50) / 10,
  4882. Material = "Neon",
  4883. Color = C3(1, 1, 1),
  4884. SoundID = nil,
  4885. SoundPitch = nil,
  4886. SoundVolume = nil
  4887. })
  4888. end
  4889. ATTACK = true
  4890. Rooted = true
  4891. UNANCHOR = false
  4892. RootPart.Anchored = true
  4893. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  4894. for i = 1, 5 do
  4895. WACKYEFFECT({
  4896. Time = MRANDOM(15, 35),
  4897. EffectType = "Round Slash",
  4898. Size = VT(0, 0, 0),
  4899. Size2 = VT(0.3, 0, 0.3),
  4900. Transparency = 0.5,
  4901. Transparency2 = 1,
  4902. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  4903. MoveToPos = nil,
  4904. RotationX = MRANDOM(-50, 50) / 10,
  4905. RotationY = MRANDOM(-50, 50) / 10,
  4906. RotationZ = MRANDOM(-50, 50) / 10,
  4907. Material = "Neon",
  4908. Color = C3(1, 1, 1),
  4909. SoundID = nil,
  4910. SoundPitch = nil,
  4911. SoundVolume = nil
  4912. })
  4913. end
  4914. for i = 0, 0.2, 0.1 / Animation_Speed do
  4915. Swait()
  4916. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  4917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4920. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4921. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  4922. end
  4923. for i = 0, 1, 0.1 / Animation_Speed do
  4924. Swait()
  4925. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  4926. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  4927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  4928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  4929. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  4930. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  4931. end
  4932. for i = 1, 10 do
  4933. Swait()
  4934. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  4935. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  4936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  4937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  4938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  4939. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  4940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  4941. end
  4942. for i = 0, 0.2, 0.1 / Animation_Speed do
  4943. Swait()
  4944. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  4945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  4946. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  4947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  4948. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4949. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4950. end
  4951. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  4952. if HITFLOOR then
  4953. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  4954. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  4955. for index, CHILD in pairs(CHILDREN) do
  4956. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  4957. for i = 1, 5 do
  4958. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  4959. CHILD:remove()
  4960. end
  4961. end
  4962. end
  4963. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4964. SOUNDPART.CFrame = CF(HITPOS)
  4965. Debris:AddItem(SOUNDPART, 5)
  4966. CreateSound("130972023", SOUNDPART, 6, 3)
  4967. CreateSound("182765513", SOUNDPART, 6, 1)
  4968. WACKYEFFECT({
  4969. EffectType = "Ring",
  4970. Size = VT(0, 0, 0),
  4971. Size2 = VT(1, 1, 0),
  4972. Transparency = 0.7,
  4973. Transparency2 = 1,
  4974. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4975. MoveToPos = nil,
  4976. RotationX = 0,
  4977. RotationY = 0,
  4978. RotationZ = 0,
  4979. Material = "Neon",
  4980. Color = C3(1, 1, 1),
  4981. SoundID = nil,
  4982. SoundPitch = nil,
  4983. SoundVolume = nil
  4984. })
  4985. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4986. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  4987. for index, CHILD in pairs(CHILDREN) do
  4988. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  4989. for i = 1, 5 do
  4990. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  4991. CHILD:remove()
  4992. end
  4993. end
  4994. end
  4995. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4996. SOUNDPART.CFrame = CF(HITPOS)
  4997. Debris:AddItem(SOUNDPART, 5)
  4998. CreateSound("130972023", SOUNDPART, 6, 3)
  4999. CreateSound("182765513", SOUNDPART, 6, 1)
  5000. WACKYEFFECT({
  5001. EffectType = "Ring",
  5002. Size = VT(0, 0, 0),
  5003. Size2 = VT(1, 1, 0),
  5004. Transparency = 0.7,
  5005. Transparency2 = 1,
  5006. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  5007. MoveToPos = nil,
  5008. RotationX = 0,
  5009. RotationY = 0,
  5010. RotationZ = 0,
  5011. Material = "Neon",
  5012. Color = C3(1, 1, 1),
  5013. SoundID = nil,
  5014. SoundPitch = nil,
  5015. SoundVolume = nil
  5016. })
  5017. elseif HITFLOOR.Anchored == false then
  5018. if HITFLOOR.Parent ~= workspace then
  5019. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  5020. for index, CHILD in pairs(CHILDREN) do
  5021. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  5022. for i = 1, 5 do
  5023. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  5024. end
  5025. CHILD:remove()
  5026. end
  5027. end
  5028. else
  5029. for i = 1, 5 do
  5030. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  5031. end
  5032. HITFLOOR:remove()
  5033. end
  5034. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  5035. SOUNDPART.CFrame = CF(HITPOS)
  5036. Debris:AddItem(SOUNDPART, 5)
  5037. CreateSound("130972023", SOUNDPART, 10, 3)
  5038. CreateSound("178452217", SOUNDPART, 6, 1)
  5039. WACKYEFFECT({
  5040. EffectType = "Ring",
  5041. Size = VT(0, 0, 0),
  5042. Size2 = VT(1, 1, 0),
  5043. Transparency = 0.7,
  5044. Transparency2 = 1,
  5045. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  5046. MoveToPos = nil,
  5047. RotationX = 0,
  5048. RotationY = 0,
  5049. RotationZ = 0,
  5050. Material = "Neon",
  5051. Color = C3(1, 1, 1),
  5052. SoundID = nil,
  5053. SoundPitch = nil,
  5054. SoundVolume = nil
  5055. })
  5056. else
  5057. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  5058. SOUNDPART.CFrame = CF(HITPOS)
  5059. Debris:AddItem(SOUNDPART, 5)
  5060. CreateSound("130972023", SOUNDPART, 10, 1)
  5061. CreateSound("130972023", SOUNDPART, 6, 0.7)
  5062. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  5063. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  5064. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  5065. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  5066. for i = 1, 5 do
  5067. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  5068. end
  5069. for i = 1, 5 do
  5070. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  5071. end
  5072. end
  5073. end
  5074. for i = 0, 1.2, 0.1 / Animation_Speed do
  5075. Swait()
  5076. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  5077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  5078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  5079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  5080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  5081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  5082. end
  5083. ATTACK = false
  5084. Rooted = false
  5085. UNANCHOR = true
  5086. RootPart.Anchored = false
  5087. end
  5088. end
  5089.  
  5090. function idk()
  5091. ATTACK = true
  5092. Rooted = true
  5093. coroutine.resume(coroutine.create(function()
  5094. local PITS = {}
  5095. local FRAME = RootPart.CFrame
  5096. for i = 2, 120 do
  5097. Swait()
  5098. local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  5099. local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  5100. if HITFLOOR ~= nil then
  5101. if MRANDOM(1, 2) == 1 then
  5102. local ICICLE = IT("CornerWedgePart",Effects)
  5103. ICICLE.Locked = true
  5104. ICICLE.CanCollide = false
  5105. ICICLE.Anchored = true
  5106. ICICLE.BrickColor = BRICKC"Really black"
  5107. ICICLE.Material = "Marble"
  5108. ICICLE.Size = VT(i/10,i/2,i/10)
  5109. ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  5110. table.insert(PITS,ICICLE)
  5111. ICICLE.Transparency = 1
  5112. PITS.Transparency = 1
  5113. --CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  5114. ApplyAoE(ICICLE.Position,ICICLE.Size.X,100,100,20,true)
  5115. WACKYEFFECT({EffectType = "Sphere", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Glass", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5116. end
  5117. else
  5118. break
  5119. end
  5120. end
  5121. wait(3)
  5122. coroutine.resume(coroutine.create(function()
  5123. for i = 1, 10 do
  5124. Swait()
  5125. for e=1,#PITS do
  5126. if PITS[e]~=nil then
  5127. local E = PITS[e]
  5128. E.Transparency = E.Transparency + 0.1
  5129. end
  5130. end
  5131. end
  5132. for e=1,#PITS do
  5133. if PITS[e]~=nil then
  5134. local E = PITS[e]
  5135. E:remove()
  5136. end
  5137. end
  5138. end))
  5139. end))
  5140. ATTACK = false
  5141. Rooted = false
  5142. end
  5143.  
  5144. function Taunt()
  5145. ATTACK = true
  5146. Rooted = true
  5147. CreateSound("907330011", Head, 10, 1.1)
  5148. for i=0, 1, 0.1 / Animation_Speed do
  5149. Swait()
  5150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  5152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5154. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5155. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5156. end
  5157. for i=0, 2, 0.1 / Animation_Speed do
  5158. Swait()
  5159. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5160. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  5161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5163. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5164. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5165. end
  5166. ATTACK = false
  5167. Rooted = false
  5168. end
  5169.  
  5170. function TrustIssues()
  5171. ATTACK = true
  5172. Rooted = false
  5173. CreateSound(649634100,Head,10,0.5,false)
  5174. for i=1, 80 do
  5175. Swait()
  5176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  5178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5179. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5180. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5181. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5182. end
  5183. ATTACK = false
  5184. Rooted = false
  5185. end
  5186.  
  5187. function Supernova()
  5188. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  5189. if HITFLOOR ~= nil then
  5190. local HITBODIES = {}
  5191. ATTACK = true
  5192. Rooted = true
  5193. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  5194. MakeForm(ABSOLUTE,"Ball")
  5195. CreateSound("429459101", ABSOLUTE, 10, 1)
  5196. for i=0, 4, 0.1 / Animation_Speed do
  5197. Swait()
  5198. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  5199. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  5200. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  5201. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Star", VT(1,1,1))
  5202. MakeForm(CHARGE,"Ball")
  5203. CHARGE.Color = C3(255,0,0)
  5204. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  5205. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  5206. 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(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5210. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5211. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5212. end
  5213. CreateSound("907330103", Head, 10, 1.2)
  5214. for i = 1, 75 do
  5215. Swait()
  5216. 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(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5217. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5218. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5219. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5220. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5221. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5222. end
  5223. coroutine.resume(coroutine.create(function()
  5224. for i = 1, 13 do
  5225. for e = 1, 8 do
  5226. Swait()
  5227. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(255,0,0),VT(0,0,0))
  5228. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Reakky red".Color,VT(i,0.3,i)*2)
  5229. end
  5230. for i = 1, 5 do
  5231. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  5232. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(255,0,0),VT(0,0,0))
  5233. end
  5234. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  5235. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(255,0,0),VT(i,i*2,i))
  5236. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  5237. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  5238. killnearest(ABSOLUTE.Position,i*18,i)
  5239. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  5240. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  5241. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(255,0,0),VT(i,i,i))
  5242. end
  5243. ABSOLUTE.Transparency = 1
  5244. Debris:AddItem(ABSOLUTE,10)
  5245. end))
  5246. ATTACK = false
  5247. Rooted = false
  5248. end
  5249. end
  5250.  
  5251.  
  5252. local ENERGYSOUND = 1417051162
  5253. local BEAMSOUND = 1417056781
  5254. local EXPLOSIONSOUND = 1417056081
  5255. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false)
  5256.  
  5257. function Charge(TIME,GYRO)
  5258. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  5259. local G = nil
  5260. if GYRO == true then
  5261. G = IT("BodyGyro",RootPart)
  5262. G.D = 250
  5263. G.P = 200000
  5264. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  5265. end
  5266. for i=0, TIME, 0.1 / Animation_Speed do
  5267. Swait()
  5268. if G then
  5269. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5270. end
  5271. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5272. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5276. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5277. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5278. end
  5279. SND:remove()
  5280. if G then
  5281. return G
  5282. end
  5283. end
  5284.  
  5285. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  5286. if DoesCourontine == false then
  5287. local Direction = CF(Part.Position,ToLocation)
  5288. local Distance = (Part.Position - ToLocation).magnitude
  5289. for i = 1, AmountOfTime do
  5290. Swait()
  5291. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  5292. Direction = Part.CFrame
  5293. end
  5294. Part:remove()
  5295. elseif DoesCourontine == true then
  5296. coroutine.resume(coroutine.create(function()
  5297. local Direction = CF(Part.Position,ToLocation)
  5298. local Distance = (Part.Position - ToLocation).magnitude
  5299. for i = 1, AmountOfTime do
  5300. Swait()
  5301. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  5302. Direction = Part.CFrame
  5303. end
  5304. Part:remove()
  5305. end))
  5306. end
  5307. end
  5308.  
  5309. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5310. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5311. wave.Color = COLOR
  5312. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  5313. wave.CFrame = CFRAME
  5314. coroutine.resume(coroutine.create(function(PART)
  5315. for i = 1, WAIT do
  5316. Swait()
  5317. mesh.Scale = mesh.Scale + GROW
  5318. wave.Transparency = wave.Transparency + (1/WAIT)
  5319. if wave.Transparency > 0.99 then
  5320. wave:remove()
  5321. end
  5322. end
  5323. end))
  5324. end
  5325.  
  5326. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5327. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5328. wave.Color = COLOR
  5329. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  5330. wave.CFrame = CFRAME
  5331. coroutine.resume(coroutine.create(function(PART)
  5332. for i = 1, WAIT do
  5333. Swait()
  5334. mesh.Scale = mesh.Scale + GROW
  5335. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5336. if DOESROT == true then
  5337. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5338. end
  5339. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5340. if wave.Transparency > 0.99 then
  5341. wave:remove()
  5342. end
  5343. end
  5344. end))
  5345. end
  5346.  
  5347. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  5348. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5349. local mesh = nil
  5350. if KIND == "Base" then
  5351. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  5352. elseif KIND == "Thin" then
  5353. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  5354. elseif KIND == "Round" then
  5355. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  5356. end
  5357. wave.CFrame = CFRAME
  5358. coroutine.resume(coroutine.create(function(PART)
  5359. for i = 1, WAIT do
  5360. Swait()
  5361. mesh.Scale = mesh.Scale + GROW/10
  5362. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5363. if wave.Transparency > 0.99 then
  5364. wave:remove()
  5365. end
  5366. end
  5367. end))
  5368. end
  5369.  
  5370. function killnearest(position,range,maxstrength)
  5371. for i,v in ipairs(workspace:GetChildren()) do
  5372. local body = v:GetChildren()
  5373. for part = 1, #body do
  5374. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5375. if(body[part].Position - position).Magnitude < range then
  5376. if v.ClassName == "Model" then
  5377. v:BreakJoints()
  5378. end
  5379. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5380. local bv = Instance.new("BodyVelocity")
  5381. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5382. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  5383. bv.Parent = body[part]
  5384. Debris:AddItem(bv,0.2)
  5385. end
  5386. end
  5387. end
  5388. if v.ClassName == "Part" then
  5389. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5390. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  5391. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  5392. end
  5393. end
  5394. end
  5395. end
  5396.  
  5397. --//=================================\\
  5398. --|| ASSIGN THINGS TO KEYS
  5399. --\\=================================//
  5400.  
  5401. function MouseDown(Mouse)
  5402. if ATTACK == false then
  5403. end
  5404. end
  5405.  
  5406. function MouseUp(Mouse)
  5407. HOLD = false
  5408. end
  5409.  
  5410. function KeyDown(Key)
  5411. KEYHOLD = true
  5412. if Key == "z" and ATTACK == false then
  5413. Shot()
  5414. end
  5415.  
  5416. if Key == "x" and ATTACK == false then
  5417. Fire_At_Will()
  5418. end
  5419.  
  5420. if Key == "b" and ATTACK == false then
  5421. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  5422. TOBANISH = {}
  5423. end
  5424.  
  5425. if Key == "c" and ATTACK == false then
  5426. Extreme_Offset()
  5427. end
  5428.  
  5429. if Key == "v" and ATTACK == false then
  5430. idk()
  5431. end
  5432.  
  5433. if Key == "t" and ATTACK == false then
  5434. Taunt()
  5435. end
  5436.  
  5437. if Key == "y" and ATTACK == false then
  5438. TrustIssues()
  5439. end
  5440. if Key == "n" and ATTACK == false then
  5441. Supernova()
  5442. end
  5443. end
  5444.  
  5445. function KeyUp(Key)
  5446. KEYHOLD = false
  5447. end
  5448.  
  5449. Mouse.Button1Down:connect(function(NEWKEY)
  5450. MouseDown(NEWKEY)
  5451. end)
  5452. Mouse.Button1Up:connect(function(NEWKEY)
  5453. MouseUp(NEWKEY)
  5454. end)
  5455. Mouse.KeyDown:connect(function(NEWKEY)
  5456. KeyDown(NEWKEY)
  5457. end)
  5458. Mouse.KeyUp:connect(function(NEWKEY)
  5459. KeyUp(NEWKEY)
  5460. end)
  5461.  
  5462. --//=================================\\
  5463. --\\=================================//
  5464.  
  5465.  
  5466. function unanchor()
  5467. if UNANCHOR == true then
  5468. g = Character:GetChildren()
  5469. for i = 1, #g do
  5470. if g[i].ClassName == "Part" then
  5471. g[i].Anchored = false
  5472. end
  5473. end
  5474. end
  5475. end
  5476.  
  5477.  
  5478. --//=================================\\
  5479. --|| WRAP THE WHOLE SCRIPT UP
  5480. --\\=================================//
  5481.  
  5482. Humanoid.Changed:connect(function(Jump)
  5483. if Jump == "Jump" and (Disable_Jump == true) then
  5484. Humanoid.Jump = false
  5485. end
  5486. end)
  5487.  
  5488. local CONNECT = nil
  5489.  
  5490. while true do
  5491. Swait()
  5492. ANIMATE.Parent = nil
  5493. if Character:FindFirstChildOfClass("Humanoid") == nil then
  5494. Humanoid = IT("Humanoid",Character)
  5495. end
  5496. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5497. v:Stop();
  5498. end
  5499. SINE = SINE + CHANGE
  5500. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5501. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5502. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  5503. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5504. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  5505. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5506. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5507. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5508. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5509. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  5510. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5511. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5512. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5513. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5514. end
  5515. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5516. ANIM = "Jump"
  5517. if ATTACK == false then
  5518. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5519. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5522. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  5523. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5524. end
  5525. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5526. ANIM = "Fall"
  5527. if ATTACK == false then
  5528. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5532. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5533. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  5534. end
  5535. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5536. ANIM = "Idle"
  5537. if ATTACK == false then
  5538. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  5539. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  5540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5541. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5544. end
  5545. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5546. ANIM = "Walk"
  5547. if ATTACK == false then
  5548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  5552. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  5553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  5554. end
  5555. end
  5556. unanchor()
  5557. Humanoid.MaxHealth = "inf"
  5558. Humanoid.Health = "inf"
  5559. if Rooted == false then
  5560. Disable_Jump = false
  5561. Humanoid.WalkSpeed = Speed
  5562. elseif Rooted == true then
  5563. Disable_Jump = true
  5564. Humanoid.WalkSpeed = 0
  5565. end
  5566. sick.Playing = true
  5567. sick.SoundId = "rbxassetid://292480358"
  5568. sick.Looped = true
  5569. sick.Pitch = 1
  5570. sick.Volume = 3
  5571. if sick.Parent ~= Torso then
  5572. sick = IT("Sound", Torso)
  5573. end
  5574. end
  5575.  
  5576. --//=================================\\
  5577. --\\=================================//
  5578.  
  5579.  
  5580.  
  5581.  
  5582.  
  5583. --//====================================================\\--
  5584. --|| END OF SCRIPT
  5585. --\\====================================================//--4
  5586. end)
  5587. Comingsoon.Name = "Coming soon!"
  5588. Comingsoon.Parent = tehwarudo
  5589. Comingsoon.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  5590. Comingsoon.Position = UDim2.new(0.419780225, 0, 0.676923096, 0)
  5591. Comingsoon.Size = UDim2.new(0, 116, 0, 50)
  5592. Comingsoon.Font = Enum.Font.SourceSans
  5593. Comingsoon.Text = "coming soon!"
  5594. Comingsoon.TextColor3 = Color3.new(0, 0, 0)
  5595. Comingsoon.TextSize = 14
  5596.  
  5597. COMINGSOON.Name = "COMING SOON"
  5598. COMINGSOON.Parent = tehwarudo
  5599. COMINGSOON.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  5600. COMINGSOON.Position = UDim2.new(0.725274742, 0, 0.676923096, 0)
  5601. COMINGSOON.Size = UDim2.new(0, 116, 0, 50)
  5602. COMINGSOON.Font = Enum.Font.SourceSans
  5603. COMINGSOON.Text = "Coming SOON!"
  5604. COMINGSOON.TextColor3 = Color3.new(0, 0, 0)
  5605. COMINGSOON.TextSize = 14
  5606.  
  5607. Credits.Name = "Credits"
  5608. Credits.Parent = tehwarudo
  5609. Credits.BackgroundColor3 = Color3.new(0, 0, 0)
  5610. Credits.Position = UDim2.new(0, 0, 0.869230688, 0)
  5611. Credits.Size = UDim2.new(0, 489, 0, 34)
  5612. Credits.Font = Enum.Font.SourceSans
  5613. Credits.Text = "credit: Me , SuperGamerGirlCB"
  5614. Credits.TextColor3 = Color3.new(1, 0.666667, 0)
  5615. Credits.TextSize = 14
  5616. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement