Advertisement
SCP-682-A

Susie Dancer

Jan 10th, 2019
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.82 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("You dum dum its a fe script XD it requires h not hl") end
  2. local Player = owner
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do script.Parent=Player.Character;local a={a={}}local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"b.Parent=Player.Character;local c=function()local d={_fakeEvent=true}d.Connect=function(self,e)self.f=e end;d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}function a:BindAction(h,i,j,...)a.a[h]={n=h,f=i,k={...}}end;function a:UnbindAction(h)a.a[h]=nil end;local function k(self,l,...)local d=f[l]if d and d._fakeEvent and d.f then d.f(...)end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(m,n)if m~=Player then return end;if n.a then f.Target=n.b;f.Hit=n.c elseif n.m==Enum.UserInputType.MouseButton1 then if n.n==Enum.UserInputState.Begin then f:TrigEvent("Button1Down")else f:TrigEvent("Button1Up")end else for o,d in pairs(a.a)do for p,q in pairs(d.k)do if q==n.x then d.f(d.n,n.n,n)end end end;if n.n==Enum.UserInputState.Begin then f:TrigEvent("KeyDown",n.x.Name:lower())g:TrigEvent("InputBegan",n,false)else f:TrigEvent("KeyUp",n.x.Name:lower())g:TrigEvent("InputEnded",n,false)end end end)NLS([==[local a=game:GetService("Players").LocalPlayer;local b=a.Character;local c=b:WaitForChild("UserInput_Event")local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;local f={x=f.KeyCode,m=f.UserInputType,n=f.UserInputState}c:FireServer(f)end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local k=false;local l=a:GetMouse()local m,n=l.Hit,l.Target;while wait(1/30)do if m~=l.Hit or n~=l.Target then c:FireServer({a=true,b=l.Target,c=l.Hit})m,n=l.Hit,l.Target end end]==],Player.Character)Mouse,mouse,UserInputService,ContextActionService=f,f,g,a end
  5.  
  6. Character = Player.Character
  7. PlayerGui = Player.PlayerGui
  8. Backpack = Player.Backpack
  9. Torso = Character.Torso
  10. Head = Character.Head
  11. Humanoid = Character.Humanoid
  12. RootPart = Character.HumanoidRootPart
  13. RootJoint = RootPart.RootJoint
  14. LeftArm = Character["Left Arm"]
  15. LeftLeg = Character["Left Leg"]
  16. RightArm = Character["Right Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LS = Torso["Left Shoulder"]
  19. LH = Torso["Left Hip"]
  20. RS = Torso["Right Shoulder"]
  21. RH = Torso["Right Hip"]
  22. ------Gonzales---------
  23. CV="Maroon"
  24. char = Player.Character
  25. local txt = Instance.new("BillboardGui", Character)
  26. txt.Adornee = Character .Head
  27. txt.Name = "_status"
  28. txt.Size = UDim2.new(2, 0, 1.2, 0)
  29. txt.StudsOffset = Vector3.new(-9, 8, 0)
  30. local text = Instance.new("TextLabel", txt)
  31. text.Size = UDim2.new(10, 0, 7, 0)
  32. text.FontSize = "Size24"
  33. text.TextScaled = true
  34. text.TextTransparency = 0
  35. text.BackgroundTransparency = 1
  36. text.TextTransparency = 0
  37. text.TextStrokeTransparency = 0
  38. text.Font = "Bodoni"
  39. text.TextStrokeColor3 = Color3.new(138,43,226)
  40.  
  41. v=Instance.new("Part")
  42. v.Name = "ColorBrick"
  43. v.Parent=Player.Character
  44. v.FormFactor="Symmetric"
  45. v.Anchored=true
  46. v.CanCollide=false
  47. v.BottomSurface="Smooth"
  48. v.TopSurface="Smooth"
  49. v.Size=Vector3.new(10,5,3)
  50. v.Transparency=1
  51. v.CFrame=Character.Torso.CFrame
  52. v.BrickColor=BrickColor.new(CV)
  53. v.Transparency=1
  54. text.TextColor3 = Color3.new(138,43,226)
  55. v.Shape="Block"
  56. text.Text = "Susie"
  57. --------------------
  58. Face = Head.face
  59. shirt = Instance.new("Shirt", char)
  60. shirt.Name = "Shirt"
  61. pants = Instance.new("Pants", char)
  62. pants.Name = "Pants"
  63. char.Shirt.ShirtTemplate = "rbxassetid://2551930718"
  64. char.Pants.PantsTemplate = "rbxassetid://2583015102"
  65. ------Face----------
  66. Character.Head.face.Texture = "rbxassetid://42002746"
  67. ------Remover-------
  68. local ss = Instance.new("Sound",char)
  69. ss.Volume = 3
  70. ss.Looped = true
  71. ss.Pitch = 1
  72. ss.SoundId = "rbxassetid://2539916569"
  73. ss:Play()
  74. local p = game.Players.LocalPlayer
  75. local larm = char["Left Arm"]
  76. local rarm = char["Right Arm"]
  77. local lleg = char["Left Leg"]
  78. local rleg = char["Right Leg"]
  79. local hed = char.Head
  80. local torso = char.Torso
  81. local hum = char.Humanoid
  82. local cam = game.Workspace.CurrentCamera
  83. local root = char.HumanoidRootPart
  84. local rj = root.RootJoint
  85. local deb = false
  86. local shot = 0
  87. local animpose = "Idle"
  88. local lastanimpose = "Idle"
  89. local stanceToggle = "Normal"
  90. local l = game:GetService("Lighting")
  91. local rs = game:GetService("RunService").RenderStepped
  92. local hb = game:GetService("RunService").Heartbeat
  93. local Stepped = game:GetService("RunService").Stepped
  94. local Touche = {char.Name, }
  95. ----
  96.  
  97.  
  98. Neck = Torso.Neck
  99. it = Instance.new
  100. vt = Vector3.new
  101. cf = CFrame.new
  102. rad = math.rad
  103. euler = CFrame.fromEulerAnglesXYZ
  104. angles = CFrame.Angles
  105. coroutine.resume(coroutine.create(function()
  106. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  107. Text = "Fixed by PixelFir3 / Cortana#8155";
  108. Color = Color7.new(0, 1, 1);
  109. Font = Enum.Font.Code;
  110. FontSize = Enum.FontSize.Size24;
  111. })
  112. end))
  113. ArtificialHB = Instance.new("BindableEvent", script)
  114. ArtificialHB.Name = "ArtificialHB"
  115. script:WaitForChild("ArtificialHB")
  116. frame = 0.016666666666667
  117. tf = 0
  118. allowframeloss = false
  119. tossremainder = false
  120. lastframe = tick()
  121. script.ArtificialHB:Fire()
  122. game:GetService("RunService").Heartbeat:connect(function(s, p)
  123.  
  124. tf = tf + s
  125. if frame <= tf then
  126. if allowframeloss then
  127. script.ArtificialHB:Fire()
  128. lastframe = tick()
  129. else
  130. for i = 1, math.floor(tf / frame) do
  131. script.ArtificialHB:Fire()
  132. end
  133. lastframe = tick()
  134. end
  135. if tossremainder then
  136. tf = 0
  137. else
  138. tf = tf - frame * math.floor(tf / frame)
  139. end
  140. end
  141. end
  142. )
  143. local animationspeed = 2
  144. hbwait = function(number)
  145.  
  146. if number == 0 or number == nil then
  147. ArtificialHB.Event:wait()
  148. else
  149. for i = 0, number do
  150. ArtificialHB.Event:wait()
  151. end
  152. end
  153. end
  154.  
  155. local Stats = Instance.new("Folder", Character)
  156. Stats.Name = "Stats"
  157. local Defense = Instance.new("NumberValue", Stats)
  158. Defense.Name = "Defense"
  159. Defense.Value = 0.1
  160. local Movement = Instance.new("NumberValue", Stats)
  161. Movement.Name = "Movement"
  162. Movement.Value = 0.35
  163. local Damage = Instance.new("NumberValue", Stats)
  164. Damage.Name = "Damage"
  165. Damage.Value = 0
  166. local Mana = Instance.new("NumberValue", Stats)
  167. Mana.Name = "Mana"
  168. Mana.Value = 0
  169. local Rooted = Instance.new("BoolValue", Stats)
  170. Rooted.Name = "Rooted"
  171. Rooted.Value = false
  172. local BlockValue = Instance.new("BoolValue", Stats)
  173. BlockValue.Name = "BlockValue"
  174. BlockValue.Value = false
  175. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  176. StaggerHitAnim.Name = "StaggerHitAnim"
  177. StaggerHitAnim.Value = false
  178. local StaggerAnim = Instance.new("BoolValue", Stats)
  179. StaggerAnim.Name = "StaggerAnim"
  180. StaggerAnim.Value = false
  181. local StunAnim = Instance.new("BoolValue", Stats)
  182. StunAnim.Name = "StunAnim"
  183. StunAnim.Value = false
  184. local StunValue = Instance.new("NumberValue", Stats)
  185. StunValue.Name = "StunValue"
  186. StunValue.Value = 0
  187. local CanCrit = Instance.new("BoolValue", Stats)
  188. CanCrit.Name = "CanCrit"
  189. CanCrit.Value = false
  190. local CritChance = Instance.new("NumberValue", Stats)
  191. CritChance.Name = "CritChance"
  192. CritChance.Value = 20
  193. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  194. CanPenetrateArmor.Name = "CanPenetrateArmor"
  195. CanPenetrateArmor.Value = false
  196. local AntiTeamKill = Instance.new("BoolValue", Stats)
  197. AntiTeamKill.Name = "AntiTeamKill"
  198. AntiTeamKill.Value = false
  199. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  200. RootCF = angles(rad(-90), 0, rad(180))
  201. local idle = 0
  202. local Anim = "Idle"
  203. local animtype = math.floor(math.random(1, 3))
  204. local attacktype = 1
  205. local attack = false
  206. local equipped = false
  207. local LastPoint = nil
  208. local staggerhitanim = false
  209. local staggeranim = false
  210. local stunanim = false
  211. local CritChanceNumber = 0
  212. local idlen = 0
  213. local donum = 0
  214. local sine = 0
  215. local change = 2 / animationspeed
  216. local walkinganim = false
  217. local handidle = false
  218. local walk = 0
  219. local stundelay = 0
  220. local manadelay = 0
  221. local robloxidleanimation = Instance.new("Animation", Torso)
  222. robloxidleanimation.Name = "robloxidleanimation"
  223. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  224. local Animator = Humanoid:FindFirstChild("Animator")
  225. local Animate = Character:FindFirstChild("Animate")
  226. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  227. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  228. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  229. local HitBlockSounds = {199148933, 199148947}
  230. local cooldown1 = 0
  231. local cooldown2 = 0
  232. local cooldown3 = 0
  233. local cooldown4 = 0
  234. local scrn = Instance.new("ScreenGui", PlayerGui)
  235. local ud = UDim2.new
  236. local c3 = Color3.new
  237. local skillcolorscheme = c3(1, 1, 1)
  238. subtractmana = function(k)
  239.  
  240. if k <= Mana.Value then
  241. Mana.Value = Mana.Value - k
  242. end
  243. end
  244.  
  245. local co1 = 0
  246. local co2 = 0
  247. local co3 = 0
  248. local co4 = 0
  249. local maxmana = 0
  250. local maxstun = 1
  251. local recovermana = 0
  252. local losestun = 0
  253. local stunwait = 0
  254. local manawait = 0
  255. local skill1mana = 0
  256. local skill2mana = 0
  257. local skill3mana = 0
  258. local skill4mana = 0
  259. local menuupdatespeed = 0
  260. local constantupdate = false
  261. local showstats = false
  262. local allowstunbar = false
  263. local CustomColor = Torso.BrickColor
  264. local Colorpart1 = CustomColor.r
  265. local Colorpart2 = CustomColor.g
  266. local Colorpart3 = CustomColor.b
  267. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  268. makeframe = function(par, trans, pos, size, color, name)
  269.  
  270. local frame = Instance.new("Frame")
  271. frame.Parent = par
  272. frame.BackgroundTransparency = trans
  273. frame.BorderSizePixel = 2
  274. frame.Position = pos
  275. frame.Size = size
  276. frame.BackgroundColor3 = color
  277. frame.Name = name
  278. return frame
  279. end
  280.  
  281. makelabel = function(par, text, trans, stroketrans, name)
  282.  
  283. local label = Instance.new("TextLabel")
  284. label.Parent = par
  285. label.BackgroundTransparency = 1
  286. label.Size = ud(1, 0, 1, 0)
  287. label.Position = ud(0, 0, 0, 0)
  288. label.TextColor3 = c3(255, 255, 255)
  289. label.TextStrokeTransparency = stroketrans
  290. label.TextTransparency = trans
  291. label.FontSize = Enum.FontSize.Size32
  292. label.Font = Enum.Font.Legacy
  293. label.BorderSizePixel = 0
  294. label.TextScaled = true
  295. label.Text = text
  296. label.Name = name
  297. return label
  298. end
  299.  
  300. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  301. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  302. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  303. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  304. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  305. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  306. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  307. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  308. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  309. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  310. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  311. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  312. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  313. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  314. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  315. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  316. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  317. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  318. if allowstunbar == true then
  319. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  320. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  321. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  322. end
  323. if showstats == true then
  324. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  325. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  326. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  327. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  328. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  329. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  330. end
  331. NoOutline = function(Part)
  332.  
  333. Part.TopSurface = 10
  334. end
  335.  
  336. local weldBetween = function(a, b)
  337.  
  338. local weldd = Instance.new("ManualWeld")
  339. weldd.Part0 = a
  340. weldd.Part1 = b
  341. weldd.C0 = CFrame.new()
  342. weldd.C1 = b.CFrame:inverse() * a.CFrame
  343. weldd.Parent = a
  344. return weldd
  345. end
  346.  
  347. nooutline = function(part)
  348.  
  349. part.TopSurface = 10
  350. end
  351.  
  352. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  353.  
  354. local fp = it("Part")
  355. fp.formFactor = formfactor
  356. fp.Parent = parent
  357. fp.Reflectance = reflectance
  358. fp.Transparency = transparency
  359. fp.CanCollide = false
  360. fp.Locked = true
  361. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  362. fp.Name = name
  363. fp.Size = size
  364. fp.Position = Character.Torso.Position
  365. nooutline(fp)
  366. fp.Material = material
  367. fp:BreakJoints()
  368. return fp
  369. end
  370.  
  371. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  372.  
  373. local mesh = it(Mesh)
  374. mesh.Parent = part
  375. if Mesh == "SpecialMesh" then
  376. mesh.MeshType = meshtype
  377. mesh.MeshId = meshid
  378. end
  379. mesh.Offset = offset
  380. mesh.Scale = scale
  381. return mesh
  382. end
  383.  
  384. weld = function(parent, part0, part1, c0, c1)
  385.  
  386. local weld = it("Motor")
  387. weld.Parent = parent
  388. weld.Part0 = part0
  389. weld.Part1 = part1
  390. weld.C0 = c0
  391. weld.C1 = c1
  392. return weld
  393. end
  394.  
  395. local WeaponName = "Russian Kick"
  396. local ClassName = "Russian Kick"
  397. local PlayerSize = 1
  398. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  399. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  400. if PlayerSize ~= 1 then
  401. RootPart.Size = RootPart.Size * PlayerSize
  402. Torso.Size = Torso.Size * PlayerSize
  403. Head.Size = Head.Size * PlayerSize
  404. RightArm.Size = RightArm.Size * PlayerSize
  405. LeftArm.Size = LeftArm.Size * PlayerSize
  406. RightLeg.Size = RightLeg.Size * PlayerSize
  407. LeftLeg.Size = LeftLeg.Size * PlayerSize
  408. RootJoint.Parent = RootPart
  409. Neck.Parent = Torso
  410. LS.Parent = Torso
  411. RS.Parent = Torso
  412. LH.Parent = Torso
  413. RH.Parent = Torso
  414. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  415. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  416. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  417. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  418. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  419. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  420. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  421. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  422. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  423. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  424. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  425. for _,v in pairs(Character:GetChildren()) do
  426. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  427. v.Parent = nil
  428. v.Parent = Character
  429. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  430. for _,b in pairs(v.Handle:GetChildren()) do
  431. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  432. local p1 = b.Part1
  433. b.Part1 = nil
  434. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  435. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  436. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  437. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  438. b.Part1 = p1
  439. end
  440. end
  441. end
  442. end
  443. end
  444. m = Instance.new("Model", Character)
  445. m.Name = WeaponName
  446. Effects = Instance.new("Folder", m)
  447. Effects.Name = "Effects"
  448. Humanoid.Died:connect(function()
  449.  
  450. attack = true
  451. for _,v in pairs(Character:GetChildren()) do
  452. if v.ClassName == "Model" then
  453. v:Destroy()
  454. end
  455. end
  456. end
  457. )
  458. for i,v in pairs(Character:GetChildren()) do
  459. if v.ClassName == "Model" then
  460. for _,c in pairs(v:GetChildren()) do
  461. if c.ClassName == "Part" then
  462. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  463. end
  464. end
  465. end
  466. end
  467. print(ClassName .. " loaded.")
  468. clerp = function(a, b, t)
  469. return a:lerp(b, t)
  470. end
  471.  
  472. positiveangle = function(number)
  473.  
  474. if number > 0 then
  475. number = 0
  476. end
  477. return number
  478. end
  479.  
  480. negativeangle = function(number)
  481.  
  482. if number < 0 then
  483. number = 0
  484. end
  485. return number
  486. end
  487.  
  488. so = function(id, par, vol, pit)
  489.  
  490. coroutine.resume(coroutine.create(function()
  491.  
  492. local sou = Instance.new("Sound", par or workspace)
  493. sou.Volume = vol
  494. sou.Pitch = pit or 1
  495. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  496. hbwait()
  497. sou:play()
  498. game:GetService("Debris"):AddItem(sou, 10)
  499. end
  500. ))
  501. end
  502.  
  503. GetDistance = function(Part1, Part2, magnitude)
  504.  
  505. local target = Part1.Position - Part2.Position
  506. local mag = target.magnitude
  507. if mag <= magnitude then
  508. return true
  509. else
  510. return false
  511. end
  512. end
  513.  
  514. rayCast = function(Pos, Dir, Max, Ignore)
  515.  
  516. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  517. end
  518.  
  519. DamageStatLabel = function(labeltype, cframe, text, color)
  520.  
  521. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  522. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  523. game:GetService("Debris"):AddItem(c, 5)
  524. Instance.new("BodyGyro", c)
  525. local f = Instance.new("BodyPosition", c)
  526. f.P = 2000
  527. f.D = 100
  528. f.maxForce = vt(math.huge, math.huge, math.huge)
  529. if labeltype == "Normal" then
  530. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  531. else
  532. if labeltype == "Debuff" then
  533. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  534. else
  535. if labeltype == "Interruption" then
  536. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  537. end
  538. end
  539. end
  540. game:GetService("Debris"):AddItem(c, 5)
  541. local bg = Instance.new("BillboardGui", c)
  542. bg.Adornee = c
  543. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  544. bg.StudsOffset = vt(-2, 2, 0)
  545. bg.AlwaysOnTop = false
  546. local tl = Instance.new("TextLabel", bg)
  547. tl.BackgroundTransparency = 1
  548. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  549. tl.Text = text
  550. tl.Font = Enum.Font.SourceSans
  551. tl.FontSize = Enum.FontSize.Size42
  552. tl.TextColor3 = color
  553. tl.TextScaled = false
  554. tl.TextStrokeTransparency = 0
  555. tl.TextScaled = true
  556. tl.TextWrapped = true
  557. f.Parent = c
  558. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  559.  
  560. wait(0.25)
  561. for i = 1, 5 do
  562. wait()
  563. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  564. end
  565. wait(1.25)
  566. for i = 1, 5 do
  567. wait()
  568. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  569. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  570. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  571. end
  572. Part.Parent = nil
  573. end
  574. ), c, f, tl)
  575. end
  576.  
  577. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  578.  
  579. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  580.  
  581. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  582.  
  583. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  584. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  585. if ShowTheStat == true then
  586. if Stat == "Defense" then
  587. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  588. else
  589. if Stat == "Damage" then
  590. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  591. else
  592. if Stat == "Movement" then
  593. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  594. end
  595. end
  596. end
  597. end
  598. coroutine.resume(coroutine.create(function(CurrentDecrease)
  599.  
  600. wait(Duration)
  601. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  602. end
  603. ), Location.Stats[Stat])
  604. end
  605. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  606. end
  607.  
  608. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  609.  
  610. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  611.  
  612. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  613.  
  614. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  615. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  616. if ShowTheStat == true then
  617. if Stat == "Defense" then
  618. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  619. else
  620. if Stat == "Damage" then
  621. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  622. else
  623. if Stat == "Movement" then
  624. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  625. end
  626. end
  627. end
  628. end
  629. coroutine.resume(coroutine.create(function(CurrentDecrease)
  630.  
  631. wait(Duration)
  632. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  633. end
  634. ), Location.Stats[Stat])
  635. end
  636. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  637. end
  638.  
  639. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  640.  
  641. if hit.Parent == nil then
  642. return
  643. end
  644. h = hit.Parent:FindFirstChild("Humanoid")
  645. for _,v in pairs(hit.Parent:GetChildren()) do
  646. if v:IsA("Humanoid") then
  647. h = v
  648. end
  649. end
  650. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  651. StaggerHitAnim.Value = true
  652. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  653. return
  654. end
  655. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  656. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  657. end
  658. if hit.Parent.className == "Hat" then
  659. hit = hit.Parent.Parent:FindFirstChild("Head")
  660. end
  661. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  662. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  663. return
  664. end
  665. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  666. return
  667. end
  668. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  669. return
  670. end
  671. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  672. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  673. end
  674. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  675. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  676. end
  677. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  678. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  679. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  680. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  681. BlockDebounce.Name = "BlockDebounce"
  682. BlockDebounce.Value = true
  683. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  684. end
  685. do
  686. if ranged ~= true then
  687. do
  688. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  689. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  690. BlockDebounce2.Name = "BlockDebounce2"
  691. BlockDebounce2.Value = true
  692. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  693. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  694. end
  695. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  696. StaggerAnim.Value = true
  697. do return end
  698. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  699. if DecreaseTheStat == "Defense" then
  700. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  701. else
  702. if DecreaseTheStat == "Damage" then
  703. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  704. else
  705. if DecreaseTheStat == "Movement" then
  706. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  707. end
  708. end
  709. end
  710. end
  711. local D = math.random(minim, maxim) * Damage.Value
  712. if hit.Parent:FindFirstChild("Stats") ~= nil then
  713. if hit.Parent.Stats:FindFirstChild("Defense") then
  714. if CanPenetrateArmor.Value == true then
  715. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  716. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  717.  
  718. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  719. CritChanceNumber = math.random(1, CritChance.Value)
  720. if CritChanceNumber == CritChance.Value then
  721. D = D * 2
  722. end
  723. end
  724. D = math.floor(D)
  725. h.Health = h.Health - D
  726. if D <= 3 and staggerhit == true then
  727. if ranged ~= true then
  728. StaggerHitAnim.Value = true
  729. end
  730. if ranged ~= true then
  731. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  732. end
  733. else
  734. if D > 3 and ranged ~= true then
  735. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  736. end
  737. end
  738. if D > 3 and D < 20 then
  739. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  740. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  741. so("296102734", hit, 1, 1)
  742. else
  743. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  744. end
  745. else
  746. if D >= 20 then
  747. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  748. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  749. so("296102734", hit, 1, 1)
  750. else
  751. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  752. end
  753. else
  754. if D <= 3 then
  755. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  756. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  757. so("296102734", hit, 1, 1)
  758. else
  759. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  760. end
  761. end
  762. end
  763. end
  764. do
  765. if Type == "Normal" then
  766. local vp = Instance.new("BodyVelocity")
  767. vp.P = 500
  768. vp.maxForce = vt(math.huge, 0, math.huge)
  769. if KnockbackType == 1 then
  770. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  771. else
  772. if KnockbackType == 2 then
  773. vp.Velocity = Property.CFrame.lookVector * knockback
  774. end
  775. end
  776. if knockback > 0 then
  777. vp.Parent = hit.Parent.Torso
  778. end
  779. game:GetService("Debris"):AddItem(vp, 0.5)
  780. end
  781. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  782. DebounceHit.Name = "DebounceHit"
  783. DebounceHit.Value = true
  784. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end
  791. end
  792. end
  793. end
  794. end
  795.  
  796. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  797.  
  798. for _,c in pairs(workspace:GetChildren()) do
  799. local hum = (c:FindFirstChild("Humanoid"))
  800. local head = nil
  801. if hum ~= nil then
  802. head = c:FindFirstChild("Torso")
  803. if head ~= nil then
  804. local targ = head.Position - Part.Position
  805. local mag = targ.magnitude
  806. if mag <= magni and c.Name ~= Player.Name then
  807. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  808. end
  809. end
  810. do
  811. for _,d in pairs(c:GetChildren()) do
  812. if d.ClassName == "Model" and ranged ~= true then
  813. head = d:FindFirstChild("Hitbox")
  814. if head ~= nil then
  815. local targ = head.Position - Part.Position
  816. local mag = targ.magnitude
  817. if mag <= magni and c.Name ~= Player.Name then
  818. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  819. hitrefpart.Anchored = true
  820. hitrefpart.CFrame = cf(head.Position)
  821. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  822. StaggerHitAnim.Value = true
  823. end
  824. end
  825. end
  826. end
  827. do
  828. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  829.  
  830. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  831.  
  832. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  833.  
  834. end
  835. end
  836. end
  837. end
  838. end
  839.  
  840. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  841.  
  842. if Player.Neutral == true then
  843. if Type == "Buff" then
  844. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  845. else
  846. if Type == "Debuff" then
  847. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  848. end
  849. end
  850. end
  851. for _,c in pairs(workspace:GetChildren()) do
  852. local hum = (c:FindFirstChild("Humanoid"))
  853. local head = nil
  854. if hum ~= nil then
  855. head = c:FindFirstChild("Torso")
  856. if head ~= nil then
  857. local targ = head.Position - Part.Position
  858. local mag = targ.magnitude
  859. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  860.  
  861. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  862. if Type == "Buff" then
  863. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  864. else
  865. if Type == "Debuff" then
  866. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  867. end
  868. end
  869. end
  870. end
  871. end
  872. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  873. if Type == "Buff" then
  874. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  875. else
  876. if Type == "Debuff" then
  877. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  878. end
  879. end
  880. end
  881. end
  882. end
  883.  
  884. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  885.  
  886. local magz = p0 - p1.magnitude
  887. local curpos = p0
  888. local trz = {-ofs, ofs}
  889. for i = 1, tym do
  890. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  891. do
  892. li.Anchored = true
  893. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  894. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  895. if tym == i then
  896. local magz2 = curpos - p1.magnitude
  897. li.Size = vt(th, th, magz2)
  898. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  899. else
  900. do
  901. do
  902. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  903. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  904. game.Debris:AddItem(li, last)
  905. coroutine.resume(coroutine.create(function()
  906.  
  907. while li.Transparency ~= 1 do
  908. for i = 0, 1, last do
  909. hbwait()
  910. li.Transparency = li.Transparency + 0.1 / last
  911. end
  912. end
  913. end
  914. ))
  915. end
  916. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  917.  
  918. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  919.  
  920. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  921.  
  922. end
  923. end
  924. end
  925. end
  926. end
  927.  
  928. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  929.  
  930. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  931. prt.Anchored = true
  932. prt.CFrame = cframe
  933. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  934. game:GetService("Debris"):AddItem(prt, 10)
  935. coroutine.resume(coroutine.create(function(Part, Mesh)
  936.  
  937. for i = 0, 1, delay do
  938. hbwait()
  939. Part.CFrame = Part.CFrame
  940. Part.Transparency = i
  941. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  942. end
  943. Part.Parent = nil
  944. end
  945. ), prt, msh)
  946. end
  947.  
  948. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  949.  
  950. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  951. prt.Anchored = true
  952. prt.CFrame = cframe
  953. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  954. game:GetService("Debris"):AddItem(prt, 10)
  955. coroutine.resume(coroutine.create(function(Part, Mesh)
  956.  
  957. for i = 0, 1, delay do
  958. hbwait()
  959. Part.CFrame = Part.CFrame
  960. Part.Transparency = i
  961. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  962. end
  963. Part.Parent = nil
  964. end
  965. ), prt, msh)
  966. end
  967.  
  968. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  969.  
  970. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  971. prt.Anchored = true
  972. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  973. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  974. game:GetService("Debris"):AddItem(prt, 10)
  975. coroutine.resume(coroutine.create(function(Part, Mesh)
  976.  
  977. for i = 0, 1, delay do
  978. hbwait()
  979. if rotate == true then
  980. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  981. end
  982. Part.Transparency = i
  983. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  984. end
  985. Part.Parent = nil
  986. end
  987. ), prt, msh)
  988. end
  989.  
  990. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  991.  
  992. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  993. prt.Anchored = true
  994. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  995. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  996. game:GetService("Debris"):AddItem(prt, 10)
  997. CF = prt.CFrame
  998. num = math.random(5, 20)
  999. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1000.  
  1001. for i = 0, 1, delay do
  1002. hbwait()
  1003. if rotate == true then
  1004. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1005. else
  1006. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1007. end
  1008. Part.Transparency = i
  1009. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1010. end
  1011. Part.Parent = nil
  1012. end
  1013. ), prt, msh, CF, num)
  1014. end
  1015.  
  1016. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1017.  
  1018. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1019. prt.Anchored = true
  1020. prt.CFrame = cframe
  1021. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1022. game:GetService("Debris"):AddItem(prt, 10)
  1023. coroutine.resume(coroutine.create(function(Part, Mesh)
  1024.  
  1025. for i = 0, 1, delay do
  1026. hbwait()
  1027. Part.Transparency = i
  1028. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1029. end
  1030. Part.Parent = nil
  1031. end
  1032. ), prt, msh)
  1033. end
  1034.  
  1035. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1036.  
  1037. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1038. prt.Anchored = true
  1039. prt.CFrame = cframe
  1040. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1041. game:GetService("Debris"):AddItem(prt, 10)
  1042. coroutine.resume(coroutine.create(function(Part, Mesh)
  1043.  
  1044. for i = 0, 1, delay do
  1045. hbwait()
  1046. Part.Transparency = i
  1047. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1048. end
  1049. Part.Parent = nil
  1050. end
  1051. ), prt, msh)
  1052. end
  1053.  
  1054. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1055.  
  1056. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1057. prt.Anchored = true
  1058. prt.CFrame = cframe
  1059. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1060. game:GetService("Debris"):AddItem(prt, 10)
  1061. coroutine.resume(coroutine.create(function(Part, Mesh)
  1062.  
  1063. for i = 0, 1, delay do
  1064. hbwait()
  1065. Part.Transparency = i
  1066. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1067. end
  1068. Part.Parent = nil
  1069. end
  1070. ), prt, msh)
  1071. end
  1072.  
  1073. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1074.  
  1075. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1076. prt.Anchored = true
  1077. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1078. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1079. game:GetService("Debris"):AddItem(prt, 10)
  1080. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1081.  
  1082. CF = Part.CFrame
  1083. Numbb = 0
  1084. randnumb = math.random() - math.random()
  1085. for i = 0, 1, delay do
  1086. hbwait()
  1087. CF = CF * cf(0, 1, 0)
  1088. if rotate == true then
  1089. Part.CFrame = CF * angles(Numbb, 0, 0)
  1090. else
  1091. if rotate == false then
  1092. Part.CFrame = CF
  1093. end
  1094. end
  1095. Part.Transparency = i
  1096. Numbb = Numbb + (randnumb)
  1097. end
  1098. Part.Parent = nil
  1099. end
  1100. ), prt, CF, Numbb, randnumb)
  1101. end
  1102.  
  1103. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1104.  
  1105. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1106. prt.Anchored = true
  1107. prt.CFrame = cf
  1108. xval = math.random()
  1109. yval = math.random()
  1110. zval = math.random()
  1111. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1112. game:GetService("Debris"):AddItem(prt, 10)
  1113. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1114.  
  1115. for i = 0, 1, delay do
  1116. hbwait()
  1117. Part.CFrame = Part.CFrame
  1118. xvaal = xvaal - 0.1 * (delay * 10)
  1119. yvaal = yvaal - 0.1 * (delay * 10)
  1120. zvaal = zvaal - 0.1 * (delay * 10)
  1121. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1122. Part.Transparency = i
  1123. end
  1124. Part.Parent = nil
  1125. end
  1126. ), prt, msh, xval, yval, zval)
  1127. end
  1128.  
  1129. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1130.  
  1131. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1132. if magnitudecframe > 0.01 then
  1133. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1134. prt.Anchored = true
  1135. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1136. local TheMeshType = "BlockMesh"
  1137. if meshtype == "Cylinder" then
  1138. TheMeshType = "CylinderMesh"
  1139. end
  1140. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1141. game:GetService("Debris"):AddItem(prt, 10)
  1142. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1143.  
  1144. for i = 0, 1, delay do
  1145. hbwait()
  1146. Part.Transparency = i
  1147. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1148. end
  1149. Part.Parent = nil
  1150. end
  1151. ), prt, msh, currentcf, oldcf)
  1152. end
  1153. end
  1154.  
  1155. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1156.  
  1157. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1158. prt.Anchored = true
  1159. prt.CFrame = cframe
  1160. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1161. game:GetService("Debris"):AddItem(prt, 10)
  1162. local TheLastPoint = cframe
  1163. coroutine.resume(coroutine.create(function(Part)
  1164.  
  1165. for i = 1, duration do
  1166. hbwait()
  1167. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1168. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1169. TheLastPoint = Part.CFrame
  1170. end
  1171. Part.Parent = nil
  1172. end
  1173. ), prt)
  1174. end
  1175.  
  1176. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1177.  
  1178. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1179. prt.Anchored = true
  1180. prt.CFrame = cframe
  1181. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1182. game:GetService("Debris"):AddItem(prt, 10)
  1183. coroutine.resume(coroutine.create(function(Part, Mesh)
  1184.  
  1185. for i = 0, 1, delay do
  1186. hbwait()
  1187. Part.Transparency = i
  1188. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1189. end
  1190. Part.Parent = nil
  1191. end
  1192. ), prt, msh)
  1193. end
  1194.  
  1195. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1196.  
  1197. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1198. prt.Anchored = true
  1199. prt.CFrame = cframe
  1200. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1201. game:GetService("Debris"):AddItem(prt, 10)
  1202. coroutine.resume(coroutine.create(function(Part, Mesh)
  1203.  
  1204. for i = 0, 1, delay do
  1205. hbwait()
  1206. Part.Transparency = i
  1207. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1208. end
  1209. Part.Parent = nil
  1210. end
  1211. ), prt, msh)
  1212. end
  1213.  
  1214. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1215.  
  1216. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1217. prt.Anchored = true
  1218. prt.CFrame = cframe
  1219. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1220. game:GetService("Debris"):AddItem(prt, 10)
  1221. coroutine.resume(coroutine.create(function(Part, Mesh)
  1222.  
  1223. for i = 0, 1, delay do
  1224. hbwait()
  1225. Part.Transparency = i
  1226. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1227. end
  1228. Part.Parent = nil
  1229. end
  1230. ), prt, msh)
  1231. end
  1232.  
  1233. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1234.  
  1235. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1236. prt.Anchored = true
  1237. prt.CFrame = cframe
  1238. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1239. game:GetService("Debris"):AddItem(prt, 10)
  1240. coroutine.resume(coroutine.create(function(Part, Mesh)
  1241.  
  1242. for i = 0, 1, delay do
  1243. hbwait()
  1244. Part.Transparency = i
  1245. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1246. end
  1247. Part.Parent = nil
  1248. end
  1249. ), prt, msh)
  1250. end
  1251.  
  1252. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1253.  
  1254. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1255. prt.Anchored = true
  1256. prt.CFrame = cframe
  1257. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1258. game:GetService("Debris"):AddItem(prt, 10)
  1259. coroutine.resume(coroutine.create(function(Part, Mesh)
  1260.  
  1261. for i = 0, 1, delay do
  1262. hbwait()
  1263. Part.Transparency = i
  1264. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1265. end
  1266. Part.Parent = nil
  1267. end
  1268. ), prt, msh)
  1269. end
  1270.  
  1271. local startequipped = true
  1272. local startequippedwithequipanimation = false
  1273. local disableanimator = true
  1274. local disableanimate = true
  1275. local alternatewalk = false
  1276. local hidemenu = false
  1277. local allowmenutofunction = false
  1278. local allowabilitiestofunction = false
  1279. local canunequiporequip = false
  1280. local allowwalking = false
  1281. local disablemovingarms = false
  1282. local usemotorsinsteadofwelds = false
  1283. local leftarm = false
  1284. local rightarm = false
  1285. local allowhopperbin = false
  1286. local showstunbar = false
  1287. local walkspeeddependsonmovementvalue = true
  1288. local alternatemanaregensystem = false
  1289. local showhealthmanaandstunnumbers = false
  1290. local changebarcolorsifnotenoughmana = false
  1291. local disablejump = false
  1292. if hidemenu == true or allowmenutofunction == false then
  1293. for _,v in pairs(scrn:GetChildren()) do
  1294. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1295. v.Visible = false
  1296. v.BorderSizePixel = 0
  1297. end
  1298. end
  1299. end
  1300. do
  1301. Humanoid.Changed:connect(function(Jump)
  1302.  
  1303. if Jump == "Jump" and disablejump == true then
  1304. Humanoid.Jump = false
  1305. end
  1306. end
  1307. )
  1308. if allowmenutofunction == true then
  1309. for _,v in pairs(scrn:GetChildren()) do
  1310. if v.ClassName == "Frame" then
  1311. for _,b in pairs(v:GetChildren()) do
  1312. if b.ClassName == "TextLabel" then
  1313. coroutine.resume(coroutine.create(function(TheTextLabel)
  1314.  
  1315. wait(menuupdatespeed)
  1316. for i = 1, 0, -0.1 do
  1317. hbwait()
  1318. TheTextLabel.TextTransparency = i
  1319. TheTextLabel.TextStrokeTransparency = i
  1320. end
  1321. TheTextLabel.TextTransparency = 0
  1322. TheTextLabel.TextStrokeTransparency = 0
  1323. end
  1324. ), b)
  1325. if showstats == true then
  1326. coroutine.resume(coroutine.create(function(TheTextLabel)
  1327.  
  1328. wait(menuupdatespeed)
  1329. for i = 1, 0, -0.1 do
  1330. hbwait()
  1331. TheTextLabel.TextTransparency = i
  1332. TheTextLabel.TextStrokeTransparency = i
  1333. end
  1334. TheTextLabel.TextTransparency = 0
  1335. TheTextLabel.TextStrokeTransparency = 0
  1336. end
  1337. ), b)
  1338. end
  1339. if showstunbar == true then
  1340. coroutine.resume(coroutine.create(function(TheTextLabel)
  1341.  
  1342. wait(menuupdatespeed)
  1343. for i = 1, 0, -0.1 do
  1344. hbwait()
  1345. TheTextLabel.TextTransparency = i
  1346. TheTextLabel.TextStrokeTransparency = i
  1347. end
  1348. TheTextLabel.TextTransparency = 0
  1349. TheTextLabel.TextStrokeTransparency = 0
  1350. end
  1351. ), b)
  1352. end
  1353. if allowabilitiestofunction == true then
  1354. coroutine.resume(coroutine.create(function(TheTextLabel)
  1355.  
  1356. wait(menuupdatespeed)
  1357. for i = 1, 0, -0.1 do
  1358. hbwait()
  1359. TheTextLabel.TextTransparency = i
  1360. TheTextLabel.TextStrokeTransparency = i
  1361. end
  1362. TheTextLabel.TextTransparency = 0
  1363. TheTextLabel.TextStrokeTransparency = 0
  1364. end
  1365. ), b)
  1366. end
  1367. end
  1368. end
  1369. end
  1370. end
  1371. end
  1372. do
  1373. if allowhopperbin == true then
  1374. if script.Parent.className ~= "HopperBin" then
  1375. Tool = Instance.new("HopperBin")
  1376. Tool.Parent = Backpack
  1377. Tool.Name = WeaponName
  1378. script.Parent = Tool
  1379. end
  1380. Bin = script.Parent
  1381. end
  1382. if disablemovingarms == true then
  1383. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1384. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1385. RSH = nil
  1386. if usemotorsinsteadofwelds == true then
  1387. RW = Instance.new("Motor")
  1388. LW = Instance.new("Motor")
  1389. else
  1390. RW = Instance.new("Weld")
  1391. LW = Instance.new("Weld")
  1392. end
  1393. RW.Name = "Right Shoulder"
  1394. LW.Name = "Left Shoulder"
  1395. RSH = Torso["Right Shoulder"]
  1396. LSH = Torso["Left Shoulder"]
  1397. RSH.Parent = Torso
  1398. LSH.Parent = Torso
  1399. RW.Name = "Right Shoulder"
  1400. RW.Part0 = Torso
  1401. RW.C0 = cf(1.5, 0.5, 0)
  1402. RW.C1 = cf(0, 0.5, 0)
  1403. RW.Part1 = Character["Right Arm"]
  1404. RW.Parent = nil
  1405. LW.Name = "Left Shoulder"
  1406. LW.Part0 = Torso
  1407. LW.C0 = cf(-1.5, 0.5, 0)
  1408. LW.C1 = cf(0, 0.5, 0)
  1409. LW.Part1 = Character["Left Arm"]
  1410. LW.Parent = nil
  1411. else
  1412. RW = Torso["Right Shoulder"]
  1413. LW = Torso["Left Shoulder"]
  1414. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1415. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1416. end
  1417. equipanim = function()
  1418.  
  1419. attack = true
  1420. Movement.Value = Movement.Value - 0.1
  1421. Defense.Value = Defense.Value + 0.4
  1422. for i = 0, 1, 0.08 / animationspeed do
  1423. hbwait()
  1424. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1425. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1426. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1427. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1428. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1429. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1430. end
  1431. attack = false
  1432. end
  1433.  
  1434. unequipanim = function()
  1435.  
  1436. attack = true
  1437. for i = 0, 1, 0.08 / animationspeed do
  1438. hbwait()
  1439. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1440. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1441. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1442. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1443. if disablemovingarms == false then
  1444. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1445. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1446. end
  1447. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1448. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1449. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1450. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1451. end
  1452. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1453. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1454. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1455. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1456. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1457. if disablemovingarms == false then
  1458. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1459. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1460. end
  1461. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1462. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1463. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1464. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1465. Movement.Value = Movement.Value + 0.1
  1466. Defense.Value = Defense.Value - 0.4
  1467. attack = false
  1468. end
  1469.  
  1470. if startequipped == true then
  1471. equipped = true
  1472. if disableanimate == true then
  1473. Animate.Disabled = true
  1474. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1475. idleanimation:Play()
  1476. end
  1477. if disableanimator == true then
  1478. Animator.Parent = nil
  1479. end
  1480. if disablemovingarms == true then
  1481. RW.Parent = Torso
  1482. LW.Parent = Torso
  1483. RSH.Parent = nil
  1484. LSH.Parent = nil
  1485. end
  1486. Movement.Value = Movement.Value - 0.1
  1487. Defense.Value = Defense.Value + 0.4
  1488. end
  1489. if startequippedwithequipanimation == true then
  1490. equipped = true
  1491. if disableanimate == true then
  1492. Animate.Disabled = true
  1493. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1494. idleanimation:Play()
  1495. end
  1496. if disableanimator == true then
  1497. Animator.Parent = nil
  1498. end
  1499. if disablemovingarms == true then
  1500. RW.Parent = Torso
  1501. LW.Parent = Torso
  1502. RSH.Parent = nil
  1503. LSH.Parent = nil
  1504. end
  1505. coroutine.resume(coroutine.create(function()
  1506.  
  1507. hbwait()
  1508. equipanim()
  1509. end
  1510. ))
  1511. end
  1512.  
  1513. StaggerHit = function()
  1514.  
  1515. attack = true
  1516. if Hitbox ~= nil then
  1517. for i = 1, math.random(2, 4) do
  1518. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1519. end
  1520. end
  1521. do
  1522. for i = 0, 1, 0.1 / animationspeed do
  1523. hbwait()
  1524. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1525. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1526. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1527. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1528. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1529. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1530. if StaggerAnim.Value ~= true then
  1531. do
  1532. if StunAnim.Value == true then
  1533. break
  1534. end
  1535. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1536.  
  1537. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1538.  
  1539. end
  1540. end
  1541. end
  1542. attack = false
  1543. end
  1544. end
  1545.  
  1546. Stagger = function()
  1547.  
  1548. attack = true
  1549. disablejump = true
  1550. if Hitbox ~= nil then
  1551. for i = 1, math.random(2, 4) do
  1552. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1553. end
  1554. end
  1555. do
  1556. attacktype = 1
  1557. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1558. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1559. staggervelocity.P = 500
  1560. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1561. if Rooted.Value == false then
  1562. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1563. end
  1564. for i = 0, 1, 0.35 / animationspeed do
  1565. hbwait()
  1566. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1567. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1568. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1569. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1570. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1571. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1572. end
  1573. for i = 0, 1, 0.2 / animationspeed do
  1574. hbwait()
  1575. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1576. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1577. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1578. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1579. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1580. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1581. end
  1582. staggervelocity:Destroy()
  1583. for i = 0, 1, 0.015 / animationspeed do
  1584. hbwait()
  1585. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1586. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1587. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1588. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1589. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1590. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1591. if StunAnim.Value == true then
  1592. break
  1593. end
  1594. end
  1595. do
  1596. attacktype = 1
  1597. disablejump = false
  1598. attack = false
  1599. end
  1600. end
  1601. end
  1602.  
  1603. Stun = function()
  1604.  
  1605. attack = true
  1606. disablejump = true
  1607. attacktype = 1
  1608. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1609. for i = 0, 1, 0.4 / animationspeed do
  1610. hbwait()
  1611. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1612. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1613. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1614. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1615. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1616. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1617. end
  1618. for i = 0, 1, 0.4 / animationspeed do
  1619. hbwait()
  1620. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1621. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1622. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1623. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1624. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1625. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1626. end
  1627. for i = 0, 1, 0.4 / animationspeed do
  1628. hbwait()
  1629. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1630. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1631. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  1632. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  1633. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1634. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  1635. end
  1636. Humanoid.AutoRotate = false
  1637. for i = 1, 70 * animationspeed do
  1638. hbwait()
  1639. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1640. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1641. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  1642. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  1643. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1644. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1645. end
  1646. for i = 0, 1, 0.15 / animationspeed do
  1647. hbwait()
  1648. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  1649. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1650. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  1651. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  1652. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  1653. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  1654. end
  1655. Humanoid.AutoRotate = true
  1656. attacktype = 1
  1657. disablejump = false
  1658. attack = false
  1659. end
  1660.  
  1661. EAbility = function()
  1662.  
  1663. attack = true
  1664. attack = false
  1665. end
  1666.  
  1667. Attack1 = function()
  1668.  
  1669. attack = true
  1670. attack = false
  1671. end
  1672.  
  1673. Attack2 = function()
  1674.  
  1675. attack = true
  1676. attack = false
  1677. end
  1678.  
  1679. Attack3 = function()
  1680.  
  1681. attack = true
  1682. attack = false
  1683. end
  1684.  
  1685. Attack4 = function()
  1686.  
  1687. attack = true
  1688. attack = false
  1689. end
  1690.  
  1691. Move1 = function()
  1692.  
  1693. attack = true
  1694. attack = false
  1695. end
  1696.  
  1697. Move2 = function()
  1698.  
  1699. attack = true
  1700. attack = false
  1701. end
  1702.  
  1703. Move3 = function()
  1704.  
  1705. attack = true
  1706. attack = false
  1707. end
  1708.  
  1709. Move4 = function()
  1710.  
  1711. attack = true
  1712. attack = false
  1713. end
  1714.  
  1715. hold = false
  1716. Mouse.Button1Down:connect(function()
  1717.  
  1718. if attack == true or equipped == false then
  1719. return
  1720. end
  1721. hold = true
  1722. if attacktype == 1 then
  1723. attacktype = 2
  1724. Attack1()
  1725. else
  1726. if attacktype == 2 then
  1727. attacktype = 3
  1728. Attack2()
  1729. else
  1730. if attacktype == 3 then
  1731. attacktype = 4
  1732. Attack3()
  1733. else
  1734. if attacktype == 4 then
  1735. attacktype = 1
  1736. Attack4()
  1737. end
  1738. end
  1739. end
  1740. end
  1741. coroutine.resume(coroutine.create(function()
  1742.  
  1743. for i = 1, 50 do
  1744. if attack == false then
  1745. hbwait()
  1746. end
  1747. end
  1748. if attack == false then
  1749. attacktype = 1
  1750. end
  1751. end
  1752. ))
  1753. end
  1754. )
  1755. if allowhopperbin == true then
  1756. ob1u = function(Mouse)
  1757.  
  1758. hold = false
  1759. end
  1760.  
  1761. end
  1762. Mouse.KeyDown:connect(function(key)
  1763.  
  1764. if key == "f" and canunequiporequip == true and attack == false then
  1765. if equipped == false then
  1766. equipped = true
  1767. if disableanimate == true then
  1768. Animate.Disabled = true
  1769. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1770. idleanimation:Play()
  1771. end
  1772. if disableanimator == true then
  1773. Animator.Parent = nil
  1774. end
  1775. if disablemovingarms == true then
  1776. RW.Parent = Torso
  1777. LW.Parent = Torso
  1778. RSH.Parent = nil
  1779. LSH.Parent = nil
  1780. end
  1781. equipanim()
  1782. elseif equipped == true then
  1783. equipped = false
  1784. unequipanim()
  1785. hbwait()
  1786. if disablemovingarms == true then
  1787. RW.Parent = nil
  1788. LW.Parent = nil
  1789. RSH.Parent = Torso
  1790. LSH.Parent = Torso
  1791. end
  1792. if disableanimator == true then
  1793. Animator.Parent = Humanoid
  1794. end
  1795. if disableanimate == true then
  1796. Animate.Disabled = false
  1797. end
  1798. end
  1799. end
  1800. if key == "e" and attack == false and equipped == true then
  1801. if animtype < 3 then
  1802. animtype = animtype + 1
  1803. elseif animtype >= 3 then
  1804. animtype = 1
  1805. end
  1806. end
  1807. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  1808. subtractmana(skill1mana)
  1809. cooldown1 = 0
  1810. Move1()
  1811. end
  1812. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  1813. subtractmana(skill2mana)
  1814. cooldown2 = 0
  1815. Move2()
  1816. end
  1817. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  1818. subtractmana(skill3mana)
  1819. cooldown3 = 0
  1820. Move3()
  1821. end
  1822. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  1823. subtractmana(skill4mana)
  1824. cooldown4 = 0
  1825. Move4()
  1826. end
  1827. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  1828. if key == "q" then
  1829. Mana.Value = 100
  1830. cooldown1 = co1
  1831. cooldown2 = co2
  1832. cooldown3 = co3
  1833. cooldown4 = co4
  1834. end
  1835. if key == "p" then
  1836. StaggerHitAnim.Value = true
  1837. end
  1838. if key == "[" then
  1839. StaggerAnim.Value = true
  1840. end
  1841. if key == "]" then
  1842. StunAnim.Value = true
  1843. end
  1844. end
  1845. end
  1846. )
  1847. Mouse.KeyUp:connect(function(key2)
  1848.  
  1849. end
  1850. )
  1851. if allowhopperbin == true then
  1852. s = function(Mouse)
  1853.  
  1854. Mouse.Button1Down:connect(function()
  1855.  
  1856. ob1d(Mouse)
  1857. end
  1858. )
  1859. Mouse.Button1Up:connect(function()
  1860.  
  1861. ob1u(Mouse)
  1862. end
  1863. )
  1864. Mouse.KeyDown:connect(key)
  1865. Mouse.KeyUp:connect(key2)
  1866. end
  1867.  
  1868. end
  1869. if allowhopperbin == true then
  1870. ds = function(Mouse)
  1871.  
  1872. end
  1873.  
  1874. end
  1875. if allowhopperbin == true then
  1876. Bin.Selected:connect(s)
  1877. Bin.Deselected:connect(ds)
  1878. end
  1879. updateskills = function()
  1880.  
  1881. if allowabilitiestofunction == true then
  1882. if cooldown1 <= co1 then
  1883. cooldown1 = cooldown1 + 0.033333333333333
  1884. if co1 <= cooldown1 then
  1885. cooldown1 = co1
  1886. end
  1887. end
  1888. if cooldown2 <= co2 then
  1889. cooldown2 = cooldown2 + 0.033333333333333
  1890. if co2 <= cooldown2 then
  1891. cooldown2 = co2
  1892. end
  1893. end
  1894. if cooldown3 <= co3 then
  1895. cooldown3 = cooldown3 + 0.033333333333333
  1896. if co3 <= cooldown3 then
  1897. cooldown3 = co3
  1898. end
  1899. end
  1900. if cooldown4 <= co4 then
  1901. cooldown4 = cooldown4 + 0.033333333333333
  1902. if co4 <= cooldown4 then
  1903. cooldown4 = co4
  1904. end
  1905. end
  1906. if changebarcolorsifnotenoughmana == true then
  1907. if Mana.Value <= skill1mana then
  1908. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1909. else
  1910. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1911. end
  1912. if Mana.Value <= skill2mana then
  1913. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1914. else
  1915. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1916. end
  1917. if Mana.Value <= skill3mana then
  1918. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1919. else
  1920. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1921. end
  1922. if Mana.Value <= skill4mana then
  1923. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1924. else
  1925. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1926. end
  1927. else
  1928. if changebarcolorsifnotenoughmana == false then
  1929. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1930. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1931. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1932. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1933. end
  1934. end
  1935. end
  1936. if alternatemanaregensystem == false then
  1937. if Mana.Value <= maxmana then
  1938. Mana.Value = Mana.Value + recovermana / 30
  1939. else
  1940. if maxmana <= Mana.Value then
  1941. Mana.Value = maxmana
  1942. end
  1943. end
  1944. else
  1945. if alternatemanaregensystem == true then
  1946. if maxmana <= Mana.Value then
  1947. Mana.Value = maxmana
  1948. else
  1949. if manadelay <= manawait then
  1950. manadelay = manadelay + 1
  1951. else
  1952. manadelay = 0
  1953. Mana.Value = Mana.Value + 1
  1954. end
  1955. end
  1956. end
  1957. end
  1958. if allowstunbar == true then
  1959. if StunValue.Value <= 0 then
  1960. StunValue.Value = 0
  1961. else
  1962. if stundelay <= stunwait then
  1963. stundelay = stundelay + 1
  1964. else
  1965. stundelay = 0
  1966. StunValue.Value = StunValue.Value - 1
  1967. end
  1968. end
  1969. else
  1970. if allowstunbar == false then
  1971. StunValue.Value = 0
  1972. end
  1973. end
  1974. end
  1975.  
  1976. if allowmenutofunction == true then
  1977. ArtificialHB.Event:connect(function()
  1978.  
  1979. updateskills()
  1980. if allowabilitiestofunction == true then
  1981. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1982. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1983. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1984. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1985. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1986. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1987. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1988. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1989. end
  1990. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1991. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1992. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1993. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1994. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  1995. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1996. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  1997. end
  1998. if showhealthmanaandstunnumbers == true then
  1999. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2000. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2001. if allowstunbar == true and showstunbar == true then
  2002. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2003. end
  2004. end
  2005. if showstats == true then
  2006. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2007. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2008. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2009. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2010. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2011. if Rooted.Value == false then
  2012. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2013. else
  2014. if Rooted.Value == true or Movement.Value <= 0 then
  2015. movementtext.Text = "Movement: 0%"
  2016. end
  2017. end
  2018. end
  2019. end
  2020. )
  2021. end
  2022. while 1 do
  2023. hbwait()
  2024. if Hitbox ~= nil then
  2025. if attack == true then
  2026. Hitbox.Name = "Hitbox"
  2027. else
  2028. if attack == false then
  2029. Hitbox.Name = "NilHitbox"
  2030. end
  2031. end
  2032. end
  2033. if 0 < Humanoid.Health then
  2034. if walkspeeddependsonmovementvalue == true then
  2035. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2036. Humanoid.WalkSpeed = 0
  2037. else
  2038. Humanoid.WalkSpeed = 16 * Movement.Value
  2039. end
  2040. end
  2041. if maxstun <= StunValue.Value then
  2042. StunValue.Value = 0
  2043. StunAnim.Value = true
  2044. end
  2045. if StaggerAnim.Value == true and staggeranim == false then
  2046. coroutine.resume(coroutine.create(function()
  2047.  
  2048. staggeranim = true
  2049. while attack == true do
  2050. hbwait()
  2051. end
  2052. Stagger()
  2053. StaggerAnim.Value = false
  2054. staggeranim = false
  2055. end
  2056. ))
  2057. end
  2058. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2059. coroutine.resume(coroutine.create(function()
  2060.  
  2061. staggerhitanim = true
  2062. while attack == true do
  2063. hbwait()
  2064. end
  2065. StaggerHit()
  2066. StaggerHitAnim.Value = false
  2067. staggerhitanim = false
  2068. end
  2069. ))
  2070. end
  2071. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2072. coroutine.resume(coroutine.create(function()
  2073.  
  2074. StunValue.Value = 0
  2075. stunanim = true
  2076. while attack == true do
  2077. hbwait()
  2078. end
  2079. Stun()
  2080. StunAnim.Value = false
  2081. stunanim = false
  2082. end
  2083. ))
  2084. end
  2085. sine = sine + change
  2086. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2087. local velderp = RootPart.Velocity.y
  2088. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2089. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2090. if 0.5 <= donum then
  2091. handidle = true
  2092. else
  2093. if donum <= 0 then
  2094. handidle = false
  2095. end
  2096. end
  2097. if handidle == false then
  2098. donum = donum + 0.003 / animationspeed
  2099. else
  2100. donum = donum - 0.003 / animationspeed
  2101. end
  2102. if equipped == true or equipped == false then
  2103. if attack == false then
  2104. idle = idle + 1
  2105. else
  2106. idle = 0
  2107. end
  2108. if leftarm == true then
  2109. if Anim == "Walk" and equipped == true and attack == false then
  2110. if alternatewalk == false then
  2111. if walkinganim == true then
  2112. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2113. else
  2114. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2115. end
  2116. else
  2117. if walkinganim == true then
  2118. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2119. else
  2120. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2121. end
  2122. end
  2123. else
  2124. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2125.  
  2126. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2127. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2128. end
  2129. end
  2130. end
  2131. if rightarm == true then
  2132. if Anim == "Walk" and equipped == true and attack == false then
  2133. if alternatewalk == false then
  2134. if walkinganim == true then
  2135. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2136. else
  2137. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2138. end
  2139. else
  2140. if walkinganim == true then
  2141. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2142. else
  2143. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2144. end
  2145. end
  2146. else
  2147. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2148.  
  2149. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2150. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2151. end
  2152. end
  2153. end
  2154. if allowwalking == true then
  2155. if Anim == "Walk" and equipped == true then
  2156. if alternatewalk == false then
  2157. if walkinganim == true then
  2158. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2159. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2160. else
  2161. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2162. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2163. end
  2164. else
  2165. if walkinganim == true then
  2166. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2167. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2168. else
  2169. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2170. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2171. end
  2172. end
  2173. else
  2174. if Anim ~= "Walk" and equipped == true then
  2175. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2176. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2177. end
  2178. end
  2179. end
  2180. Anim = "Idle"
  2181. if attack == false then
  2182. if equipped == true then
  2183. if animtype == 1 then
  2184. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2185. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2186. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
  2187. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
  2188. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2189. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2190. end
  2191. if animtype == 2 then
  2192. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2193. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2194. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
  2195. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
  2196. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2197. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2198. end
  2199. end
  2200. if animtype == 3 then
  2201. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2202. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2203. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
  2204. LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
  2205. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2206. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2207. end
  2208. end
  2209. end
  2210. end
  2211. end
  2212. end
  2213. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement