Robert666121

Despacito

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