Advertisement
Zebula_The_Scripter

Thug Life

Aug 5th, 2018
594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.69 KB | None | 0 0
  1. --[[ by kalvin0316 ]]--
  2.  
  3. warn("l o l")
  4. print("this cancer is made by kalvin0316")
  5. plr = game:GetService("Players").LocalPlayer
  6. char = plr.Character
  7. Instance.new("ForceField",char).Visible = false
  8. hed = char.Head
  9. torso = char.Torso
  10. mouse = plr:GetMouse()
  11. rarm = char["Right Arm"]
  12. larm = char["Left Arm"]
  13. rleg = char["Right Leg"]
  14. lleg = char["Left Leg"]
  15. rarm.Transparency = 1
  16. larm.Transparency = 1
  17. lleg.Transparency = 1
  18. rleg.Transparency = 1
  19. torso.Transparency = 1
  20. activ = false
  21. sound = false
  22. Create = LoadLibrary("RbxUtility").Create
  23. char.Animate:Destroy()
  24. hum = char:FindFirstChildOfClass("Humanoid")
  25. hum.Animator:Destroy()
  26. hum.MaxHealth = math.huge
  27. hum.Health = math.huge
  28. hum.Name = "despacito"
  29. hum.JumpPower = 125
  30. hum.WalkSpeed = 65
  31. for _,c in pairs(char:GetChildren()) do
  32. if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then
  33. c:Remove()
  34. end
  35. end
  36. hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=121910245"
  37. hed:FindFirstChildOfClass("SpecialMesh").TextureId = "rbxassetid://182196075"
  38. hed.face:Destroy()
  39. hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
  40. hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
  41. redhead = Instance.new("Part",torso)
  42. redhead.Size = torso.Size
  43. redhead.Transparency = 0
  44. weld = Instance.new("Weld",redhead)
  45. weld.Part0 = redhead
  46. weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0))
  47. weld = Instance.new("Weld",redhead)
  48. weld.Part0 = redhead
  49. weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  50. despacitotext = Instance.new("Part",hed)
  51. despacitotext.Name = "despacito"
  52. despacitotext.Size = Vector3.new(6.5,3,5.5)
  53. despacitotext.Transparency = 1
  54. despacitotext.CanCollide = false
  55. weld = Instance.new("Weld",redhead)
  56. weld.Part0 = despacitotext
  57. weld.Part1 = hed
  58. surfacegui = Instance.new("SurfaceGui",despacitotext)
  59. text = Instance.new("TextLabel",surfacegui)
  60. text.Size = UDim2.new(1,0,1,0)
  61. text.TextSize = 150
  62. text.Font = Enum.Font.Legacy
  63. text.BackgroundTransparency = 1
  64. surfacegui.AlwaysOnTop = true
  65. text.TextStrokeColor3 = Color3.fromRGB(17,17,17)
  66. text.TextStrokeTransparency = 0
  67. text.TextColor3 = Color3.fromRGB(17,17,17)
  68. text.Text = "thug life"
  69. despacito = Instance.new("Sound",char)
  70. despacito.SoundId = "rbxassetid://2039029608"
  71. despacito.Volume = 10
  72. despacito.EmitterSize = 100
  73. despacito:Play()
  74. despacito.Name = "despacito"
  75. local seffect = Instance.new("ReverbSoundEffect",despacito)
  76. char.ChildRemoved:connect(function(h)
  77. if h == despacito then
  78. despacito = Instance.new("Sound",char)
  79. despacito.SoundId = "rbxassetid://2039029608"
  80. despacito.Volume = 100
  81. despacito.EmitterSize = 100
  82. despacito:Play()
  83. despacito.Name = "despacito"
  84. despacito.TimePosition = despacito.TimePosition
  85. local seffect = Instance.new("ReverbSoundEffect",despacito)
  86. end
  87. end)
  88. function RemoveOutlines(part)
  89. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  90. end
  91. CFuncs = {
  92. Part = {
  93. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  94. local Part = Create("Part")({
  95. Parent = Parent,
  96. Reflectance = Reflectance,
  97. Transparency = Transparency,
  98. CanCollide = false,
  99. Locked = true,
  100. BrickColor = BrickColor.new(tostring(BColor)),
  101. Name = Name,
  102. Size = Size,
  103. Material = Material
  104. })
  105. RemoveOutlines(Part)
  106. if Size == Vector3.new() then
  107. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  108. else
  109. Part.Size = Size
  110. end
  111. return Part
  112. end
  113. },
  114. Mesh = {
  115. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  116. local Msh = Create(Mesh)({
  117. Parent = Part,
  118. Offset = OffSet,
  119. Scale = Scale
  120. })
  121. if Mesh == "SpecialMesh" then
  122. Msh.MeshType = MeshType
  123. Msh.MeshId = MeshId
  124. end
  125. return Msh
  126. end
  127. },
  128. Weld = {
  129. Create = function(Parent, Part0, Part1, C0, C1)
  130. local Weld = Create("Weld")({
  131. Parent = Parent,
  132. Part0 = Part0,
  133. Part1 = Part1,
  134. C0 = C0,
  135. C1 = C1
  136. })
  137. return Weld
  138. end
  139. },
  140. Sound = {
  141. Create = function(id, par, vol, pit)
  142. local Sound = Create("Sound")({
  143. Volume = vol,
  144. Pitch = pit or 1,
  145. SoundId = "rbxassetid://" .. id,
  146. Parent = par or workspace
  147. })
  148. Sound:play()
  149. return Sound
  150. end
  151. },
  152. Decal = {
  153. Create = function(Color, Texture, Transparency, Name, Parent)
  154. local Decal = Create("Decal")({
  155. Color3 = Color,
  156. Texture = "rbxassetid://" .. Texture,
  157. Transparency = Transparency,
  158. Name = Name,
  159. Parent = Parent
  160. })
  161. return Decal
  162. end
  163. },
  164. BillboardGui = {
  165. Create = function(Parent, Image, Position, Size)
  166. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  167. BillPar.CFrame = CFrame.new(Position)
  168. local Bill = Create("BillboardGui")({
  169. Parent = BillPar,
  170. Adornee = BillPar,
  171. Size = UDim2.new(1, 0, 1, 0),
  172. SizeOffset = Vector2.new(Size, Size)
  173. })
  174. local d = Create("ImageLabel", Bill)({
  175. Parent = Bill,
  176. BackgroundTransparency = 1,
  177. Size = UDim2.new(1, 0, 1, 0),
  178. Image = "rbxassetid://" .. Image
  179. })
  180. return BillPar
  181. end
  182. },
  183. ParticleEmitter = {
  184. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  185. local Particle = Create("ParticleEmitter")({
  186. Parent = Parent,
  187. Color = ColorSequence.new(Color1, Color2),
  188. LightEmission = LightEmission,
  189. Size = Size,
  190. Texture = Texture,
  191. Transparency = Transparency,
  192. ZOffset = ZOffset,
  193. Acceleration = Accel,
  194. Drag = Drag,
  195. LockedToPart = LockedToPart,
  196. VelocityInheritance = VelocityInheritance,
  197. EmissionDirection = EmissionDirection,
  198. Enabled = Enabled,
  199. Lifetime = LifeTime,
  200. Rate = Rate,
  201. Rotation = Rotation,
  202. RotSpeed = RotSpeed,
  203. Speed = Speed,
  204. VelocitySpread = VelocitySpread
  205. })
  206. return Particle
  207. end
  208. },
  209. CreateTemplate = {}
  210. }
  211. function text(Pos, Text, Time, Color)
  212. local Rate = 0.03333333333333333
  213. local Pos = Pos or Vector3.new(0, 0, 0)
  214. local Text = Text or ""
  215. local Time = Time or 2
  216. local Color = Color or Color3.new(1, 0, 1)
  217. local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  218. EffectPart.Anchored = true
  219. local BillboardGui = Create("BillboardGui")({
  220. Size = UDim2.new(3, 0, 3, 0),
  221. Adornee = EffectPart,
  222. Parent = EffectPart
  223. })
  224. local TextLabel = Create("TextLabel")({
  225. BackgroundTransparency = 1,
  226. Size = UDim2.new(1, 0, 1, 0),
  227. TextSize = 55,
  228. Text = Text,
  229. Font = Enum.Font.Cartoon,
  230. TextColor3 = Color3.fromRGB(255,255,255),
  231. TextScaled = false,
  232. Parent = BillboardGui
  233. })
  234. game.Debris:AddItem(EffectPart, Time)
  235. EffectPart.Parent = game:GetService("Workspace")
  236. delay(0, function()
  237. local Frames = Time / Rate
  238. for Frame = 1, Frames do
  239. wait(Rate)
  240. local Percent = Frame / Frames
  241. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  242. TextLabel.TextTransparency = Percent
  243. end
  244. if EffectPart and EffectPart.Parent then
  245. EffectPart:Destroy()
  246. end
  247. end)
  248. end
  249. ArtificialHB = Instance.new("BindableEvent", script)
  250. ArtificialHB.Name = "ArtificialHB"
  251.  
  252. script:WaitForChild("ArtificialHB")
  253. Frame_Speed = 1 / 60
  254. frame = Frame_Speed
  255. tf = 0
  256. allowframeloss = false
  257. tossremainder = false
  258. lastframe = tick()
  259. script.ArtificialHB:Fire()
  260.  
  261. game:GetService("RunService").Heartbeat:connect(function(s, p)
  262. tf = tf + s
  263. if tf >= frame then
  264. if allowframeloss then
  265. script.ArtificialHB:Fire()
  266. lastframe = tick()
  267. else
  268. for i = 1, math.floor(tf / frame) do
  269. script.ArtificialHB:Fire()
  270. end
  271. lastframe = tick()
  272. end
  273. if tossremainder then
  274. tf = 0
  275. else
  276. tf = tf - frame * math.floor(tf / frame)
  277. end
  278. end
  279. end)
  280.  
  281. function CreateSound(ID, PARENT, VOLUME, PITCH)
  282. --coroutine.resume(coroutine.create(function()
  283. local NEWSOUND = Instance.new("Sound", PARENT)
  284. NEWSOUND.Volume = VOLUME
  285. NEWSOUND.Pitch = PITCH
  286. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  287. NEWSOUND:play()
  288. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  289. return NEWSOUND
  290. --end))
  291. end
  292. function Swait(NUMBER)
  293. if NUMBER == 0 or NUMBER == nil then
  294. ArtificialHB.Event:wait()
  295. else
  296. for i = 1, NUMBER do
  297. ArtificialHB.Event:wait()
  298. end
  299. end
  300. end
  301. function itstimetostop()
  302. sound = true
  303. local snd = Instance.new("Sound",char)
  304. snd.SoundId = "rbxassetid://358468903"
  305. snd.Volume = 200000
  306. snd.TimePosition = 0.25
  307. snd.EmitterSize = 350
  308. snd:Play()
  309. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP!!!", 2, Color3.fromRGB(255,255,255))
  310. wait(2)
  311. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP OKAY?!!", 2, Color3.fromRGB(255,255,255))
  312. wait(2.6)
  313. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "NO MORE!", 2, Color3.fromRGB(255,255,255))
  314. sound = false
  315. end
  316. function youbetterstop()
  317. sound = true
  318. local snd = Instance.new("Sound",char)
  319. snd.SoundId = "rbxassetid://1246891273"
  320. snd.Volume = 10
  321. snd.TimePosition = 1.2
  322. snd:Play()
  323. snd.EmitterSize = 100
  324. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "youbetterstop.mp3", 5.2, Color3.fromRGB(255,255,255))
  325. wait(5.2)
  326. sound = false
  327. end
  328. function ecksdee()
  329. sound = true
  330. local snd = Instance.new("Sound",char)
  331. snd.SoundId = "rbxassetid://1486343908"
  332. snd.Volume = 10
  333. snd:Play()
  334. snd.EmitterSize = 150
  335. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255))
  336. wait(0.95)
  337. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255))
  338. sound = false
  339. end
  340. function lukatthisdude()
  341. sound = true
  342. local snd = Instance.new("Sound",char)
  343. snd.SoundId = "rbxassetid://1012186219"
  344. snd.Volume = 20000
  345. snd:Play()
  346. snd.EmitterSize = 300
  347. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "bingbingbongchina.mp3", 27, Color3.fromRGB(255,255,255))
  348. wait(27)
  349. sound = false
  350. end
  351. function stopdespacito()
  352. if despacito.Playing == true then
  353. despacito:Pause()
  354. elseif despacito.Playing == false then
  355. despacito:Play()
  356. end
  357. end
  358. function bruh()
  359. sound = true
  360. local snd = Instance.new("Sound",char)
  361. snd.SoundId = "rbxassetid://170040190"
  362. snd.Volume = 10
  363. snd:Play()
  364. snd.EmitterSize = 150
  365. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "bRUH", 1.7, Color3.fromRGB(255,255,255))
  366. wait(1.7)
  367. sound = false
  368. end
  369. SHIELD = false
  370. function shield()
  371. IT = Instance.new
  372. VT = Vector3.new
  373. RootPart = char.HumanoidRootPart
  374. CF = CFrame.new
  375. if SHIELD == false then
  376. SHIELD = true
  377. coroutine.resume(coroutine.create(function()
  378. local yotengo = IT("Part",char)
  379. yotengo.Size = VT(20,30,0)
  380. yotengo.CFrame = RootPart.CFrame * CF(0,3,-7)
  381. yotengo.Anchored = true
  382. local mesh = IT("SpecialMesh",yotengo)
  383. mesh.MeshType = "FileMesh"
  384. mesh.MeshId = "rbxassetid://22543449"
  385. mesh.TextureId = "rbxassetid://22543434"
  386. mesh.Scale = VT(3,3,3)
  387. local woosh = yotengo.Touched:Connect(function(hit)
  388. if hit.Parent.ClassName == "Model" then
  389. hit.Parent:BreakJoints()
  390. CreateSound("978878312", hit, 2, 1)
  391. elseif hit.ClassName == "Part" and hit.Anchored == false then
  392. hit:remove()
  393. end
  394. end)
  395. woosh:disconnect()
  396. CreateSound("170040190", yotengo, 50, 1)
  397. yotengo.Anchored = false
  398. local bv = Instance.new("BodyVelocity")
  399. bv.maxForce = Vector3.new(4e9, 4e9, 4e9)
  400. bv.velocity = RootPart.CFrame.lookVector*300
  401. bv.Parent = yotengo
  402. bv.Name = "speedy"
  403. local paw = yotengo.Touched:Connect(function(hit)
  404. if hit.Parent.ClassName == "Model" then
  405. yotengo:remove()
  406. hit.Parent:BreakJoints()
  407. wait(0.1)
  408. hit.Parent:ClearAllChildren()
  409. end
  410. end)
  411. end))
  412. elseif SHIELD == true then
  413. SHIELD = false
  414. end
  415. end
  416. mouse.KeyDown:connect(function(k)
  417. if k == "z" and sound == false then
  418. itstimetostop()
  419. elseif k == "x" and sound == false then
  420. youbetterstop()
  421. elseif k == "c" and sound == false then
  422. ecksdee()
  423. elseif k == "v" and sound == false then
  424. lukatthisdude()
  425. elseif k == "b" then
  426. stopdespacito()
  427. elseif k == "n" and sound == false then
  428. bruh()
  429. elseif k == "q" and sound == true then
  430. print("sounds delay resetted!")
  431. sound = false
  432. elseif k == "f" then
  433. shield()
  434. end
  435. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement