SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | --{{WHAT ARE YOU DOING?}}-- | |
143 | --{{Edit by pdnghiaqoi}}-- | |
144 | ||
145 | local p = game.Players.LocalPlayer | |
146 | local char = p.Character | |
147 | local larm = char["Left Arm"] | |
148 | local rarm = char["Right Arm"] | |
149 | local lleg = char["Left Leg"] | |
150 | local rleg = char["Right Leg"] | |
151 | local hed = char.Head | |
152 | local torso = char.Torso | |
153 | local hum = char.Humanoid | |
154 | local weld = Instance.new("Weld",torso) | |
155 | weld.Part0 = torso | |
156 | ||
157 | larm.Transparency = 1 | |
158 | rarm.Transparency = 1 | |
159 | lleg.Transparency = 1 | |
160 | rleg.Transparency = 1 | |
161 | hed.Transparency = 1 | |
162 | torso.Transparency = 1 | |
163 | ||
164 | ||
165 | local train = Instance.new("Part",torso) | |
166 | train.Anchored = true | |
167 | train.CanCollide = false | |
168 | train.Size = Vector3.new(5,5,5) | |
169 | train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
170 | weld.Part1 = train | |
171 | weld.C1 = CFrame.new(0,-4.5,0) * CFrame.Angles(0,math.rad(180),0) | |
172 | train.Anchored = false | |
173 | local TrainMesh = Instance.new("SpecialMesh",train) | |
174 | TrainMesh.MeshType = Enum.MeshType.FileMesh | |
175 | TrainMesh.Scale = Vector3.new(10, 11, 10) | |
176 | TrainMesh.MeshId = "rbxassetid://28937301" | |
177 | TrainMesh.TextureId = "rbxassetid://28937670" | |
178 | ||
179 | hum.WalkSpeed = 60; | |
180 | ||
181 | ||
182 | for i,v in pairs(char:GetChildren()) do | |
183 | if v:IsA("Part") then | |
184 | v.Transparency = 1; | |
185 | elseif v:IsA("Hat") then | |
186 | v:Destroy() | |
187 | elseif v:IsA("Model") then | |
188 | v:Destroy() | |
189 | end | |
190 | end | |
191 | ||
192 | ||
193 | local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end | |
194 | train.Touched:connect(function(p) | |
195 | if p.Parent then | |
196 | if p.Parent:IsA("Model") then | |
197 | if game.Players:FindFirstChild(p.Parent.Name) then | |
198 | if p.Parent.Name ~= game.Players.LocalPlayer.Name then | |
199 | game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints() | |
200 | local Whistle = SFX(738002069) | |
201 | Whistle:Play() | |
202 | end | |
203 | end | |
204 | end | |
205 | end | |
206 | end) | |
207 | ||
208 | local Music = SFX(595983477) | |
209 | Music.Looped = true; | |
210 | wait(1) | |
211 | Music:Play(); | |
212 | ||
213 | local particleemitter = Instance.new("ParticleEmitter", torso) | |
214 | particleemitter.Texture = "http://www.roblox.com/asset/?id=712502883" | |
215 | particleemitter.VelocitySpread = 180 | |
216 | particleemitter.Lifetime = NumberRange.new(5) | |
217 | particleemitter.Speed = NumberRange.new(6) | |
218 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5)}) | |
219 | particleemitter.RotSpeed = NumberRange.new(-55, 55) | |
220 | particleemitter.Rate = 150 | |
221 | particleemitter.Rotation = NumberRange.new(-55, 55) | |
222 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.7, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
223 | particleemitter.LightEmission = 0 | |
224 | particleemitter.Color = ColorSequence.new(Color3.new(255,255,255), Color3.new(255,255,255)) --Color here | |
225 | ||
226 | ||
227 | ||
228 | local plr = game.Players.LocalPlayer | |
229 | local chr = plr.Character | |
230 | local maus = plr:GetMouse() | |
231 | local PGui=plr.PlayerGui | |
232 | local lleg = chr["Left Leg"] | |
233 | local rleg = chr["Right Leg"] | |
234 | local larm = chr["Left Arm"] | |
235 | local rarm = chr["Right Arm"] | |
236 | local hed = chr.Head | |
237 | local rutprt = chr.HumanoidRootPart | |
238 | local torso = chr.Torso | |
239 | local pseudohead=hed:Clone() | |
240 | for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end | |
241 | pseudohead.Name='PseudoHead' | |
242 | pseudohead.Parent=chr.Head | |
243 | local pseudoweld=Instance.new('Weld',torso) | |
244 | pseudoweld.Part0=hed | |
245 | pseudoweld.Name='PseudoHeadWeld' | |
246 | pseudoweld.Part1=pseudohead | |
247 | hed.Transparency=1 | |
248 | for i,x in pairs(chr:GetChildren()) do | |
249 | if x:IsA'HHat' then x:destroy'' end end | |
250 | for i,x in pairs(chr:GetChildren()) do | |
251 | for a,v in pairs(x:GetChildren()) do | |
252 | if v:IsA'CharacterMesh' then v:destroy'' | |
253 | end | |
254 | end | |
255 | end | |
256 | ||
257 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
258 | Text = "Robbie's Banana Peel by pdnghiaqoi."; | |
259 | Color = Color3.new(0, 1, 1); | |
260 | Font = Enum.Font.Code; | |
261 | FontSize = Enum.FontSize.Size24; | |
262 | }) | |
263 | wait() | |
264 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
265 | Text = "Discord:Edit Leaked Guy#4162"; | |
266 | Color = Color3.new(0, 1, 1); | |
267 | Font = Enum.Font.Code; | |
268 | FontSize = Enum.FontSize.Size24; | |
269 | }) |