SHOW:
|
|
- or go back to the newest paste.
1 | - | --By Rufus14 lolol |
1 | + | if game:GetService("RunService"):IsClient() then error("same its h/ but ok") end |
2 | - | --Converted with ttyyuu12345's model to script plugin v4 |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | - | function sandbox(var,func) |
3 | + | local RealPlayer = Player |
4 | - | local env = getfenv(func) |
4 | + | do warn("R.I.P project k33p k00l welp time to serve the fatties pizza")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 |
5 | - | local newenv = setmetatable({},{ |
5 | + | texture = "http://www.roblox.com/asset/?id=150005173" -- put id there, then set last digit one number back |
6 | - | __index = function(self,k) |
6 | + | |
7 | - | if k=="script" then |
7 | + | local A = game.Workspace:GetChildren() |
8 | - | return var |
8 | + | local B = game.Workspace:GetChildren() |
9 | - | else |
9 | + | local C = game.Workspace:GetChildren() |
10 | - | return env[k] |
10 | + | local D = game.Workspace:GetChildren() |
11 | - | end |
11 | + | local E = game.Workspace:GetChildren() |
12 | - | end, |
12 | + | local F = game.Workspace:GetChildren() |
13 | - | }) |
13 | + | for i,v in pairs(A) do |
14 | - | setfenv(func,newenv) |
14 | + | if v:IsA("Part") then |
15 | - | return func |
15 | + | local d = Instance.new("Decal",v) |
16 | v.Decal.Face = "Top" | |
17 | - | cors = {} |
17 | + | v.Decal.Texture = texture |
18 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
18 | + | v.Anchored = true |
19 | - | Part0 = Instance.new("Part") |
19 | + | |
20 | - | Sound1 = Instance.new("Sound") |
20 | + | |
21 | - | Attachment2 = Instance.new("Attachment") |
21 | + | |
22 | - | RopeConstraint3 = Instance.new("RopeConstraint") |
22 | + | for i,v in pairs(B) do |
23 | - | Part4 = Instance.new("Part") |
23 | + | if v:IsA("Part") then |
24 | - | SpecialMesh5 = Instance.new("SpecialMesh") |
24 | + | local s = Instance.new("Decal",v) |
25 | - | Attachment6 = Instance.new("Attachment") |
25 | + | s.Face = "Front" |
26 | - | RopeConstraint7 = Instance.new("RopeConstraint") |
26 | + | s.Texture = texture |
27 | - | RopeConstraint8 = Instance.new("RopeConstraint") |
27 | + | |
28 | - | Part0.Parent = mas |
28 | + | |
29 | - | Part0.BrickColor = BrickColor.new("Pearl") |
29 | + | |
30 | - | Part0.Anchored = true |
30 | + | for i,v in pairs© do |
31 | - | Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949) |
31 | + | if v:IsA("Part") then |
32 | - | Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
32 | + | local h = Instance.new("Decal",v) |
33 | - | Part0.BottomSurface = Enum.SurfaceType.Smooth |
33 | + | h.Face = "Back" |
34 | - | Part0.TopSurface = Enum.SurfaceType.Smooth |
34 | + | h.Texture = texture |
35 | - | Part0.Color = Color3.new(0.905882, 0.905882, 0.92549) |
35 | + | |
36 | - | Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957) |
36 | + | |
37 | - | Part0.Color = Color3.new(0.905882, 0.905882, 0.92549) |
37 | + | |
38 | - | Sound1.Parent = Part0 |
38 | + | for i,v in pairs(D) do |
39 | - | Sound1.SoundId = "rbxassetid://318733059" |
39 | + | if v:IsA("Part") then |
40 | - | Attachment6.Parent = Part0 |
40 | + | local j = Instance.new("Decal",v) |
41 | - | Attachment6.Visible = true |
41 | + | j.Face = "Left" |
42 | - | RopeConstraint8.Parent = Attachment6 |
42 | + | j.Texture = texture |
43 | - | RopeConstraint8.Color = BrickColor.new("Maroon") |
43 | + | |
44 | - | RopeConstraint8.Visible = true |
44 | + | |
45 | - | RopeConstraint8.Attachment0 = nil |
45 | + | |
46 | - | RopeConstraint8.Attachment1 = Attachment6 |
46 | + | for i,v in pairs(E) do |
47 | - | RopeConstraint8.Color = BrickColor.new("Maroon") |
47 | + | if v:IsA("Part") then |
48 | - | RopeConstraint8.Length = 7.5 |
48 | + | local k = Instance.new("Decal",v) |
49 | - | RopeConstraint8.Thickness = 0.20000000298023 |
49 | + | k.Face = "Right" |
50 | - | RopeConstraint8.Restitution = 0.10000000149012 |
50 | + | k.Texture = texture |
51 | - | Part4.Parent = mas |
51 | + | |
52 | - | Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957) |
52 | + | |
53 | - | Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
53 | + | |
54 | - | Part4.BottomSurface = Enum.SurfaceType.Smooth |
54 | + | for i,v in pairs(F) do |
55 | - | Part4.TopSurface = Enum.SurfaceType.Smooth |
55 | + | if v:IsA("Part") then |
56 | - | Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707) |
56 | + | local l = Instance.new("Decal",v) |
57 | - | SpecialMesh5.Parent = Part4 |
57 | + | l.Face = "Bottom" |
58 | - | SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925" |
58 | + | l.Texture = texture |
59 | - | SpecialMesh5.Scale = Vector3.new(3, 3, 3) |
59 | + | |
60 | - | SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881" |
60 | + | end |