Advertisement
marioisdabomb

op script killer

Dec 1st, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.82 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = game:GetService("Players").LocalPlayer
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84. local p = game.Players.LocalPlayer--300899323
  85. local char = p.Character
  86. local mouse = p:GetMouse()
  87. local larm = char["Left Arm"]
  88. local rarm = char["Right Arm"]
  89. local lleg = char["Left Leg"]
  90. local rleg = char["Right Leg"]
  91. local hed = char.Head
  92. local torso = char.Torso
  93. local hum = char.Humanoid
  94. local cam = game.Workspace.CurrentCamera
  95. local root = char.HumanoidRootPart
  96. local rj = root.RootJoint
  97. local deb = false
  98. local shot = 0
  99. local stanceToggle = "Idle1"
  100. local l = game:GetService("Lighting")
  101. local rs = game:GetService("RunService").RenderStepped
  102. local hb = game:GetService("RunService").Heartbeat
  103. local Stepped = game:GetService("RunService").Stepped
  104. math.randomseed(os.time())
  105. local Transforming = true
  106. hum.WalkSpeed = 0
  107. local fx = Instance.new("Part",torso)
  108. wit = Color3.fromRGB(255, 255, 255), Color3.fromRGB(255, 215, 0)
  109. wit2 = Color3.fromRGB(255,215,0)
  110. local glowz = Instance.new("ParticleEmitter",fx)
  111. glowz.LightEmission = 1
  112. glowz.Texture = "rbxassetid://280516525"
  113. glowz.Color = ColorSequence.new(Color3.fromRGB(255, 255, 255),Color3.fromRGB(255, 215, 0))
  114. glowz.Size = NumberSequence.new(5)
  115. glowz.Speed = NumberRange.new(25,50)
  116. glowz.LockedToPart = false
  117. glowz.Transparency = NumberSequence.new(0.75)
  118. glowz.RotSpeed = NumberRange.new(-2000,2000)
  119. glowz.Lifetime = NumberRange.new(1)
  120. glowz.Rate = 5000
  121. glowz.VelocitySpread = 9001
  122. fx.Anchored = true
  123. fx.Material = "Glass"
  124. fx.CanCollide = false
  125. fx.Locked = true
  126. fx.Transparency = 1
  127. fx.Material = "Glass"
  128. fx.Size = Vector3.new(1,1,1)
  129. fx.TopSurface = "SmoothNoOutlines"
  130. fx.BottomSurface = "SmoothNoOutlines"
  131. fx.BrickColor = BrickColor.new("Gold")
  132. fxm = Instance.new("SpecialMesh",fx)
  133. fxm.MeshType = "Sphere"
  134. local sa2 = Instance.new("Sound",torso)
  135. sa2.SoundId = "rbxassetid://1028743442"
  136. sa2.Pitch = 0.5
  137. sa2.Volume = 5
  138. sa2.Looped = false
  139. sa2:Play()
  140. local value = 1
  141. fxm.Scale = Vector3.new(1,1,1)
  142. for i = 1, 20 do rs:wait()
  143. value = value - 0.05
  144. fx.Transparency = fx.Transparency - (1/20)
  145. fx.CFrame = torso.CFrame
  146. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  147. rs:wait()
  148. end
  149. ----------------------------------------------------
  150. GroundWave1 = function()
  151. local Transforming = true
  152. hum.WalkSpeed = 0
  153. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  154. local Colors = {"White", "Gold"}
  155. local wave = Instance.new("Part", torso)
  156. wave.BrickColor = BrickColor.new(Gold)
  157. wave.Anchored = true
  158. wave.CanCollide = false
  159. wave.Locked = true
  160. wave.Size = Vector3.new(1, 1, 1)
  161. wave.TopSurface = "Smooth"
  162. wave.BottomSurface = "Smooth"
  163. wave.Transparency = 0.35
  164. wave.CFrame = HandCF
  165. wm = Instance.new("SpecialMesh", wave)
  166. wm.MeshId = "rbxassetid://3270017"
  167. coroutine.wrap(function()
  168. for i = 1, 30, 1 do
  169. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  170. wave.Size = wm.Scale
  171. wave.CFrame = HandCF
  172. wave.Transparency = i/30
  173. wait()
  174. end
  175. wait()
  176. wave:Destroy()
  177. end)()
  178. end
  179. ----------------------------------------------------
  180. GroundWave = function()
  181. if Transforming == true then
  182. local value = 5
  183. local value2 = 10
  184. local value3 = 20
  185. local sa2 = Instance.new("Sound",torso)
  186. sa2.SoundId = "rbxassetid://413682983"
  187. sa2.Pitch = 1
  188. sa2.Volume = 10
  189. sa2.Looped = false
  190. sa2:Play()
  191. local wave = Instance.new("Part", torso)
  192. local glowz = Instance.new("ParticleEmitter",wave)
  193. glowz.LightEmission = 1
  194. glowz.Texture = "0"
  195. glowz.Color = ColorSequence.new(Color3.fromRGB(255, 255, 255), Color3.fromRGB(255, 215, 0))
  196. glowz.Size = NumberSequence.new(30)
  197. glowz.Speed = NumberRange.new(25,100)
  198. glowz.LockedToPart = false
  199. glowz.Transparency = NumberSequence.new(0.75)
  200. glowz.RotSpeed = NumberRange.new(-2000,2000)
  201. glowz.Lifetime = NumberRange.new(1)
  202. glowz.Rate = 5000
  203. glowz.VelocitySpread = 9001
  204.  
  205. wave.BrickColor = BrickColor.new("White")
  206. wave.Anchored = true
  207. wave.CanCollide = false
  208. wave.Locked = true
  209. wave.Size = Vector3.new(1, 1, 1)
  210. wave.TopSurface = "Smooth"
  211. wave.BottomSurface = "Smooth"
  212. wave.Transparency = 0.35
  213. wave.CFrame = fx.CFrame
  214. wave.Material = "Glass"
  215. wm = Instance.new("SpecialMesh", wave)
  216. wm.MeshType = "Sphere"
  217. wm.Scale = Vector3.new(1,1,1)
  218. local wave2 = Instance.new("Part", torso)
  219. wave2.BrickColor = BrickColor.new("Gold")
  220. wave2.Anchored = true
  221. wave2.CanCollide = false
  222. wave2.Locked = true
  223. wave2.Size = Vector3.new(1, 1, 1)
  224. wave2.TopSurface = "Smooth"
  225. wave2.BottomSurface = "Smooth"
  226. wave2.Transparency = 0.35
  227. wave2.CFrame = fx.CFrame
  228. wave2.Material = "Glass"
  229. wm2 = Instance.new("SpecialMesh", wave2)
  230. wm2.MeshType = "FileMesh"
  231. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  232. wm2.Scale = Vector3.new(1,1,1)
  233. local wave3 = Instance.new("Part", torso)
  234. wave3.BrickColor = BrickColor.new("Gold")
  235. wave3.Anchored = true
  236. wave3.CanCollide = false
  237. wave3.Locked = true
  238. wave3.Size = Vector3.new(1, 1, 1)
  239. wave3.TopSurface = "Smooth"
  240. wave3.BottomSurface = "Smooth"
  241. wave3.Transparency = 0.35
  242. wave3.CFrame = fx.CFrame
  243. wave3.Material = "Glass"
  244. wm3 = Instance.new("SpecialMesh", wave3)
  245. wm3.MeshType = "FileMesh"
  246. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  247. wm3.Scale = Vector3.new(1,1,1)
  248. coroutine.wrap(function()
  249. for i = 1, 18, 1 do
  250. value = value - 0.5
  251. value2 = value2 - 0.75*1.5
  252. value3 = value3 - 0.475*1.5
  253. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  254. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  255. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  256. --wave.Size = wm.Scale
  257. wave.CFrame = fx.CFrame
  258. wave.Transparency = i/14
  259. --wave2.Size = wm2.Scale
  260. wave2.CFrame = fx.CFrame
  261. wave2.Rotation = Vector3.new(90, 0, 0)
  262. wave2.Transparency = i/14
  263. --wave3.Size = wm3.Scale
  264. wave3.CFrame = fx.CFrame
  265. wave3.Rotation = Vector3.new(90, 0, 0)
  266. wave3.Transparency = i/14
  267. wait()
  268. glowz.Rate = 0
  269.  
  270. end
  271. wait()
  272. wave:Destroy()
  273. wave2:Destroy()
  274. wave3:Destroy()
  275. end)()
  276. elseif Transforming == false then
  277. wait()
  278. end
  279. end
  280.  
  281. for i = 1, 100 do rs:wait()
  282. fx.CFrame = torso.CFrame
  283. end
  284.  
  285. Spawn(function()
  286. while wait(1) do
  287. GroundWave()
  288. end
  289. end)
  290.  
  291. wait(4)
  292.  
  293. Transforming = false
  294.  
  295. local value2 = 1
  296. for i = 1, 20 do rs:wait()
  297. value2 = value2 - 0.05
  298. glowz.Rate = 0
  299.  
  300. fx.Transparency = fx.Transparency + (1/20)
  301. fx.CFrame = torso.CFrame
  302. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  303. rs:wait()
  304. end
  305. glowz:Destroy()
  306.  
  307.  
  308. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  309. local valuer = 5
  310. local valuer2 = 10
  311. local valuer3 = 15
  312. local sa2 = Instance.new("Sound",torso)
  313. sa2.SoundId = "rbxassetid://130972023"
  314. sa2.Pitch = 1
  315. sa2.Volume = 5
  316. sa2.Looped = false
  317. sa2:Play()
  318. local sar2 = Instance.new("Sound",torso)
  319. sar2.SoundId = "rbxassetid://153274423"
  320. sar2.Pitch = 1
  321. sar2.Volume = 5
  322. sar2.Looped = false
  323. sar2:Play()
  324. local wave = Instance.new("Part", torso)
  325. wave.BrickColor = BrickColor.new("Gold")
  326. wave.Anchored = true
  327. wave.CanCollide = false
  328. wave.Locked = true
  329. wave.Size = Vector3.new(1, 1, 1)
  330. wave.TopSurface = "Smooth"
  331. wave.BottomSurface = "Smooth"
  332. wave.Transparency = 0.35
  333. wave.CFrame = HandCF
  334. wm = Instance.new("SpecialMesh", wave)
  335. wm.MeshId = "rbxassetid://3270017"
  336. local wave2 = Instance.new("Part", torso)
  337. wave2.BrickColor = BrickColor.new("White")
  338. wave2.Anchored = true
  339. wave2.CanCollide = false
  340. wave2.Locked = true
  341. wave2.Size = Vector3.new(1, 1, 1)
  342. wave2.TopSurface = "Smooth"
  343. wave2.BottomSurface = "Smooth"
  344. wave2.Transparency = 0.35
  345. wave2.CFrame = HandCF
  346. wm2 = Instance.new("SpecialMesh", wave2)
  347. wm2.MeshId = "rbxassetid://3270017"
  348. local wave3 = Instance.new("Part", torso)
  349. wave3.BrickColor = BrickColor.new("Gold")
  350. wave3.Anchored = true
  351. wave3.CanCollide = false
  352. wave3.Locked = true
  353. wave3.Size = Vector3.new(1, 1, 1)
  354. wave3.TopSurface = "Smooth"
  355. wave3.BottomSurface = "Smooth"
  356. wave3.Transparency = 0.35
  357. wave3.CFrame = HandCF
  358. wm3 = Instance.new("SpecialMesh", wave3)
  359. wm3.MeshId = "rbxassetid://3270017"
  360. coroutine.wrap(function()
  361. for i = 1, 14, 1 do
  362. valuer = valuer - 0.35
  363. valuer2 = valuer - 0.45
  364. valuer3 = valuer3 - 0.475
  365. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  366. wave.Size = wm.Scale
  367. wave.CFrame = HandCF
  368. wave.Transparency = i/14
  369. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  370. wave2.Size = wm2.Scale
  371. wave2.CFrame = HandCF
  372. wave2.Transparency = i/14
  373. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  374. wave3.Size = wm2.Scale
  375. wave3.CFrame = HandCF
  376. wave3.Transparency = i/14
  377. wait()
  378. end
  379. wait()
  380. wave:Destroy()
  381. wave2:Destroy()
  382. end)()
  383. hum.WalkSpeed = 16
  384.  
  385. CV="White"
  386.  
  387. p = game.Players.LocalPlayer
  388. char = p.Character
  389. local txt = Instance.new("BillboardGui", char)
  390. txt.Adornee = char .Head
  391. txt.Name = "_status"
  392. txt.Size = UDim2.new(2, 0, 1.2, 0)
  393. txt.StudsOffset = Vector3.new(-9, 8, 0)
  394. local text = Instance.new("TextLabel", txt)
  395. text.Size = UDim2.new(10, 0, 7, 0)
  396. text.FontSize = "Size24"
  397. text.TextScaled = true
  398. text.TextTransparency = 0
  399. text.BackgroundTransparency = 1
  400. text.TextTransparency = 0
  401. text.TextStrokeTransparency = 1
  402. text.Font = "Arcade"
  403. text.TextStrokeColor3 = Color3.fromRGB(255,0,255)
  404.  
  405. v=Instance.new("Part")
  406. v.Name = "ColorBrick"
  407. v.Parent=p.Character
  408. v.FormFactor="Symmetric"
  409. v.Anchored=true
  410. v.CanCollide=false
  411. v.BottomSurface="Smooth"
  412. v.TopSurface="Smooth"
  413. v.Size=Vector3.new(10,5,3)
  414. v.Transparency=1
  415. v.CFrame=char.Torso.CFrame
  416. v.BrickColor=BrickColor.new(CV)
  417. v.Transparency=1
  418. text.TextColor3 = Color3.fromRGB(255, 215, 0)
  419. v.Shape="Block"
  420. text.Text = "Prepare"
  421. coroutine.wrap(function()
  422. while wait() do
  423. wait(3)
  424. text.Text = "The Holy Vacuum"
  425. end
  426. end)()
  427.  
  428. --//====================================================\\--
  429. --|| CREATED BY SHACKLUSTER
  430. --\\====================================================//--
  431.  
  432.  
  433.  
  434. wait(0.2)
  435.  
  436.  
  437.  
  438. Player = game:GetService("Players").LocalPlayer
  439. PlayerGui = Player.PlayerGui
  440. Cam = workspace.CurrentCamera
  441. Backpack = Player.Backpack
  442. Character = Player.Character
  443. Humanoid = Character.Humanoid
  444. Mouse = Player:GetMouse()
  445. RootPart = Character["HumanoidRootPart"]
  446. Torso = Character["Torso"]
  447. Head = Character["Head"]
  448. RightArm = Character["Right Arm"]
  449. LeftArm = Character["Left Arm"]
  450. RightLeg = Character["Right Leg"]
  451. LeftLeg = Character["Left Leg"]
  452. RootJoint = RootPart["RootJoint"]
  453. Neck = Torso["Neck"]
  454. RightShoulder = Torso["Right Shoulder"]
  455. LeftShoulder = Torso["Left Shoulder"]
  456. RightHip = Torso["Right Hip"]
  457. LeftHip = Torso["Left Hip"]
  458. local sick = Instance.new("Sound",Torso)
  459. sick.SoundId = "rbxassetid://319444224"
  460. sick.Looped = true
  461. sick.Pitch = 1
  462. sick.Volume = 1
  463. local succing = {}
  464.  
  465. IT = Instance.new
  466. CF = CFrame.new
  467. VT = Vector3.new
  468. RAD = math.rad
  469. C3 = Color3.new
  470. UD2 = UDim2.new
  471. BRICKC = BrickColor.new
  472. ANGLES = CFrame.Angles
  473. EULER = CFrame.fromEulerAnglesXYZ
  474. COS = math.cos
  475. ACOS = math.acos
  476. SIN = math.sin
  477. ASIN = math.asin
  478. ABS = math.abs
  479. MRANDOM = math.random
  480. FLOOR = math.floor
  481.  
  482. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  483. local NEWMESH = IT(MESH)
  484. if MESH == "SpecialMesh" then
  485. NEWMESH.MeshType = MESHTYPE
  486. if MESHID ~= "nil" and MESHID ~= "" then
  487. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  488. end
  489. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  490. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  491. end
  492. end
  493. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  494. NEWMESH.Scale = SCALE
  495. NEWMESH.Parent = PARENT
  496. return NEWMESH
  497. end
  498.  
  499. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  500. local NEWPART = IT("Part")
  501. NEWPART.formFactor = FORMFACTOR
  502. NEWPART.Reflectance = REFLECTANCE
  503. NEWPART.Transparency = TRANSPARENCY
  504. NEWPART.CanCollide = false
  505. NEWPART.Locked = true
  506. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  507. NEWPART.Name = NAME
  508. NEWPART.Size = SIZE
  509. NEWPART.Position = Torso.Position
  510. NEWPART.Material = MATERIAL
  511. NEWPART:BreakJoints()
  512. NEWPART.Parent = PARENT
  513. return NEWPART
  514. end
  515.  
  516.  
  517. --//=================================\\
  518. --|| CUSTOMIZATION
  519. --\\=================================//
  520.  
  521. Class_Name = "Template"
  522. Weapon_Name = "Add-ons"
  523.  
  524. Custom_Colors = {
  525. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  526. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  527.  
  528. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  529. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  530. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  531. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  532. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  533.  
  534. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  535. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  536. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  537. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  538. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  539. }
  540.  
  541.  
  542. Player_Size = 1 --Size of the player.
  543. Animation_Speed = 3
  544. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  545.  
  546. local Speed = 16
  547. local Effects2 = {}
  548.  
  549. --//=================================\\
  550. --|| END OF CUSTOMIZATION
  551. --\\=================================//
  552.  
  553. local function weldBetween(a, b)
  554. local weldd = Instance.new("ManualWeld")
  555. weldd.Part0 = a
  556. weldd.Part1 = b
  557. weldd.C0 = CFrame.new()
  558. weldd.C1 = b.CFrame:inverse() * a.CFrame
  559. weldd.Parent = a
  560. return weldd
  561. end
  562.  
  563. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  564. local acs = Instance.new("Part")
  565. acs.CanCollide = false
  566. acs.Anchored = false
  567. acs.Size = Vector3.new(0,0,0)
  568. acs.CFrame = attachmentpart.CFrame
  569. acs.Parent = Character
  570. acs.BrickColor = color
  571. local meshs = Instance.new("SpecialMesh")
  572. meshs.MeshId = mesh
  573. meshs.TextureId = texture
  574. meshs.Parent = acs
  575. meshs.Scale = scale
  576. meshs.Offset = offset
  577. weldBetween(attachmentpart,acs)
  578. end
  579.  
  580. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  581. if TYPE == "Gem" then
  582. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  583. acs.Anchored = false
  584. acs.CanCollide = false
  585. acs.CFrame = PART.CFrame
  586. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  587. weldBetween(PART,acs)
  588. elseif TYPE == "Skull" then
  589. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  590. acs.Anchored = false
  591. acs.CanCollide = false
  592. acs.CFrame = PART.CFrame
  593. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  594. weldBetween(PART,acs)
  595. elseif TYPE == "Eye" then
  596. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  597. acs.Anchored = false
  598. acs.CanCollide = false
  599. acs.CFrame = PART.CFrame
  600. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  601. weldBetween(PART,acs)
  602. end
  603. end
  604.  
  605. --//=================================\\
  606. --|| USEFUL VALUES
  607. --\\=================================//
  608.  
  609. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  610. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  611. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  612. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  613. local CO1 = 0
  614. local CO2 = 0
  615. local CO3 = 0
  616. local CO4 = 0
  617. local CHANGEDEFENSE = 0
  618. local CHANGEDAMAGE = 0
  619. local CHANGEMOVEMENT = 0
  620. local ANIM = "Idle"
  621. local ATTACK = false
  622. local EQUIPPED = false
  623. local HOLD = false
  624. local COMBO = 1
  625. local LASTPOINT = nil
  626. local BLCF = nil
  627. local SCFR = nil
  628. local STAGGERHITANIM = false
  629. local STAGGERANIM = false
  630. local STUNANIM = false
  631. local CRITCHANCENUMBER = 0
  632. local IDLENUMBER = 0
  633. local DONUMBER = 0
  634. local HANDIDLE = false
  635. local SINE = 0
  636. local CHANGE = 2 / Animation_Speed
  637. local WALKINGANIM = false
  638. local WALK = 0
  639. local DISABLEJUMPING = false
  640. local HASBEENBLOCKED = false
  641. local STUNDELAYNUMBER = 0
  642. local MANADELAYNUMBER = 0
  643. local SECONDARYMANADELAYNUMBER = 0
  644. local ROBLOXIDLEANIMATION = IT("Animation")
  645. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  646. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  647. --ROBLOXIDLEANIMATION.Parent = Humanoid
  648. local WEAPONGUI = IT("ScreenGui", nil)
  649. WEAPONGUI.Name = "Weapon GUI"
  650. local WEAPONTOOL = IT("HopperBin", nil)
  651. WEAPONTOOL.Name = Weapon_Name
  652. local Weapon = IT("Model")
  653. Weapon.Name = Weapon_Name
  654. local Effects = IT("Folder", Weapon)
  655. Effects.Name = "Effects"
  656. local ANIMATOR = Humanoid.Animator
  657. local ANIMATE = Character.Animate
  658. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  659. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  660. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  661. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  662. local UNANCHOR = true
  663. local MAGICPARTICLE = "655109389"
  664.  
  665. --//=================================\\
  666. --\\=================================//
  667.  
  668.  
  669. --//=================================\\
  670. --|| DEBUFFS / BUFFS
  671. --\\=================================//
  672.  
  673. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  674. DEFENSECHANGE1.Name = "ChangeDefense"
  675. DEFENSECHANGE1.Value = 0
  676.  
  677. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  678. MOVEMENTCHANGE1.Name = "ChangeMovement"
  679. MOVEMENTCHANGE1.Value = 0
  680.  
  681. --//=================================\\
  682. --\\=================================//
  683.  
  684.  
  685.  
  686.  
  687.  
  688. --//=================================\\
  689. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  690. --\\=================================//
  691.  
  692. ArtificialHB = Instance.new("BindableEvent", script)
  693. ArtificialHB.Name = "ArtificialHB"
  694.  
  695. script:WaitForChild("ArtificialHB")
  696.  
  697. frame = Frame_Speed
  698. tf = 0
  699. allowframeloss = false
  700. tossremainder = false
  701. lastframe = tick()
  702. script.ArtificialHB:Fire()
  703.  
  704. game:GetService("RunService").Heartbeat:connect(function(s, p)
  705. tf = tf + s
  706. if tf >= frame then
  707. if allowframeloss then
  708. script.ArtificialHB:Fire()
  709. lastframe = tick()
  710. else
  711. for i = 1, math.floor(tf / frame) do
  712. script.ArtificialHB:Fire()
  713. end
  714. lastframe = tick()
  715. end
  716. if tossremainder then
  717. tf = 0
  718. else
  719. tf = tf - frame * math.floor(tf / frame)
  720. end
  721. end
  722. end)
  723.  
  724. --//=================================\\
  725. --\\=================================//
  726.  
  727.  
  728.  
  729.  
  730.  
  731. --//=================================\\
  732. --|| SOME FUNCTIONS
  733. --\\=================================//
  734.  
  735. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  736. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  737. end
  738.  
  739. function PositiveAngle(NUMBER)
  740. if NUMBER >= 0 then
  741. NUMBER = 0
  742. end
  743. return NUMBER
  744. end
  745.  
  746. function NegativeAngle(NUMBER)
  747. if NUMBER <= 0 then
  748. NUMBER = 0
  749. end
  750. return NUMBER
  751. end
  752.  
  753. function Swait(NUMBER)
  754. if NUMBER == 0 or NUMBER == nil then
  755. ArtificialHB.Event:wait()
  756. else
  757. for i = 1, NUMBER do
  758. ArtificialHB.Event:wait()
  759. end
  760. end
  761. end
  762.  
  763. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  764. local label = IT("TextLabel")
  765. label.BackgroundTransparency = 1
  766. label.Size = UD2(1, 0, 1, 0)
  767. label.Position = UD2(0, 0, 0, 0)
  768. label.TextColor3 = C3(255, 255, 255)
  769. label.TextStrokeTransparency = STROKETRANSPARENCY
  770. label.TextTransparency = TRANSPARENCY
  771. label.FontSize = TEXTFONTSIZE
  772. label.Font = TEXTFONT
  773. label.BorderSizePixel = BORDERSIZEPIXEL
  774. label.TextScaled = true
  775. label.Text = TEXT
  776. label.Name = NAME
  777. label.Parent = PARENT
  778. return label
  779. end
  780.  
  781. function NoOutlines(PART)
  782. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  783. end
  784.  
  785.  
  786. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  787. local NEWWELD = IT(TYPE)
  788. NEWWELD.Part0 = PART0
  789. NEWWELD.Part1 = PART1
  790. NEWWELD.C0 = C0
  791. NEWWELD.C1 = C1
  792. NEWWELD.Parent = PARENT
  793. return NEWWELD
  794. end
  795.  
  796. function CreateSound(ID, PARENT, VOLUME, PITCH)
  797. local NEWSOUND = nil
  798. coroutine.resume(coroutine.create(function()
  799. NEWSOUND = IT("Sound", PARENT)
  800. NEWSOUND.Volume = VOLUME
  801. NEWSOUND.Pitch = PITCH
  802. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  803. Swait()
  804. NEWSOUND:play()
  805. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  806. end))
  807. return NEWSOUND
  808. end
  809.  
  810. --//=================================\\
  811. --\\=================================//
  812.  
  813.  
  814. --//=================================\\
  815. --|| WEAPON CREATION
  816. --\\=================================//
  817.  
  818. if Player_Size ~= 1 then
  819. for _, v in pairs (Weapon:GetChildren()) do
  820. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  821. local p1 = v.Part1
  822. v.Part1 = nil
  823. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  824. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  825. v.Part1 = p1
  826. elseif v.ClassName == "Part" then
  827. for _, b in pairs (v:GetChildren()) do
  828. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  829. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  830. end
  831. end
  832. end
  833. end
  834. end
  835.  
  836. for _, c in pairs(Weapon:GetChildren()) do
  837. if c.ClassName == "Part" then
  838. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  839. end
  840. end
  841.  
  842. Weapon.Parent = Character
  843.  
  844. Humanoid.Died:connect(function()
  845. ATTACK = true
  846. end)
  847.  
  848. print(Class_Name.." loaded.")
  849.  
  850. --//=================================\\
  851. --\\=================================//
  852.  
  853.  
  854. local backpack = IT("Part",Weapon)
  855. backpack.Size = VT(0.15,0.15,0.15)
  856. local mesh = IT("SpecialMesh",backpack)
  857. mesh.MeshId = "rbxassetid://84313478"
  858. mesh.TextureId = "http://www.roblox.com/asset/?id=84313638"
  859. backpack.CFrame = Torso.CFrame * CF(0,0.2,1)
  860. backpack.BrickColor = BRICKC("Black")
  861. weldBetween(Torso,backpack)
  862.  
  863. local hose = IT("Part",Weapon)
  864. hose.Size = VT(0.15,0.15,0.15)
  865. local mesh = IT("SpecialMesh",hose)
  866. mesh.MeshId = "http://www.roblox.com/asset/?id=84313555"
  867. mesh.TextureId = "http://www.roblox.com/asset/?id=84313638"
  868. mesh.Scale = VT(2,2,2)
  869. mesh.Offset = VT(0, -0.4, -0.7)
  870. hose.CFrame = Torso.CFrame * CF(1.5,0.5,0.2) * ANGLES(RAD(90),RAD(35),RAD(180))
  871. hose.BrickColor = BRICKC("Black")
  872. weldBetween(Torso,hose)
  873.  
  874. local succ = IT("Part",Weapon)
  875. succ.Size = VT(2,2,2)
  876. succ.CanCollide = false
  877. succ.CFrame = Torso.CFrame * CF(1.5,1.3,-4) * ANGLES(RAD(90),RAD(0),RAD(180))
  878. succ.Transparency = 1
  879. succ.BrickColor = BRICKC("Gold")
  880. weldBetween(Torso,succ)
  881.  
  882. for _, c in pairs(Weapon:GetChildren()) do
  883. if c.ClassName == "Part" then
  884. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  885. end
  886. end
  887.  
  888. local EyeSizes={
  889. NumberSequenceKeypoint.new(0,0.5,0),
  890. NumberSequenceKeypoint.new(1,0.2,0)
  891. }
  892. local EyeTrans={
  893. NumberSequenceKeypoint.new(0,0,0),
  894. NumberSequenceKeypoint.new(1,1,0)
  895. }
  896. local PE=Instance.new("ParticleEmitter")
  897. PE.LightEmission=0.3
  898. PE.Size=NumberSequence.new(EyeSizes)
  899. PE.Transparency=NumberSequence.new(EyeTrans)
  900. PE.Rotation=NumberRange.new(0,360)
  901. PE.LockedToPart = false
  902. PE.Speed = NumberRange.new(0,0,0)
  903. PE.ZOffset = 0.3
  904. PE.Rate = 999
  905. PE.VelocitySpread = 25
  906. PE.Name = "Particles"
  907.  
  908. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  909. local particle = nil
  910. coroutine.resume(coroutine.create(function(PART)
  911. particle = PE:Clone()
  912. Swait()
  913. particle.Rate = 999
  914. particle.Parent = art
  915. particle.Acceleration = accel
  916. if type == "Fire" then
  917. local EyeSizes={
  918. NumberSequenceKeypoint.new(0,size,size/2),
  919. NumberSequenceKeypoint.new(1,size/4,size/8)
  920. }
  921. particle.Size = NumberSequence.new(EyeSizes)
  922. elseif type == "Smoke" then
  923. local EyeSizes={
  924. NumberSequenceKeypoint.new(0,size/5,0),
  925. NumberSequenceKeypoint.new(1,size*2,0.5)
  926. }
  927. particle.Size = NumberSequence.new(EyeSizes)
  928. elseif type == "Solid" then
  929. local EyeSizes={
  930. NumberSequenceKeypoint.new(0,size,0),
  931. NumberSequenceKeypoint.new(1,size,0)
  932. }
  933. particle.Size = NumberSequence.new(EyeSizes)
  934. end
  935. particle.Lifetime=NumberRange.new(lifetime)
  936. particle.Drag = drag
  937. if locked == true then
  938. particle.LockedToPart = true
  939. end
  940. particle.Speed = NumberRange.new(speed*0.8,speed)
  941. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  942. particle.Enabled = isenabledbydefault
  943. particle.Color = ColorSequence.new(Color3.fromRGB(255, 215, 0))
  944. end))
  945. return particle
  946. end
  947.  
  948. local poop = CreateParticles(succ,VT(0,0,0),5,2,"Smoke",false,false,5,35)
  949. local poop2 = CreateParticles(succ,VT(0,0,0),5,1,"Smoke",false,false,2,15)
  950.  
  951. --//=================================\\
  952. --|| DAMAGING
  953. --\\=================================//
  954.  
  955. function succnearest(position,range)
  956. for i,v in ipairs(workspace:GetChildren()) do
  957. local body = v:GetChildren()
  958. for part = 1, #body do
  959. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  960. if(body[part].Position - position).Magnitude < range then
  961. local bv = Instance.new("BodyVelocity")
  962. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  963. bv.velocity = CF(body[part].Position,succ.Position).lookVector*80
  964. bv.Parent = body[part]
  965. bv.Name = "SUCC"
  966. game:GetService("Debris"):AddItem(bv, 0.1)
  967. end
  968. end
  969. end
  970. if v.ClassName == "Part" then
  971. if v.Anchored == false and (v.Position - position).Magnitude < range then
  972. local bv = Instance.new("BodyVelocity")
  973. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  974. bv.velocity = CF(v.Position,succ.Position).lookVector*80
  975. bv.Parent = v
  976. bv.Name = "SUCC"
  977. game:GetService("Debris"):AddItem(bv, 0.1)
  978. end
  979. end
  980. end
  981. end
  982.  
  983. function cover(position,range)
  984. for i,v in ipairs(workspace:GetChildren()) do
  985. local body = v:GetChildren()
  986. for part = 1, #body do
  987. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  988. if(body[part].Position - position).Magnitude < range then
  989. CreateParticles(body[part],VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  990. if v:FindFirstChild("Humanoid") then
  991. v.Humanoid.PlatformStand = true
  992. end
  993. end
  994. end
  995. end
  996. if v.ClassName == "Part" then
  997. if v.Anchored == false and (v.Position - position).Magnitude < range then
  998. CreateParticles(v,VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  999. end
  1000. end
  1001. end
  1002. end
  1003.  
  1004. function cough()
  1005. CreateSound("328460122", succ, 3, 1)
  1006. poop.VelocitySpread = 25
  1007. poop:Emit(150)
  1008. cover(CF(succ.Position)*CF(0,0,-1).p,15)
  1009. end
  1010.  
  1011. --//=================================\\
  1012. --|| ATTACK FUNCTIONS AND STUFF
  1013. --\\=================================//
  1014.  
  1015. function CheckTableForString(Table, String)
  1016. for i, v in pairs(Table) do
  1017. if string.find(string.lower(String), string.lower(v)) then
  1018. return true
  1019. end
  1020. end
  1021. return false
  1022. end
  1023.  
  1024. function CheckIntangible(Hit)
  1025. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1026. if Hit and Hit.Parent then
  1027. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1028. return true
  1029. end
  1030. end
  1031. return false
  1032. end
  1033.  
  1034. Debris = game:GetService("Debris")
  1035.  
  1036. function CastRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1037. local Direction = CFrame.new(StartPos, Vec).lookVector
  1038. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1039. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1040. if RayHit and CheckIntangible(RayHit) then
  1041. if DelayIfHit then
  1042. wait()
  1043. end
  1044. RayHit, RayPos, RayNormal = CastRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1045. end
  1046. return RayHit, RayPos, RayNormal
  1047. end
  1048.  
  1049. function turnto(pos,part)
  1050. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1051. end
  1052.  
  1053. function vacuum()
  1054. sick:Play()
  1055. local nado = IT("Part")
  1056. local mesh = IT("SpecialMesh",nado)
  1057. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  1058. nado.Transparency = 0.5
  1059. nado.CanCollide = false
  1060. nado.Anchored = true
  1061. local loop = 0
  1062. succing = {}
  1063. local harm = succ.Touched:Connect(function(hit)
  1064. if hit.Anchored == false then
  1065. hit:remove()
  1066. CreateSound("261732529", succ, 3, 1)
  1067. poop2:Emit(1)
  1068. end
  1069. end)
  1070. repeat
  1071. Swait()
  1072. loop = loop + 75
  1073. nado.Parent = Effects
  1074. local RayHit,RayPos = CastRay(succ.Position, Mouse.Hit.p, 1000, Character, false)
  1075. local distance = (succ.Position - RayPos).magnitude
  1076. mesh.Scale = VT(distance/12,distance/3.2,distance/12)
  1077. nado.CFrame = CFrame.new(succ.Position, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(-90),RAD(loop),RAD(0))
  1078. turnto(Mouse.Hit.p,RootPart)
  1079. succnearest(RayPos,distance/2.5)
  1080. if RayHit ~= nil then
  1081. if RayHit.Anchored == false then
  1082. local bv = Instance.new("BodyVelocity")
  1083. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1084. bv.velocity = CF(RayHit.Position,succ.Position).lookVector*80
  1085. bv.Parent = RayHit
  1086. bv.Name = "SUCC"
  1087. game:GetService("Debris"):AddItem(bv, 0.1)
  1088. end
  1089. end
  1090. local TotalSuccs = math.ceil(distance / 65)
  1091. local Direction = CFrame.new(RayPos, succ.Position).lookVector
  1092. for i = 1, TotalSuccs do
  1093. local NewPos = (RayPos + (Direction * (distance * (i / TotalSuccs))))
  1094. succnearest(NewPos,distance/(i*2.5))
  1095. end
  1096. until HOLD == false
  1097. if #succing>0 then
  1098. for e=1,#succing do
  1099. if succing[e]~=nil then
  1100. local Thing=succing[e]
  1101. Thing:remove()
  1102. table.remove(succing,e)
  1103. end
  1104. end
  1105. end
  1106. succing = {}
  1107. harm:disconnect()
  1108. nado:remove()
  1109. sick:Stop()
  1110. end
  1111.  
  1112. --//=================================\\
  1113. --|| ASSIGN THINGS TO KEYS
  1114. --\\=================================//
  1115.  
  1116. Humanoid.Changed:connect(function(Jump)
  1117. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1118. Humanoid.Jump = false
  1119. end
  1120. end)
  1121.  
  1122. function MouseDown(Mouse)
  1123. HOLD = true
  1124. vacuum()
  1125. end
  1126.  
  1127. function MouseUp(Mouse)
  1128. HOLD = false
  1129. end
  1130.  
  1131. function KeyDown(Key)
  1132. if Key == "t" and ATTACK == false then
  1133. CreateSound("743953262", Head, 3, 1)
  1134. end
  1135. if Key == "e" and ATTACK == false then
  1136. cough()
  1137. end
  1138. end
  1139.  
  1140. function KeyUp(Key)
  1141. end
  1142.  
  1143. Mouse.Button1Down:connect(function(NEWKEY)
  1144. MouseDown(NEWKEY)
  1145. end)
  1146. Mouse.Button1Up:connect(function(NEWKEY)
  1147. MouseUp(NEWKEY)
  1148. end)
  1149. Mouse.KeyDown:connect(function(NEWKEY)
  1150. KeyDown(NEWKEY)
  1151. end)
  1152. Mouse.KeyUp:connect(function(NEWKEY)
  1153. KeyUp(NEWKEY)
  1154. end)
  1155.  
  1156. --//=================================\\
  1157. --\\=================================//
  1158.  
  1159.  
  1160. function unanchor()
  1161. if UNANCHOR == true then
  1162. g = Character:GetChildren()
  1163. for i = 1, #g do
  1164. if g[i].ClassName == "Part" then
  1165. g[i].Anchored = false
  1166. end
  1167. end
  1168. end
  1169. end
  1170.  
  1171.  
  1172. --//=================================\\
  1173. --|| WRAP THE WHOLE SCRIPT UP
  1174. --\\=================================//
  1175. local Music = Instance.new("Sound")
  1176.  
  1177. Music.Name = "Sound"
  1178. Music.SoundId = "http://roblox.com/asset/?id=200829826"
  1179. Music.Volume = 10
  1180. Music.Looped = true
  1181. Music.Parent = Torso
  1182. Music:play()
  1183.  
  1184.  
  1185. Humanoid.Changed:connect(function(Jump)
  1186. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1187. Humanoid.Jump = false
  1188. end
  1189. end)
  1190.  
  1191. while true do
  1192. Swait()
  1193. if #Effects2>0 then
  1194. for e=1,#Effects2 do
  1195. if Effects2[e]~=nil then
  1196. local Thing=Effects2[e]
  1197. if Thing~=nil then
  1198. local Part=Thing[1]
  1199. local Mode=Thing[2]
  1200. local Delay=Thing[3]
  1201. local IncX=Thing[4]
  1202. local IncY=Thing[5]
  1203. local IncZ=Thing[6]
  1204. local Part2=Thing[8]
  1205. if Thing[1].Transparency<=1 then
  1206. if Thing[2]=="Block1" then
  1207. Thing[1].CFrame=Thing[1].CFrame
  1208. Mesh=Thing[1].Mesh
  1209. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1210. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1211. elseif Thing[2]=="Cylinder" then
  1212. Mesh=Thing[1].Mesh
  1213. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1214. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1215. elseif Thing[2]=="Blood" then
  1216. Mesh=Thing[7]
  1217. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1218. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1219. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1220. elseif Thing[2]=="Elec" then
  1221. Mesh=Thing[1].Mesh
  1222. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1223. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1224. elseif Thing[2]=="Disappear" then
  1225. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1226. end
  1227. else
  1228. Part.Parent=nil
  1229. table.remove(Effects2,e)
  1230. end
  1231. end
  1232. end
  1233. end
  1234. end
  1235. unanchor()
  1236. Humanoid.MaxHealth = "inf"
  1237. Humanoid.Health = "inf"
  1238. if Rooted == false then
  1239. Disable_Jump = false
  1240. Humanoid.WalkSpeed = Speed
  1241. elseif Rooted == true then
  1242. Disable_Jump = true
  1243. Humanoid.WalkSpeed = 0
  1244. end
  1245. if sick == nil then
  1246. sick = Instance.new("Sound",Torso)
  1247. sick.SoundId = "rbxassetid://319444224"
  1248. sick.Looped = true
  1249. sick.Pitch = 1
  1250. sick.Volume = 1
  1251. end
  1252. if #succing>0 then
  1253. for e=1,#succing do
  1254. if succing[e]~=nil then
  1255. local Thing=succing[e]
  1256. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*80
  1257. if HOLD == false then
  1258. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*0
  1259. Thing:remove()
  1260. table.remove(succing,e)
  1261. end
  1262. end
  1263. end
  1264. end
  1265. end
  1266.  
  1267. --//=================================\\
  1268. --\\=================================//
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274. --//====================================================\\--
  1275. --|| END OF SCRIPT
  1276. --\\====================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement