Advertisement
13242

Untitled

Dec 16th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.64 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7.  
  8.  
  9. script.Name = "banish in a nutshell xd lmao"
  10. --------------------------------DA WAY BANISH ????!!?? XD--------
  11. ------NO U DONT LEAK THUS....... begone you sKid..... XD---------
  12.  
  13. script:ClearAllChildren()
  14. wait(0.2)
  15.  
  16. Player = game:GetService("Players").LocalPlayer
  17. print("no u")
  18. daway = Player.Character
  19. PlayerGui = Player.PlayerGui
  20. Cam = workspace.CurrentCamera
  21. Backpack = Player.Backpack
  22. Character = Player.Character
  23. Humanoid = Character.Humanoid
  24. Mouse = Player:GetMouse()
  25. RootPart = Character["HumanoidRootPart"]
  26. Torso = Character["Torso"]
  27. Head = Character["Head"]
  28. RightArm = Character["Right Arm"]
  29. LeftArm = Character["Left Arm"]
  30. RightLeg = Character["Right Leg"]
  31. LeftLeg = Character["Left Leg"]
  32. RootJoint = RootPart["RootJoint"]
  33. Neck = Torso["Neck"]
  34. RightShoulder = Torso["Right Shoulder"]
  35. LeftShoulder = Torso["Left Shoulder"]
  36. RightHip = Torso["Right Hip"]
  37. LeftHip = Torso["Left Hip"]
  38. local sick = Instance.new("Sound",Character)
  39. sick.Parent = Character
  40. sick:resume()
  41. sick.Looped = true
  42. sick.Volume = 4
  43. sick.Pitch = 1
  44. sick.SoundId = "rbxassetid://698929986"
  45. sick.Name = "DA BANISH LOL"
  46.  
  47. function swait(num)
  48. if num == 0 or num == nil then
  49. ArtificialHB.Event:wait()
  50. else
  51. for i = 0, num do
  52. ArtificialHB.Event:wait()
  53. end
  54. end
  55. end
  56.  
  57. function chatfunc(text)
  58. local chat = coroutine.wrap(function()
  59. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  60. Character:FindFirstChild("TalkingBillBoard"):destroy()
  61. end
  62. local Bill = Instance.new("BillboardGui",Character)
  63. Bill.Size = UDim2.new(0,100,0,40)
  64. Bill.StudsOffset = Vector3.new(0,3,0)
  65. Bill.Adornee = Character.Head
  66. Bill.Name = "TalkingBillBoard"
  67. local Hehe = Instance.new("TextLabel",Bill)
  68. Hehe.BackgroundTransparency = 1
  69. Hehe.BorderSizePixel = 0
  70. Hehe.Text = ""
  71. Hehe.Font = "Cartoon"
  72. Hehe.TextSize = 40
  73. Hehe.TextStrokeTransparency = 0
  74. Hehe.Size = UDim2.new(1,0,0.5,0)
  75. coroutine.resume(coroutine.create(function()
  76. while Hehe ~= nil do
  77. swait()
  78. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  79. Hehe.Rotation = math.random(-5,5)
  80. Hehe.TextColor3 = Color3.new(1, 1, 1)
  81. Hehe.TextStrokeColor3 = Color3.new(1, 1, 1)
  82. end
  83. end))
  84. for i = 1,string.len(text),1 do
  85. swait()
  86. Hehe.Text = string.sub(text,1,i)
  87. end
  88. swait(90)--Re[math.random(1, 93)]
  89. for i = 0, 1, .025 do
  90. swait()
  91. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  92. Hehe.TextStrokeTransparency = i
  93. Hehe.TextTransparency = i
  94. end
  95. Bill:Destroy()
  96. end)
  97. chat()
  98. end
  99.  
  100. function onChatted(msg)
  101. chatfunc(msg)
  102. end
  103.  
  104. Player.Chatted:connect(onChatted)
  105.  
  106. local naeeym = Instance.new("BillboardGui",daway)
  107. naeeym.Size = UDim2.new(0,100,0,40)
  108. naeeym.StudsOffset = Vector3.new(0,2,0)
  109. naeeym.Adornee = daway.Head
  110. local tecks = Instance.new("TextLabel",naeeym)
  111. tecks.BackgroundTransparency = 1
  112. tecks.BorderSizePixel = 0
  113. tecks.Text = "SECRET"
  114. tecks.Font = "Fantasy"
  115. tecks.FontSize = "Size24"
  116. tecks.TextStrokeTransparency = 0
  117. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  118. tecks.TextColor3 = Color3.new(1,1,1)
  119. tecks.Size = UDim2.new(1,0,0.5,0)
  120.  
  121. IT = Instance.new
  122. CF = CFrame.new
  123. VT = Vector3.new
  124. RAD = math.rad
  125. C3 = Color3.new
  126. UD2 = UDim2.new
  127. BRICKC = BrickColor.new
  128. ANGLES = CFrame.Angles
  129. EULER = CFrame.fromEulerAnglesXYZ
  130. COS = math.cos
  131. ACOS = math.acos
  132. SIN = math.sin
  133. ASIN = math.asin
  134. ABS = math.abs
  135. MRANDOM = math.random
  136. FLOOR = math.floor
  137.  
  138. --//=================================\\
  139. --|| USEFUL VALUES
  140. --\\=================================//
  141.  
  142. Animation_Speed = 6
  143. local FORCERESET = false
  144. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  145. local Speed = 16
  146. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  149. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  150. local DAMAGEMULTIPLIER = 1
  151. local ANIM = "Idle"
  152. local ATTACK = false
  153. local EQUIPPED = false
  154. local HOLD = false
  155. local COMBO = 1
  156. local Rooted = false
  157. local SINE = 1
  158. local KEYHOLD = false
  159. local CHANGE = 2 / Animation_Speed
  160. local WALKINGANIM = false
  161. local VALUE1 = false
  162. local VALUE2 = false
  163. local ROBLOXIDLEANIMATION = IT("Animation")
  164. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  165. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  166. --ROBLOXIDLEANIMATION.Parent = Humanoid
  167. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  168. WEAPONGUI.Name = "BanishV3Gui"
  169. local Weapon = IT("Model")
  170. Weapon.Name = "Adds"
  171. local Effects = IT("Folder", Weapon)
  172. Effects.Name = "Effects"
  173. local ANIMATOR = Humanoid.Animator
  174. local ANIMATE = Character:FindFirstChild("Animate")
  175. local UNANCHOR = true
  176. local TOBANISH = {}
  177. script.Parent = PlayerGui
  178.  
  179. --//=================================\\
  180. --\\=================================//
  181.  
  182.  
  183. --//=================================\\
  184. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  185. --\\=================================//
  186.  
  187. ArtificialHB = Instance.new("BindableEvent", script)
  188. ArtificialHB.Name = "ArtificialHB"
  189.  
  190. script:WaitForChild("ArtificialHB")
  191.  
  192. frame = Frame_Speed
  193. tf = 0
  194. allowframeloss = false
  195. tossremainder = false
  196. lastframe = tick()
  197. script.ArtificialHB:Fire()
  198.  
  199. game:GetService("RunService").Heartbeat:connect(function(s, p)
  200. tf = tf + s
  201. if tf >= frame then
  202. if allowframeloss then
  203. script.ArtificialHB:Fire()
  204. lastframe = tick()
  205. else
  206. for i = 1, math.floor(tf / frame) do
  207. script.ArtificialHB:Fire()
  208. end
  209. lastframe = tick()
  210. end
  211. if tossremainder then
  212. tf = 0
  213. else
  214. tf = tf - frame * math.floor(tf / frame)
  215. end
  216. end
  217. end)
  218.  
  219. --//=================================\\
  220. --\\=================================//
  221.  
  222. --//=================================\\
  223. --|| SOME FUNCTIONS
  224. --\\=================================//
  225.  
  226. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  227. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  228. end
  229.  
  230. function PositiveAngle(NUMBER)
  231. if NUMBER >= 0 then
  232. NUMBER = 0
  233. end
  234. return NUMBER
  235. end
  236.  
  237. function NegativeAngle(NUMBER)
  238. if NUMBER <= 0 then
  239. NUMBER = 0
  240. end
  241. return NUMBER
  242. end
  243.  
  244. function Swait(NUMBER)
  245. if NUMBER == 0 or NUMBER == nil then
  246. ArtificialHB.Event:wait()
  247. else
  248. for i = 1, NUMBER do
  249. ArtificialHB.Event:wait()
  250. end
  251. end
  252. end
  253.  
  254. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  255. local NEWMESH = IT(MESH)
  256. if MESH == "SpecialMesh" then
  257. NEWMESH.MeshType = MESHTYPE
  258. if MESHID ~= "nil" and MESHID ~= "" then
  259. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  260. end
  261. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  262. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  263. end
  264. end
  265. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  266. NEWMESH.Scale = SCALE
  267. NEWMESH.Parent = PARENT
  268. return NEWMESH
  269. end
  270.  
  271. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  272. local NEWPART = IT("Part")
  273. NEWPART.formFactor = FORMFACTOR
  274. NEWPART.Reflectance = REFLECTANCE
  275. NEWPART.Transparency = TRANSPARENCY
  276. NEWPART.CanCollide = false
  277. NEWPART.Locked = true
  278. NEWPART.Anchored = true
  279. if ANCHOR == false then
  280. NEWPART.Anchored = false
  281. end
  282. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  283. NEWPART.Name = NAME
  284. NEWPART.Size = SIZE
  285. NEWPART.Position = Torso.Position
  286. NEWPART.Material = MATERIAL
  287. NEWPART:BreakJoints()
  288. NEWPART.Parent = PARENT
  289. return NEWPART
  290. end
  291.  
  292. local function weldBetween(a, b)
  293. local weldd = Instance.new("ManualWeld")
  294. weldd.Part0 = a
  295. weldd.Part1 = b
  296. weldd.C0 = CFrame.new()
  297. weldd.C1 = b.CFrame:inverse() * a.CFrame
  298. weldd.Parent = a
  299. return weldd
  300. end
  301.  
  302.  
  303. function QuaternionFromCFrame(cf)
  304. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  305. local trace = m00 + m11 + m22
  306. if trace > 0 then
  307. local s = math.sqrt(1 + trace)
  308. local recip = 0.5 / s
  309. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  310. else
  311. local i = 0
  312. if m11 > m00 then
  313. i = 1
  314. end
  315. if m22 > (i == 0 and m00 or m11) then
  316. i = 2
  317. end
  318. if i == 0 then
  319. local s = math.sqrt(m00 - m11 - m22 + 1)
  320. local recip = 0.5 / s
  321. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  322. elseif i == 1 then
  323. local s = math.sqrt(m11 - m22 - m00 + 1)
  324. local recip = 0.5 / s
  325. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  326. elseif i == 2 then
  327. local s = math.sqrt(m22 - m00 - m11 + 1)
  328. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  329. end
  330. end
  331. end
  332.  
  333. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  334. local xs, ys, zs = x + x, y + y, z + z
  335. local wx, wy, wz = w * xs, w * ys, w * zs
  336. local xx = x * xs
  337. local xy = x * ys
  338. local xz = x * zs
  339. local yy = y * ys
  340. local yz = y * zs
  341. local zz = z * zs
  342. 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))
  343. end
  344.  
  345. function QuaternionSlerp(a, b, t)
  346. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  347. local startInterp, finishInterp;
  348. if cosTheta >= 0.0001 then
  349. if (1 - cosTheta) > 0.0001 then
  350. local theta = ACOS(cosTheta)
  351. local invSinTheta = 1 / SIN(theta)
  352. startInterp = SIN((1 - t) * theta) * invSinTheta
  353. finishInterp = SIN(t * theta) * invSinTheta
  354. else
  355. startInterp = 1 - t
  356. finishInterp = t
  357. end
  358. else
  359. if (1 + cosTheta) > 0.0001 then
  360. local theta = ACOS(-cosTheta)
  361. local invSinTheta = 1 / SIN(theta)
  362. startInterp = SIN((t - 1) * theta) * invSinTheta
  363. finishInterp = SIN(t * theta) * invSinTheta
  364. else
  365. startInterp = t - 1
  366. finishInterp = t
  367. end
  368. end
  369. 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
  370. end
  371.  
  372. function Clerp(a, b, t)
  373. local qa = {QuaternionFromCFrame(a)}
  374. local qb = {QuaternionFromCFrame(b)}
  375. local ax, ay, az = a.x, a.y, a.z
  376. local bx, by, bz = b.x, b.y, b.z
  377. local _t = 1 - t
  378. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  379. end
  380.  
  381. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  382. local frame = IT("Frame")
  383. frame.BackgroundTransparency = TRANSPARENCY
  384. frame.BorderSizePixel = BORDERSIZEPIXEL
  385. frame.Position = POSITION
  386. frame.Size = SIZE
  387. frame.BackgroundColor3 = COLOR
  388. frame.BorderColor3 = BORDERCOLOR
  389. frame.Name = NAME
  390. frame.Parent = PARENT
  391. return frame
  392. end
  393.  
  394. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  395. local label = IT("TextLabel")
  396. label.BackgroundTransparency = 1
  397. label.Size = UD2(1, 0, 1, 0)
  398. label.Position = UD2(0, 0, 0, 0)
  399. label.TextColor3 = TEXTCOLOR
  400. label.TextStrokeTransparency = STROKETRANSPARENCY
  401. label.TextTransparency = TRANSPARENCY
  402. label.FontSize = TEXTFONTSIZE
  403. label.Font = TEXTFONT
  404. label.BorderSizePixel = BORDERSIZEPIXEL
  405. label.TextScaled = false
  406. label.Text = TEXT
  407. label.Name = NAME
  408. label.Parent = PARENT
  409. return label
  410. end
  411.  
  412. function NoOutlines(PART)
  413. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  414. end
  415.  
  416. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  417. local NEWWELD = IT(TYPE)
  418. NEWWELD.Part0 = PART0
  419. NEWWELD.Part1 = PART1
  420. NEWWELD.C0 = C0
  421. NEWWELD.C1 = C1
  422. NEWWELD.Parent = PARENT
  423. return NEWWELD
  424. end
  425.  
  426. local S = IT("Sound")
  427. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  428. local NEWSOUND = nil
  429. coroutine.resume(coroutine.create(function()
  430. NEWSOUND = S:Clone()
  431. NEWSOUND.Parent = PARENT
  432. NEWSOUND.Volume = VOLUME
  433. NEWSOUND.Pitch = PITCH
  434. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  435. NEWSOUND:play()
  436. if DOESLOOP == true then
  437. NEWSOUND.Looped = true
  438. else
  439. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  440. NEWSOUND:remove()
  441. end
  442. end))
  443. return NEWSOUND
  444. end
  445.  
  446. function CFrameFromTopBack(at, top, back)
  447. local right = top:Cross(back)
  448. 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)
  449. end
  450.  
  451. --WACKYEFFECT({EffectType = "", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  452. function WACKYEFFECT(Table)
  453. local TYPE = (Table.EffectType or "Sphere")
  454. local SIZE = (Table.Size or VT(0,0,0))
  455. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  456. local TRANSPARENCY = (Table.Transparency or 0)
  457. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  458. local CFRAME = (Table.CFrame or Torso.CFrame)
  459. local MOVEDIRECTION = (Table.MoveToPos or nil)
  460. local ROTATION1 = (Table.RotationX or 0)
  461. local ROTATION2 = (Table.RotationY or 0)
  462. local ROTATION3 = (Table.RotationZ or 0)
  463. local MATERIAL = (Table.Material or "Neon")
  464. local COLOR = (Table.Color or C3(0,1,0))
  465. local TIME = (Table.Time or 45)
  466. local SOUNDID = (Table.SoundID or nil)
  467. local SOUNDPITCH = (Table.SoundPitch or nil)
  468. local SOUNDVOLUME = (Table.SoundVolume or nil)
  469. coroutine.resume(coroutine.create(function()
  470. local PLAYSSOUND = false
  471. local SOUND = nil
  472. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("White"), "Effect", VT(1,1,1), true)
  473. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  474. PLAYSSOUND = true
  475. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  476. end
  477. EFFECT.Color = COLOR
  478. local MSH = nil
  479. if TYPE == "Sphere" then
  480. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  481. elseif TYPE == "Block" then
  482. MSH = IT("BlockMesh",EFFECT)
  483. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  484. elseif TYPE == "Wave" then
  485. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  486. elseif TYPE == "Ring" then
  487. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  488. elseif TYPE == "Slash" then
  489. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  490. elseif TYPE == "Round Slash" then
  491. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  492. elseif TYPE == "Swirl" then
  493. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  494. elseif TYPE == "Skull" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  496. elseif TYPE == "Crystal" then
  497. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  498. end
  499. if MSH ~= nil then
  500. local MOVESPEED = nil
  501. if MOVEDIRECTION ~= nil then
  502. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  503. end
  504. local GROWTH = SIZE - ENDSIZE
  505. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  506. if TYPE == "Block" then
  507. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  508. else
  509. EFFECT.CFrame = CFRAME
  510. end
  511. for LOOP = 1, TIME+1 do
  512. Swait()
  513. MSH.Scale = MSH.Scale - GROWTH/TIME
  514. if TYPE == "Wave" then
  515. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  516. end
  517. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  518. if TYPE == "Block" then
  519. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  520. else
  521. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  522. end
  523. if MOVEDIRECTION ~= nil then
  524. local ORI = EFFECT.Orientation
  525. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  526. EFFECT.Orientation = ORI
  527. end
  528. end
  529. if PLAYSSOUND == false then
  530. EFFECT:remove()
  531. else
  532. SOUND.Stopped:Connect(function()
  533. EFFECT:remove()
  534. end)
  535. end
  536. else
  537. if PLAYSSOUND == false then
  538. EFFECT:remove()
  539. else
  540. repeat Swait() until SOUND.Playing == false
  541. EFFECT:remove()
  542. end
  543. end
  544. end))
  545. end
  546.  
  547. function MakeForm(PART,TYPE)
  548. if TYPE == "Cyl" then
  549. local MSH = IT("CylinderMesh",PART)
  550. elseif TYPE == "Ball" then
  551. local MSH = IT("SpecialMesh",PART)
  552. MSH.MeshType = "Sphere"
  553. elseif TYPE == "Wedge" then
  554. local MSH = IT("SpecialMesh",PART)
  555. MSH.MeshType = "Wedge"
  556. end
  557. end
  558.  
  559. function SpawnTrail(FROM,TO,BIG)
  560. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(1,1,1))
  561. MakeForm(TRAIL,"Cyl")
  562. local DIST = (FROM - TO).Magnitude
  563. if BIG == true then
  564. TRAIL.Size = VT(10,DIST,10)
  565. else
  566. TRAIL.Size = VT(10,DIST,10)
  567. end
  568. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  569. coroutine.resume(coroutine.create(function()
  570. for i = 1, 5 do
  571. Swait()
  572. TRAIL.Transparency = TRAIL.Transparency + 0.1
  573. end
  574. TRAIL:remove()
  575. end))
  576. end
  577.  
  578. Debris = game:GetService("Debris")
  579.  
  580. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  581. local DIRECTION = CF(StartPos,EndPos).lookVector
  582. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  583. end
  584.  
  585. function turnto(position)
  586. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  587. end
  588.  
  589. --//=================================\\
  590. --|| WEAPON CREATION
  591. --\\=================================//
  592. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  593. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  595. MakeForm(Part,"Wedge")
  596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  597. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  598. MakeForm(Part,"Wedge")
  599. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  600. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  601. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  602. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  603. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  604. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  605. MakeForm(Part,"Cyl")
  606. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  607. for i = 1, 8 do
  608. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  609. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  610. end
  611. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  612. MakeForm(Part,"Cyl")
  613. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  614. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  615. MakeForm(Part,"Ball")
  616. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  617. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  618. MakeForm(Part,"Wedge")
  619. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  620. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  621. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  622. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  623. MakeForm(Part,"Cyl")
  624. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  625. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  626. MakeForm(Part,"Cyl")
  627. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  628. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  629. MakeForm(Part,"Cyl")
  630. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  631. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  632. MakeForm(Part,"Wedge")
  633. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  634. local LASTPART = Handle
  635. for i = 1, 10 do
  636. if LASTPART == Handle then
  637. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  638. LASTPART = Part
  639. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  640. else
  641. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  642. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  643. LASTPART = Part
  644. end
  645. end
  646.  
  647. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  648. MakeForm(Barrel,"Cyl")
  649. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  650. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  651. MakeForm(Part,"Cyl")
  652. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  653. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  654. MakeForm(Part,"Wedge")
  655. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  656. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  657. MakeForm(Hole,"Cyl")
  658. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  659. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  660. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  661. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  662. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  663. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  664. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  665. coroutine.resume(coroutine.create(function()
  666. while wait() do
  667. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  668. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  669. end
  670. end))
  671.  
  672.  
  673. for _, c in pairs(Weapon:GetDescendants()) do
  674. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  675. c.Material = "Glass"
  676. c.Color = C3(0,0,0)
  677. elseif c.ClassName == "Part" and c.Name == "Eye" then
  678. c.Color = C3(1,1,1)
  679. c.Material = "Neon"
  680. end
  681. end
  682. local BODY = {}
  683. for _, c in pairs(Character:GetDescendants()) do
  684. if c:IsA("BasePart") and c.Name ~= "Handle" then
  685. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  686. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  687. end
  688. table.insert(BODY, {
  689. c,
  690. c.Parent,
  691. c.Material,
  692. c.Color,
  693. c.Transparency
  694. })
  695. elseif c:IsA("JointInstance") then
  696. table.insert(BODY, {
  697. c,
  698. c.Parent,
  699. nil,
  700. nil,
  701. nil
  702. })
  703. end
  704. end
  705. for e = 1, #BODY do
  706. if BODY[e] ~= nil then
  707. do
  708. local STUFF = BODY[e]
  709. local PART = STUFF[1]
  710. local PARENT = STUFF[2]
  711. local MATERIAL = STUFF[3]
  712. local COLOR = STUFF[4]
  713. local TRANSPARENCY = STUFF[5]
  714. if PART.ClassName == "Part" and PART ~= RootPart then
  715. PART.Material = MATERIAL
  716. PART.Color = COLOR
  717. PART.Transparency = TRANSPARENCY
  718. end
  719. PART.AncestryChanged:Connect(function()
  720. PART.Parent = PARENT
  721. end)
  722. end
  723. end
  724. end
  725. function refit()
  726. Character.Parent = workspace
  727. for e = 1, #BODY do
  728. if BODY[e] ~= nil then
  729. local STUFF = BODY[e]
  730. local PART = STUFF[1]
  731. local PARENT = STUFF[2]
  732. local MATERIAL = STUFF[3]
  733. local COLOR = STUFF[4]
  734. local TRANSPARENCY = STUFF[5]
  735. if PART:IsA("BasePart") and PART ~= RootPart then
  736. PART.Material = MATERIAL
  737. PART.Color = COLOR
  738. PART.Transparency = TRANSPARENCY
  739. end
  740. if PART.Parent ~= PARENT then
  741. Humanoid:remove()
  742. PART.Parent = PARENT
  743. Humanoid = IT("Humanoid", Character)
  744. end
  745. end
  746. end
  747. end
  748. Humanoid.Died:connect(function()
  749. refit()
  750. end)
  751. Weapon.Parent = Character
  752. for _, c in pairs(Weapon:GetChildren()) do
  753. if c.ClassName == "Part" then
  754. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  755. end
  756. end
  757. local SKILLTEXTCOLOR = C3(1,1,1)
  758. local SKILLFONT = "Arcade"
  759. local SKILLTEXTSIZE = 6
  760.  
  761. 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")
  762. 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")
  763. 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")
  764. 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")
  765. 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")
  766.  
  767. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] WOW SHOT!!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  768. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] OOF GATES XD", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  769. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[T] TAUNT....", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  770. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] MeRcY????", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  771. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] SWiTCH YEAH BOI", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  772. local MODE = "lolxd"
  773. local CLOCKSPEED = 1.5
  774. function printbye(Name)
  775. local MESSAGES = {"BEGONE 0DER, "}
  776. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  777. end
  778.  
  779. workspace.ChildAdded:connect(function(instance)
  780. for BANISH = 1, #TOBANISH do
  781. if TOBANISH[BANISH] ~= nil then
  782. if instance.Name == TOBANISH[BANISH] then
  783. coroutine.resume(coroutine.create(function()
  784. printbye(instance.Name)
  785. instance:ClearAllChildren()
  786. Debris:AddItem(instance,0.0005)
  787. end))
  788. end
  789. end
  790. end
  791. end)
  792.  
  793. --//=================================\\
  794. --|| DAMAGING
  795. --\\=================================//
  796.  
  797. function Banish(Foe)
  798. if Foe then
  799. coroutine.resume(coroutine.create(function()
  800. --if game.Players:FindFirstChild(Foe.Name) then
  801. table.insert(TOBANISH,Foe.Name)
  802. printbye(Foe.Name)
  803. --end
  804. Foe.Archivable = true
  805. local CLONE = Foe:Clone()
  806. Foe:Destroy()
  807. CLONE.Parent = Effects
  808. CLONE:BreakJoints()
  809. local MATERIALS = {"Glass","Neon"}
  810. for _, c in pairs(CLONE:GetDescendants()) do
  811. if c:IsA("BasePart") then
  812. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  813. CreateSound(2466940797, c, 15, 1.1, false)
  814. end
  815. c.Anchored = true
  816. c.Transparency = c.Transparency + 0.
  817. c.Material = MATERIALS[MRANDOM(1,2)]
  818. c.Color = C3(1,1,1)
  819. if c.ClassName == "MeshPart" then
  820. c.TextureID = ""
  821. end
  822. if c:FindFirstChildOfClass("SpecialMesh") then
  823. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  824. end
  825. if c:FindFirstChildOfClass("Decal") then
  826. c:FindFirstChildOfClass("Decal"):remove()
  827. end
  828. c.Name = "Banish"
  829. c.CanCollide = false
  830. else
  831. c:remove()
  832. end
  833. end
  834. local A = false
  835. for i = 1, 35 do
  836. if A == false then
  837. A = true
  838. elseif A == true then
  839. A = false
  840. end
  841. for _, c in pairs(CLONE:GetDescendants()) do
  842. if c:IsA("BasePart") then
  843. c.Anchored = true
  844. c.Material = MATERIALS[MRANDOM(1,2)]
  845. c.Transparency = c.Transparency + 0.8/35
  846. if A == false then
  847. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  848. elseif A == true then
  849. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  850. end
  851. end
  852. end
  853. Swait()
  854. end
  855. CLONE:remove()
  856. end))
  857. end
  858. end
  859.  
  860. function ApplyAoE(POSITION,RANGE,ISBANISH)
  861. local CHILDREN = workspace:GetDescendants()
  862. for index, CHILD in pairs(CHILDREN) do
  863. if CHILD.ClassName == "Model" and CHILD ~= Character then
  864. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  865. if HUM then
  866. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  867. if TORSO then
  868. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  869. if ISBANISH == true then
  870. Banish(CHILD)
  871. else
  872. if ISBANISH == "Gravity" then
  873. HUM.PlatformStand = true
  874. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  875. local grav = Instance.new("BodyPosition",TORSO)
  876. grav.D = 15
  877. grav.P = 10000
  878. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  879. grav.position = TORSO.Position
  880. grav.Name = "V3BanishForce"..Player.Name
  881. else
  882. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  883. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  884. end
  885. else
  886. HUM.PlatformStand = false
  887. end
  888. end
  889. elseif ISBANISH == "Gravity" then
  890. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  891. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  892. HUM.PlatformStand = false
  893. end
  894. end
  895. end
  896. end
  897. end
  898. end
  899. end
  900.  
  901. --//=================================\\
  902. --|| ATTACK FUNCTIONS AND STUFF
  903. --\\=================================//
  904.  
  905. function WOW_SHOT()
  906. ATTACK = true
  907. Rooted = false
  908. for i=0, 0.05, 0.3 / Animation_Speed do
  909. Swait()
  910. turnto(Mouse.Hit.p)
  911. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  912. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  913. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  914. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  915. 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)
  916. 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)
  917. end
  918. repeat
  919. for i=0, 0.05, 0.3 / Animation_Speed do
  920. Swait()
  921. turnto(Mouse.Hit.p)
  922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  926. 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)
  927. 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)
  928. end
  929. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  930. SpawnTrail(Hole.Position,POS)
  931. if HIT ~= nil then
  932. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  933. Banish(HIT.Parent)
  934. end
  935. end
  936. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  937. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1501915497, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  938. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  939. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  940. for i=0, 0.05, 0.3 / Animation_Speed do
  941. Swait()
  942. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  943. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  944. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  945. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  946. 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)
  947. 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)
  948. end
  949. until KEYHOLD == false
  950. ATTACK = false
  951. Rooted = false
  952. end
  953.  
  954. function LELITS_TAUNT()
  955. ATTACK = true
  956. Rooted = true
  957. local TAUNT = CreateSound(179497874,Torso,15,1.1,false)
  958. coroutine.resume(coroutine.create(function()
  959. repeat
  960. Swait()
  961. 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)
  962. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  965. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  966. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  967. until ATTACK == false
  968. end))
  969. repeat wait() until TAUNT.Playing == false
  970. ATTACK = false
  971. Rooted = false
  972. end
  973.  
  974. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  975. MakeForm(RightHole,"Cyl")
  976. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  977. MakeForm(LeftHole,"Cyl")
  978. function OOF_GATES()
  979. chatfunc("OOF XD")
  980. CreateSound(0, Torso, 10, 1, false)
  981. ATTACK = true
  982. Rooted = true
  983. for i=0, 0.5, 0.1 / Animation_Speed do
  984. Swait()
  985. 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)
  986. 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)
  987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  989. 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)
  990. 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)
  991. end
  992. local DONE = false
  993. local GATE = nil
  994. local GATESPIN = true
  995. coroutine.resume(coroutine.create(function()
  996. repeat
  997. Swait()
  998. if GATE ~= nil then
  999. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1000. end
  1001. until GATESPIN == false
  1002. end))
  1003. coroutine.resume(coroutine.create(function()
  1004. repeat
  1005. Swait()
  1006. 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)
  1007. 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)
  1008. 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)
  1009. 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)
  1010. 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)
  1011. 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)
  1012. until DONE == true
  1013. Swait(50)
  1014. for i = 1, 35 do
  1015. Swait(4)
  1016. local FIRED = false
  1017. local CHILDREN = workspace:GetDescendants()
  1018. for index, CHILD in pairs(CHILDREN) do
  1019. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1020. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1021. if HUM then
  1022. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1023. if TORSO then
  1024. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1025. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1026. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1027. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1028. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1029. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1030. Banish(CHILD)
  1031. FIRED = true
  1032. break
  1033. end
  1034. end
  1035. end
  1036. end
  1037. end
  1038. if FIRED == false then
  1039. 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)))
  1040. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1041. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1042. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1043. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1044. if HITBOD ~= nil then
  1045. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1046. Banish(HITBOD.Parent)
  1047. end
  1048. end
  1049. end
  1050. end
  1051. for i = 1, 45 do
  1052. Swait()
  1053. GATE.Size = GATE.Size - VT(100,0,100)
  1054. end
  1055. GATESPIN = false
  1056. GATE:remove()
  1057. end))
  1058. Swait(15)
  1059. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1060. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  1061. local DECAL = IT("Decal",GATE)
  1062. DECAL.Texture = "http://www.roblox.com/asset/?id=1953379411"
  1063. DECAL.Face = "Top"
  1064. GATE.CFrame = CF(HITPOS)
  1065. CreateSound(0, GATE, 7, 1.3, false)
  1066. for i = 1, 45 do
  1067. Swait()
  1068. GATE.Size = GATE.Size + VT(16,0,16)
  1069. end
  1070. CreateSound(213603013, RightHole, 7, 1, false)
  1071. CreateSound(213603013, LeftHole, 7, 1, false)
  1072. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1073. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1074. ATTACK = false
  1075. Rooted = false
  1076. DONE = true
  1077. end
  1078.  
  1079. Player_Size = 1
  1080. function SwItCh()
  1081. ATTACK = true
  1082. Rooted = true
  1083. if MODE == "lolxd" then
  1084. for i=0, 0.1, 0.1 / Animation_Speed do
  1085. Swait()
  1086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1089. end
  1090. for i=0, 3, 0.1 / Animation_Speed do
  1091. Swait()
  1092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1095. end
  1096. CreateSound(363808674, Torso, 10, 1.3)
  1097. for i=0, 1, 0.1 / Animation_Speed do
  1098. Swait()
  1099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1102. end
  1103. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really black").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1104.  
  1105. for i=0, 0.01, 0.1 / Animation_Speed do
  1106. Swait()
  1107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1108. 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, 3 / Animation_Speed)
  1109. LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1110. end
  1111. sick.SoundId = "rbxassetid://319639950"
  1112. sick.Pitch = 0.99
  1113. CLOCKSPEED = 0.3
  1114. tecks.Text = "TRUE BANISH!??"
  1115. MODE = ""
  1116. elseif MODE == "" then
  1117. CreateSound(147722227, Torso, 4, 1.3, false)
  1118. for i=0, 0.3, 0.1 / Animation_Speed do
  1119. Swait()
  1120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  1121. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1122. 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)
  1123. 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)
  1124. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1125. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1126. end
  1127. sick.SoundId = "rbxassetid://698929986"
  1128. CLOCKSPEED = 0
  1129. tecks.Text = "DA BANISH XD"
  1130. MODE = "lolxd"
  1131. end
  1132. ATTACK = false
  1133. Rooted = false
  1134. end
  1135.  
  1136. function AttackTemplate()
  1137. ATTACK = true
  1138. Rooted = false
  1139. for i=0, 1, 0.1 / Animation_Speed do
  1140. Swait()
  1141. 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)
  1142. 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)
  1143. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1144. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1145. 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.1 / Animation_Speed)
  1146. 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.1 / Animation_Speed)
  1147. end
  1148. ATTACK = false
  1149. Rooted = false
  1150. end
  1151.  
  1152. --//=================================\\
  1153. --|| ASSIGN THINGS TO KEYS
  1154. --\\=================================//
  1155.  
  1156. function MouseDown(Mouse)
  1157. if ATTACK == false then
  1158. end
  1159. end
  1160.  
  1161. function MouseUp(Mouse)
  1162. HOLD = false
  1163. end
  1164.  
  1165. function KeyDown(Key)
  1166. KEYHOLD = true
  1167. if Key == "z" and ATTACK == false then
  1168. WOW_SHOT()
  1169. end
  1170.  
  1171. if Key == "f" and ATTACK == false then
  1172. OOF_GATES()
  1173. end
  1174.  
  1175. if Key == "v" and ATTACK == false then
  1176. chatfunc("OBAMA FOR PRESIDENT LOL")
  1177. TOBANISH = {}
  1178. end
  1179.  
  1180. if Key == "t" and ATTACK == false then
  1181. LELITS_TAUNT()
  1182. end
  1183.  
  1184. if Key == "p" and ATTACK == false then
  1185. SwItCh()
  1186. end
  1187. end
  1188.  
  1189. function KeyUp(Key)
  1190. KEYHOLD = false
  1191. end
  1192.  
  1193. Mouse.Button1Down:connect(function(NEWKEY)
  1194. MouseDown(NEWKEY)
  1195. end)
  1196. Mouse.Button1Up:connect(function(NEWKEY)
  1197. MouseUp(NEWKEY)
  1198. end)
  1199. Mouse.KeyDown:connect(function(NEWKEY)
  1200. KeyDown(NEWKEY)
  1201. end)
  1202. Mouse.KeyUp:connect(function(NEWKEY)
  1203. KeyUp(NEWKEY)
  1204. end)
  1205.  
  1206. --//=================================\\
  1207. --\\=================================//
  1208.  
  1209.  
  1210. function unanchor()
  1211. if UNANCHOR == true then
  1212. g = Character:GetChildren()
  1213. for i = 1, #g do
  1214. if g[i].ClassName == "Part" then
  1215. g[i].Anchored = false
  1216. end
  1217. end
  1218. end
  1219. end
  1220.  
  1221.  
  1222. --//=================================\\
  1223. --|| WRAP THE WHOLE SCRIPT UP
  1224. --\\=================================//
  1225.  
  1226. Humanoid.Changed:connect(function(Jump)
  1227. if Jump == "Jump" and (Disable_Jump == true) then
  1228. Humanoid.Jump = false
  1229. end
  1230. end)
  1231.  
  1232. local CONNECT = nil
  1233.  
  1234. while true do
  1235. Swait()
  1236. ANIMATE.Parent = nil
  1237. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1238. Humanoid = IT("Humanoid",Character)
  1239. end
  1240. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1241. v:Stop();
  1242. end
  1243. SINE = SINE + CHANGE
  1244. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1245. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1246. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1247. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1248. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1249. 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) / Animation_Speed)
  1250. 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) / Animation_Speed)
  1251. 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) / Animation_Speed)
  1252. 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) / Animation_Speed)
  1253. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1254. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1255. 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 / Animation_Speed)
  1256. 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 / Animation_Speed)
  1257. 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 / Animation_Speed)
  1258. end
  1259. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1260. ANIM = "Jump"
  1261. if ATTACK == false then
  1262. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1266. 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)
  1267. 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)
  1268. end
  1269. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1270. ANIM = "Fall"
  1271. if ATTACK == false then
  1272. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1276. 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)
  1277. 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)
  1278. end
  1279. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1280. ANIM = "Idle"
  1281. if ATTACK == false then
  1282. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(-75), RAD(45), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1286. RightHip.C0 = Clerp(RightHip.C0, CF(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 / Animation_Speed)
  1287. LeftHip.C0 = Clerp(LeftHip.C0, CF(-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 / Animation_Speed)
  1288. end
  1289. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1290. ANIM = "Walk"
  1291. if ATTACK == false then
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1293. 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 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1298. end
  1299. end
  1300. unanchor()
  1301. refit()
  1302. Humanoid.MaxHealth = 9000
  1303. Humanoid.Health = 9000
  1304. if Rooted == false then
  1305. Disable_Jump = false
  1306. Humanoid.WalkSpeed = Speed
  1307. elseif Rooted == true then
  1308. Disable_Jump = true
  1309. Humanoid.WalkSpeed = 0
  1310. end
  1311. end
  1312.  
  1313. --//=================================\\
  1314. --\\=================================//
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320. --//====================================================\\--
  1321. --|| END OF SCRIPT
  1322. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement