Advertisement
Guest User

stuff

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