Advertisement
megaluxe

despacito

Aug 19th, 2018
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.20 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy ~= InternalData.RealOwner then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. Mouse:TriggerEvent("Move")
  25. elseif Input.Sound then
  26. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80. if Library == "RbxUtility" then
  81. return setmetatable({},{
  82. __tostring = function() return "RbxUtility" end;
  83. __index = function(self, Index)
  84. if Index:lower() == "create" then
  85. return function(Type)
  86. return function(Data)
  87. Data = Data or {}
  88. local Inst = Instance.new(Type)
  89. for x,y in pairs(Data) do
  90. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91. if y == owner then y = InternalData.RealOwner end
  92. Inst[x] = y
  93. end
  94. return Inst
  95. end
  96. end
  97. end
  98. return InternalData.LoadLibrary(Library)[Index]
  99. end
  100. })
  101. end
  102. return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105. __index = function (self,Index)
  106. if Index:lower() == 'new' then
  107. return function (Type, Parent)
  108. if Parent == owner then Parent = InternalData.RealOwner end
  109. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110. local Real = InternalData.RealInstance.new(Type,Parent)
  111. if not Type then return end
  112. if Type == "BillboardGui" then
  113. local ToReturn = setmetatable({},{
  114. __index = function (self,Index)
  115. if type(Real[Index]) == "function" then
  116. if Index:lower() == "clone" then
  117. return function (self)
  118. local Real = Real:Clone()
  119. local ToReturn = setmetatable({RealObject = Real},{
  120. __index = function (self,Index)
  121. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122. return Real[Index]
  123. end;
  124. __newindex = function (self,Index,Value)
  125. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126. if Value == owner then Value = InternalData.RealOwner end
  127. Real[Index] = Value
  128. end;
  129. __tostring = function(self) return tostring(Real) end;
  130. })
  131. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132. end
  133. end
  134. return function (self,...) return Real[Index](Real,...)end
  135. end
  136. return Real[Index]
  137. end;
  138. __newindex = function (self,Index,Value)
  139. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140. if Value == owner then Value = InternalData.RealOwner end
  141. Real[Index] = Value
  142. end;
  143. __tostring = function(self) return tostring(Real) end;
  144. })
  145. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146. elseif Type:lower() == "sound" then
  147. Real.Parent = owner.Character;
  148. local ToReturn = setmetatable({RealObject = Real},{
  149. __index = function (self,Index)
  150. if Index:lower() == "playbackloudness" then
  151. return InternalData.SoundLoudness[Real] or 0
  152. elseif type(Real[Index]) == "function" then
  153. if Index:lower() == "clone" then
  154. return function (self)
  155. local Real = Real:Clone()
  156. local ToReturn = setmetatable({},{
  157. __index = function (self,Index)
  158. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159. return Real[Index]
  160. end;
  161. __newindex = function (self,Index,Value)
  162. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163. if Value == owner then Value = InternalData.RealOwner end
  164. Real[Index] = Value
  165. end;
  166. __tostring = function(self) return tostring(Real) end;
  167. })
  168. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169. end
  170. end
  171. return function (self,...) return Real[Index](Real,...)end
  172. end
  173. return Real[Index]
  174. end;
  175. __newindex = function (self,Index,Value)
  176. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177. if Value == owner then Value = InternalData.RealOwner end
  178. Real[Index] = Value
  179. end;
  180. __tostring = function(self) return tostring(Real) end;
  181. })
  182. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183. else
  184. local ToReturn = setmetatable({RealObject = Real},{
  185. __index = function (self,Index)
  186. if type(Real[Index]) == "function" then
  187. if Index:lower() == "clone" then
  188. return function (self)
  189. local Real = Real:Clone()
  190. local ToReturn = setmetatable({},{
  191. __index = function (self,Index)
  192. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193. return Real[Index]
  194. end;
  195. __newindex = function (self,Index,Value)
  196. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197. if Value == owner then Value = InternalData.RealOwner end
  198. Real[Index] = Value
  199. end;
  200. __tostring = function(self) return tostring(Real) end;
  201. })
  202. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203. end
  204. end
  205. return function (self,...) return Real[Index](Real,...)end
  206. end
  207. return Real[Index]
  208. end;
  209. __newindex = function (self,Index,Value)
  210. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211. if Value == owner then Value = InternalData.RealOwner end
  212. Real[Index] = Value
  213. end;
  214. __tostring = function(self) return tostring(Real) end;
  215. })
  216. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217. end
  218. end
  219. end
  220. return InternalData.RealInstance[Index]
  221. end;
  222. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225. __index = function (self,Index)
  226. if InternalData.RealGame[Index] then
  227. local Type = type(InternalData.RealGame[Index])
  228. if Type == "function" then
  229. if Index:lower() == "getservice" or Index:lower() == "service" then
  230. return function (self,Service)
  231. local FakeServices = {
  232. ["players"] = function()
  233. return setmetatable({},{
  234. __index = function (self2,Index2)
  235. local RealService = InternalData.RealGame:GetService(Service)
  236. local Type2 = type(RealService[Index2])
  237. if Type2 == "function" then
  238. return function (self,...) return RealService[Index2](RealService,...)end
  239. else
  240. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241. return RealService[Index2]
  242. end
  243. end;
  244. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245. })
  246. end;
  247. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249. ["debris"] = function()
  250. return setmetatable({},{
  251. __index = function(self2,Index2)
  252. local RealService = InternalData.RealGame:GetService(Service)
  253. local Type2 = type(RealService[Index2])
  254. if Type2 == "function" then
  255. if Index2:lower() == "additem" then
  256. return function (self,Item,Time)
  257. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258. return RealService:AddItem(Item,Time)
  259. end
  260. end
  261. return function (self,...) return RealService[Index2](RealService,...) end
  262. end
  263. return RealService[Index2]
  264. end;
  265. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266. })
  267. end;
  268. ["runservice"] = function()
  269. return setmetatable({},{
  270. __index = function(self2,Index2)
  271. local RealService = InternalData.RealGame:GetService(Service)
  272. local Type2 = type(RealService[Index2])
  273. if Type2 == "function" then
  274. return function (self,...) return RealService[Index2](RealService,...) end
  275. else
  276. local RunServices = {
  277. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278. ["renderstepped"] = function() return RealService["Stepped"] end
  279. }
  280. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281. return RealService[Index2]
  282. end
  283. end;
  284. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285. })
  286. end
  287. }
  288. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289. return InternalData.RealGame:GetService(Service)
  290. end
  291. end
  292. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293. else
  294. if game:GetService(Index) then return game:GetService(Index) end
  295. return InternalData.RealGame[Index]
  296. end
  297. end
  298. return nil
  299. end;
  300. __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --//Paste script below this line.
  304. --[[ by iliketrainsornot ]]--
  305.  
  306. warn("w h y")
  307. print("this cancer is made by iliketrainsornot")
  308. plr = game:GetService("Players").LocalPlayer
  309. char = plr.Character
  310. Instance.new("ForceField",char).Visible = false
  311. hed = char.Head
  312. torso = char.Torso
  313. mouse = plr:GetMouse()
  314. rarm = char["Right Arm"]
  315. larm = char["Left Arm"]
  316. rleg = char["Right Leg"]
  317. lleg = char["Left Leg"]
  318. rarm.Transparency = 1
  319. larm.Transparency = 1
  320. lleg.Transparency = 1
  321. rleg.Transparency = 1
  322. torso.Transparency = 1
  323. activ = false
  324. sound = false
  325. Create = LoadLibrary("RbxUtility").Create
  326. char.Animate:Destroy()
  327. hum = char:FindFirstChildOfClass("Humanoid")
  328. hum.Animator:Destroy()
  329. hum.MaxHealth = math.huge
  330. hum.Health = math.huge
  331. hum.Name = "despacito"
  332. hum.JumpPower = 125
  333. hum.WalkSpeed = 65
  334. for _,c in pairs(char:GetChildren()) do
  335. if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then
  336. c:Remove()
  337. end
  338. end
  339. hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=1047997"
  340. hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=1047998"
  341. hed.face:Destroy()
  342. hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
  343. hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
  344. redhead = Instance.new("Part",torso)
  345. redhead.Size = torso.Size
  346. redhead.Transparency = 0
  347. weld = Instance.new("Weld",redhead)
  348. weld.Part0 = redhead
  349. weld.Part1 = torso
  350. weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0))
  351. redhead1 = Instance.new("SpecialMesh",redhead)
  352. redhead1.MeshId = hed:FindFirstChildOfClass("SpecialMesh").MeshId
  353. redhead1.Scale = Vector3.new(2.85,2.85,2.85)
  354. redhead1.TextureId = "http://www.roblox.com/asset/?id=1047998"
  355. redhead.CanCollide = false
  356. redhead1.Offset = Vector3.new(0,0.3,0)
  357. redhead1.VertexColor = Vector3.new(255,0,0)
  358. redhead = Instance.new("Part",rleg)
  359. redhead.Size = rleg.Size
  360. weld = Instance.new("Weld",redhead)
  361. weld.Part0 = redhead
  362. weld.Part1 = torso
  363. weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  364. redhead1 = Instance.new("SpecialMesh",redhead)
  365. redhead1.MeshId = "rbxassetid://696339842"
  366. redhead1.Scale = Vector3.new(1.3, 1.6, 0.8)
  367. redhead.CanCollide = false
  368. redhead1.Offset = Vector3.new(0, 0, -2.1)
  369. redhead1.VertexColor = Vector3.new(0,0,0)
  370. redhead2 = Instance.new("Decal", redhead)
  371. redhead2.Color3 = Color3.fromRGB(0,0,0)
  372. redhead2.Texture = "rbxassetid://696339520"
  373. despacitotext = Instance.new("Part",hed)
  374. despacitotext.Name = "despacito"
  375. despacitotext.Size = Vector3.new(6.5,3,5.5)
  376. despacitotext.Transparency = 1
  377. despacitotext.CanCollide = false
  378. weld = Instance.new("Weld",redhead)
  379. weld.Part0 = despacitotext
  380. weld.Part1 = hed
  381. surfacegui = Instance.new("SurfaceGui",despacitotext)
  382. text = Instance.new("TextLabel",surfacegui)
  383. text.Size = UDim2.new(1,0,1,0)
  384. text.TextSize = 150
  385. text.Font = Enum.Font.Legacy
  386. text.BackgroundTransparency = 1
  387. surfacegui.AlwaysOnTop = true
  388. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  389. text.TextStrokeTransparency = 0
  390. text.TextColor3 = Color3.fromRGB(0,0,0)
  391. text.Text = "despacito"
  392. despacito = Instance.new("Sound",char)
  393. despacito.SoundId = "rbxassetid://1345639272"
  394. despacito.Volume = 10
  395. despacito.EmitterSize = 100
  396. despacito:Play()
  397. despacito.Name = "despacito"
  398. local seffect = Instance.new("ReverbSoundEffect",despacito)
  399. char.ChildRemoved:connect(function(h)
  400. if h == despacito then
  401. despacito = Instance.new("Sound",char)
  402. despacito.SoundId = "rbxassetid://1345639272"
  403. despacito.Volume = 10
  404. despacito.EmitterSize = 100
  405. despacito:Play()
  406. despacito.Name = "despacito"
  407. despacito.TimePosition = despacito.TimePosition
  408. local seffect = Instance.new("ReverbSoundEffect",despacito)
  409. end
  410. end)
  411. function RemoveOutlines(part)
  412. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  413. end
  414. CFuncs = {
  415. Part = {
  416. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  417. local Part = Create("Part")({
  418. Parent = Parent,
  419. Reflectance = Reflectance,
  420. Transparency = Transparency,
  421. CanCollide = false,
  422. Locked = true,
  423. BrickColor = BrickColor.new(tostring(BColor)),
  424. Name = Name,
  425. Size = Size,
  426. Material = Material
  427. })
  428. RemoveOutlines(Part)
  429. if Size == Vector3.new() then
  430. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  431. else
  432. Part.Size = Size
  433. end
  434. return Part
  435. end
  436. },
  437. Mesh = {
  438. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  439. local Msh = Create(Mesh)({
  440. Parent = Part,
  441. Offset = OffSet,
  442. Scale = Scale
  443. })
  444. if Mesh == "SpecialMesh" then
  445. Msh.MeshType = MeshType
  446. Msh.MeshId = MeshId
  447. end
  448. return Msh
  449. end
  450. },
  451. Weld = {
  452. Create = function(Parent, Part0, Part1, C0, C1)
  453. local Weld = Create("Weld")({
  454. Parent = Parent,
  455. Part0 = Part0,
  456. Part1 = Part1,
  457. C0 = C0,
  458. C1 = C1
  459. })
  460. return Weld
  461. end
  462. },
  463. Sound = {
  464. Create = function(id, par, vol, pit)
  465. local Sound = Create("Sound")({
  466. Volume = vol,
  467. Pitch = pit or 1,
  468. SoundId = "rbxassetid://" .. id,
  469. Parent = par or workspace
  470. })
  471. Sound:play()
  472. return Sound
  473. end
  474. },
  475. Decal = {
  476. Create = function(Color, Texture, Transparency, Name, Parent)
  477. local Decal = Create("Decal")({
  478. Color3 = Color,
  479. Texture = "rbxassetid://" .. Texture,
  480. Transparency = Transparency,
  481. Name = Name,
  482. Parent = Parent
  483. })
  484. return Decal
  485. end
  486. },
  487. BillboardGui = {
  488. Create = function(Parent, Image, Position, Size)
  489. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  490. BillPar.CFrame = CFrame.new(Position)
  491. local Bill = Create("BillboardGui")({
  492. Parent = BillPar,
  493. Adornee = BillPar,
  494. Size = UDim2.new(1, 0, 1, 0),
  495. SizeOffset = Vector2.new(Size, Size)
  496. })
  497. local d = Create("ImageLabel", Bill)({
  498. Parent = Bill,
  499. BackgroundTransparency = 1,
  500. Size = UDim2.new(1, 0, 1, 0),
  501. Image = "rbxassetid://" .. Image
  502. })
  503. return BillPar
  504. end
  505. },
  506. ParticleEmitter = {
  507. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  508. local Particle = Create("ParticleEmitter")({
  509. Parent = Parent,
  510. Color = ColorSequence.new(Color1, Color2),
  511. LightEmission = LightEmission,
  512. Size = Size,
  513. Texture = Texture,
  514. Transparency = Transparency,
  515. ZOffset = ZOffset,
  516. Acceleration = Accel,
  517. Drag = Drag,
  518. LockedToPart = LockedToPart,
  519. VelocityInheritance = VelocityInheritance,
  520. EmissionDirection = EmissionDirection,
  521. Enabled = Enabled,
  522. Lifetime = LifeTime,
  523. Rate = Rate,
  524. Rotation = Rotation,
  525. RotSpeed = RotSpeed,
  526. Speed = Speed,
  527. VelocitySpread = VelocitySpread
  528. })
  529. return Particle
  530. end
  531. },
  532. CreateTemplate = {}
  533. }
  534. function text(Pos, Text, Time, Color)
  535. local Rate = 0.03333333333333333
  536. local Pos = Pos or Vector3.new(0, 0, 0)
  537. local Text = Text or ""
  538. local Time = Time or 2
  539. local Color = Color or Color3.new(1, 0, 1)
  540. local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  541. EffectPart.Anchored = true
  542. local BillboardGui = Create("BillboardGui")({
  543. Size = UDim2.new(3, 0, 3, 0),
  544. Adornee = EffectPart,
  545. Parent = EffectPart
  546. })
  547. local TextLabel = Create("TextLabel")({
  548. BackgroundTransparency = 1,
  549. Size = UDim2.new(1, 0, 1, 0),
  550. TextSize = 55,
  551. Text = Text,
  552. Font = Enum.Font.Cartoon,
  553. TextColor3 = Color3.fromRGB(255,255,255),
  554. TextScaled = false,
  555. Parent = BillboardGui
  556. })
  557. game.Debris:AddItem(EffectPart, Time)
  558. EffectPart.Parent = game:GetService("Workspace")
  559. delay(0, function()
  560. local Frames = Time / Rate
  561. for Frame = 1, Frames do
  562. wait(Rate)
  563. local Percent = Frame / Frames
  564. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  565. TextLabel.TextTransparency = Percent
  566. end
  567. if EffectPart and EffectPart.Parent then
  568. EffectPart:Destroy()
  569. end
  570. end)
  571. end
  572. ArtificialHB = Instance.new("BindableEvent", script)
  573. ArtificialHB.Name = "ArtificialHB"
  574.  
  575. script:WaitForChild("ArtificialHB")
  576. Frame_Speed = 1 / 60
  577. frame = Frame_Speed
  578. tf = 0
  579. allowframeloss = false
  580. tossremainder = false
  581. lastframe = tick()
  582. script.ArtificialHB:Fire()
  583.  
  584. game:GetService("RunService").Heartbeat:connect(function(s, p)
  585. tf = tf + s
  586. if tf >= frame then
  587. if allowframeloss then
  588. script.ArtificialHB:Fire()
  589. lastframe = tick()
  590. else
  591. for i = 1, math.floor(tf / frame) do
  592. script.ArtificialHB:Fire()
  593. end
  594. lastframe = tick()
  595. end
  596. if tossremainder then
  597. tf = 0
  598. else
  599. tf = tf - frame * math.floor(tf / frame)
  600. end
  601. end
  602. end)
  603.  
  604. function CreateSound(ID, PARENT, VOLUME, PITCH)
  605. --coroutine.resume(coroutine.create(function()
  606. local NEWSOUND = Instance.new("Sound", PARENT)
  607. NEWSOUND.Volume = VOLUME
  608. NEWSOUND.Pitch = PITCH
  609. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  610. NEWSOUND:play()
  611. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  612. return NEWSOUND
  613. --end))
  614. end
  615. function Swait(NUMBER)
  616. if NUMBER == 0 or NUMBER == nil then
  617. ArtificialHB.Event:wait()
  618. else
  619. for i = 1, NUMBER do
  620. ArtificialHB.Event:wait()
  621. end
  622. end
  623. end
  624. function itstimetostop()
  625. sound = true
  626. local snd = Instance.new("Sound",char)
  627. snd.SoundId = "rbxassetid://358468903"
  628. snd.Volume = 10
  629. snd.TimePosition = 0.25
  630. snd.EmitterSize = 350
  631. snd:Play()
  632. 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))
  633. wait(2)
  634. 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))
  635. wait(2.6)
  636. 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))
  637. sound = false
  638. end
  639. function youbetterstop()
  640. sound = true
  641. local snd = Instance.new("Sound",char)
  642. snd.SoundId = "rbxassetid://1246891273"
  643. snd.Volume = 10
  644. snd.TimePosition = 1.2
  645. snd:Play()
  646. snd.EmitterSize = 100
  647. 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))
  648. wait(5.2)
  649. sound = false
  650. end
  651. function ecksdee()
  652. sound = true
  653. local snd = Instance.new("Sound",char)
  654. snd.SoundId = "rbxassetid://1486343908"
  655. snd.Volume = 10
  656. snd:Play()
  657. snd.EmitterSize = 150
  658. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255))
  659. wait(0.95)
  660. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255))
  661. sound = false
  662. end
  663. function lukatthisdude()
  664. sound = true
  665. local snd = Instance.new("Sound",char)
  666. snd.SoundId = "rbxassetid://525498255"
  667. snd.Volume = 10
  668. snd:Play()
  669. snd.EmitterSize = 300
  670. text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "lookatthisdude.mp3", 27, Color3.fromRGB(255,255,255))
  671. wait(27)
  672. sound = false
  673. end
  674. function stopdespacito()
  675. if despacito.Playing == true then
  676. despacito:Pause()
  677. elseif despacito.Playing == false then
  678. despacito:Play()
  679. end
  680. end
  681. function bruh()
  682. sound = true
  683. local snd = Instance.new("Sound",char)
  684. snd.SoundId = "rbxassetid://170040190"
  685. snd.Volume = 10
  686. snd:Play()
  687. snd.EmitterSize = 150
  688. 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))
  689. wait(1.7)
  690. sound = false
  691. end
  692. SHIELD = false
  693. function shield()
  694. IT = Instance.new
  695. VT = Vector3.new
  696. RootPart = char.HumanoidRootPart
  697. CF = CFrame.new
  698. if SHIELD == false then
  699. SHIELD = true
  700. warn("YO TENGO")
  701. coroutine.resume(coroutine.create(function()
  702. local yotengo = IT("Part",char)
  703. yotengo.Size = VT(20,30,0)
  704. yotengo.CFrame = RootPart.CFrame * CF(0,3,-7)
  705. yotengo.Anchored = true
  706. local mesh = IT("SpecialMesh",yotengo)
  707. mesh.MeshType = "FileMesh"
  708. mesh.MeshId = "http://www.roblox.com/asset/?id=15158180"
  709. mesh.TextureId = "http://www.roblox.com/asset/?id=15158167"
  710. mesh.Scale = VT(3,3,3)
  711. CreateSound("1236609502", yotengo, 50, 1)
  712. local woosh = yotengo.Touched:Connect(function(hit)
  713. if hit.Parent.ClassName == "Model" then
  714. hit.Parent:BreakJoints()
  715. CreateSound("978878312", hit, 2, 1)
  716. elseif hit.ClassName == "Part" and hit.Anchored == false then
  717. hit:remove()
  718. end
  719. end)
  720. woosh:disconnect()
  721. CreateSound("1236609502", yotengo, 50, 1)
  722. yotengo.Anchored = false
  723. local bv = Instance.new("BodyVelocity")
  724. bv.maxForce = Vector3.new(4e9, 4e9, 4e9)
  725. bv.velocity = RootPart.CFrame.lookVector*300
  726. bv.Parent = yotengo
  727. bv.Name = "speedy"
  728. local paw = yotengo.Touched:Connect(function(hit)
  729. if hit.Parent.ClassName == "Model" then
  730. yotengo:remove()
  731. hit.Parent:BreakJoints()
  732. wait(0.1)
  733. hit.Parent:ClearAllChildren()
  734. end
  735. end)
  736. end))
  737. elseif SHIELD == true then
  738. SHIELD = false
  739. end
  740. end
  741. mouse.KeyDown:connect(function(k)
  742. if k == "z" and sound == false then
  743. itstimetostop()
  744. elseif k == "x" and sound == false then
  745. youbetterstop()
  746. elseif k == "c" and sound == false then
  747. ecksdee()
  748. elseif k == "v" and sound == false then
  749. lukatthisdude()
  750. elseif k == "b" then
  751. stopdespacito()
  752. elseif k == "n" and sound == false then
  753. bruh()
  754. elseif k == "q" and sound == true then
  755. print("sounds delay resetted!")
  756. sound = false
  757. elseif k == "f" then
  758. shield()
  759. end
  760. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement