Advertisement
DaOMEGAa32

MAMAMAMAMA

Oct 3rd, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.32 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,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. ----dont skid this trashy edit or il well break ur knees
  154. print ("MAMA")
  155. Player = game.Players.LocalPlayer
  156. Character = Player.Character
  157. local txt = Instance.new("BillboardGui", Character)
  158. txt.Adornee = Character.Head
  159. txt.Name = "_status"
  160. txt.Size = UDim2.new(2, 0, 1.2, 0)
  161. txt.StudsOffset = Vector3.new(-9, 8, 0)
  162. local text = Instance.new("TextLabel", txt)
  163. text.Size = UDim2.new(10, 0, 7, 0)
  164. text.FontSize = "Size24"
  165. text.TextScaled = true
  166. text.TextTransparency = 0
  167. text.BackgroundTransparency = 1
  168. text.TextTransparency = 0
  169. text.TextStrokeTransparency = 0
  170. text.Font = "Antique"
  171. text.TextStrokeColor3 = Color3.new(170,0,0)
  172. text.Text = "Apple banisher. watch out skiddys"
  173. script.Name = "apple banisher Gun edit aa"
  174. --//====================================================\\--
  175. --|| CREATED BY SHACKLUSTER
  176. --\\====================================================//--
  177.  
  178. script:ClearAllChildren()
  179. wait(0.2)
  180.  
  181. Player = game:GetService("Players").LocalPlayer
  182. PlayerGui = Player.PlayerGui
  183. Cam = workspace.CurrentCamera
  184. Backpack = Player.Backpack
  185. Character = Player.Character
  186. Humanoid = Character.Humanoid
  187. Mouse = Player:GetMouse()
  188. RootPart = Character["HumanoidRootPart"]
  189. Torso = Character["Torso"]
  190. Head = Character["Head"]
  191. RightArm = Character["Right Arm"]
  192. LeftArm = Character["Left Arm"]
  193. RightLeg = Character["Right Leg"]
  194. LeftLeg = Character["Left Leg"]
  195. RootJoint = RootPart["RootJoint"]
  196. Neck = Torso["Neck"]
  197. RightShoulder = Torso["Right Shoulder"]
  198. LeftShoulder = Torso["Left Shoulder"]
  199. RightHip = Torso["Right Hip"]
  200. LeftHip = Torso["Left Hip"]
  201. local TIME = 0
  202. local sick = Instance.new("Sound",Torso)
  203.  
  204. IT = Instance.new
  205. CF = CFrame.new
  206. VT = Vector3.new
  207. RAD = math.rad
  208. C3 = Color3.new
  209. UD2 = UDim2.new
  210. BRICKC = BrickColor.new
  211. ANGLES = CFrame.Angles
  212. EULER = CFrame.fromEulerAnglesXYZ
  213. COS = math.cos
  214. ACOS = math.acos
  215. SIN = math.sin
  216. ASIN = math.asin
  217. ABS = math.abs
  218. MRANDOM = math.random
  219. FLOOR = math.floor
  220.  
  221. --//=================================\\
  222. --|| USEFUL VALUES
  223. --\\=================================//
  224.  
  225. Animation_Speed = 3
  226. local FORCERESET = false
  227. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  228. local Speed = 16
  229. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  230. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  231. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  232. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  233. local DAMAGEMULTIPLIER = 1
  234. local ANIM = "Idle"
  235. local ATTACK = false
  236. local EQUIPPED = false
  237. local HOLD = true
  238. local COMBO = 3
  239. local Rooted = false
  240. local SINE = 5
  241. local KEYHOLD = false
  242. local CHANGE = 3 / Animation_Speed
  243. local WALKINGANIM = false
  244. local VALUE1 = false
  245. local VALUE2 = false
  246. local ROBLOXIDLEANIMATION = IT("Animation")
  247. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  248. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  249. --ROBLOXIDLEANIMATION.Parent = Humanoid
  250. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  251. WEAPONGUI.Name = "BanishV4Gui"
  252. local Weapon = IT("Model")
  253. Weapon.Name = "Adds"
  254. local Effects = IT("Folder", Weapon)
  255. Effects.Name = "Effects"
  256. local ANIMATOR = Humanoid.Animator
  257. local ANIMATE = Character:FindFirstChild("Animate")
  258. local UNANCHOR = true
  259. local TOBANISH = {}
  260. script.Parent = PlayerGui
  261.  
  262. --//=================================\\
  263. --\\=================================//
  264.  
  265.  
  266. --//=================================\\
  267. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  268. --\\=================================//
  269.  
  270. ArtificialHB = Instance.new("BindableEvent", script)
  271. ArtificialHB.Name = "ArtificialHB"
  272.  
  273. script:WaitForChild("ArtificialHB")
  274.  
  275. frame = Frame_Speed
  276. tf = 0
  277. allowframeloss = false
  278. tossremainder = false
  279. lastframe = tick()
  280. script.ArtificialHB:Fire()
  281.  
  282. game:GetService("RunService").Heartbeat:connect(function(s, p)
  283. tf = tf + s
  284. if tf >= frame then
  285. if allowframeloss then
  286. script.ArtificialHB:Fire()
  287. lastframe = tick()
  288. else
  289. for i = 1, math.floor(tf / frame) do
  290. script.ArtificialHB:Fire()
  291. end
  292. lastframe = tick()
  293. end
  294. if tossremainder then
  295. tf = 0
  296. else
  297. tf = tf - frame * math.floor(tf / frame)
  298. end
  299. end
  300. end)
  301.  
  302. --//=================================\\
  303. --\\=================================//
  304.  
  305. --//=================================\\
  306. --|| SOME FUNCTIONS
  307. --\\=================================//
  308.  
  309. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  310. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  311. end
  312.  
  313. function PositiveAngle(NUMBER)
  314. if NUMBER >= 0 then
  315. NUMBER = 0
  316. end
  317. return NUMBER
  318. end
  319.  
  320. function NegativeAngle(NUMBER)
  321. if NUMBER <= 0 then
  322. NUMBER = 0
  323. end
  324. return NUMBER
  325. end
  326.  
  327. function Swait(NUMBER)
  328. if NUMBER == 0 or NUMBER == nil then
  329. ArtificialHB.Event:wait()
  330. else
  331. for i = 1, NUMBER do
  332. ArtificialHB.Event:wait()
  333. end
  334. end
  335. end
  336.  
  337. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  338. local NEWMESH = IT(MESH)
  339. if MESH == "SpecialMesh" then
  340. NEWMESH.MeshType = MESHTYPE
  341. if MESHID ~= "nil" and MESHID ~= "" then
  342. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  343. end
  344. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  345. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  346. end
  347. end
  348. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  349. NEWMESH.Scale = SCALE
  350. NEWMESH.Parent = PARENT
  351. return NEWMESH
  352. end
  353.  
  354. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  355. local NEWPART = IT("Part")
  356. NEWPART.formFactor = FORMFACTOR
  357. NEWPART.Reflectance = REFLECTANCE
  358. NEWPART.Transparency = TRANSPARENCY
  359. NEWPART.CanCollide = false
  360. NEWPART.Locked = true
  361. NEWPART.Anchored = true
  362. if ANCHOR == false then
  363. NEWPART.Anchored = false
  364. end
  365. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  366. NEWPART.Name = NAME
  367. NEWPART.Size = SIZE
  368. NEWPART.Position = Torso.Position
  369. NEWPART.Material = MATERIAL
  370. NEWPART:BreakJoints()
  371. NEWPART.Parent = PARENT
  372. return NEWPART
  373. end
  374.  
  375. local function weldBetween(a, b)
  376. local weldd = Instance.new("ManualWeld")
  377. weldd.Part0 = a
  378. weldd.Part1 = b
  379. weldd.C0 = CFrame.new()
  380. weldd.C1 = b.CFrame:inverse() * a.CFrame
  381. weldd.Parent = a
  382. return weldd
  383. end
  384.  
  385.  
  386. function QuaternionFromCFrame(cf)
  387. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  388. local trace = m00 + m11 + m22
  389. if trace > 0 then
  390. local s = math.sqrt(1 + trace)
  391. local recip = 0.5 / s
  392. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  393. else
  394. local i = 0
  395. if m11 > m00 then
  396. i = 1
  397. end
  398. if m22 > (i == 0 and m00 or m11) then
  399. i = 2
  400. end
  401. if i == 0 then
  402. local s = math.sqrt(m00 - m11 - m22 + 1)
  403. local recip = 0.5 / s
  404. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  405. elseif i == 1 then
  406. local s = math.sqrt(m11 - m22 - m00 + 1)
  407. local recip = 0.5 / s
  408. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  409. elseif i == 2 then
  410. local s = math.sqrt(m22 - m00 - m11 + 1)
  411. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  412. end
  413. end
  414. end
  415.  
  416. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  417. local xs, ys, zs = x + x, y + y, z + z
  418. local wx, wy, wz = w * xs, w * ys, w * zs
  419. local xx = x * xs
  420. local xy = x * ys
  421. local xz = x * zs
  422. local yy = y * ys
  423. local yz = y * zs
  424. local zz = z * zs
  425. 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))
  426. end
  427.  
  428. function QuaternionSlerp(a, b, t)
  429. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  430. local startInterp, finishInterp;
  431. if cosTheta >= 0.0001 then
  432. if (1 - cosTheta) > 0.0001 then
  433. local theta = ACOS(cosTheta)
  434. local invSinTheta = 1 / SIN(theta)
  435. startInterp = SIN((1 - t) * theta) * invSinTheta
  436. finishInterp = SIN(t * theta) * invSinTheta
  437. else
  438. startInterp = 1 - t
  439. finishInterp = t
  440. end
  441. else
  442. if (1 + cosTheta) > 0.0001 then
  443. local theta = ACOS(-cosTheta)
  444. local invSinTheta = 1 / SIN(theta)
  445. startInterp = SIN((t - 1) * theta) * invSinTheta
  446. finishInterp = SIN(t * theta) * invSinTheta
  447. else
  448. startInterp = t - 1
  449. finishInterp = t
  450. end
  451. end
  452. 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
  453. end
  454.  
  455. function Clerp(a, b, t)
  456. local qa = {QuaternionFromCFrame(a)}
  457. local qb = {QuaternionFromCFrame(b)}
  458. local ax, ay, az = a.x, a.y, a.z
  459. local bx, by, bz = b.x, b.y, b.z
  460. local _t = 1 - t
  461. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  462. end
  463.  
  464. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  465. local frame = IT("Frame")
  466. frame.BackgroundTransparency = TRANSPARENCY
  467. frame.BorderSizePixel = BORDERSIZEPIXEL
  468. frame.Position = POSITION
  469. frame.Size = SIZE
  470. frame.BackgroundColor3 = COLOR
  471. frame.BorderColor3 = BORDERCOLOR
  472. frame.Name = NAME
  473. frame.Parent = PARENT
  474. return frame
  475. end
  476.  
  477. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  478. local label = IT("TextLabel")
  479. label.BackgroundTransparency = 1
  480. label.Size = UD2(1, 0, 1, 0)
  481. label.Position = UD2(0, 0, 0, 0)
  482. label.TextColor3 = TEXTCOLOR
  483. label.TextStrokeTransparency = STROKETRANSPARENCY
  484. label.TextTransparency = TRANSPARENCY
  485. label.FontSize = TEXTFONTSIZE
  486. label.Font = TEXTFONT
  487. label.BorderSizePixel = BORDERSIZEPIXEL
  488. label.TextScaled = false
  489. label.Text = TEXT
  490. label.Name = NAME
  491. label.Parent = PARENT
  492. return label
  493. end
  494.  
  495. function NoOutlines(PART)
  496. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  497. end
  498.  
  499. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  500. local NEWWELD = IT(TYPE)
  501. NEWWELD.Part0 = PART0
  502. NEWWELD.Part1 = PART1
  503. NEWWELD.C0 = C0
  504. NEWWELD.C1 = C1
  505. NEWWELD.Parent = PARENT
  506. return NEWWELD
  507. end
  508.  
  509. local S = IT("Sound")
  510. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  511. local NEWSOUND = nil
  512. coroutine.resume(coroutine.create(function()
  513. NEWSOUND = S:Clone()
  514. NEWSOUND.Parent = PARENT
  515. NEWSOUND.Volume = VOLUME
  516. NEWSOUND.Pitch = PITCH
  517. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  518. NEWSOUND:play()
  519. if DOESLOOP == true then
  520. NEWSOUND.Looped = true
  521. else
  522. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  523. NEWSOUND:remove()
  524. end
  525. end))
  526. return NEWSOUND
  527. end
  528.  
  529. function CFrameFromTopBack(at, top, back)
  530. local right = top:Cross(back)
  531. 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)
  532. end
  533.  
  534. --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})
  535. function WACKYEFFECT(Table)
  536. local TYPE = (Table.EffectType or "Sphere")
  537. local SIZE = (Table.Size or VT(1,1,1))
  538. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  539. local TRANSPARENCY = (Table.Transparency or 0)
  540. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  541. local CFRAME = (Table.CFrame or Torso.CFrame)
  542. local MOVEDIRECTION = (Table.MoveToPos or nil)
  543. local ROTATION1 = (Table.RotationX or 0)
  544. local ROTATION2 = (Table.RotationY or 0)
  545. local ROTATION3 = (Table.RotationZ or 0)
  546. local MATERIAL = (Table.Material or "Neon")
  547. local COLOR = (Table.Color or C3(1,1,1))
  548. local TIME = (Table.Time or 45)
  549. local SOUNDID = (Table.SoundID or nil)
  550. local SOUNDPITCH = (Table.SoundPitch or nil)
  551. local SOUNDVOLUME = (Table.SoundVolume or nil)
  552. coroutine.resume(coroutine.create(function()
  553. local PLAYSSOUND = false
  554. local SOUND = nil
  555. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  556. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  557. PLAYSSOUND = true
  558. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  559. end
  560. EFFECT.Color = COLOR
  561. local MSH = nil
  562. if TYPE == "Sphere" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  564. elseif TYPE == "Block" then
  565. MSH = IT("BlockMesh",EFFECT)
  566. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  567. elseif TYPE == "Wave" then
  568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  569. elseif TYPE == "Ring" then
  570. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  571. elseif TYPE == "Slash" then
  572. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  573. elseif TYPE == "Round Slash" then
  574. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  575. elseif TYPE == "Swirl" then
  576. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  577. elseif TYPE == "Skull" then
  578. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  579. elseif TYPE == "Crystal" then
  580. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  581. end
  582. if MSH ~= nil then
  583. local MOVESPEED = nil
  584. if MOVEDIRECTION ~= nil then
  585. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  586. end
  587. local GROWTH = SIZE - ENDSIZE
  588. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  589. if TYPE == "Block" then
  590. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591. else
  592. EFFECT.CFrame = CFRAME
  593. end
  594. for LOOP = 1, TIME+1 do
  595. Swait()
  596. MSH.Scale = MSH.Scale - GROWTH/TIME
  597. if TYPE == "Wave" then
  598. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  599. end
  600. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  601. if TYPE == "Block" then
  602. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  603. else
  604. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  605. end
  606. if MOVEDIRECTION ~= nil then
  607. local ORI = EFFECT.Orientation
  608. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  609. EFFECT.Orientation = ORI
  610. end
  611. end
  612. if PLAYSSOUND == false then
  613. EFFECT:remove()
  614. else
  615. SOUND.Stopped:Connect(function()
  616. EFFECT:remove()
  617. end)
  618. end
  619. else
  620. if PLAYSSOUND == false then
  621. EFFECT:remove()
  622. else
  623. repeat Swait() until SOUND.Playing == false
  624. EFFECT:remove()
  625. end
  626. end
  627. end))
  628. end
  629.  
  630. function MakeForm(PART,TYPE)
  631. if TYPE == "Cyl" then
  632. local MSH = IT("CylinderMesh",PART)
  633. elseif TYPE == "Ball" then
  634. local MSH = IT("SpecialMesh",PART)
  635. MSH.MeshType = "Sphere"
  636. elseif TYPE == "Wedge" then
  637. local MSH = IT("SpecialMesh",PART)
  638. MSH.MeshType = "Wedge"
  639. end
  640. end
  641.  
  642. function SpawnTrail(FROM,TO,BIG)
  643. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  644. MakeForm(TRAIL,"Cyl")
  645. local DIST = (FROM - TO).Magnitude
  646. if BIG == true then
  647. TRAIL.Size = VT(0.5,DIST,0.5)
  648. else
  649. TRAIL.Size = VT(0.25,DIST,0.25)
  650. end
  651. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  652. coroutine.resume(coroutine.create(function()
  653. for i = 1, 5 do
  654. Swait()
  655. TRAIL.Transparency = TRAIL.Transparency + 0.1
  656. end
  657. TRAIL:remove()
  658. end))
  659. end
  660.  
  661. Debris = game:GetService("Debris")
  662.  
  663. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  664. local DIRECTION = CF(StartPos,EndPos).lookVector
  665. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  666. end
  667.  
  668. function turnto(position)
  669. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  670. end
  671.  
  672. --//=================================\\
  673. --|| WEAPON CREATION
  674. --\\=================================//
  675.  
  676. local Particle = IT("ParticleEmitter",nil)
  677. Particle.Enabled = false
  678. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  679. Particle.LightEmission = 0.5
  680. Particle.Rate = 150
  681. Particle.ZOffset = 0.2
  682. Particle.Rotation = NumberRange.new(-180, 180)
  683. Particle.RotSpeed = NumberRange.new(-180, 180)
  684. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  685. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  686.  
  687. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  688. function ParticleEmitter(Table)
  689. local PRTCL = Particle:Clone()
  690. local Speed = Table.Speed or 5
  691. local Drag = Table.Drag or 0
  692. local Size1 = Table.Size1 or 1
  693. local Size2 = Table.Size2 or 5
  694. local Lifetime1 = Table.Lifetime1 or 1
  695. local Lifetime2 = Table.Lifetime2 or 1.5
  696. local Parent = Table.Parent or Torso
  697. local Emit = Table.Emit or 100
  698. local Offset = Table.Offset or 360
  699. local Acel = Table.Acel or VT(0,0,0)
  700. local Enabled = Table.Enabled or false
  701. PRTCL.Parent = Parent
  702. PRTCL.Size = NumberSequence.new(Size1,Size2)
  703. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  704. PRTCL.Speed = NumberRange.new(Speed)
  705. PRTCL.VelocitySpread = Offset
  706. PRTCL.Drag = Drag
  707. PRTCL.Acceleration = Acel
  708. if Enabled == false then
  709. PRTCL:Emit(Emit)
  710. Debris:AddItem(PRTCL,Lifetime2)
  711. else
  712. PRTCL.Enabled = true
  713. end
  714. return PRTCL
  715. end
  716.  
  717. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  718. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  719. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  720. MakeForm(Part,"Wedge")
  721. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  722. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  723. MakeForm(Part,"Wedge")
  724. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  725. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  727. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  728. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  729. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  730. MakeForm(Part,"Cyl")
  731. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  732. for i = 1, 8 do
  733. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  734. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  735. end
  736. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  737. MakeForm(Part,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  740. MakeForm(Part,"Ball")
  741. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  742. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  743. MakeForm(Part,"Wedge")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  745. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  747. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  748. MakeForm(Part,"Cyl")
  749. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  750. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  751. MakeForm(Part,"Cyl")
  752. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  753. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  754. MakeForm(Part,"Cyl")
  755. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  757. MakeForm(Part,"Wedge")
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  759. local LASTPART = Handle
  760. for i = 1, 10 do
  761. if LASTPART == Handle then
  762. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  763. LASTPART = Part
  764. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  765. else
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  767. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  768. LASTPART = Part
  769. end
  770. end
  771.  
  772. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  773. MakeForm(Barrel,"Cyl")
  774. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  775. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  776. MakeForm(Part,"Cyl")
  777. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  778. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  779. MakeForm(Part,"Wedge")
  780. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  781. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  782. MakeForm(Hole,"Cyl")
  783. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  784. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  785. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  786. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  787. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  788. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  789. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  790. coroutine.resume(coroutine.create(function()
  791. while wait() do
  792. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  793. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  794. end
  795. end))
  796.  
  797. 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)})
  798. --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)})
  799.  
  800. for _, c in pairs(Weapon:GetDescendants()) do
  801. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  802. c.Material = "Glass"
  803. c.Color = C3(0,0,0)
  804. elseif c.ClassName == "Part" and c.Name == "Eye" then
  805. c.Color = C3(1,0,0)
  806. c.Material = "Neon"
  807. end
  808. end
  809.  
  810. Weapon.Parent = Character
  811. for _, c in pairs(Weapon:GetChildren()) do
  812. if c.ClassName == "Part" then
  813. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  814. end
  815. end
  816.  
  817. local SKILLTEXTCOLOR = C3(1,0,0)
  818. local SKILLFONT = "Antique"
  819. local SKILLTEXTSIZE = 7
  820.  
  821. Humanoid.Died:connect(function()
  822. ATTACK = true
  823. end)
  824.  
  825. 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")
  826. --[[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")
  827. 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")
  828. 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")
  829. 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")
  830. ]]
  831. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  832. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  833. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  834. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  835. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  836. ]]
  837. function printbye(Name)
  838. local MESSAGES = {"go eat a apple instead, ","U CANT MESS WITH ME, ","i got u now...., ","did i do that by mistake?","sdfasdfasdf, ","i think i broke my keyborad, ","BEGONDEMON, ","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, ","buh bye, "}
  839. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  840. end
  841.  
  842. workspace.ChildAdded:connect(function(instance)
  843. for BANISH = 1, #TOBANISH do
  844. if TOBANISH[BANISH] ~= nil then
  845. if instance.Name == TOBANISH[BANISH] then
  846. coroutine.resume(coroutine.create(function()
  847. printbye(instance.Name)
  848. instance:ClearAllChildren()
  849. Debris:AddItem(instance,0.0005)
  850. end))
  851. end
  852. end
  853. end
  854. end)
  855.  
  856. --//=================================\\
  857. --|| DAMAGING
  858. --\\=================================//
  859.  
  860. function Banish(Foe)
  861. if Foe then
  862. coroutine.resume(coroutine.create(function()
  863. --if game.Players:FindFirstChild(Foe.Name) then
  864. table.insert(TOBANISH,Foe.Name)
  865. printbye(Foe.Name)
  866. --end
  867. Foe.Archivable = true
  868. local CLONE = Foe:Clone()
  869. Foe:Destroy()
  870. CLONE.Parent = Effects
  871. CLONE:BreakJoints()
  872. local MATERIALS = {"Glass","Neon"}
  873. for _, c in pairs(CLONE:GetDescendants()) do
  874. if c:IsA("BasePart") then
  875. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  876. CreateSound(618667795, c, 10, 1, false)
  877. end
  878. c.Anchored = true
  879. c.Transparency = c.Transparency + 0.2
  880. c.Material = MATERIALS[MRANDOM(1,2)]
  881. c.Color = C3(1,0,0)
  882. if c.ClassName == "MeshPart" then
  883. c.TextureID = ""
  884. end
  885. if c:FindFirstChildOfClass("SpecialMesh") then
  886. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  887. end
  888. if c:FindFirstChildOfClass("Decal") then
  889. c:FindFirstChildOfClass("Decal"):remove()
  890. end
  891. c.Name = "Banished"
  892. c.CanCollide = false
  893. else
  894. c:remove()
  895. end
  896. end
  897. local A = false
  898. for i = 1, 35 do
  899. if A == false then
  900. A = true
  901. elseif A == true then
  902. A = false
  903. end
  904. for _, c in pairs(CLONE:GetDescendants()) do
  905. if c:IsA("BasePart") then
  906. c.Anchored = true
  907. c.Material = MATERIALS[MRANDOM(1,2)]
  908. c.Transparency = c.Transparency + 0.8/35
  909. if A == false then
  910. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  911. elseif A == true then
  912. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  913. end
  914. end
  915. end
  916. Swait()
  917. end
  918. CLONE:remove()
  919. end))
  920. end
  921. end
  922.  
  923. function ApplyAoE(POSITION,RANGE,ISBANISH)
  924. local CHILDREN = workspace:GetDescendants()
  925. for index, CHILD in pairs(CHILDREN) do
  926. if CHILD.ClassName == "Model" and CHILD ~= Character then
  927. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  928. if HUM then
  929. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  930. if TORSO then
  931. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  932. if ISBANISH == true then
  933. Banish(CHILD)
  934. else
  935. if ISBANISH == "Gravity" then
  936. HUM.PlatformStand = true
  937. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  938. local grav = Instance.new("BodyPosition",TORSO)
  939. grav.D = 15
  940. grav.P = 20000
  941. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  942. grav.position = TORSO.Position
  943. grav.Name = "V3BanishForce"..Player.Name
  944. else
  945. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  946. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  947. end
  948. else
  949. HUM.PlatformStand = false
  950. end
  951. end
  952. elseif ISBANISH == "Gravity" then
  953. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  954. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  955. HUM.PlatformStand = false
  956. end
  957. end
  958. end
  959. end
  960. end
  961. end
  962. end
  963.  
  964. --//=================================\\
  965. --|| ATTACK FUNCTIONS AND STUFF
  966. --\\=================================//
  967.  
  968. function Shot()
  969. ATTACK = true
  970. Rooted = false
  971. for i=0, 0.4, 0.1 / Animation_Speed do
  972. Swait()
  973. turnto(Mouse.Hit.p)
  974. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  975. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  977. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  978. 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)
  979. 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)
  980. end
  981. repeat
  982. for i=0, 0.2, 0.1 / Animation_Speed do
  983. Swait()
  984. turnto(Mouse.Hit.p)
  985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  989. 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)
  990. 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)
  991. end
  992. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  993. SpawnTrail(Hole.Position,POS)
  994. if HIT ~= nil then
  995. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  996. Banish(HIT.Parent)
  997. end
  998. end
  999. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1000. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1001. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1002. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1003. for i=0, 0.3, 0.1 / Animation_Speed do
  1004. Swait()
  1005. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1007. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1009. 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)
  1010. 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)
  1011. end
  1012. until KEYHOLD == false
  1013. ATTACK = false
  1014. Rooted = false
  1015. end
  1016.  
  1017. function AttackTemplate()
  1018. ATTACK = true
  1019. Rooted = false
  1020. for i=0, 1, 0.1 / Animation_Speed do
  1021. Swait()
  1022. 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)
  1023. 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)
  1024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1026. 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)
  1027. 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)
  1028. end
  1029. ATTACK = false
  1030. Rooted = false
  1031. end
  1032.  
  1033. --//=================================\\
  1034. --|| ASSIGN THINGS TO KEYS
  1035. --\\=================================//
  1036.  
  1037. function MouseDown(Mouse)
  1038. if ATTACK == false then
  1039. end
  1040. end
  1041.  
  1042. function MouseUp(Mouse)
  1043. HOLD = false
  1044. end
  1045.  
  1046. function KeyDown(Key)
  1047. KEYHOLD = true
  1048. if Key == "z" and ATTACK == false then
  1049. Shot()
  1050. end
  1051.  
  1052. if Key == "b" and ATTACK == false then
  1053. end
  1054.  
  1055. if Key == "c" and ATTACK == false then
  1056. end
  1057.  
  1058. if Key == "q" and ATTACK == false then
  1059. end
  1060.  
  1061. if Key == "x" and ATTACK == false then
  1062. end
  1063. end
  1064.  
  1065. function KeyUp(Key)
  1066. KEYHOLD = false
  1067. end
  1068.  
  1069. Mouse.Button1Down:connect(function(NEWKEY)
  1070. MouseDown(NEWKEY)
  1071. end)
  1072. Mouse.Button1Up:connect(function(NEWKEY)
  1073. MouseUp(NEWKEY)
  1074. end)
  1075. Mouse.KeyDown:connect(function(NEWKEY)
  1076. KeyDown(NEWKEY)
  1077. end)
  1078. Mouse.KeyUp:connect(function(NEWKEY)
  1079. KeyUp(NEWKEY)
  1080. end)
  1081.  
  1082. --//=================================\\
  1083. --\\=================================//
  1084.  
  1085.  
  1086. function unanchor()
  1087. if UNANCHOR == true then
  1088. g = Character:GetChildren()
  1089. for i = 1, #g do
  1090. if g[i].ClassName == "Part" then
  1091. g[i].Anchored = false
  1092. end
  1093. end
  1094. end
  1095. end
  1096.  
  1097.  
  1098. --//=================================\\
  1099. --|| WRAP THE WHOLE SCRIPT UP
  1100. --\\=================================//
  1101.  
  1102. Humanoid.Changed:connect(function(Jump)
  1103. if Jump == "Jump" and (Disable_Jump == true) then
  1104. Humanoid.Jump = false
  1105. end
  1106. end)
  1107.  
  1108. local CONNECT = nil
  1109.  
  1110. while true do
  1111. Swait()
  1112. ANIMATE.Parent = nil
  1113. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1114. Humanoid = IT("Humanoid",Character)
  1115. end
  1116. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1117. v:Stop();
  1118. end
  1119. SINE = SINE + CHANGE
  1120. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1121. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1122. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1123. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1124. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1125. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1126. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1127. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1128. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1129. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1130. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1131. 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)
  1132. 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)
  1133. 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)
  1134. end
  1135. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1136. ANIM = "Jump"
  1137. if ATTACK == false then
  1138. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1142. 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)
  1143. 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)
  1144. end
  1145. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1146. ANIM = "Fall"
  1147. if ATTACK == false then
  1148. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1152. 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)
  1153. 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)
  1154. end
  1155. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1156. ANIM = "Idle"
  1157. if ATTACK == false then
  1158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1164. end
  1165. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1166. ANIM = "Walk"
  1167. if ATTACK == false then
  1168. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1172. 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)
  1173. 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)
  1174. end
  1175. end
  1176. unanchor()
  1177. Humanoid.MaxHealth = "inf"
  1178. Humanoid.Health = "inf"
  1179. if Rooted == false then
  1180. Disable_Jump = false
  1181. Humanoid.WalkSpeed = Speed
  1182. elseif Rooted == true then
  1183. Disable_Jump = true
  1184. Humanoid.WalkSpeed = 0
  1185. end
  1186. sick.Parent = Torso
  1187. sick:resume()
  1188. sick.Volume = 8.2
  1189. sick.Pitch = 1.3
  1190. sick.SoundId = "rbxassetid://1347121352"
  1191. sick.Name = "Dead"
  1192. end
  1193.  
  1194. --//=================================\\
  1195. --\\=================================//
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201. --//====================================================\\--
  1202. --|| END OF SCRIPT
  1203. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement