Advertisement
ManOhMan

Untitled

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