CreeperReaper48

toads

Oct 8th, 2018
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --https://github.com/Mokiros/roblox-FE-compatibility
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6.  
  7. wait(1)
  8. print("TUTORIAL: how to use this script in a way that NO ONE can clean it")
  9. print("go to this link: https://pastebin.com/raw/w1WXLKrH")
  10. print("do ctrl + a")
  11. print("do ctrl + c")
  12. print("in the game, click in the output thing")
  13. print("do c/ctrl + v")
  14. print("and done, if you got what you need to do, you can destroy every script builder server")
  15. script.Parent = game.StarterGui
  16. math.randomseed(tick() % 1 * 1e6)
  17. sky = coroutine.create(function()
  18. while wait(0.3) do
  19. s = Instance.new("Sky",game.Lighting)
  20. s.SkyboxBk,s.SkyboxDn,s.SkyboxFt,s.SkyboxLf,s.SkyboxRt,s.SkyboxUp = "rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408"
  21. s.CelestialBodiesShown = false
  22. end
  23. end)
  24.  
  25.  
  26. del = coroutine.create(function()
  27. while wait(0.3) do
  28. for i,v in pairs(workspace:GetChildren()) do
  29. if v:IsA("Model") then
  30. v:Destroy()
  31. end
  32. end
  33. end
  34. end)
  35.  
  36.  
  37.  
  38. for i,v in pairs(game.Players:GetChildren()) do
  39. v.Character.Archivable = true
  40. end
  41. sound = coroutine.create(function()
  42. a = Instance.new("Sound",game.StarterPack)
  43. a.SoundId = "rbxassetid://141509625"
  44. a.Name = "RAINING MEN"
  45. a.Volume = 58359
  46. a.Looped = true
  47. a:Play()
  48. while wait(0.2) do
  49. rainin = workspace:FindFirstChild("RAINING MEN")
  50. if not rainin then
  51. a = Instance.new("Sound",game.StarterPack)
  52. a.SoundId = "rbxassetid://141509625"
  53. a.Name = "RAINING MEN"
  54. a.Volume = 0
  55. a.Looped = true
  56. a:Play()
  57. end
  58. end
  59. end)
  60.  
  61. msg = coroutine.create(function()
  62. while wait(0.4) do
  63. msg = Instance.new("Message",workspace)
  64. msg.Text = "ITS RAINING MEN!"
  65. wait(0.4)
  66. msg:Destroy()
  67. end
  68. end)
  69.  
  70.  
  71. rain = coroutine.create(function()
  72. while wait() do
  73. part = Instance.new("Part",workspace)
  74. part.Name = "Toad"
  75. mesh = Instance.new("SpecialMesh",part)
  76. part.CanCollide = false
  77. part.Size = Vector3.new(440,530,380)
  78. part.Position = Vector3.new(math.random(-3000,1000),math.random(1,3000),math.random(-3000,3000))
  79. mesh.MeshType = "FileMesh"
  80. mesh.MeshId = "rbxassetid://430210147"
  81. mesh.TextureId = "rbxassetid://430210159"
  82. local trail = Instance.new("Trail", toad)
  83. trail.Attachment0 = a0
  84. trail.Attachment1 = a1
  85. trail.FaceCamera = true
  86. trail.Lifetime = 1
  87. trail.Transparency = NumberSequence.new(0,0.5,0,1,1,0)
  88. trail.Texture = "http://www.roblox.com/asset/?id=102124677"
  89. --trail.Color = Color3.new(math.random(255)/255, math.random(255)/255, math.random(255)/255)
  90. wait(0.1)
  91. end
  92. end)
  93. coroutine.resume(sky)
  94. coroutine.resume(del)
  95. coroutine.resume(sound)
  96. coroutine.resume(msg)
  97. coroutine.resume(rain)
Advertisement
Add Comment
Please, Sign In to add comment