Hugo1234cool

Untitled

Feb 26th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.84 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10. --https://github.com/Mokiros/roblox-FE-compatibility
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  13. local RealPlayer = Player
  14. 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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  15.  
  16. Player =owner
  17. PlayerGui = Player.PlayerGui
  18. Cam = workspace.CurrentCamera
  19. Backpack = Player.Backpack
  20. Character = Player.Character
  21. Humanoid = Character.Humanoid
  22. Mouse = Player:GetMouse()
  23. RootPart = Character["HumanoidRootPart"]
  24. Torso = Character["Torso"]
  25. Head = Character["Head"]
  26. RightArm = Character["Right Arm"]
  27. LeftArm = Character["Left Arm"]
  28. RightLeg = Character["Right Leg"]
  29. LeftLeg = Character["Left Leg"]
  30. RootJoint = RootPart["RootJoint"]
  31. Neck = Torso["Neck"]
  32. RightShoulder = Torso["Right Shoulder"]
  33. LeftShoulder = Torso["Left Shoulder"]
  34. RightHip = Torso["Right Hip"]
  35. LeftHip = Torso["Left Hip"]
  36.  
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53.  
  54. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  55. local NEWMESH = IT(MESH)
  56. if MESH == "SpecialMesh" then
  57. NEWMESH.MeshType = MESHTYPE
  58. if MESHID ~= "nil" and MESHID ~= "" then
  59. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  60. end
  61. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  62. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  63. end
  64. end
  65. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  66. NEWMESH.Scale = SCALE
  67. NEWMESH.Parent = PARENT
  68. return NEWMESH
  69. end
  70.  
  71. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  72. local NEWPART = IT("Part")
  73. NEWPART.formFactor = FORMFACTOR
  74. NEWPART.Reflectance = REFLECTANCE
  75. NEWPART.Transparency = TRANSPARENCY
  76. NEWPART.CanCollide = false
  77. NEWPART.Locked = true
  78. NEWPART.Anchored = true
  79. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  80. NEWPART.Name = NAME
  81. NEWPART.Size = SIZE
  82. NEWPART.Position = Torso.Position
  83. NEWPART.Material = MATERIAL
  84. NEWPART:BreakJoints()
  85. NEWPART.Parent = PARENT
  86. return NEWPART
  87. end
  88.  
  89.  
  90. --//=================================\\
  91. --|| CUSTOMIZATION
  92. --\\=================================//
  93.  
  94. Class_Name = "Nigger OP Hole"
  95. Weapon_Name = "Add-ons"
  96.  
  97. Custom_Colors = {
  98. Custom_Color_1 = BRICKC("Institutional black"); --1st color for the weapon.
  99. Custom_Color_2 = BRICKC("Institutional black"); --2nd color for the weapon.
  100.  
  101. Custom_Color_3 = BRICKC("Institutional red"); --Color for the abilities.
  102. Custom_Color_4 = BRICKC("Institutional red"); --Color for the secondary bar.
  103. Custom_Color_5 = BRICKC("Institutional red"); --Color for the mana bar.
  104. Custom_Color_6 = BRICKC("Institutional red"); --Color for the health bar.
  105. Custom_Color_7 = BRICKC("Institutional red"); --Color for the stun bar.
  106.  
  107. Custom_Color_8 = BRICKC("Institutional red"); --Background for the mana bar.
  108. Custom_Color_9 = BRICKC("Institutional red"); --Background for the secondary mana bar.
  109. Custom_Color_10 = BRICKC("Institutional red"); --Background for the stun bar.
  110. Custom_Color_11 = BRICKC("Institutional red"); --Background for the health bar.
  111. Custom_Color_12 = BRICKC("Institutional red"); --Background for the abilities.
  112. }
  113.  
  114.  
  115. Player_Size = 1 --Size of the player.
  116. Animation_Speed = 3
  117. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  118.  
  119. local Speed = 16
  120. local Effects2 = {}
  121.  
  122. --//=================================\\
  123. --|| END OF CUSTOMIZATION
  124. --\\=================================//
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. --//=================================\\
  137. --|| USEFUL VALUES
  138. --\\=================================//
  139.  
  140. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  141. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  142. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  143. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  144. local CO1 = 0
  145. local CO2 = 0
  146. local CO3 = 0
  147. local CO4 = 0
  148. local CHANGEDEFENSE = 0
  149. local CHANGEDAMAGE = 0
  150. local CHANGEMOVEMENT = 0
  151. local ANIM = "Idle"
  152. local ATTACK = false
  153. local EQUIPPED = false
  154. local HOLD = false
  155. local COMBO = 1
  156. local LASTPOINT = nil
  157. local BLCF = nil
  158. local SCFR = nil
  159. local STAGGERHITANIM = false
  160. local STAGGERANIM = false
  161. local STUNANIM = false
  162. local CRITCHANCENUMBER = 0
  163. local IDLENUMBER = 0
  164. local DONUMBER = 0
  165. local HANDIDLE = false
  166. local PLAYINGMUSIC = false
  167. local SINE = 0
  168. local CHANGE = 2 / Animation_Speed
  169. local WALKINGANIM = false
  170. local WALK = 0
  171. local DISABLEJUMPING = false
  172. local HASBEENBLOCKED = false
  173. local STUNDELAYNUMBER = 0
  174. local MANADELAYNUMBER = 0
  175. local SOUND = nil
  176. local SECONDARYMANADELAYNUMBER = 0
  177. local ROBLOXIDLEANIMATION = IT("Animation")
  178. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  179. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  180. --ROBLOXIDLEANIMATION.Parent = Humanoid
  181. local WEAPONGUI = IT("ScreenGui", nil)
  182. WEAPONGUI.Name = "Weapon GUI"
  183. local WEAPONTOOL = IT("HopperBin", nil)
  184. WEAPONTOOL.Name = Weapon_Name
  185. local Weapon = IT("Model")
  186. Weapon.Name = Weapon_Name
  187. local Effects = IT("Folder", Weapon)
  188. Effects.Name = "Effects"
  189. local ANIMATOR = Humanoid.Animator
  190. local ANIMATE = Character.Animate
  191. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  192. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  193. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  194. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  195. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  196. local BULLETLOOPSOUND = "907530407"
  197. local BULLETIMPACTSOUND = "907532865"
  198. local UNANCHOR = true
  199. local MAGICPARTICLE = "655109389"
  200. local Rooted = false
  201. local GRABBED = false
  202. local X = 10
  203. local Y = 10
  204. local Z = 10
  205. local CUSTOMMOVEMENT = false
  206. local FLIGHT = false
  207. local VACUUM = false
  208.  
  209. --//=================================\\
  210. --\\=================================//
  211.  
  212.  
  213.  
  214.  
  215. --//=================================\\
  216. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  217. --\\=================================//
  218.  
  219. ArtificialHB = Instance.new("BindableEvent", script)
  220. ArtificialHB.Name = "ArtificialHB"
  221.  
  222. script:WaitForChild("ArtificialHB")
  223.  
  224. frame = Frame_Speed
  225. tf = 0
  226. allowframeloss = false
  227. tossremainder = false
  228. lastframe = tick()
  229. script.ArtificialHB:Fire()
  230.  
  231. game:GetService("RunService").Heartbeat:connect(function(s, p)
  232. tf = tf + s
  233. if tf >= frame then
  234. if allowframeloss then
  235. script.ArtificialHB:Fire()
  236. lastframe = tick()
  237. else
  238. for i = 1, math.floor(tf / frame) do
  239. script.ArtificialHB:Fire()
  240. end
  241. lastframe = tick()
  242. end
  243. if tossremainder then
  244. tf = 0
  245. else
  246. tf = tf - frame * math.floor(tf / frame)
  247. end
  248. end
  249. end)
  250.  
  251. --//=================================\\
  252. --\\=================================//
  253.  
  254.  
  255.  
  256.  
  257.  
  258. --//=================================\\
  259. --|| SOME FUNCTIONS
  260. --\\=================================//
  261.  
  262. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  263. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  264. end
  265.  
  266. function PositiveAngle(NUMBER)
  267. if NUMBER >= 0 then
  268. NUMBER = 0
  269. end
  270. return NUMBER
  271. end
  272.  
  273. function NegativeAngle(NUMBER)
  274. if NUMBER <= 0 then
  275. NUMBER = 0
  276. end
  277. return NUMBER
  278. end
  279.  
  280. function Swait(NUMBER)
  281. if NUMBER == 0 or NUMBER == nil then
  282. ArtificialHB.Event:wait()
  283. else
  284. for i = 1, NUMBER do
  285. ArtificialHB.Event:wait()
  286. end
  287. end
  288. end
  289.  
  290. function QuaternionFromCFrame(cf)
  291. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  292. local trace = m00 + m11 + m22
  293. if trace > 0 then
  294. local s = math.sqrt(1 + trace)
  295. local recip = 0.5 / s
  296. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  297. else
  298. local i = 0
  299. if m11 > m00 then
  300. i = 1
  301. end
  302. if m22 > (i == 0 and m00 or m11) then
  303. i = 2
  304. end
  305. if i == 0 then
  306. local s = math.sqrt(m00 - m11 - m22 + 1)
  307. local recip = 0.5 / s
  308. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  309. elseif i == 1 then
  310. local s = math.sqrt(m11 - m22 - m00 + 1)
  311. local recip = 0.5 / s
  312. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  313. elseif i == 2 then
  314. local s = math.sqrt(m22 - m00 - m11 + 1)
  315. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  316. end
  317. end
  318. end
  319.  
  320. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  321. local xs, ys, zs = x + x, y + y, z + z
  322. local wx, wy, wz = w * xs, w * ys, w * zs
  323. local xx = x * xs
  324. local xy = x * ys
  325. local xz = x * zs
  326. local yy = y * ys
  327. local yz = y * zs
  328. local zz = z * zs
  329. 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))
  330. end
  331.  
  332. function QuaternionSlerp(a, b, t)
  333. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  334. local startInterp, finishInterp;
  335. if cosTheta >= 0.0001 then
  336. if (1 - cosTheta) > 0.0001 then
  337. local theta = ACOS(cosTheta)
  338. local invSinTheta = 1 / SIN(theta)
  339. startInterp = SIN((1 - t) * theta) * invSinTheta
  340. finishInterp = SIN(t * theta) * invSinTheta
  341. else
  342. startInterp = 1 - t
  343. finishInterp = t
  344. end
  345. else
  346. if (1 + cosTheta) > 0.0001 then
  347. local theta = ACOS(-cosTheta)
  348. local invSinTheta = 1 / SIN(theta)
  349. startInterp = SIN((t - 1) * theta) * invSinTheta
  350. finishInterp = SIN(t * theta) * invSinTheta
  351. else
  352. startInterp = t - 1
  353. finishInterp = t
  354. end
  355. end
  356. 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
  357. end
  358.  
  359. function Clerp(a, b, t)
  360. local qa = {QuaternionFromCFrame(a)}
  361. local qb = {QuaternionFromCFrame(b)}
  362. local ax, ay, az = a.x, a.y, a.z
  363. local bx, by, bz = b.x, b.y, b.z
  364. local _t = 1 - t
  365. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  366. end
  367.  
  368. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  369. local frame = IT("Frame")
  370. frame.BackgroundTransparency = TRANSPARENCY
  371. frame.BorderSizePixel = BORDERSIZEPIXEL
  372. frame.Position = POSITION
  373. frame.Size = SIZE
  374. frame.BackgroundColor3 = COLOR
  375. frame.BorderColor3 = BORDERCOLOR
  376. frame.Name = NAME
  377. frame.Parent = PARENT
  378. return frame
  379. end
  380.  
  381. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  382. local label = IT("TextLabel")
  383. label.BackgroundTransparency = 1
  384. label.Size = UD2(1, 0, 1, 0)
  385. label.Position = UD2(0, 0, 0, 0)
  386. label.TextColor3 = C3(255, 255, 255)
  387. label.TextStrokeTransparency = STROKETRANSPARENCY
  388. label.TextTransparency = TRANSPARENCY
  389. label.FontSize = TEXTFONTSIZE
  390. label.Font = TEXTFONT
  391. label.BorderSizePixel = BORDERSIZEPIXEL
  392. label.TextScaled = true
  393. label.Text = TEXT
  394. label.Name = NAME
  395. label.Parent = PARENT
  396. return label
  397. end
  398.  
  399. function NoOutlines(PART)
  400. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  401. end
  402.  
  403.  
  404. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  405. local NEWWELD = IT(TYPE)
  406. NEWWELD.Part0 = PART0
  407. NEWWELD.Part1 = PART1
  408. NEWWELD.C0 = C0
  409. NEWWELD.C1 = C1
  410. NEWWELD.Parent = PARENT
  411. return NEWWELD
  412. end
  413.  
  414. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  415. local NEWSOUND = nil
  416. coroutine.resume(coroutine.create(function()
  417. NEWSOUND = IT("Sound", PARENT)
  418. NEWSOUND.Volume = VOLUME
  419. NEWSOUND.Pitch = PITCH
  420. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  421. Swait()
  422. NEWSOUND:play()
  423. if DOESLOOP == false then
  424. repeat Swait() until NEWSOUND.Playing == false
  425. NEWSOUND:remove()
  426. elseif DOESLOOP == true then
  427. NEWSOUND.Looped = true
  428. end
  429. end))
  430. return NEWSOUND
  431. end
  432.  
  433. function CFrameFromTopBack(at, top, back)
  434. local right = top:Cross(back)
  435. 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)
  436. end
  437.  
  438. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  439. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  440. local mesh = IT("SpecialMesh",wave)
  441. mesh.MeshType = "FileMesh"
  442. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  443. mesh.Scale = VT(size,size,size)
  444. mesh.Offset = VT(0,0,-size/8)
  445. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  446. coroutine.resume(coroutine.create(function(PART)
  447. for i = 1, waitt do
  448. Swait()
  449. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  450. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  451. if doesrotate == true then
  452. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  453. end
  454. wave.Transparency = wave.Transparency + (0.5/waitt)
  455. if wave.Transparency > 0.99 then
  456. wave:remove()
  457. end
  458. end
  459. end))
  460. end
  461.  
  462. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  463. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  464. local mesh = IT("SpecialMesh",wave)
  465. mesh.MeshType = "FileMesh"
  466. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  467. mesh.Scale = VT(size,size,size)
  468. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  469. coroutine.resume(coroutine.create(function(PART)
  470. for i = 1, waitt do
  471. Swait()
  472. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  473. if doesrotate == true then
  474. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  475. end
  476. wave.Transparency = wave.Transparency + (0.5/waitt)
  477. if wave.Transparency > 0.99 then
  478. wave:remove()
  479. end
  480. end
  481. end))
  482. end
  483.  
  484. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  485. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  486. local mesh = IT("SpecialMesh",wave)
  487. mesh.MeshType = "FileMesh"
  488. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  489. mesh.Scale = VT(size,size,size)
  490. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  491. coroutine.resume(coroutine.create(function(PART)
  492. for i = 1, waitt do
  493. Swait()
  494. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  495. if doesrotate == true then
  496. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  497. end
  498. wave.Transparency = wave.Transparency + (0.5/waitt)
  499. if wave.Transparency > 0.99 then
  500. wave:remove()
  501. end
  502. end
  503. end))
  504. end
  505.  
  506. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  507. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  508. local mesh = IT("SpecialMesh",wave)
  509. mesh.MeshType = "FileMesh"
  510. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  511. mesh.Scale = VT(size,size,size)
  512. mesh.Offset = VT(0,0,0)
  513. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  514. coroutine.resume(coroutine.create(function(PART)
  515. for i = 1, waitt do
  516. Swait()
  517. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  518. if doesrotate == true then
  519. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  520. end
  521. wave.Transparency = wave.Transparency + (1/waitt)
  522. if wave.Transparency > 0.99 then
  523. wave:remove()
  524. end
  525. end
  526. end))
  527. end
  528.  
  529. function MagicSphere(size,waitt,part,offset,color)
  530. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  531. local mesh = IT("SpecialMesh",wave)
  532. mesh.MeshType = "Sphere"
  533. mesh.Scale = VT(size,size,size)
  534. mesh.Offset = VT(0,0,0)
  535. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  536. coroutine.resume(coroutine.create(function(PART)
  537. for i = 1, waitt do
  538. Swait()
  539. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  540. wave.Transparency = wave.Transparency + (1/waitt)
  541. if wave.Transparency > 0.99 then
  542. wave:remove()
  543. end
  544. end
  545. end))
  546. end
  547.  
  548. function clerp(a, b, t)
  549. return a:lerp(b, t)
  550. end
  551.  
  552. function newBezier(startpos, pos2, pos3, endpos, t)
  553. local A = clerp(startpos, pos2, t)
  554. local B = clerp(pos2, pos3, t)
  555. local C = clerp(pos3, endpos, t)
  556. local lerp1 = clerp(A, B, t)
  557. local lerp2 = clerp(B, C, t)
  558. local cubic = clerp(lerp1, lerp2, t)
  559. return cubic
  560. end
  561.  
  562. function MagicBlock(size,waitt,part,offset,color)
  563. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  564. local mesh = IT("BlockMesh",wave)
  565. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  566. coroutine.resume(coroutine.create(function(PART)
  567. for i = 1, waitt do
  568. Swait()
  569. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  570. wave.CFrame = CF(wave.Position) * ANGLES(RAD(math(-360,360)),RAD(math(-360,360)),RAD(math(-360,360)))
  571. wave.Transparency = wave.Transparency + (0.5/waitt)
  572. if wave.Transparency > 0.99 then
  573. wave:remove()
  574. end
  575. end
  576. end))
  577. end
  578.  
  579. local EyeSizes={
  580. NumberSequenceKeypoint.new(0,1,0),
  581. NumberSequenceKeypoint.new(1,0.2,0)
  582. }
  583. local EyeTrans={
  584. NumberSequenceKeypoint.new(0,0.8,0),
  585. NumberSequenceKeypoint.new(1,1,0)
  586. }
  587. local PE=Instance.new("ParticleEmitter")
  588. PE.LightEmission=0
  589. PE.Size=NumberSequence.new(EyeSizes)
  590. PE.Transparency=NumberSequence.new(EyeTrans)
  591. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  592. PE.Rotation=NumberRange.new(0,360)
  593. PE.Rate=15
  594. PE.Acceleration = Vector3.new(0,75,0)
  595. PE.Drag = 5
  596. PE.Enabled = false
  597. PE.RotSpeed = NumberRange.new(75)
  598. PE.Speed = NumberRange.new(0,0,0)
  599. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  600. PE.ZOffset = 0
  601. PE.Name = "Particles"
  602.  
  603. function CreateParticles(art,accel,drag,rate,type,isenabledbydefault,locked,size)
  604. local particle = PE:Clone()
  605. particle.Parent = art
  606. particle.Acceleration = accel
  607. particle.Rate = rate
  608. if type == "Fire" then
  609. local EyeSizes={
  610. NumberSequenceKeypoint.new(0,size,size*0.3),
  611. NumberSequenceKeypoint.new(1,0.2,0.2)
  612. }
  613. particle.Size = NumberSequence.new(EyeSizes)
  614. elseif type == "Smoke" then
  615. local EyeSizes={
  616. NumberSequenceKeypoint.new(0,size,0),
  617. NumberSequenceKeypoint.new(1,size*5,0.5)
  618. }
  619. particle.Size = NumberSequence.new(EyeSizes)
  620. elseif type == "Solid" then
  621. local EyeSizes={
  622. NumberSequenceKeypoint.new(0,size,0),
  623. NumberSequenceKeypoint.new(1,size,0)
  624. }
  625. particle.Size = NumberSequence.new(EyeSizes)
  626. end
  627. particle.LockedToPart = locked
  628. particle.Drag = drag
  629. particle.Texture = "http://www.roblox.com/asset/?id=43997508"
  630. particle.Enabled = isenabledbydefault
  631. return particle
  632. end
  633.  
  634. --//=================================\\
  635. --\\=================================//
  636.  
  637.  
  638. --//=================================\\
  639. --|| WEAPON CREATION
  640. --\\=================================//
  641.  
  642. if Player_Size ~= 1 then
  643. for _, v in pairs (Weapon:GetChildren()) do
  644. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  645. local p1 = v.Part1
  646. v.Part1 = nil
  647. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  648. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  649. v.Part1 = p1
  650. elseif v.ClassName == "Part" then
  651. for _, b in pairs (v:GetChildren()) do
  652. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  653. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  654. end
  655. end
  656. end
  657. end
  658. end
  659.  
  660. for _, c in pairs(Weapon:GetChildren()) do
  661. if c.ClassName == "Part" then
  662. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  663. end
  664. end
  665.  
  666. Weapon.Parent = Character
  667.  
  668. Humanoid.Died:connect(function()
  669. ATTACK = true
  670. end)
  671.  
  672. print(Class_Name.." loaded.")
  673.  
  674. local ORB = IT("Part",Weapon)
  675. ORB.CanCollide = false
  676. ORB.Anchored = false
  677. ORB.CFrame = RootPart.CFrame
  678. ORB.Shape = "Ball"
  679. ORB.Material = "Neon"
  680. ORB.Size = VT(0.2,0.2,0.2)
  681. ORB.Color = C3(0.5,0,1)
  682. local Orbmesh = IT("SpecialMesh",ORB)
  683. Orbmesh.MeshType = "Sphere"
  684. Orbmesh.Scale = VT(10,10,10)
  685. local grav = Instance.new("BodyPosition",ORB)
  686. grav.P = 20000
  687. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  688. grav.position = RootPart.CFrame*CF(3,0.7,-1).p
  689. grav.Name = "GravityForce"
  690. CreateParticles(ORB,VT(0,0,0),0,150,"Solid",true,true,4)
  691.  
  692. --//=================================\\
  693. --\\=================================//
  694.  
  695. function onChatted(msg)
  696. if msg:sub(1,10) == "Orb, play " then
  697. local ID = msg:sub(11)
  698. if SOUND == nil then
  699. SOUND = CreateSound(ID, ORB, 5, 1, true)
  700. else
  701. SOUND:remove()
  702. SOUND = CreateSound(ID, ORB, 5, 1, true)
  703. end
  704. PLAYINGMUSIC = true
  705. elseif msg == "Orb, stop music" then
  706. if SOUND ~= nil then
  707. SOUND:remove()
  708. PLAYINGMUSIC = false
  709. elseif msg == "Orb, do you like me?" then
  710. CreateSound("269597232", ORB, 1, 1, false)
  711. end
  712. end
  713. end
  714. Player.Chatted:connect(onChatted)
  715.  
  716. --//=================================\\
  717. --|| ABILITIES
  718. --\\=================================//
  719.  
  720. function turnto(pos,part)
  721. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  722. end
  723.  
  724. function Warp()
  725. ATTACK = true
  726. Rooted = true
  727. CUSTOMMOVEMENT = true
  728. grav.position = RootPart.CFrame.p
  729. Swait(50)
  730. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ORB, 2, MRANDOM(8, 9) / 10,false)
  731. for i = 1, 25 do
  732. Swait()
  733. X = X + 1
  734. Y = X
  735. Z = X
  736. end
  737. local weld = weldBetween(Torso,ORB)
  738. grav.position = VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z)
  739. Swait(50)
  740. CUSTOMMOVEMENT = false
  741. weld:remove()
  742. for i = 1, 25 do
  743. Swait()
  744. X = X - 1
  745. Y = X
  746. Z = X
  747. end
  748. ATTACK = false
  749. Rooted = false
  750. end
  751.  
  752. function StartFlight()
  753. Rooted = true
  754. CUSTOMMOVEMENT = true
  755. grav.position = RootPart.Position
  756. Swait(50)
  757. grav.P = 500
  758. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ORB, 2, MRANDOM(8, 9) / 10,false)
  759. for i = 1, 10 do
  760. Swait()
  761. X = X - 1
  762. Y = X
  763. Z = X
  764. end
  765. local weld = weldBetween(Torso,ORB)
  766. repeat
  767. Swait()
  768. grav.position = Mouse.Hit.p
  769. turnto(Mouse.Hit.p,RootPart)
  770. until FLIGHT == false
  771. grav.P = 20000
  772. CUSTOMMOVEMENT = false
  773. weld:remove()
  774. for i = 1, 10 do
  775. Swait()
  776. X = X + 1
  777. Y = X
  778. Z = X
  779. end
  780. Rooted = false
  781. end
  782.  
  783. function succnearest(position,range,force,doesbreak)
  784. for i,v in ipairs(workspace:GetChildren()) do
  785. local body = v:GetChildren()
  786. for part = 1, #body do
  787. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  788. if(body[part].Position - position).Magnitude < range then
  789. local bv = Instance.new("BodyVelocity")
  790. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  791. bv.velocity = CF(body[part].Position,position).lookVector*force
  792. bv.Parent = body[part]
  793. bv.Name = "SUCC"
  794. if v:FindFirstChild("Humanoid") and doesbreak == false then
  795. dealdamage(body[part],5,15,0,false,12,2)
  796. end
  797. if v.ClassName == "Model" and doesbreak == true then
  798. v:BreakJoints()
  799. end
  800. game:GetService("Debris"):AddItem(bv, 0.1)
  801. end
  802. end
  803. end
  804. if v.ClassName == "Part" then
  805. if v.Anchored == false and (v.Position - position).Magnitude < range then
  806. local bv = Instance.new("BodyVelocity")
  807. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  808. bv.velocity = CF(v.Position,position).lookVector*force
  809. bv.Parent = v
  810. bv.Name = "SUCC"
  811. game:GetService("Debris"):AddItem(bv, 0.1)
  812. end
  813. end
  814. end
  815. end
  816.  
  817. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  818. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  819. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  820. local dmg = math.random(min,max)
  821. if humanoid.Health > 0 then
  822. if beserk == true then
  823. humanoid.Health = 0
  824. else
  825. --CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  826. --hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  827. if math.random(1,100) < critrate+1 then
  828. humanoid.Health = humanoid.Health - dmg*critmultiplier
  829. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  830. else
  831. humanoid.Health = humanoid.Health - dmg
  832. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  833. end
  834. local defence = Instance.new("BoolValue",hit.Parent)
  835. defence.Name = ("HitBy"..Player.Name)
  836. game:GetService("Debris"):AddItem(defence, 0.5)
  837. end
  838. end
  839. end
  840. end
  841.  
  842. function Vacuum()
  843. CUSTOMMOVEMENT = true
  844. local succ = CreateSound("319444224", ORB, 0.3, 1, true)
  845. local harm = ORB.Touched:Connect(function(hit)
  846. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Effects and hit.Anchored == false then
  847. hit:remove()
  848. CreateSound("261732529", ORB, 3, 1,false)
  849. end
  850. end)
  851. repeat
  852. Swait()
  853. succnearest(ORB.Position,50,80,true)
  854. until VACUUM == false
  855. CUSTOMMOVEMENT = false
  856. succ:remove()
  857. harm:disconnect()
  858. end
  859.  
  860. function shootbullet()
  861. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ORB, 2, MRANDOM(8, 9) / 10,false)
  862. local bullet = IT("Part",Effects)
  863. bullet.Size = VT(1,1,1)
  864. bullet.Shape = "Ball"
  865. bullet.Material = "Neon"
  866. bullet.Color = C3(0.5,0,1)
  867. local sparks = CreateParticles(bullet,VT(0,0,0),0,150,"Solid",true,true,2)
  868. bullet.CFrame = ORB.CFrame
  869. local bv = Instance.new("BodyVelocity")
  870. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  871. bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*200
  872. bv.Parent = bullet
  873. bv.Name = "MOVE"
  874. local loop = CreateSound(BULLETLOOPSOUND, bullet, 0.6, MRANDOM(9, 11) / 10,true)
  875. local HIT = false
  876. local harm = bullet.Touched:Connect(function(hit)
  877. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  878. HIT = true
  879. coroutine.resume(coroutine.create(function()
  880. coroutine.resume(coroutine.create(function()
  881. for i = 1, 10 do
  882. Swait()
  883. bullet.Transparency = bullet.Transparency + 0.1
  884. end
  885. end))
  886. bullet.Anchored = true
  887. bullet.CanCollide = false
  888. sparks.Enabled = false
  889. local sparks2 = CreateParticles(bullet,VT(0,0,0),0,150,"Solid",true,true,7)
  890. loop.Volume = 3
  891. CreateSound(BULLETIMPACTSOUND, bullet, 2, MRANDOM(9, 11) / 10,false)
  892. for i = 1, 350 do
  893. Swait()
  894. succnearest(bullet.Position,15,25,false)
  895. end
  896. sparks2.Enabled = false
  897. for i = 1, 10 do
  898. Swait()
  899. loop.Volume = loop.Volume - (3/10)
  900. end
  901. bullet:remove()
  902. end))
  903. end
  904. end)
  905. end
  906.  
  907. function shoottoughbullet()
  908. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ORB, 2, MRANDOM(8, 9) / 10,false)
  909. local bullet = IT("Part",Effects)
  910. bullet.Size = VT(3,3,3)
  911. bullet.Shape = "Ball"
  912. bullet.Material = "Neon"
  913. bullet.Color = C3(0.5,0,1)
  914. local sparks = CreateParticles(bullet,VT(0,0,0),0,150,"Solid",true,true,3.5)
  915. bullet.CFrame = ORB.CFrame
  916. local bv = Instance.new("BodyVelocity")
  917. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  918. bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*100
  919. bv.Parent = bullet
  920. bv.Name = "MOVE"
  921. local loop = CreateSound(BULLETLOOPSOUND, bullet, 0.6, MRANDOM(5, 7) / 10,true)
  922. local HIT = false
  923. local harm = bullet.Touched:Connect(function(hit)
  924. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  925. HIT = true
  926. coroutine.resume(coroutine.create(function()
  927. coroutine.resume(coroutine.create(function()
  928. for i = 1, 10 do
  929. Swait()
  930. bullet.Transparency = bullet.Transparency + 0.1
  931. end
  932. end))
  933. bullet.Anchored = true
  934. bullet.CanCollide = false
  935. sparks.Enabled = false
  936. local sparks2 = CreateParticles(bullet,VT(0,0,0),0,150,"Solid",true,true,15)
  937. loop.Volume = 3
  938. CreateSound(BULLETIMPACTSOUND, bullet, 6, MRANDOM(5,7) / 10,false)
  939. for i = 1, 50 do
  940. Swait()
  941. succnearest(bullet.Position,25,100,true)
  942. end
  943. sparks2.Enabled = false
  944. for i = 1, 10 do
  945. Swait()
  946. loop.Volume = loop.Volume - (3/10)
  947. end
  948. bullet:remove()
  949. end))
  950. end
  951. end)
  952. end
  953.  
  954. function grab()
  955. if Mouse.Target.Parent:FindFirstChild("Torso") then
  956. local targ = Mouse.Target
  957. GRABBED = true
  958. targ.Anchored = true
  959. CUSTOMMOVEMENT = true
  960. grav.position = targ.Position
  961. Swait(50)
  962. if targ then
  963. Swait(5)
  964. targ.Anchored = false
  965. CUSTOMMOVEMENT = false
  966. repeat
  967. Swait()
  968. targ.CFrame = ORB.CFrame
  969. until GRABBED == false or targ == nil
  970. GRABBED = false
  971. end
  972. end
  973. end
  974.  
  975. --//=================================\\
  976. --|| ASSIGN THINGS TO KEYS
  977. --\\=================================//
  978.  
  979. Humanoid.Changed:connect(function(Jump)
  980. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  981. Humanoid.Jump = false
  982. end
  983. end)
  984.  
  985. function MouseDown(Mouse)
  986. if ATTACK == false then
  987. end
  988. end
  989.  
  990. function MouseUp(Mouse)
  991. HOLD = false
  992. end
  993.  
  994. function KeyDown(Key)
  995. if ATTACK == false then
  996. if Key == "e" and VACUUM == false and FLIGHT == false and GRABBED == false then
  997. Warp()
  998. end
  999. if Key == "z" and VACUUM == false and GRABBED == false then
  1000. if FLIGHT == false then
  1001. FLIGHT = true
  1002. StartFlight()
  1003. elseif FLIGHT == true then
  1004. FLIGHT = false
  1005. end
  1006. end
  1007. if Key == "h" then
  1008. shootbullet()
  1009. end
  1010. if Key == "]" then
  1011. shoottoughbullet()
  1012. end
  1013. if Key == "c" and VACUUM == false then
  1014. if GRABBED == false then
  1015. grab()
  1016. elseif GRABBED == true then
  1017. GRABBED = false
  1018. end
  1019. end
  1020. if Key == "x" then
  1021. if VACUUM == false then
  1022. VACUUM = true
  1023. Vacuum()
  1024. elseif VACUUM == true then
  1025. VACUUM = false
  1026. end
  1027. end
  1028. end
  1029. end
  1030.  
  1031. function KeyUp(Key)
  1032. end
  1033.  
  1034. Mouse.Button1Down:connect(function(NEWKEY)
  1035. MouseDown(NEWKEY)
  1036. end)
  1037. Mouse.Button1Up:connect(function(NEWKEY)
  1038. MouseUp(NEWKEY)
  1039. end)
  1040. Mouse.KeyDown:connect(function(NEWKEY)
  1041. KeyDown(NEWKEY)
  1042. end)
  1043. Mouse.KeyUp:connect(function(NEWKEY)
  1044. KeyUp(NEWKEY)
  1045. end)
  1046.  
  1047. --//=================================\\
  1048. --\\=================================//
  1049.  
  1050.  
  1051. function unanchor()
  1052. if UNANCHOR == true then
  1053. g = Character:GetChildren()
  1054. for i = 1, #g do
  1055. if g[i].ClassName == "Part" then
  1056. g[i].Anchored = false
  1057. end
  1058. end
  1059. end
  1060. end
  1061.  
  1062.  
  1063. --//=================================\\
  1064. --|| WRAP THE WHOLE SCRIPT UP
  1065. --\\=================================//
  1066.  
  1067. Humanoid.Changed:connect(function(Jump)
  1068. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1069. Humanoid.Jump = false
  1070. end
  1071. end)
  1072.  
  1073. local loop = 0
  1074. local aaa = 1/2
  1075. local loop2 = 0
  1076.  
  1077. while true do
  1078. Swait()
  1079. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1080. SINE = SINE + CHANGE
  1081. if #Effects2>0 then
  1082. for e=1,#Effects2 do
  1083. if Effects2[e]~=nil then
  1084. local Thing=Effects2[e]
  1085. if Thing~=nil then
  1086. local Part=Thing[1]
  1087. local Mode=Thing[2]
  1088. local Delay=Thing[3]
  1089. local IncX=Thing[4]
  1090. local IncY=Thing[5]
  1091. local IncZ=Thing[6]
  1092. local Part2=Thing[8]
  1093. if Thing[1].Transparency<=1 then
  1094. if Thing[2]=="Block1" then
  1095. Thing[1].CFrame=Thing[1].CFrame
  1096. Mesh=Thing[1].Mesh
  1097. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1098. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1099. elseif Thing[2]=="Cylinder" then
  1100. Mesh=Thing[1].Mesh
  1101. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1102. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1103. elseif Thing[2]=="Blood" then
  1104. Mesh=Thing[7]
  1105. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1106. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1107. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1108. elseif Thing[2]=="Elec" then
  1109. Mesh=Thing[1].Mesh
  1110. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1111. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1112. elseif Thing[2]=="Disappear" then
  1113. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1114. end
  1115. else
  1116. Part.Parent=nil
  1117. table.remove(Effects2,e)
  1118. end
  1119. end
  1120. end
  1121. end
  1122. end
  1123. unanchor()
  1124. Humanoid.MaxHealth = "inf"
  1125. Humanoid.Health = "inf"
  1126. if Rooted == false then
  1127. Disable_Jump = false
  1128. Humanoid.WalkSpeed = Speed
  1129. elseif Rooted == true then
  1130. Disable_Jump = true
  1131. Humanoid.WalkSpeed = 0
  1132. end
  1133. if CUSTOMMOVEMENT == false then
  1134. loop = loop + aaa
  1135. grav.position = RootPart.CFrame*CF(4,1+loop/10,1).p
  1136. if loop == 45/2 then
  1137. aaa = -1/2
  1138. elseif loop == -15/2 then
  1139. aaa = 1/2
  1140. end
  1141. else
  1142. end
  1143. if PLAYINGMUSIC == true then
  1144. Orbmesh.Scale = VT(X+SOUND.PlaybackLoudness/70,Y+SOUND.PlaybackLoudness/70,Z+SOUND.PlaybackLoudness/70)
  1145. else
  1146. Orbmesh.Scale = VT(X,Y,Z)
  1147. end
  1148. ORB.Anchored = false
  1149. end
  1150.  
  1151. --//=================================\\
  1152. --\\=================================//
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. --//====================================================\\--
  1159. --|| END OF SCRIPT
  1160. --\\====================================================//--
Add Comment
Please, Sign In to add comment