Advertisement
Basykung7845

Test

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