vallentganteng

hax0r banish

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