kaualima12

cool script for void

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