Advertisement
Prozanity

Untitled

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