kaualima12

smngbifahiloufa

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