SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | ||
| 3 | local Player,game,owner = owner,game | |
| 4 | ||
| 5 | local RealPlayer = Player | |
| 6 | ||
| 7 | do print("FE Compatibility code V3 by Desered_ROBLOX")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 8 | Player = game:GetService("Players").LocalPlayer
| |
| 9 | Character = Player.Character | |
| 10 | PlayerGui = Player.PlayerGui | |
| 11 | Backpack = Player.Backpack | |
| 12 | Torso = Character.Torso | |
| 13 | Head = Character.Head | |
| 14 | LeftArm = Character["Left Arm"] | |
| 15 | LeftLeg = Character["Left Leg"] | |
| 16 | RightArm = Character["Right Arm"] | |
| 17 | RightLeg = Character["Right Leg"] | |
| 18 | LS = Torso["Left Shoulder"] | |
| 19 | LH = Torso["Left Hip"] | |
| 20 | RS = Torso["Right Shoulder"] | |
| 21 | RH = Torso["Right Hip"] | |
| 22 | ||
| 23 | if (script.Parent.className ~= "HopperBin") then | |
| 24 | Tool = Instance.new("HopperBin")
| |
| 25 | Tool.Parent = Backpack | |
| 26 | Tool.Name = "Painis" | |
| 27 | script.Parent = Tool | |
| 28 | end | |
| 29 | Bin = script.Parent | |
| 30 | ||
| 31 | so = function(id,par,vol,pit) | |
| 32 | coroutine.resume(coroutine.create(function() | |
| 33 | local sou = Instance.new("Sound",par or workspace)
| |
| 34 | sou.Volume=vol | |
| 35 | sou.Pitch=pit or 1 | |
| 36 | sou.SoundId=id | |
| 37 | wait() | |
| 38 | sou:play() | |
| 39 | wait(6) | |
| 40 | sou:Remove() | |
| 41 | end)) | |
| 42 | end | |
| 43 | ||
| 44 | function ob1d(mouse) | |
| 45 | size=0.5 | |
| 46 | mode=1 | |
| 47 | color=BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
| 48 | mo=Instance.new("Model")
| |
| 49 | mo.Name="EEEEUGH HA HA HAAAAA" | |
| 50 | mo.Parent=workspace | |
| 51 | game.Debris:AddItem(mo,10) | |
| 52 | p=Instance.new("Seat")
| |
| 53 | p.Name="Torso" | |
| 54 | p.Size=Vector3.new(14,50,14)*size | |
| 55 | p.BrickColor=color | |
| 56 | m=Instance.new("SpecialMesh")
| |
| 57 | m.Parent=p | |
| 58 | p.Name="Torso" | |
| 59 | p.Parent=mo | |
| 60 | p=Instance.new("Seat")
| |
| 61 | p.Shape="Ball" | |
| 62 | p.Size=Vector3.new(24,24,24)*size | |
| 63 | p.BrickColor=color | |
| 64 | p.Name="Legball" | |
| 65 | for i=1, 10 do | |
| 66 | lol=Instance.new("Seat")
| |
| 67 | lol.BrickColor=BrickColor:Black() | |
| 68 | lol.Name="SEE?" | |
| 69 | lol.Parent=mo | |
| 70 | lol.Size=Vector3.new(1,math.random(30,40),1) *size | |
| 71 | w=Instance.new("Weld")
| |
| 72 | w.Part0=p | |
| 73 | w.Part1=lol | |
| 74 | w.C0=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 75 | w.Parent=w.Part0 | |
| 76 | end | |
| 77 | p.Parent=mo | |
| 78 | w=Instance.new("Weld")
| |
| 79 | w.Part0=mo.Torso | |
| 80 | w.Part1=p | |
| 81 | w.C0=CFrame.new(16*(size/2),-48*(size/2),0) | |
| 82 | w.Parent=w.Part0 | |
| 83 | p=Instance.new("Seat")
| |
| 84 | p.Shape="Ball" | |
| 85 | p.Size=Vector3.new(24,24,24)*size | |
| 86 | p.BrickColor=color | |
| 87 | p.Name="Legball" | |
| 88 | for i=1, 10 do | |
| 89 | lol=Instance.new("Seat")
| |
| 90 | lol.BrickColor=BrickColor:Black() | |
| 91 | lol.Name="SEE?" | |
| 92 | lol.Parent=mo | |
| 93 | lol.Size=Vector3.new(1,math.random(30,40),1) *size | |
| 94 | w=Instance.new("Weld")
| |
| 95 | w.Part0=p | |
| 96 | w.Part1=lol | |
| 97 | w.C0=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 98 | w.Parent=w.Part0 | |
| 99 | end | |
| 100 | p.Parent=mo | |
| 101 | w=Instance.new("Weld")
| |
| 102 | w.Part0=mo.Torso | |
| 103 | w.Part1=p | |
| 104 | w.C0=CFrame.new(-16*(size/2),-48*(size/2),0) | |
| 105 | w.Parent=w.Part0 | |
| 106 | p=Instance.new("Seat")
| |
| 107 | p.Shape="Ball" | |
| 108 | p.Size=Vector3.new(21,15,21)*size | |
| 109 | p.BrickColor=color | |
| 110 | p.Name="Legball" | |
| 111 | for i=1, 10 do | |
| 112 | lol=Instance.new("Seat")
| |
| 113 | lol.BrickColor=BrickColor:Black() | |
| 114 | lol.Name="SEE?" | |
| 115 | lol.Parent=mo | |
| 116 | lol.Size=Vector3.new(1,math.random(30,40),1) *size | |
| 117 | w=Instance.new("Weld")
| |
| 118 | w.Part0=p | |
| 119 | w.Part1=lol | |
| 120 | w.C0=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 121 | w.Parent=w.Part0 | |
| 122 | end | |
| 123 | p.Parent=mo | |
| 124 | w=Instance.new("Weld")
| |
| 125 | w.Part0=mo.Torso | |
| 126 | w.Part1=p | |
| 127 | w.C0=CFrame.new(0,60*(size/2),0) | |
| 128 | m=Instance.new("SpecialMesh")
| |
| 129 | m.Parent=p | |
| 130 | p.Name="Head" | |
| 131 | w.Parent=w.Part0 | |
| 132 | s=Instance.new("Sound")
| |
| 133 | s.Parent=mo.Torso | |
| 134 | s.Volume=100 | |
| 135 | s.Pitch=1 | |
| 136 | s.SoundId="http://www.roblox.com/asset/?id=149779810" | |
| 137 | s.Looped=true | |
| 138 | s:play() | |
| 139 | coroutine.resume(coroutine.create(function(Part) | |
| 140 | while Part.Parent~=nil do | |
| 141 | wait(math.random()) | |
| 142 | --[[derp=math.random(1,11) | |
| 143 | if derp==1 then | |
| 144 | so("http://www.roblox.com/asset/?id=151172618",Part,100,math.random(0,2)+math.random()) --PINGAS
| |
| 145 | elseif derp==2 then | |
| 146 | so("http://www.roblox.com/asset/?id=148636758",Part,100,math.random(0,2)+math.random()) --POOTIS
| |
| 147 | elseif derp==3 then | |
| 148 | so("http://www.roblox.com/asset/?id=132026302",Part,100,math.random(0,2)+math.random()) --MEEM
| |
| 149 | elseif derp==4 then | |
| 150 | so("http://www.roblox.com/asset/?id=131228548",Part,100,math.random(0,2)+math.random()) --GET OVER HERE
| |
| 151 | elseif derp==5 then | |
| 152 | so("http://www.roblox.com/asset/?id=131554451",Part,100,math.random(0,2)+math.random()) --DED
| |
| 153 | elseif derp==6 then | |
| 154 | so("http://www.roblox.com/asset/?id=130818264",Part,0.5,math.random(0,2)+math.random()) --ALL TOASTERS
| |
| 155 | elseif derp==7 then | |
| 156 | so("http://www.roblox.com/asset/?id=131313234",Part,100,math.random(0,2)+math.random()) --BOOM HEDSHOT
| |
| 157 | elseif derp==8 then | |
| 158 | so("http://www.roblox.com/asset/?id=130770819",Part,100,math.random(0,2)+math.random()) --I SELL PROPANE
| |
| 159 | elseif derp==9 then | |
| 160 | so("http://www.roblox.com/asset/?id=130776108",Part,100,math.random(0,2)+math.random()) --OM NOM NOM
| |
| 161 | elseif derp==10 then | |
| 162 | so("http://www.roblox.com/asset/?id=130768126",Part,100,math.random(0,2)+math.random()) --DRINK YO PRUNE JUICE
| |
| 163 | elseif derp==11 then | |
| 164 | so("http://www.roblox.com/asset/?id=130815729",Part,100,math.random(0,2)+math.random()) --NOPE.AVI
| |
| 165 | end]] | |
| 166 | so("http://www.roblox.com/asset/?id=148636758",Part,100,1) --GOTTA GO FAST
| |
| 167 | end | |
| 168 | end),mo.Torso) | |
| 169 | --[[mo:MoveTo(Vector3.new(math.random(-300,300),60,math.random(-300,300))) | |
| 170 | mo.Torso.CFrame=mo.Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 171 | ]] | |
| 172 | --mo:MoveTo(Vector3.new(0,60,0)) | |
| 173 | mo.Torso.CFrame=mo.Torso.CFrame*Torso.CFrame*CFrame.new(0,0,-50*size)*CFrame.fromEulerAnglesXYZ(-1.57,0,0) | |
| 174 | mo.Torso.Velocity=mouse.Hit.lookVector * 400 | |
| 175 | coroutine.resume(coroutine.create(function(Part) | |
| 176 | while true do | |
| 177 | wait(math.random(0,1)+math.random()) | |
| 178 | Part.RotVelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40)) | |
| 179 | --Part.RotVelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 180 | end | |
| 181 | end),mo.Torso) | |
| 182 | end | |
| 183 | ||
| 184 | function ob1u(mouse) | |
| 185 | end | |
| 186 | ||
| 187 | buttonhold = false | |
| 188 | ||
| 189 | function key(key,mouse) | |
| 190 | end | |
| 191 | ||
| 192 | function key2(key,mouse) | |
| 193 | end | |
| 194 | ||
| 195 | function s(mouse) | |
| 196 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
| 197 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
| 198 | mouse.KeyDown:connect(key) | |
| 199 | mouse.KeyUp:connect(key2) | |
| 200 | end | |
| 201 | ||
| 202 | function ds(mouse) | |
| 203 | end | |
| 204 | ||
| 205 | Bin.Selected:connect(s) | |
| 206 | Bin.Deselected:connect(ds) |