kaualima12

Untitled

Nov 9th, 2019
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. local Player = game:GetService("Players").LocalPlayer
  154.  
  155. local Mouse,mouse,UserInputService,ContextActionService
  156. do
  157. script.Parent = Player.Character
  158. local CAS = {Actions={}}
  159. local Event = Instance.new("RemoteEvent")
  160. Event.Name = "UserInput_Event"
  161. Event.Parent = Player.Character
  162. local fakeEvent = function()
  163. local t = {_fakeEvent=true}
  164. t.Connect = function(self,f)self.Function=f end
  165. t.connect = t.Connect
  166. return t
  167. end
  168. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  169. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  170. function CAS:BindAction(name,fun,touch,...)
  171. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  172. end
  173. function CAS:UnbindAction(name)
  174. CAS.Actions[name] = nil
  175. end
  176. local function te(self,ev,...)
  177. local t = m[ev]
  178. if t and t._fakeEvent and t.Function then
  179. t.Function(...)
  180. end
  181. end
  182. m.TrigEvent = te
  183. UIS.TrigEvent = te
  184. Event.OnServerEvent:Connect(function(plr,io)
  185. if plr~=Player then return end
  186. if io.isMouse then
  187. m.Target = io.Target
  188. m.Hit = io.Hit
  189. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  190. if io.UserInputState == Enum.UserInputState.Begin then
  191. m:TrigEvent("Button1Down")
  192. else
  193. m:TrigEvent("Button1Up")
  194. end
  195. else
  196. for n,t in pairs(CAS.Actions) do
  197. for _,k in pairs(t.Keys) do
  198. if k==io.KeyCode then
  199. t.Function(t.Name,io.UserInputState,io)
  200. end
  201. end
  202. end
  203. if io.UserInputState == Enum.UserInputState.Begin then
  204. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  205. UIS:TrigEvent("InputBegan",io,false)
  206. else
  207. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  208. UIS:TrigEvent("InputEnded",io,false)
  209. end
  210. end
  211. end)
  212. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  213. end
  214.  
  215. --//====================================================\\--
  216. --|| CREATED BY SHACKLUSTER and uberified by VictoriaChristophe bakayaro konoyaro
  217. --\\====================================================//--
  218.  
  219.  
  220.  
  221. wait(0.2)
  222.  
  223.  
  224.  
  225. Player = game:GetService("Players").LocalPlayer
  226. PlayerGui = Player.PlayerGui
  227. Cam = workspace.CurrentCamera
  228. Backpack = Player.Backpack
  229. Character = Player.Character
  230. Humanoid = Character.Humanoid
  231. Humanoid.JumpPower = 1000
  232. Mouse = Player:GetMouse()
  233. RootPart = Character["HumanoidRootPart"]
  234. Torso = Character["Torso"]
  235. Head = Character["Head"]
  236. RightArm = Character["Right Arm"]
  237. LeftArm = Character["Left Arm"]
  238. RightLeg = Character["Right Leg"]
  239. LeftLeg = Character["Left Leg"]
  240. RootJoint = RootPart["RootJoint"]
  241. Neck = Torso["Neck"]
  242. RightShoulder = Torso["Right Shoulder"]
  243. LeftShoulder = Torso["Left Shoulder"]
  244. RightHip = Torso["Right Hip"]
  245. LeftHip = Torso["Left Hip"]
  246. local sick = Instance.new("Sound",Character)
  247. sick.SoundId = "rbxassetid://1007872698"
  248. sick.Looped = true
  249. sick.Pitch = 1
  250. sick.Volume = 99
  251. sick:Play()
  252.  
  253. IT = Instance.new
  254. CF = CFrame.new
  255. VT = Vector3.new
  256. RAD = math.rad
  257. C3 = Color3.new
  258. UD2 = UDim2.new
  259. BRICKC = BrickColor.new
  260. ANGLES = CFrame.Angles
  261. EULER = CFrame.fromEulerAnglesXYZ
  262. COS = math.cos
  263. ACOS = math.acos
  264. SIN = math.sin
  265. ASIN = math.asin
  266. ABS = math.abs
  267. MRANDOM = math.random
  268. FLOOR = math.floor
  269.  
  270. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  271. local NEWMESH = IT(MESH)
  272. if MESH == "SpecialMesh" then
  273. NEWMESH.MeshType = MESHTYPE
  274. if MESHID ~= "nil" and MESHID ~= "" then
  275. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  276. end
  277. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  278. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  279. end
  280. end
  281. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  282. NEWMESH.Scale = SCALE
  283. NEWMESH.Parent = PARENT
  284. return NEWMESH
  285. end
  286.  
  287. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  288. local NEWPART = IT("Part")
  289. NEWPART.formFactor = FORMFACTOR
  290. NEWPART.Reflectance = REFLECTANCE
  291. NEWPART.Transparency = TRANSPARENCY
  292. NEWPART.CanCollide = false
  293. NEWPART.Locked = true
  294. NEWPART.Anchored = true
  295. if ANCHOR == false then
  296. NEWPART.Anchored = false
  297. end
  298. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  299. NEWPART.Name = NAME
  300. NEWPART.Size = SIZE
  301. NEWPART.Position = Torso.Position
  302. NEWPART.Material = MATERIAL
  303. NEWPART:BreakJoints()
  304. NEWPART.Parent = PARENT
  305. return NEWPART
  306. end
  307.  
  308.  
  309. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  310. local NEWPART = IT("Part")
  311. NEWPART.formFactor = FORMFACTOR
  312. NEWPART.Reflectance = REFLECTANCE
  313. NEWPART.Transparency = TRANSPARENCY
  314. NEWPART.CanCollide = false
  315. NEWPART.Locked = true
  316. NEWPART.Anchored = true
  317. if ANCHOR == false then
  318. NEWPART.Anchored = false
  319. end
  320. NEWPART.Name = NAME
  321. NEWPART.Size = SIZE
  322. NEWPART.Position = Torso.Position
  323. NEWPART.Material = MATERIAL
  324. NEWPART:BreakJoints()
  325. NEWPART.Parent = PARENT
  326. return NEWPART
  327. end
  328. --//=================================\\
  329. --|| CUSTOMIZATION
  330. --\\=================================//
  331.  
  332. Player_Size = 1 --Size of the player.
  333. Animation_Speed = 7
  334. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  335.  
  336. local Speed = 15
  337. local Effects2 = {}
  338.  
  339. --//=================================\\
  340. --|| END OF CUSTOMIZATION
  341. --\\=================================//
  342.  
  343. local function weldBetween(a, b)
  344. local weldd = Instance.new("ManualWeld")
  345. weldd.Part0 = a
  346. weldd.Part1 = b
  347. weldd.C0 = CFrame.new()
  348. weldd.C1 = b.CFrame:inverse() * a.CFrame
  349. weldd.Parent = a
  350. return weldd
  351. end
  352.  
  353. --//=================================\\
  354. --|| USEFUL VALUES
  355. --\\=================================//
  356.  
  357. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  358. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  359. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  360. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  361. local CHANGEDEFENSE = 0
  362. local CHANGEDAMAGE = 0
  363. local CHANGEMOVEMENT = 0
  364. local ANIM = "Idle"
  365. local ATTACK = false
  366. local EQUIPPED = false
  367. local HOLD = false
  368. local COMBO = 1
  369. local Rooted = false
  370. local SINE = 0
  371. local KEYHOLD = false
  372. local CHANGE = 2 / Animation_Speed
  373. local WALKINGANIM = false
  374. local WALK = 0
  375. local VALUE1 = false
  376. local VALUE2 = false
  377. local ROBLOXIDLEANIMATION = IT("Animation")
  378. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  379. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  380. --ROBLOXIDLEANIMATION.Parent = Humanoid
  381. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  382. WEAPONGUI.Name = "Weapon GUI"
  383. local Weapon = IT("Model")
  384. Weapon.Name = "Adds"
  385. local HITFLOOR = nil
  386. local Effects = IT("Folder", Weapon)
  387. Effects.Name = "Effects"
  388. local ANIMATOR = Humanoid.Animator
  389. local ANIMATE = Character.Animate
  390. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  391. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  392. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  393. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  394. local UNANCHOR = true
  395.  
  396. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  397.  
  398. --//=================================\\
  399. --\\=================================//
  400.  
  401.  
  402.  
  403.  
  404. --//=================================\\
  405. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  406. --\\=================================//
  407.  
  408. ArtificialHB = Instance.new("BindableEvent", script)
  409. ArtificialHB.Name = "ArtificialHB"
  410.  
  411. script:WaitForChild("ArtificialHB")
  412.  
  413. frame = Frame_Speed
  414. tf = 0
  415. allowframeloss = false
  416. tossremainder = false
  417. lastframe = tick()
  418. script.ArtificialHB:Fire()
  419.  
  420. game:GetService("RunService").Heartbeat:connect(function(s, p)
  421. tf = tf + s
  422. if tf >= frame then
  423. if allowframeloss then
  424. script.ArtificialHB:Fire()
  425. lastframe = tick()
  426. else
  427. for i = 1, math.floor(tf / frame) do
  428. script.ArtificialHB:Fire()
  429. end
  430. lastframe = tick()
  431. end
  432. if tossremainder then
  433. tf = 0
  434. else
  435. tf = tf - frame * math.floor(tf / frame)
  436. end
  437. end
  438. end)
  439.  
  440. --//=================================\\
  441. --\\=================================//
  442.  
  443.  
  444.  
  445.  
  446.  
  447. --//=================================\\
  448. --|| SOME FUNCTIONS
  449. --\\=================================//
  450.  
  451. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  452. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  453. end
  454.  
  455. function PositiveAngle(NUMBER)
  456. if NUMBER >= 0 then
  457. NUMBER = 0
  458. end
  459. return NUMBER
  460. end
  461.  
  462. function NegativeAngle(NUMBER)
  463. if NUMBER <= 0 then
  464. NUMBER = 0
  465. end
  466. return NUMBER
  467. end
  468.  
  469. function Swait(NUMBER)
  470. if NUMBER == 0 or NUMBER == nil then
  471. ArtificialHB.Event:wait()
  472. else
  473. for i = 1, NUMBER do
  474. ArtificialHB.Event:wait()
  475. end
  476. end
  477. end
  478.  
  479. function QuaternionFromCFrame(cf)
  480. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  481. local trace = m00 + m11 + m22
  482. if trace > 0 then
  483. local s = math.sqrt(1 + trace)
  484. local recip = 0.5 / s
  485. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  486. else
  487. local i = 0
  488. if m11 > m00 then
  489. i = 1
  490. end
  491. if m22 > (i == 0 and m00 or m11) then
  492. i = 2
  493. end
  494. if i == 0 then
  495. local s = math.sqrt(m00 - m11 - m22 + 1)
  496. local recip = 0.5 / s
  497. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  498. elseif i == 1 then
  499. local s = math.sqrt(m11 - m22 - m00 + 1)
  500. local recip = 0.5 / s
  501. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  502. elseif i == 2 then
  503. local s = math.sqrt(m22 - m00 - m11 + 1)
  504. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  505. end
  506. end
  507. end
  508.  
  509. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  510. local xs, ys, zs = x + x, y + y, z + z
  511. local wx, wy, wz = w * xs, w * ys, w * zs
  512. local xx = x * xs
  513. local xy = x * ys
  514. local xz = x * zs
  515. local yy = y * ys
  516. local yz = y * zs
  517. local zz = z * zs
  518. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  519. end
  520.  
  521. function QuaternionSlerp(a, b, t)
  522. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  523. local startInterp, finishInterp;
  524. if cosTheta >= 0.0001 then
  525. if (1 - cosTheta) > 0.0001 then
  526. local theta = ACOS(cosTheta)
  527. local invSinTheta = 1 / SIN(theta)
  528. startInterp = SIN((1 - t) * theta) * invSinTheta
  529. finishInterp = SIN(t * theta) * invSinTheta
  530. else
  531. startInterp = 1 - t
  532. finishInterp = t
  533. end
  534. else
  535. if (1 + cosTheta) > 0.0001 then
  536. local theta = ACOS(-cosTheta)
  537. local invSinTheta = 1 / SIN(theta)
  538. startInterp = SIN((t - 1) * theta) * invSinTheta
  539. finishInterp = SIN(t * theta) * invSinTheta
  540. else
  541. startInterp = t - 1
  542. finishInterp = t
  543. end
  544. end
  545. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  546. end
  547.  
  548. function Clerp(a, b, t)
  549. local qa = {QuaternionFromCFrame(a)}
  550. local qb = {QuaternionFromCFrame(b)}
  551. local ax, ay, az = a.x, a.y, a.z
  552. local bx, by, bz = b.x, b.y, b.z
  553. local _t = 1 - t
  554. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  555. end
  556.  
  557. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  558. local frame = IT("Frame")
  559. frame.BackgroundTransparency = TRANSPARENCY
  560. frame.BorderSizePixel = BORDERSIZEPIXEL
  561. frame.Position = POSITION
  562. frame.Size = SIZE
  563. frame.BackgroundColor3 = COLOR
  564. frame.BorderColor3 = BORDERCOLOR
  565. frame.Name = NAME
  566. frame.Parent = PARENT
  567. return frame
  568. end
  569.  
  570. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  571. local label = IT("TextLabel")
  572. label.BackgroundTransparency = 1
  573. label.Size = UD2(1, 0, 1, 0)
  574. label.Position = UD2(0, 0, 0, 0)
  575. label.TextColor3 = TEXTCOLOR
  576. label.TextStrokeTransparency = STROKETRANSPARENCY
  577. label.TextTransparency = TRANSPARENCY
  578. label.FontSize = TEXTFONTSIZE
  579. label.Font = TEXTFONT
  580. label.BorderSizePixel = BORDERSIZEPIXEL
  581. label.TextScaled = false
  582. label.Text = TEXT
  583. label.Name = NAME
  584. label.Parent = PARENT
  585. return label
  586. end
  587.  
  588. function NoOutlines(PART)
  589. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  590. end
  591.  
  592.  
  593. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  594. local NEWWELD = IT(TYPE)
  595. NEWWELD.Part0 = PART0
  596. NEWWELD.Part1 = PART1
  597. NEWWELD.C0 = C0
  598. NEWWELD.C1 = C1
  599. NEWWELD.Parent = PARENT
  600. return NEWWELD
  601. end
  602.  
  603. function CreateSound(ID, PARENT, VOLUME, PITCH)
  604. local NEWSOUND = nil
  605. coroutine.resume(coroutine.create(function()
  606. NEWSOUND = IT("Sound", PARENT)
  607. NEWSOUND.Volume = VOLUME
  608. NEWSOUND.Pitch = PITCH
  609. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  610. Swait()
  611. NEWSOUND:play()
  612. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  613. end))
  614. return NEWSOUND
  615. end
  616.  
  617. function CFrameFromTopBack(at, top, back)
  618. local right = top:Cross(back)
  619. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  620. end
  621.  
  622. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  623. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  624. local mesh = IT("SpecialMesh",wave)
  625. mesh.MeshType = "FileMesh"
  626. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  627. mesh.Scale = SIZE
  628. mesh.Offset = VT(0,0,-SIZE.X/8)
  629. wave.CFrame = CFRAME
  630. coroutine.resume(coroutine.create(function(PART)
  631. for i = 1, WAIT do
  632. Swait()
  633. mesh.Scale = mesh.Scale + GROW
  634. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  635. if DOESROT == true then
  636. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  637. end
  638. wave.Transparency = wave.Transparency + (0.5/WAIT)
  639. if wave.Transparency > 0.99 then
  640. wave:remove()
  641. end
  642. end
  643. end))
  644. end
  645.  
  646. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  647. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  648. local mesh = IT("SpecialMesh",wave)
  649. mesh.MeshType = "FileMesh"
  650. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  651. mesh.Scale = SIZE
  652. --mesh.Offset = VT(0,0,-SIZE.X/8)
  653. wave.CFrame = CFRAME
  654. coroutine.resume(coroutine.create(function(PART)
  655. for i = 1, WAIT do
  656. Swait()
  657. mesh.Scale = mesh.Scale + GROW
  658. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  659. if DOESROT == true then
  660. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  661. end
  662. wave.Transparency = wave.Transparency + (0.5/WAIT)
  663. if wave.Transparency > 0.99 then
  664. wave:remove()
  665. end
  666. end
  667. end))
  668. end
  669.  
  670. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  671. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  672. local mesh = IT("SpecialMesh",wave)
  673. mesh.MeshType = "FileMesh"
  674. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  675. mesh.Scale = SIZE
  676. wave.CFrame = CFRAME
  677. coroutine.resume(coroutine.create(function(PART)
  678. for i = 1, WAIT do
  679. Swait()
  680. mesh.Scale = mesh.Scale + GROW
  681. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  682. if DOESROT == true then
  683. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  684. end
  685. wave.Transparency = wave.Transparency + (0.5/WAIT)
  686. if wave.Transparency > 0.99 then
  687. wave:remove()
  688. end
  689. end
  690. end))
  691. end
  692.  
  693.  
  694. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  695. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  696. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  697. wave.CFrame = CFRAME
  698. coroutine.resume(coroutine.create(function(PART)
  699. for i = 1, WAIT do
  700. Swait()
  701. mesh.Scale = mesh.Scale * GROW
  702. wave.Transparency = wave.Transparency + (0.5/WAIT)
  703. if wave.Transparency > 0.99 then
  704. wave:remove()
  705. end
  706. end
  707. end))
  708. end
  709.  
  710. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  711. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  712. local mesh = IT("SpecialMesh",wave)
  713. mesh.MeshType = "Sphere"
  714. mesh.Scale = SIZE
  715. mesh.Offset = VT(0,0,0)
  716. wave.CFrame = CFRAME
  717. coroutine.resume(coroutine.create(function(PART)
  718. for i = 1, WAIT do
  719. Swait()
  720. mesh.Scale = mesh.Scale + GROW
  721. wave.Transparency = wave.Transparency + (1/WAIT)
  722. if wave.Transparency > 0.99 then
  723. wave:remove()
  724. end
  725. end
  726. end))
  727. end
  728.  
  729. function MakeForm(PART,TYPE)
  730. if TYPE == "Cyl" then
  731. local MSH = IT("CylinderMesh",PART)
  732. elseif TYPE == "Ball" then
  733. local MSH = IT("SpecialMesh",PART)
  734. MSH.MeshType = "Sphere"
  735. elseif TYPE == "Wedge" then
  736. local MSH = IT("SpecialMesh",PART)
  737. MSH.MeshType = "Wedge"
  738. end
  739. end
  740.  
  741. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  742. if FLOOR ~= nil then
  743. coroutine.resume(coroutine.create(function()
  744. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  745. PART.CFrame = CF(POSITION)
  746. for i = 1, 45 do
  747. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  748. RingPiece.Material = FLOOR.Material
  749. RingPiece.Color = FLOOR.Color
  750. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  751. Debris:AddItem(RingPiece,SWAIT/100)
  752. end
  753. PART:remove()
  754. end))
  755. end
  756. end
  757.  
  758. function CheckTableForString(Table, String)
  759. for i, v in pairs(Table) do
  760. if string.find(string.lower(String), string.lower(v)) then
  761. return true
  762. end
  763. end
  764. return false
  765. end
  766.  
  767. function CheckIntangible(Hit)
  768. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  769. if Hit and Hit.Parent then
  770. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  771. return true
  772. end
  773. end
  774. return false
  775. end
  776.  
  777. Debris = game:GetService("Debris")
  778.  
  779. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  780. local Direction = CFrame.new(StartPos, Vec).lookVector
  781. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  782. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  783. if RayHit and CheckIntangible(RayHit) then
  784. if DelayIfHit then
  785. wait()
  786. end
  787. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  788. end
  789. return RayHit, RayPos, RayNormal
  790. end
  791.  
  792. function turnto(position)
  793. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  794. end
  795.  
  796. --//=================================\\
  797. --|| WEAPON CREATION
  798. --\\=================================//
  799. local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  800. Light = Instance.new("PointLight",FIST)
  801. Light.Brightness = 0.85
  802. touchCounter = 0
  803. local cR=255
  804. local cG=0
  805. local cB=0
  806. local flg5=1 local omgidk=1
  807. local add=7.5
  808. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  809. if omgidk>10000 then omgidk=0 end
  810. omgidk=omgidk+1
  811. if cR>=255 then flg5=1 end
  812. if cG>=255 then flg5=2 end
  813. if cB>=255 then flg5=3 end
  814. if flg5==1 then cR=cR-add cG=cG+add end
  815. if flg5==2 then cG=cG-add cB=cB+add end
  816. if flg5==3 then cB=cB-add cR=cR+add end
  817. color=Color3.fromRGB(cR,cG,cB)
  818. Light.Color = color
  819. end)
  820. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  821. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  822. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  823.  
  824. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  825. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  826. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  827. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  828. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  829. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  830. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  831. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  832.  
  833. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  834. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  835. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  836. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  837. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  838. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  839. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  840. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  841. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  842. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  843. touchCounter = 0
  844. local cR=255
  845. local cG=0
  846. local cB=0
  847. local flg5=1 local omgidk=1
  848. local add=7.5
  849. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  850. if omgidk>10000 then omgidk=0 end
  851. omgidk=omgidk+1
  852. if cR>=255 then flg5=1 end
  853. if cG>=255 then flg5=2 end
  854. if cB>=255 then flg5=3 end
  855. if flg5==1 then cR=cR-add cG=cG+add end
  856. if flg5==2 then cG=cG-add cB=cB+add end
  857. if flg5==3 then cB=cB-add cR=cR+add end
  858. color=Color3.fromRGB(cR,cG,cB)
  859. local d = Weapon:FindFirstChild("Neon Gauntlet Part")
  860. if d then
  861. d.Color = color
  862. end
  863. local d = Weapon:FindFirstChild("Neon Gauntlet Part1")
  864. if d then
  865. d.Color = color
  866. end
  867. end)
  868. for _, c in pairs(Weapon:GetChildren()) do
  869. if c.ClassName == "Part" then
  870. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  871. end
  872. end
  873.  
  874. Weapon.Parent = Character
  875.  
  876. Humanoid.Died:connect(function()
  877. ATTACK = true
  878. end)
  879.  
  880. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  881. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  882. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  883. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  884.  
  885. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  886. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  887. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  888. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  889.  
  890. --//=================================\\
  891. --|| DAMAGE FUNCTIONS
  892. --\\=================================//
  893.  
  894. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  895. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  896. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  897. local BODYGYRO = IT("BodyGyro", STATPART)
  898. local BODYPOSITION = IT("BodyPosition", STATPART)
  899. BODYPOSITION.P = 2000
  900. BODYPOSITION.D = 100
  901. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  902. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  903. game:GetService("Debris"):AddItem(STATPART ,5)
  904. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  905. BILLBOARDGUI.Adornee = STATPART
  906. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  907. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  908. BILLBOARDGUI.AlwaysOnTop = false
  909. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  910. TEXTLABEL.BackgroundTransparency = 1
  911. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  912. TEXTLABEL.Text = TEXT
  913. TEXTLABEL.Font = "SciFi"
  914. TEXTLABEL.FontSize="Size42"
  915. TEXTLABEL.TextColor3 = COLOR
  916. TEXTLABEL.TextStrokeTransparency = 1
  917. TEXTLABEL.TextScaled = true
  918. TEXTLABEL.TextWrapped = true
  919. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  920. if LABELTYPE == "Normal" then
  921. for i = 1, 30 do
  922. Swait()
  923. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  924. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  925. end
  926. elseif LABELTYPE == "Debuff" then
  927. for i = 1, 30 do
  928. Swait()
  929. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  930. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  931. end
  932. elseif LABELTYPE == "Shock" then
  933. local ORIGIN = STATPART.Position
  934. for i = 1, 30 do
  935. Swait()
  936. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  937. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  938. end
  939. end
  940. THEPART.Parent = nil
  941. end),STATPART, BODYPOSITION, TEXTLABEL)
  942. end
  943.  
  944. --//=================================\\
  945. --|| DAMAGING
  946. --\\=================================//
  947.  
  948. function killnearest(position,range,maxstrength,direction)
  949. for i,v in ipairs(workspace:GetChildren()) do
  950. local body = v:GetChildren()
  951. for part = 1, #body do
  952. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  953. if(body[part].Position - position).Magnitude < range then
  954. if v.ClassName == "Model" then
  955. --v:BreakJoints()
  956. end
  957. local POS = position
  958. coroutine.resume(coroutine.create(function()
  959. body[part].Anchored = true
  960. body[part].Parent = Effects
  961. body[part].CanCollide = true
  962. local SIZE = body[part].Size
  963. body[part].Material = "Neon"
  964. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  965. for i = 1, 75 do
  966. Swait()
  967. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  968. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  969. end
  970. coroutine.resume(coroutine.create(function()
  971. while true do
  972. Swait()
  973. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  974. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  975. end
  976. end))
  977. body[part].Anchored = false
  978. body[part].Velocity = direction.lookVector*maxstrength
  979. end))
  980. end
  981. end
  982. end
  983. if v.ClassName == "Part" then
  984. if v.Anchored == false and (v.Position - position).Magnitude < range then
  985. local POS = position
  986. coroutine.resume(coroutine.create(function()
  987. v.Anchored = true
  988. v.Parent = Effects
  989. local SIZE = v.Size
  990. v.Material = "Neon"
  991. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  992. for i = 1, 75 do
  993. Swait()
  994. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  995. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  996. end
  997. coroutine.resume(coroutine.create(function()
  998. while true do
  999. Swait()
  1000. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1001. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1002. end
  1003. end))
  1004. v.Anchored = false
  1005. v.Velocity = direction.lookVector*maxstrength
  1006. end))
  1007. end
  1008. end
  1009. end
  1010. end
  1011.  
  1012. --//=================================\\
  1013. --|| ATTACK FUNCTIONS AND STUFF
  1014. --\\=================================//
  1015.  
  1016. function AttackTemplate()
  1017. ATTACK = true
  1018. Rooted = false
  1019. for i=0, 1, 0.1 / Animation_Speed do
  1020. Swait()
  1021. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1027. end
  1028. ATTACK = false
  1029. Rooted = false
  1030. end
  1031.  
  1032. function UltraPunch()
  1033. ATTACK = true
  1034. Rooted = false
  1035. local SPEED = 15
  1036. Speed = 10
  1037. CreateSound("214876666", RightArm, 7.5, 0.8)
  1038. for i=0, 0, 0.1 / Animation_Speed do
  1039. Swait()
  1040. turnto(Mouse.Hit.p)
  1041. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  1042. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  1043. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1044. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1046. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1047. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1048. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1049. end
  1050. for i=0, 0, 0.1 / Animation_Speed do
  1051. Swait()
  1052. turnto(Mouse.Hit.p)
  1053. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1057. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1058. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1059. end
  1060. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
  1061. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1062. PART.Shape = "Ball"
  1063. local bv = Instance.new("BodyVelocity")
  1064. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1065. bv.velocity = RootPart.CFrame.lookVector*600
  1066. bv.Parent = PART
  1067. bv.Name = "PROJECTILEVELOCITY"
  1068. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5))
  1069. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3))
  1070. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2))
  1071. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2))
  1072. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  1073. coroutine.resume(coroutine.create(function()
  1074. for i = 1, 11 do
  1075. Swait()
  1076. PART.Transparency = PART.Transparency + 0.2/10
  1077. PART.Size = PART.Size + VT(5,5,5)
  1078. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1079. end
  1080. PART:Destroy()
  1081. end))
  1082. for i=0, 0, 0.1 / Animation_Speed do
  1083. Swait()
  1084. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1086. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1087. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1088. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1089. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1090. end
  1091. Speed = SPEED
  1092. ATTACK = false
  1093. Rooted = false
  1094. end
  1095.  
  1096. function Punish()
  1097. Animation_Speed = 20
  1098. ATTACK = true
  1099. Rooted = false
  1100. local HASGRABBED = false
  1101. local WELD = nil
  1102. local TORS = nil
  1103. local hitting = FIST.Touched:connect(function(hit)
  1104. if hit.Parent:FindFirstChild("Humanoid") then
  1105. if hit.Parent.Humanoid.Health ~= 0 then
  1106. UNANCHOR = false
  1107. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1108. TORS.Anchored = true
  1109. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1110. WELD = weldBetween(RightArm,TORS)
  1111. HASGRABBED = true
  1112. Rooted = true
  1113. end
  1114. end
  1115. end)
  1116. for i=0, 2, 0.1 / Animation_Speed do
  1117. Swait()
  1118. if HASGRABBED == true then
  1119. break
  1120. end
  1121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  1122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1125. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1127. end
  1128. hitting:disconnect()
  1129. if HASGRABBED == true then
  1130. TORS.Anchored = false
  1131. RootPart.Anchored = true
  1132. for i=0, 1.6, 0.1 / Animation_Speed do
  1133. Swait()
  1134. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1140. end
  1141. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  1142. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  1143. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1144. SOUNDPART.CFrame = RootPart.CFrame
  1145. Debris:AddItem(SOUNDPART,5)
  1146. CreateSound("357202073", SOUNDPART, 0, 1)
  1147. for i = 1, 16 do
  1148. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  1149. end
  1150. for i=0, 1.6, 0.1 / Animation_Speed do
  1151. Swait()
  1152. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1156. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1158. end
  1159. for i=0, 0.4, 0.1 / Animation_Speed do
  1160. Swait()
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1167. end
  1168. if HITFLOOR ~= nil then
  1169. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1170. end
  1171. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  1172. WELD:remove()
  1173. for i = 1, 26 do
  1174. Swait()
  1175. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1176. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  1177. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
  1178. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
  1179. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1180. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
  1181. end
  1182. end
  1183. UNANCHOR = true
  1184. ATTACK = false
  1185. Rooted = false
  1186. Animation_Speed = 20
  1187. end
  1188.  
  1189. function Dash()
  1190. local ORIGIN = RootPart.Position
  1191. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1192. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1193. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1194. SOUNDPART.CFrame = RootPart.CFrame
  1195. Debris:AddItem(SOUNDPART,5)
  1196. CreateSound("357202032", SOUNDPART, 0, 1)
  1197. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1198. Swait()
  1199. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1200. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1201. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1202. SOUNDPART.CFrame = RootPart.CFrame
  1203. Debris:AddItem(SOUNDPART,5)
  1204. CreateSound("1295446488", SOUNDPART, 2.5, 1)
  1205. for i=0, 0.5, 0.1 / Animation_Speed do
  1206. Swait()
  1207. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1211. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1212. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1213. end
  1214. ATTACK = false
  1215. Rooted = false
  1216. end
  1217. function Begoner9000()
  1218. ATTACK = true
  1219. Rooted = true
  1220. CreateSound("255679384", RightArm, 8, 1)
  1221. for i=0, 0, 0.1 / Animation_Speed do
  1222. Swait()
  1223. turnto(Mouse.Hit.p)
  1224. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
  1225. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1)
  1226. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  1227. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Maroon",VT(0.001,0.001,2),0)
  1228. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  1229. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  1230. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1231. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1234. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1235. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1236. end
  1237. for i=0, 0, 0.1 / Animation_Speed do
  1238. Swait()
  1239. turnto(Mouse.Hit.p)
  1240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1241. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1242. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1243. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1244. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1245. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1246. end
  1247. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
  1248. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  1249. coroutine.resume(coroutine.create(function()
  1250. Swait(0.01)
  1251. for i = 1, 2 do
  1252. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1253. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i))
  1254. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i))
  1255. end
  1256. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1257. for i = 1, 3 do
  1258. CreateSound("414517163", Effects, 3.5, 0.8)
  1259. CreateSound("414517163", Effects, 3.5, 0.8)
  1260. end
  1261. coroutine.resume(coroutine.create(function()
  1262. for i = 1, 3 do
  1263. Swait()
  1264. for i = 1, 1 do
  1265. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1266. end
  1267. for i = 1, 2 do
  1268. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3)
  1269. end
  1270. end
  1271. end))
  1272. end))
  1273. for i=0, 0, 0.1 / Animation_Speed do
  1274. Swait()
  1275. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1276. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1277. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1278. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1279. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1280. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1281. end
  1282. ATTACK = false
  1283. Rooted = false
  1284. end
  1285.  
  1286. --//=================================\\
  1287. --|| ASSIGN THINGS TO KEYS
  1288. --\\=================================//
  1289.  
  1290. function MouseDown(Mouse)
  1291. if ATTACK == false then
  1292. end
  1293. end
  1294.  
  1295. function MouseUp(Mouse)
  1296. HOLD = false
  1297. end
  1298.  
  1299. function KeyDown(Key)
  1300. KEYHOLD = true
  1301. if Key == "e" and ATTACK == false then
  1302. UltraPunch()
  1303. end
  1304.  
  1305. if Key == "f" and ATTACK == false then
  1306. Punish()
  1307. end
  1308.  
  1309. if Key == "c" and ATTACK == false then
  1310. Dash()
  1311. end
  1312.  
  1313. if Key == "q" and ATTACK == false then
  1314. Begoner9000()()
  1315. end
  1316.  
  1317. if Key == "p" and ATTACK == false then
  1318. if Speed == 16 then
  1319. Speed = 150
  1320. elseif Speed == 150 then
  1321. Speed = 16
  1322. end
  1323. end
  1324. end
  1325.  
  1326. function KeyUp(Key)
  1327. KEYHOLD = false
  1328. end
  1329.  
  1330. Mouse.Button1Down:connect(function(NEWKEY)
  1331. MouseDown(NEWKEY)
  1332. end)
  1333. Mouse.Button1Up:connect(function(NEWKEY)
  1334. MouseUp(NEWKEY)
  1335. end)
  1336. Mouse.KeyDown:connect(function(NEWKEY)
  1337. KeyDown(NEWKEY)
  1338. end)
  1339. Mouse.KeyUp:connect(function(NEWKEY)
  1340. KeyUp(NEWKEY)
  1341. end)
  1342.  
  1343. --//=================================\\
  1344. --\\=================================//
  1345.  
  1346.  
  1347. function unanchor()
  1348. if UNANCHOR == true then
  1349. g = Character:GetChildren()
  1350. for i = 1, #g do
  1351. if g[i].ClassName == "Part" then
  1352. g[i].Anchored = false
  1353. end
  1354. end
  1355. end
  1356. end
  1357.  
  1358.  
  1359. --//=================================\\
  1360. --|| WRAP THE WHOLE SCRIPT UP
  1361. --\\=================================//
  1362.  
  1363. Humanoid.Changed:connect(function(Jump)
  1364. if Jump == "Jump" and (Disable_Jump == true) then
  1365. Humanoid.Jump = false
  1366. end
  1367. end)
  1368.  
  1369. while true do
  1370. Swait()
  1371. ANIMATE.Parent = nil
  1372. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1373. IDLEANIMATION:Play()
  1374. SINE = SINE + CHANGE
  1375. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1376. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1377. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1378. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1379. local WALKSPEEDVALUE = 0
  1380. if Speed < 35 then
  1381. WALKSPEEDVALUE = 48
  1382. else
  1383. WALKSPEEDVALUE = 48
  1384. end
  1385. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1386. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1387. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1388. if Speed < 35 then
  1389. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1390. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1391. else
  1392. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1393. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1394. end
  1395. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1396. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1397. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1398. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1399. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1400. end
  1401. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1402. ANIM = "Jump"
  1403. if ATTACK == false then
  1404. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1405. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1406. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1407. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1408. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1409. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1410. end
  1411. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1412. ANIM = "Fall"
  1413. if ATTACK == false then
  1414. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1415. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1418. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1419. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1420. end
  1421. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1422. ANIM = "Idle"
  1423. if ATTACK == false then
  1424. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1428. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1429. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1430. end
  1431. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1432. ANIM = "Walk"
  1433. WALK = WALK + 1 / Animation_Speed
  1434. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1435. WALK = 0
  1436. if WALKINGANIM == true then
  1437. WALKINGANIM = false
  1438. elseif WALKINGANIM == false then
  1439. WALKINGANIM = true
  1440. end
  1441. end
  1442. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1443. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1444. if ATTACK == false then
  1445. if Speed < 35 then
  1446. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1447. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1450. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1451. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1452. else
  1453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1457. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1459. end
  1460. end
  1461. end
  1462. unanchor()
  1463. Humanoid.MaxHealth = "inf"
  1464. Humanoid.Health = "inf"
  1465. if Rooted == false then
  1466. Disable_Jump = false
  1467. Humanoid.WalkSpeed = Speed
  1468. elseif Rooted == true then
  1469. Disable_Jump = true
  1470. Humanoid.WalkSpeed = 0
  1471. end
  1472. local MATHS = {"0","1"}
  1473. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1474. Humanoid.PlatformStand = false
  1475. end
  1476.  
  1477. --//=================================\\
  1478. --\\=================================//
  1479.  
  1480.  
  1481. --//====================================================\\--
  1482. --|| END OF SCRIPT
  1483. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment