Advertisement
ManlyMemeScripter

Untitled

Jun 2nd, 2018
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.61 KB | None | 0 0
  1. user = "THECREATOR20029"
  2.  
  3. if script.Parent.className ~= "HopperBin" then
  4. bin = Instance.new("HopperBin")
  5. bin.Parent = game.Players[user].Backpack
  6. bin.Name = "Kirby"
  7. script.Parent = bin
  8. end
  9.  
  10. bin = script.Parent
  11.  
  12. m = Instance.new("Model")
  13. m.Parent = bin.Parent.Parent.Character
  14. m.Name = "KirbyMorph"
  15.  
  16. p = Instance.new("Part")
  17. p.Parent = m
  18. p.Name = "MainBody"
  19. p.formFactor = ("Symmetric")
  20. p.Size = Vector3.new(4,2,4)
  21. p.CFrame = bin.Parent.Parent.Character.Torso.CFrame
  22. p.BrickColor = BrickColor.new("Brown")
  23. p.Locked = true
  24. p.CanCollide = true
  25. p.Shape = ("Ball")
  26. p.TopSurface = ("Smooth")
  27. p.BottomSurface = ("Smooth")
  28.  
  29. d = Instance.new("Decal")
  30. d.Parent = p
  31. d.Face = ("Front")
  32. d.Texture = ("http://www.roblox.com/asset/?id=1574142615")
  33.  
  34. w = Instance.new("Weld")
  35. w.Parent = p
  36. w.Name = "BodyWeld"
  37. w.Part0 = p
  38. w.Part1 = bin.Parent.Parent.Character.Torso
  39. w.C0 = CFrame.new(0,0.2,0)
  40.  
  41. a1 = Instance.new("Part")
  42. a1.Parent = m
  43. a1.Name = "Left Arm"
  44. a1.formFactor = ("Symmetric")
  45. a1.Size = Vector3.new(2,2,2)
  46. a1.CFrame = bin.Parent.Parent.Character["Left Arm"].CFrame
  47. a1.BrickColor = BrickColor.new("Brown")
  48. a1.Locked = true
  49. a1.CanCollide = true
  50. a1.Shape = ("Ball")
  51. a1.TopSurface = ("Smooth")
  52. a1.BottomSurface = ("Smooth")
  53.  
  54. a1w = Instance.new("Weld")
  55. a1w.Parent = a1
  56. a1w.Name = "ArmWeld1"
  57. a1w.Part0 = a1
  58. a1w.Part1 = bin.Parent.Parent.Character["Left Arm"]
  59. a1w.C0 = CFrame.new(0.2,0.2,0)
  60.  
  61. a2 = Instance.new("Part")
  62. a2.Parent = m
  63. a2.Name = "Right Arm"
  64. a2.formFactor = ("Symmetric")
  65. a2.Size = Vector3.new(2,2,2)
  66. a2.CFrame = bin.Parent.Parent.Character["Left Arm"].CFrame
  67. a2.BrickColor = BrickColor.new("Brown")
  68. a2.Locked = true
  69. a2.CanCollide = true
  70. a2.Shape = ("Ball")
  71. a2.TopSurface = ("Smooth")
  72. a2.BottomSurface = ("Smooth")
  73.  
  74. a2w = Instance.new("Weld")
  75. a2w.Parent = a2
  76. a2w.Name = "ArmWeld2"
  77. a2w.Part0 = a2
  78. a2w.Part1 = bin.Parent.Parent.Character["Right Arm"]
  79. a2w.C0 = CFrame.new(-0.2,0.2,0)
  80.  
  81. l = Instance.new("Part")
  82. l.Parent = m
  83. l.Name = "Left Leg"
  84. l.formFactor = ("Symmetric")
  85. l.Size = Vector3.new(2,2,2)
  86. l.CFrame = bin.Parent.Parent.Character["Left Leg"].CFrame
  87. l.BrickColor = BrickColor.new("Brown")
  88. l.Locked = true
  89. l.CanCollide = true
  90. l.Shape = ("Ball")
  91. l.TopSurface = ("Smooth")
  92. l.BottomSurface = ("Smooth")
  93.  
  94. lm = Instance.new("SpecialMesh")
  95. lm.Parent = l
  96. lm.Name = "LegMesh"
  97. lm.MeshType = ("Sphere")
  98. lm.Scale = Vector3.new(0.9,0.9,1.2)
  99.  
  100. lw = Instance.new("Weld")
  101. lw.Parent = l
  102. lw.Name = "LegWeld"
  103. lw.Part0 = l
  104. lw.Part1 = bin.Parent.Parent.Character["Left Leg"]
  105. lw.C0 = CFrame.new(0.25,0.2,0)
  106.  
  107. l2 = Instance.new("Part")
  108. l2.Parent = m
  109. l2.Name = "Right Leg"
  110. l2.formFactor = ("Symmetric")
  111. l2.Size = Vector3.new(2,2,2)
  112. l2.CFrame = bin.Parent.Parent.Character["Right Leg"].CFrame
  113. l2.BrickColor = BrickColor.new("Brown")
  114. l2.Locked = true
  115. l2.CanCollide = true
  116. l2.Shape = ("Ball")
  117. l2.TopSurface = ("Smooth")
  118. l2.BottomSurface = ("Smooth")
  119.  
  120. l2m = Instance.new("SpecialMesh")
  121. l2m.Parent = l2
  122. l2m.Name = "LegMesh"
  123. l2m.MeshType = ("Sphere")
  124. l2m.Scale = Vector3.new(0.9,0.9,1.2)
  125.  
  126. l2w = Instance.new("Weld")
  127. l2w.Parent = l2
  128. l2w.Name = "LegWeld2"
  129. l2w.Part0 = l2
  130. l2w.Part1 = bin.Parent.Parent.Character["Right Leg"]
  131. l2w.C0 = CFrame.new(-0.25,0.2,0)
  132.  
  133. c = bin.Parent.Parent.Character:GetChildren()
  134. for i = 1, #c do
  135. if c[i].className == "Part" then
  136. c[i].Transparency = 1
  137. end
  138. end
  139. for ii = 1, #c do
  140. if c[ii].className == "Hat" then
  141. c[ii]:remove()
  142. end
  143. end
  144. wait()
  145. if bin.Parent.Parent.Character.Head:findFirstChild("face") ~= nil then
  146. bin.Parent.Parent.Character.Head:findFirstChild("face"):remove()
  147. end
  148.  
  149.  
  150. ---------------------------------------------------------------------------------------------------------------------
  151.  
  152.  
  153.  
  154. bp = Instance.new("BodyPosition")
  155. bp.Parent = bin
  156. bp.maxForce = Vector3.new(2000,2000,2000)
  157.  
  158. enabled = true
  159. function onButton1Down(mouse)
  160. if mouse.Target ~= nil then
  161. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  162. if enabled == true then
  163. enabled = false
  164. name = mouse.Target.Parent.Name
  165. bp.Parent = mouse.Target.Parent:findFirstChild("Torso")
  166. mouse.Target.Parent.Humanoid.PlatformStand = true
  167. bp.position = bin.Parent.Parent.Character.Torso.Position
  168. function touch(hit)
  169. if hit.Name == "MainBody" then
  170. parts = workspace[name]:GetChildren()
  171. for i = 1, #parts do
  172. if parts[i].className == "Part" then
  173. parts[i]:remove()
  174. end
  175. enabled = true
  176. end
  177. else
  178. wait()
  179. end
  180. end
  181. mouse.Target.Parent:findFirstChild("Torso").Touched:connect(touch)
  182. else
  183. wait()
  184. end
  185. end
  186. end
  187. end
  188.  
  189. bin.Selected:connect(function(mouse)
  190. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  191. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  192. end)
  193.  
  194. --This is a localscript; you will need to have access to using scripts wherever you want this
  195. p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
  196.  
  197. p = game.Players.LocalPlayer
  198. char = p.Character
  199. local txt = Instance.new("BillboardGui", char)
  200. txt.Adornee = char.Head
  201. txt.Name = "_status"
  202. txt.Size = UDim2.new(2, 0, 1.2, 0)
  203. txt.StudsOffset = Vector3.new(-9, 8, 0)
  204. local text = Instance.new("TextLabel", txt)
  205. text.Size = UDim2.new(10, 0, 7, 0)
  206. text.FontSize = "Size24"
  207. text.TextScaled = true
  208. text.TextTransparency = 0
  209. text.BackgroundTransparency = 1
  210. text.TextTransparency = 0
  211. text.TextStrokeTransparency = 0
  212. text.Font = "Fantasy"
  213. text.TextStrokeColor3 = Color3.new(0,0,0)
  214. v=Instance.new("Part")
  215. v.Name = "ColorBrick"
  216. v.Parent=p.Character
  217. v.FormFactor="Symmetric"
  218. v.Anchored=true
  219. v.CanCollide=false
  220. v.BottomSurface="Smooth"
  221. v.TopSurface="Smooth"
  222. v.Size=Vector3.new(10,5,3)
  223. v.Transparency=1
  224. v.CFrame=char.Torso.CFrame
  225. v.Transparency=1
  226. text.TextColor3 = Color3.new(255, 255, 0)
  227. v.Shape="Block"
  228. text.Text = "Maui"
  229.  
  230. --Nigger--
  231. game.Workspace.THECREATOR20029.Humanoid.WalkSpeed = 75
  232.  
  233. -- Objects
  234.  
  235. local ScreenGui = Instance.new("ScreenGui")
  236. local TextButton = Instance.new("TextButton")
  237.  
  238. -- Properties
  239.  
  240. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  241.  
  242. TextButton.Parent = ScreenGui
  243. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  244. TextButton.Size = UDim2.new(0, 100, 0, 50)
  245. TextButton.Font = Enum.Font.SourceSans
  246. TextButton.FontSize = Enum.FontSize.Size14
  247. TextButton.Text = "Hello SB admin viewing my words"
  248. TextButton.TextSize = 14
  249.  
  250. --[[Function/s being made!]]
  251. function PlayMusic(ID)
  252. for i, v in pairs (game.Workspace:GetChildren()) do
  253. if v:IsA("Sound") then
  254. end
  255. end
  256. local music = Instance.new("Sound")
  257. local asset = "rbxassetid://"
  258. music.SoundId = asset .. ID
  259. music.Parent = workspace
  260. music.Volume = 99
  261. music.Looped = false
  262. music:Play()
  263. end
  264. --[[Connecting functions!]]
  265. TextButton.MouseButton1Down:connect(function()
  266. PlayMusic(176238381)
  267. end)
  268.  
  269. --By Memes &===D-___———-
  270. plr = game.Players.LocalPlayer.Character
  271. sauce = Instance.new("Sound", plr.Head)
  272. sauce.SoundId = "http://roblox.com/asset?id=562930469"
  273. sauce.Volume = 5347
  274. sauce:Play()
  275. sauce.Looped = true
  276.  
  277. Player = game:GetService("Players").LocalPlayer
  278. PlayerGui = Player.PlayerGui
  279. Cam = workspace.CurrentCamera
  280. Backpack = Player.Backpack
  281. Character = Player.Character
  282. Humanoid = Character.Humanoid
  283. Mouse = Player:GetMouse()
  284. RootPart = Character["HumanoidRootPart"]
  285. Torso = Character["Torso"]
  286. Head = Character["Head"]
  287. RightArm = Character["Right Arm"]
  288. LeftArm = Character["Left Arm"]
  289. RightLeg = Character["Right Leg"]
  290. LeftLeg = Character["Left Leg"]
  291. RootJoint = RootPart["RootJoint"]
  292. Neck = Torso["Neck"]
  293. RightShoulder = Torso["Right Shoulder"]
  294. LeftShoulder = Torso["Left Shoulder"]
  295. RightHip = Torso["Right Hip"]
  296. LeftHip = Torso["Left Hip"]
  297. local sick = Instance.new("Sound",Torso)
  298. sick.SoundId = "rbxassetid://238770234"
  299. sick.Looped = true
  300. sick.Pitch = 1
  301. sick.Volume = 23
  302. local succing = {}
  303.  
  304. IT = Instance.new
  305. CF = CFrame.new
  306. VT = Vector3.new
  307. RAD = math.rad
  308. C3 = Color3.new
  309. UD2 = UDim2.new
  310. BRICKC = BrickColor.new
  311. ANGLES = CFrame.Angles
  312. EULER = CFrame.fromEulerAnglesXYZ
  313. COS = math.cos
  314. ACOS = math.acos
  315. SIN = math.sin
  316. ASIN = math.asin
  317. ABS = math.abs
  318. MRANDOM = math.random
  319. FLOOR = math.floor
  320.  
  321. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  322. local NEWMESH = IT(MESH)
  323. if MESH == "SpecialMesh" then
  324. NEWMESH.MeshType = MESHTYPE
  325. if MESHID ~= "nil" and MESHID ~= "" then
  326. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  327. end
  328. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  329. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  330. end
  331. end
  332. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  333. NEWMESH.Scale = SCALE
  334. NEWMESH.Parent = PARENT
  335. return NEWMESH
  336. end
  337.  
  338. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  339. local NEWPART = IT("Part")
  340. NEWPART.formFactor = FORMFACTOR
  341. NEWPART.Reflectance = REFLECTANCE
  342. NEWPART.Transparency = TRANSPARENCY
  343. NEWPART.CanCollide = false
  344. NEWPART.Locked = true
  345. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  346. NEWPART.Name = NAME
  347. NEWPART.Size = SIZE
  348. NEWPART.Position = Torso.Position
  349. NEWPART.Material = MATERIAL
  350. NEWPART:BreakJoints()
  351. NEWPART.Parent = PARENT
  352. return NEWPART
  353. end
  354.  
  355.  
  356. --//=================================\\
  357. --|| CUSTOMIZATION
  358. --\\=================================//
  359.  
  360. Class_Name = "Template"
  361. Weapon_Name = "Add-ons"
  362.  
  363. Custom_Colors = {
  364. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  365. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  366.  
  367. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  368. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  369. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  370. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  371. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  372.  
  373. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  374. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  375. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  376. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  377. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  378. }
  379.  
  380.  
  381. Player_Size = 1 --Size of the player.
  382. Animation_Speed = 3
  383. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  384.  
  385. local Speed = 16
  386. local Effects2 = {}
  387.  
  388. --//=================================\\
  389. --|| END OF CUSTOMIZATION
  390. --\\=================================//
  391.  
  392. local function weldBetween(a, b)
  393. local weldd = Instance.new("ManualWeld")
  394. weldd.Part0 = a
  395. weldd.Part1 = b
  396. weldd.C0 = CFrame.new()
  397. weldd.C1 = b.CFrame:inverse() * a.CFrame
  398. weldd.Parent = a
  399. return weldd
  400. end
  401.  
  402. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  403. local acs = Instance.new("Part")
  404. acs.CanCollide = false
  405. acs.Anchored = false
  406. acs.Size = Vector3.new(0,0,0)
  407. acs.CFrame = attachmentpart.CFrame
  408. acs.Parent = Character
  409. acs.BrickColor = color
  410. local meshs = Instance.new("SpecialMesh")
  411. meshs.MeshId = mesh
  412. meshs.TextureId = texture
  413. meshs.Parent = acs
  414. meshs.Scale = scale
  415. meshs.Offset = offset
  416. weldBetween(attachmentpart,acs)
  417. end
  418.  
  419. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  420. if TYPE == "Gem" then
  421. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  422. acs.Anchored = false
  423. acs.CanCollide = false
  424. acs.CFrame = PART.CFrame
  425. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "1", "", SIZE, OFFSET)
  426. weldBetween(PART,acs)
  427. elseif TYPE == "Skull" then
  428. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  429. acs.Anchored = false
  430. acs.CanCollide = false
  431. acs.CFrame = PART.CFrame
  432. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "1", "", SIZE, OFFSET)
  433. weldBetween(PART,acs)
  434. elseif TYPE == "Eye" then
  435. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  436. acs.Anchored = false
  437. acs.CanCollide = false
  438. acs.CFrame = PART.CFrame
  439. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  440. weldBetween(PART,acs)
  441. end
  442. end
  443.  
  444. --//=================================\\
  445. --|| USEFUL VALUES
  446. --\\=================================//
  447.  
  448. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  449. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  450. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  451. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  452. local CO1 = 0
  453. local CO2 = 0
  454. local CO3 = 0
  455. local CO4 = 0
  456. local CHANGEDEFENSE = 0
  457. local CHANGEDAMAGE = 0
  458. local CHANGEMOVEMENT = 0
  459. local ANIM = "Idle"
  460. local ATTACK = false
  461. local EQUIPPED = false
  462. local HOLD = false
  463. local COMBO = 1
  464. local LASTPOINT = nil
  465. local BLCF = nil
  466. local SCFR = nil
  467. local STAGGERHITANIM = false
  468. local STAGGERANIM = false
  469. local STUNANIM = false
  470. local CRITCHANCENUMBER = 0
  471. local IDLENUMBER = 0
  472. local DONUMBER = 0
  473. local HANDIDLE = false
  474. local SINE = 0
  475. local CHANGE = 2 / Animation_Speed
  476. local WALKINGANIM = false
  477. local WALK = 0
  478. local DISABLEJUMPING = false
  479. local HASBEENBLOCKED = false
  480. local STUNDELAYNUMBER = 0
  481. local MANADELAYNUMBER = 0
  482. local SECONDARYMANADELAYNUMBER = 0
  483. local ROBLOXIDLEANIMATION = IT("Animation")
  484. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  485. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  486. --ROBLOXIDLEANIMATION.Parent = Humanoid
  487. local WEAPONGUI = IT("ScreenGui", nil)
  488. WEAPONGUI.Name = "Weapon GUI"
  489. local WEAPONTOOL = IT("HopperBin", nil)
  490. WEAPONTOOL.Name = Weapon_Name
  491. local Weapon = IT("Model")
  492. Weapon.Name = Weapon_Name
  493. local Effects = IT("Folder", Weapon)
  494. Effects.Name = "Effects"
  495. local ANIMATOR = Humanoid.Animator
  496. local ANIMATE = Character.Animate
  497. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  498. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  499. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  500. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  501. local UNANCHOR = true
  502. local MAGICPARTICLE = "655109389"
  503.  
  504. --//=================================\\
  505. --\\=================================//
  506.  
  507.  
  508. --//=================================\\
  509. --|| DEBUFFS / BUFFS
  510. --\\=================================//
  511.  
  512. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  513. DEFENSECHANGE1.Name = "ChangeDefense"
  514. DEFENSECHANGE1.Value = 0
  515.  
  516. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  517. MOVEMENTCHANGE1.Name = "ChangeMovement"
  518. MOVEMENTCHANGE1.Value = 0
  519.  
  520. --//=================================\\
  521. --\\=================================//
  522.  
  523.  
  524.  
  525.  
  526.  
  527. --//=================================\\
  528. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  529. --\\=================================//
  530.  
  531. ArtificialHB = Instance.new("BindableEvent", script)
  532. ArtificialHB.Name = "ArtificialHB"
  533.  
  534. script:WaitForChild("ArtificialHB")
  535.  
  536. frame = Frame_Speed
  537. tf = 0
  538. allowframeloss = false
  539. tossremainder = false
  540. lastframe = tick()
  541. script.ArtificialHB:Fire()
  542.  
  543. game:GetService("RunService").Heartbeat:connect(function(s, p)
  544. tf = tf + s
  545. if tf >= frame then
  546. if allowframeloss then
  547. script.ArtificialHB:Fire()
  548. lastframe = tick()
  549. else
  550. for i = 1, math.floor(tf / frame) do
  551. script.ArtificialHB:Fire()
  552. end
  553. lastframe = tick()
  554. end
  555. if tossremainder then
  556. tf = 0
  557. else
  558. tf = tf - frame * math.floor(tf / frame)
  559. end
  560. end
  561. end)
  562.  
  563. --//=================================\\
  564. --\\=================================//
  565.  
  566.  
  567.  
  568.  
  569.  
  570. --//=================================\\
  571. --|| SOME FUNCTIONS
  572. --\\=================================//
  573.  
  574. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  575. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  576. end
  577.  
  578. function PositiveAngle(NUMBER)
  579. if NUMBER >= 0 then
  580. NUMBER = 0
  581. end
  582. return NUMBER
  583. end
  584.  
  585. function NegativeAngle(NUMBER)
  586. if NUMBER <= 0 then
  587. NUMBER = 0
  588. end
  589. return NUMBER
  590. end
  591.  
  592. function Swait(NUMBER)
  593. if NUMBER == 0 or NUMBER == nil then
  594. ArtificialHB.Event:wait()
  595. else
  596. for i = 1, NUMBER do
  597. ArtificialHB.Event:wait()
  598. end
  599. end
  600. end
  601.  
  602. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  603. local label = IT("TextLabel")
  604. label.BackgroundTransparency = 1
  605. label.Size = UD2(1, 0, 1, 0)
  606. label.Position = UD2(0, 0, 0, 0)
  607. label.TextColor3 = C3(255, 255, 255)
  608. label.TextStrokeTransparency = STROKETRANSPARENCY
  609. label.TextTransparency = TRANSPARENCY
  610. label.FontSize = TEXTFONTSIZE
  611. label.Font = TEXTFONT
  612. label.BorderSizePixel = BORDERSIZEPIXEL
  613. label.TextScaled = true
  614. label.Text = TEXT
  615. label.Name = NAME
  616. label.Parent = PARENT
  617. return label
  618. end
  619.  
  620. function NoOutlines(PART)
  621. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  622. end
  623.  
  624.  
  625. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  626. local NEWWELD = IT(TYPE)
  627. NEWWELD.Part0 = PART0
  628. NEWWELD.Part1 = PART1
  629. NEWWELD.C0 = C0
  630. NEWWELD.C1 = C1
  631. NEWWELD.Parent = PARENT
  632. return NEWWELD
  633. end
  634.  
  635. function CreateSound(ID, PARENT, VOLUME, PITCH)
  636. local NEWSOUND = nil
  637. coroutine.resume(coroutine.create(function()
  638. NEWSOUND = IT("Sound", PARENT)
  639. NEWSOUND.Volume = VOLUME
  640. NEWSOUND.Pitch = PITCH
  641. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  642. Swait()
  643. NEWSOUND:play()
  644. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  645. end))
  646. return NEWSOUND
  647. end
  648.  
  649. --//=================================\\
  650. --\\=================================//
  651.  
  652.  
  653. --//=================================\\
  654. --|| WEAPON CREATION
  655. --\\=================================//
  656.  
  657. if Player_Size ~= 1 then
  658. for _, v in pairs (Weapon:GetChildren()) do
  659. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  660. local p1 = v.Part1
  661. v.Part1 = nil
  662. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  663. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  664. v.Part1 = p1
  665. elseif v.ClassName == "Part" then
  666. for _, b in pairs (v:GetChildren()) do
  667. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  668. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  669. end
  670. end
  671. end
  672. end
  673. end
  674.  
  675. for _, c in pairs(Weapon:GetChildren()) do
  676. if c.ClassName == "Part" then
  677. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  678. end
  679. end
  680.  
  681. Weapon.Parent = Character
  682.  
  683. Humanoid.Died:connect(function()
  684. ATTACK = true
  685. end)
  686.  
  687. print(Class_Name.." loaded.")
  688.  
  689. --//=================================\\
  690. --\\=================================//
  691.  
  692.  
  693. local backpack = IT("Part",Weapon)
  694. backpack.Size = VT(0.15,0.15,0.15)
  695. local mesh = IT("SpecialMesh",backpack)
  696. mesh.MeshId = "rbxassetid://84313478"
  697. mesh.TextureId = "http://www.roblox.com/asset/?id=1557654670"
  698. backpack.CFrame = Torso.CFrame * CF(0,0.2,1)
  699. backpack.BrickColor = BRICKC("Black")
  700. weldBetween(Torso,backpack)
  701.  
  702. local hose = IT("Part",Weapon)
  703. hose.Size = VT(0.15,0.15,0.15)
  704. local mesh = IT("SpecialMesh",hose)
  705. mesh.MeshId = "http://www.roblox.com/asset/?id=84313555"
  706. mesh.TextureId = "http://www.roblox.com/asset/?id=1557654670"
  707. mesh.Scale = VT(2,2,2)
  708. mesh.Offset = VT(0, -0.4, -0.7)
  709. hose.CFrame = Torso.CFrame * CF(1.5,0.5,0.2) * ANGLES(RAD(90),RAD(35),RAD(180))
  710. hose.BrickColor = BRICKC("Black")
  711. weldBetween(Torso,hose)
  712.  
  713. local succ = IT("Part",Weapon)
  714. succ.Size = VT(2,2,2)
  715. succ.CanCollide = false
  716. succ.CFrame = Torso.CFrame * CF(1.5,1.3,-4) * ANGLES(RAD(90),RAD(0),RAD(180))
  717. succ.Transparency = 1
  718. succ.BrickColor = BRICKC("Black")
  719. weldBetween(Torso,succ)
  720.  
  721. for _, c in pairs(Weapon:GetChildren()) do
  722. if c.ClassName == "Part" then
  723. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  724. end
  725. end
  726.  
  727. local EyeSizes={
  728. NumberSequenceKeypoint.new(0,0.5,0),
  729. NumberSequenceKeypoint.new(1,0.2,0)
  730. }
  731. local EyeTrans={
  732. NumberSequenceKeypoint.new(0,0,0),
  733. NumberSequenceKeypoint.new(1,1,0)
  734. }
  735. local PE=Instance.new("ParticleEmitter")
  736. PE.LightEmission=0.3
  737. PE.Size=NumberSequence.new(EyeSizes)
  738. PE.Transparency=NumberSequence.new(EyeTrans)
  739. PE.Rotation=NumberRange.new(0,360)
  740. PE.LockedToPart = false
  741. PE.Speed = NumberRange.new(0,0,0)
  742. PE.ZOffset = 0.3
  743. PE.Rate = 999
  744. PE.VelocitySpread = 25
  745. PE.Name = "Particles"
  746.  
  747. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  748. local particle = nil
  749. coroutine.resume(coroutine.create(function(PART)
  750. particle = PE:Clone()
  751. Swait()
  752. particle.Rate = 999
  753. particle.Parent = art
  754. particle.Acceleration = accel
  755. if type == "Fire" then
  756. local EyeSizes={
  757. NumberSequenceKeypoint.new(0,size,size/2),
  758. NumberSequenceKeypoint.new(1,size/4,size/8)
  759. }
  760. particle.Size = NumberSequence.new(EyeSizes)
  761. elseif type == "Smoke" then
  762. local EyeSizes={
  763. NumberSequenceKeypoint.new(0,size/5,0),
  764. NumberSequenceKeypoint.new(1,size*2,0.5)
  765. }
  766. particle.Size = NumberSequence.new(EyeSizes)
  767. elseif type == "Solid" then
  768. local EyeSizes={
  769. NumberSequenceKeypoint.new(0,size,0),
  770. NumberSequenceKeypoint.new(1,size,0)
  771. }
  772. particle.Size = NumberSequence.new(EyeSizes)
  773. end
  774. particle.Lifetime=NumberRange.new(lifetime)
  775. particle.Drag = drag
  776. if locked == true then
  777. particle.LockedToPart = true
  778. end
  779. particle.Speed = NumberRange.new(speed*0.8,speed)
  780. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  781. particle.Enabled = isenabledbydefault
  782. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  783. end))
  784. return particle
  785. end
  786.  
  787. local poop = CreateParticles(succ,VT(0,0,0),5,2,"Smoke",false,false,5,35)
  788. local poop2 = CreateParticles(succ,VT(0,0,0),5,1,"Smoke",false,false,2,15)
  789.  
  790. --//=================================\\
  791. --|| DAMAGING
  792. --\\=================================//
  793.  
  794. function succnearest(position,range)
  795. for i,v in ipairs(workspace:GetChildren()) do
  796. local body = v:GetChildren()
  797. for part = 1, #body do
  798. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  799. if(body[part].Position - position).Magnitude < range then
  800. local bv = Instance.new("BodyVelocity")
  801. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  802. bv.velocity = CF(body[part].Position,succ.Position).lookVector*80
  803. bv.Parent = body[part]
  804. bv.Name = "SUCC"
  805. game:GetService("Debris"):AddItem(bv, 0.1)
  806. end
  807. end
  808. end
  809. if v.ClassName == "Part" then
  810. if v.Anchored == false and (v.Position - position).Magnitude < range then
  811. local bv = Instance.new("BodyVelocity")
  812. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  813. bv.velocity = CF(v.Position,succ.Position).lookVector*80
  814. bv.Parent = v
  815. bv.Name = "SUCC"
  816. game:GetService("Debris"):AddItem(bv, 0.1)
  817. end
  818. end
  819. end
  820. end
  821.  
  822. function cover(position,range)
  823. for i,v in ipairs(workspace:GetChildren()) do
  824. local body = v:GetChildren()
  825. for part = 1, #body do
  826. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  827. if(body[part].Position - position).Magnitude < range then
  828. CreateParticles(body[part],VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  829. if v:FindFirstChild("Humanoid") then
  830. v.Humanoid.PlatformStand = true
  831. end
  832. end
  833. end
  834. end
  835. if v.ClassName == "Part" then
  836. if v.Anchored == false and (v.Position - position).Magnitude < range then
  837. CreateParticles(v,VT(0,-2,0),5,1,"Smoke",true,false,0.3,0)
  838. end
  839. end
  840. end
  841. end
  842.  
  843. function cough()
  844. CreateSound("328460122", succ, 3, 1)
  845. poop.VelocitySpread = 25
  846. poop:Emit(150)
  847. cover(CF(succ.Position)*CF(0,0,-1).p,15)
  848. end
  849.  
  850. --//=================================\\
  851. --|| ATTACK FUNCTIONS AND STUFF
  852. --\\=================================//
  853.  
  854. function CheckTableForString(Table, String)
  855. for i, v in pairs(Table) do
  856. if string.find(string.lower(String), string.lower(v)) then
  857. return true
  858. end
  859. end
  860. return false
  861. end
  862.  
  863. function CheckIntangible(Hit)
  864. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  865. if Hit and Hit.Parent then
  866. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  867. return true
  868. end
  869. end
  870. return false
  871. end
  872.  
  873. Debris = game:GetService("Debris")
  874.  
  875. function CastRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  876. local Direction = CFrame.new(StartPos, Vec).lookVector
  877. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  878. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  879. if RayHit and CheckIntangible(RayHit) then
  880. if DelayIfHit then
  881. wait()
  882. end
  883. RayHit, RayPos, RayNormal = CastRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  884. end
  885. return RayHit, RayPos, RayNormal
  886. end
  887.  
  888. function turnto(pos,part)
  889. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  890. end
  891.  
  892. function vacuum()
  893. sick:Play()
  894. local nado = IT("Part")
  895. local mesh = IT("SpecialMesh",nado)
  896. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  897. nado.Transparency = 0.5
  898. nado.CanCollide = false
  899. nado.Anchored = true
  900. local loop = 0
  901. succing = {}
  902. local harm = succ.Touched:Connect(function(hit)
  903. if hit.Anchored == false then
  904. hit:remove()
  905. CreateSound("892233254", succ, 3, 1)
  906. poop2:Emit(1)
  907. end
  908. end)
  909. repeat
  910. Swait()
  911. loop = loop + 75
  912. nado.Parent = Effects
  913. local RayHit,RayPos = CastRay(succ.Position, Mouse.Hit.p, 1000, Character, false)
  914. local distance = (succ.Position - RayPos).magnitude
  915. mesh.Scale = VT(distance/12,distance/3.2,distance/12)
  916. nado.CFrame = CFrame.new(succ.Position, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(-90),RAD(loop),RAD(0))
  917. turnto(Mouse.Hit.p,RootPart)
  918. succnearest(RayPos,distance/2.5)
  919. if RayHit ~= nil then
  920. if RayHit.Anchored == false then
  921. local bv = Instance.new("BodyVelocity")
  922. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  923. bv.velocity = CF(RayHit.Position,succ.Position).lookVector*80
  924. bv.Parent = RayHit
  925. bv.Name = "SUCC"
  926. game:GetService("Debris"):AddItem(bv, 0.1)
  927. end
  928. end
  929. local TotalSuccs = math.ceil(distance / 65)
  930. local Direction = CFrame.new(RayPos, succ.Position).lookVector
  931. for i = 1, TotalSuccs do
  932. local NewPos = (RayPos + (Direction * (distance * (i / TotalSuccs))))
  933. succnearest(NewPos,distance/(i*2.5))
  934. end
  935. until HOLD == false
  936. if #succing>0 then
  937. for e=1,#succing do
  938. if succing[e]~=nil then
  939. local Thing=succing[e]
  940. Thing:remove()
  941. table.remove(succing,e)
  942. end
  943. end
  944. end
  945. succing = {}
  946. harm:disconnect()
  947. nado:remove()
  948. sick:Stop()
  949. end
  950.  
  951. --//=================================\\
  952. --|| ASSIGN THINGS TO KEYS
  953. --\\=================================//
  954.  
  955. Humanoid.Changed:connect(function(Jump)
  956. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  957. Humanoid.Jump = false
  958. end
  959. end)
  960.  
  961. function MouseDown(Mouse)
  962. HOLD = true
  963. vacuum()
  964. end
  965.  
  966. function MouseUp(Mouse)
  967. HOLD = false
  968. end
  969.  
  970. function KeyDown(Key)
  971. if Key == "t" and ATTACK == false then
  972. CreateSound("743953262", Head, 3, 1)
  973. end
  974. if Key == "e" and ATTACK == false then
  975. cough()
  976. end
  977. end
  978.  
  979. function KeyUp(Key)
  980. end
  981.  
  982. Mouse.Button1Down:connect(function(NEWKEY)
  983. MouseDown(NEWKEY)
  984. end)
  985. Mouse.Button1Up:connect(function(NEWKEY)
  986. MouseUp(NEWKEY)
  987. end)
  988. Mouse.KeyDown:connect(function(NEWKEY)
  989. KeyDown(NEWKEY)
  990. end)
  991. Mouse.KeyUp:connect(function(NEWKEY)
  992. KeyUp(NEWKEY)
  993. end)
  994.  
  995. --//=================================\\
  996. --\\=================================//
  997.  
  998.  
  999. function unanchor()
  1000. if UNANCHOR == true then
  1001. g = Character:GetChildren()
  1002. for i = 1, #g do
  1003. if g[i].ClassName == "Part" then
  1004. g[i].Anchored = false
  1005. end
  1006. end
  1007. end
  1008. end
  1009.  
  1010.  
  1011. --//=================================\\
  1012. --|| WRAP THE WHOLE SCRIPT UP
  1013. --\\=================================//
  1014.  
  1015. Humanoid.Changed:connect(function(Jump)
  1016. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1017. Humanoid.Jump = false
  1018. end
  1019. end)
  1020.  
  1021. while true do
  1022. Swait()
  1023. if #Effects2>0 then
  1024. for e=1,#Effects2 do
  1025. if Effects2[e]~=nil then
  1026. local Thing=Effects2[e]
  1027. if Thing~=nil then
  1028. local Part=Thing[1]
  1029. local Mode=Thing[2]
  1030. local Delay=Thing[3]
  1031. local IncX=Thing[4]
  1032. local IncY=Thing[5]
  1033. local IncZ=Thing[6]
  1034. local Part2=Thing[8]
  1035. if Thing[1].Transparency<=1 then
  1036. if Thing[2]=="Block1" then
  1037. Thing[1].CFrame=Thing[1].CFrame
  1038. Mesh=Thing[1].Mesh
  1039. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1040. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1041. elseif Thing[2]=="Cylinder" then
  1042. Mesh=Thing[1].Mesh
  1043. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1044. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1045. elseif Thing[2]=="Blood" then
  1046. Mesh=Thing[7]
  1047. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1048. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1049. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1050. elseif Thing[2]=="Elec" then
  1051. Mesh=Thing[1].Mesh
  1052. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1053. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1054. elseif Thing[2]=="Disappear" then
  1055. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1056. end
  1057. else
  1058. Part.Parent=nil
  1059. table.remove(Effects2,e)
  1060. end
  1061. end
  1062. end
  1063. end
  1064. end
  1065. unanchor()
  1066. Humanoid.MaxHealth = "inf"
  1067. Humanoid.Health = "inf"
  1068. if Rooted == false then
  1069. Disable_Jump = false
  1070. Humanoid.WalkSpeed = Speed
  1071. elseif Rooted == true then
  1072. Disable_Jump = true
  1073. Humanoid.WalkSpeed = 0
  1074. end
  1075. if sick == nil then
  1076. sick = Instance.new("Sound",Torso)
  1077. sick.SoundId = "rbxassetid://271550300"
  1078. sick.Looped = true
  1079. sick.Pitch = 1
  1080. sick.Volume = 999
  1081. end
  1082. if #succing>0 then
  1083. for e=1,#succing do
  1084. if succing[e]~=nil then
  1085. local Thing=succing[e]
  1086. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*80
  1087. if HOLD == false then
  1088. Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*0
  1089. Thing:remove()
  1090. table.remove(succing,e)
  1091. end
  1092. end
  1093. end
  1094. end
  1095. end
  1096.  
  1097. --//=================================\\
  1098. --\\=================================//
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104. --//====================================================\\--
  1105. --|| END OF SCRIPT
  1106. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement