Advertisement
Tetezaza1542

HAXOR

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