Advertisement
ReisenBunny

sin banisher

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