Advertisement
xdfromxd

OOFERS GUI!

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