Advertisement
Basykung7845

Test

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