Advertisement
Guest User

Untitled

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