Advertisement
Fogdoggy

Fog's Banish Gun

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