Advertisement
Basykung7845

Test

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