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 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer | |
5 | script.Parent = InternalData.RealOwner.Character | |
6 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event | |
7 | local function createObject (connections, index) | |
8 | local proxy = newproxy (true);local meta = getmetatable (proxy); | |
9 | local runbind = function (self, i, ...) connections[i]:Fire (...); end; | |
10 | while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end; | |
11 | meta.__index = function (self, i) | |
12 | if (i == 'TriggerEvent') then return runbind end; | |
13 | return connections[i] and connections[i].Event or index[i]; | |
14 | end; | |
15 | meta.__newindex = index;meta.__metatable = false;return proxy | |
16 | end; | |
17 | local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()}) | |
18 | local UserInputService = createObject({"InputBegan","InputEnded"},{}) | |
19 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
20 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
21 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
22 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
23 | if FiredBy ~= InternalData.RealOwner then return end | |
24 | if Input.MouseEvent then | |
25 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
26 | elseif Input.Sound then | |
27 | if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end | |
28 | else | |
29 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
30 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") 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 | --LoadLibrary("RbxUtility").Create | |
80 | InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library) | |
81 | if Library == "RbxUtility" then | |
82 | return setmetatable({},{ | |
83 | __tostring = function() return "RbxUtility" end; | |
84 | __index = function(self, Index) | |
85 | if Index:lower() == "create" then | |
86 | return function(Type) | |
87 | return function(Data) | |
88 | Data = Data or {} | |
89 | local Inst = Instance.new(Type) | |
90 | for x,y in pairs(Data) do | |
91 | if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end | |
92 | if y == owner then y = InternalData.RealOwner end | |
93 | Inst[x] = y | |
94 | end | |
95 | return Inst | |
96 | end | |
97 | end | |
98 | end | |
99 | return InternalData.LoadLibrary(Library)[Index] | |
100 | end | |
101 | }) | |
102 | end | |
103 | return InternalData.LoadLibrary(Library) | |
104 | end | |
105 | InternalData.RealInstance = Instance;Instance = setmetatable({},{ | |
106 | __index = function (self,Index) | |
107 | if Index:lower() == 'new' then | |
108 | return function (Type, Parent) | |
109 | if Parent == owner then Parent = InternalData.RealOwner end | |
110 | if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end | |
111 | local Real = InternalData.RealInstance.new(Type,Parent) | |
112 | if not Type then return end | |
113 | if Type == "BillboardGui" then | |
114 | local ToReturn = setmetatable({},{ | |
115 | __index = function (self,Index) | |
116 | if type(Real[Index]) == "function" then | |
117 | if Index:lower() == "clone" then | |
118 | return function (self) | |
119 | local Real = Real:Clone() | |
120 | local ToReturn = setmetatable({RealObject = Real},{ | |
121 | __index = function (self,Index) | |
122 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
123 | return Real[Index] | |
124 | end; | |
125 | __newindex = function (self,Index,Value) | |
126 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
127 | if Value == owner then Value = InternalData.RealOwner end | |
128 | Real[Index] = Value | |
129 | end; | |
130 | __tostring = function(self) return tostring(Real) end; | |
131 | }) | |
132 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
133 | end | |
134 | end | |
135 | return function (self,...) return Real[Index](Real,...)end | |
136 | end | |
137 | return Real[Index] | |
138 | end; | |
139 | __newindex = function (self,Index,Value) | |
140 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
141 | if Value == owner then Value = InternalData.RealOwner end | |
142 | Real[Index] = Value | |
143 | end; | |
144 | __tostring = function(self) return tostring(Real) end; | |
145 | }) | |
146 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
147 | elseif Type:lower() == "sound" then | |
148 | Real.Parent = owner.Character; | |
149 | local ToReturn = setmetatable({RealObject = Real},{ | |
150 | __index = function (self,Index) | |
151 | if Index:lower() == "playbackloudness" then | |
152 | return InternalData.SoundLoudness[Real] or 0 | |
153 | elseif type(Real[Index]) == "function" then | |
154 | if Index:lower() == "clone" then | |
155 | return function (self) | |
156 | local Real = Real:Clone() | |
157 | local ToReturn = setmetatable({},{ | |
158 | __index = function (self,Index) | |
159 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
160 | return Real[Index] | |
161 | end; | |
162 | __newindex = function (self,Index,Value) | |
163 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
164 | if Value == owner then Value = InternalData.RealOwner end | |
165 | Real[Index] = Value | |
166 | end; | |
167 | __tostring = function(self) return tostring(Real) end; | |
168 | }) | |
169 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
170 | end | |
171 | end | |
172 | return function (self,...) return Real[Index](Real,...)end | |
173 | end | |
174 | return Real[Index] | |
175 | end; | |
176 | __newindex = function (self,Index,Value) | |
177 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
178 | if Value == owner then Value = InternalData.RealOwner end | |
179 | Real[Index] = Value | |
180 | end; | |
181 | __tostring = function(self) return tostring(Real) end; | |
182 | }) | |
183 | InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn; | |
184 | else | |
185 | local ToReturn = setmetatable({RealObject = Real},{ | |
186 | __index = function (self,Index) | |
187 | if type(Real[Index]) == "function" then | |
188 | if Index:lower() == "clone" then | |
189 | return function (self) | |
190 | local Real = Real:Clone() | |
191 | local ToReturn = setmetatable({},{ | |
192 | __index = function (self,Index) | |
193 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
194 | return Real[Index] | |
195 | end; | |
196 | __newindex = function (self,Index,Value) | |
197 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
198 | if Value == owner then Value = InternalData.RealOwner end | |
199 | Real[Index] = Value | |
200 | end; | |
201 | __tostring = function(self) return tostring(Real) end; | |
202 | }) | |
203 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
204 | end | |
205 | end | |
206 | return function (self,...) return Real[Index](Real,...)end | |
207 | end | |
208 | return Real[Index] | |
209 | end; | |
210 | __newindex = function (self,Index,Value) | |
211 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
212 | if Value == owner then Value = InternalData.RealOwner end | |
213 | Real[Index] = Value | |
214 | end; | |
215 | __tostring = function(self) return tostring(Real) end; | |
216 | }) | |
217 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
218 | end | |
219 | end | |
220 | end | |
221 | return InternalData.RealInstance[Index] | |
222 | end; | |
223 | __tostring = function(self) return tostring(InternalData.RealInstance) end; | |
224 | }); | |
225 | InternalData.RealGame = game;game = setmetatable({},{ | |
226 | __index = function (self,Index) | |
227 | if InternalData.RealGame[Index] then | |
228 | local Type = type(InternalData.RealGame[Index]) | |
229 | if Type == "function" then | |
230 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
231 | return function (self,Service) | |
232 | local FakeServices = { | |
233 | ["players"] = function() | |
234 | return setmetatable({},{ | |
235 | __index = function (self2,Index2) | |
236 | local RealService = InternalData.RealGame:GetService(Service) | |
237 | local Type2 = type(RealService[Index2]) | |
238 | if Type2 == "function" then | |
239 | return function (self,...) return RealService[Index2](RealService,...)end | |
240 | else | |
241 | if Index2:lower() == "localplayer" then return InternalData.NewOwner end | |
242 | return RealService[Index2] | |
243 | end | |
244 | end; | |
245 | __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end | |
246 | }) | |
247 | end; | |
248 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
249 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
250 | ["debris"] = function() | |
251 | return setmetatable({},{ | |
252 | __index = function(self2,Index2) | |
253 | local RealService = InternalData.RealGame:GetService(Service) | |
254 | local Type2 = type(RealService[Index2]) | |
255 | if Type2 == "function" then | |
256 | if Index2:lower() == "additem" then | |
257 | return function (self,Item,Time) | |
258 | if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end | |
259 | return RealService:AddItem(Item,Time) | |
260 | end | |
261 | end | |
262 | return function (self,...) return RealService[Index2](RealService,...) end | |
263 | end | |
264 | return RealService[Index2] | |
265 | end; | |
266 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end | |
267 | }) | |
268 | end; | |
269 | ["runservice"] = function() | |
270 | return setmetatable({},{ | |
271 | __index = function(self2,Index2) | |
272 | local RealService = InternalData.RealGame:GetService(Service) | |
273 | local Type2 = type(RealService[Index2]) | |
274 | if Type2 == "function" then | |
275 | return function (self,...) return RealService[Index2](RealService,...) end | |
276 | else | |
277 | local RunServices = { | |
278 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
279 | ["renderstepped"] = function() return RealService["Stepped"] end | |
280 | } | |
281 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
282 | return RealService[Index2] | |
283 | end | |
284 | end; | |
285 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end | |
286 | }) | |
287 | end | |
288 | } | |
289 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
290 | return InternalData.RealGame:GetService(Service) | |
291 | end | |
292 | end | |
293 | return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end | |
294 | else | |
295 | if game:GetService(Index) then return game:GetService(Index) end | |
296 | return InternalData.RealGame[Index] | |
297 | end | |
298 | end | |
299 | return nil | |
300 | end; | |
301 | __tostring = function(self) return tostring(InternalData.game) end | |
302 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!") | |
303 | ||
304 | --By Rufus14 | |
305 | --Converted with ttyyuu12345's model to script plugin v4 | |
306 | mouse = game.Players.LocalPlayer:GetMouse() | |
307 | game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
308 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
309 | txtfag.Adornee = okcool | |
310 | txtfag.Name = "go die skid" | |
311 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
312 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
313 | local textfag = Instance.new("TextLabel", txtfag) | |
314 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
315 | textfag.FontSize = "Size8" | |
316 | textfag.TextScaled = true | |
317 | textfag.TextTransparency = 0 | |
318 | textfag.BackgroundTransparency = 1 | |
319 | textfag.TextTransparency = 0 | |
320 | textfag.TextStrokeTransparency = 0 | |
321 | textfag.Font = "Cartoon" | |
322 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
323 | v = Instance.new("Part") | |
324 | v.Name = "ColorBrick" | |
325 | v.Parent = part | |
326 | v.FormFactor = "Symmetric" | |
327 | v.Anchored = true | |
328 | v.CanCollide = false | |
329 | v.BottomSurface = "Smooth" | |
330 | v.TopSurface = "Smooth" | |
331 | v.Size = Vector3.new(10, 5, 3) | |
332 | v.Transparency = 0.7 | |
333 | v.BrickColor = BrickColor.new("Toothpaste") | |
334 | v.Transparency = 1 | |
335 | textfag.TextColor3 = v.BrickColor.Color | |
336 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
337 | v.Shape = "Block" | |
338 | textfag.Text = "oof" | |
339 | wait(2) | |
340 | textfag.Text = "no u" | |
341 | wait(0.3) | |
342 | textfag.Text = game.Players.LocalPlayer.Character.Name.." the Skid Cop" | |
343 | local music = Instance.new("Sound", game.Players.LocalPlayer.Character.Head) | |
344 | music.Volume = 1 | |
345 | music.SoundId = "rbxassetid://937011956" | |
346 | music:Play() | |
347 | music.Looped = true | |
348 | music.Name = "skid police" | |
349 | cloneofmusic = music:Clone() | |
350 | alert = Instance.new("Sound", game.Players.LocalPlayer.Character.Head) | |
351 | alert.Volume = 10 | |
352 | alert.SoundId = "rbxassetid://1011639456" | |
353 | stopp = Instance.new("Sound", game.Players.LocalPlayer.Character.Head) | |
354 | stopp.Volume = 10 | |
355 | stopp.SoundId = "rbxassetid://500281906" | |
356 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20 | |
357 | --Converted with ttyyuu12345's model to script plugin v4 | |
358 | function sandbox(var,func) | |
359 | local env = getfenv(func) | |
360 | local newenv = setmetatable({},{ | |
361 | __index = function(self,k) | |
362 | if k=="script" then | |
363 | return var | |
364 | else | |
365 | return env[k] | |
366 | end | |
367 | end, | |
368 | }) | |
369 | setfenv(func,newenv) | |
370 | return func | |
371 | end | |
372 | cors = {} | |
373 | mas = Instance.new("Model",game:GetService("Lighting")) | |
374 | Model0 = Instance.new("Model") | |
375 | Part1 = Instance.new("Part") | |
376 | Part2 = Instance.new("Part") | |
377 | Part3 = Instance.new("Part") | |
378 | Part4 = Instance.new("Part") | |
379 | Part5 = Instance.new("Part") | |
380 | Part6 = Instance.new("Part") | |
381 | Part7 = Instance.new("Part") | |
382 | Part8 = Instance.new("Part") | |
383 | Part9 = Instance.new("Part") | |
384 | Model0.Name = "Jailol" | |
385 | Model0.Parent = mas | |
386 | Part1.Parent = Model0 | |
387 | Part1.Material = Enum.Material.DiamondPlate | |
388 | Part1.BrickColor = BrickColor.new("Really black") | |
389 | Part1.Size = Vector3.new(27.2409039, 20.9545422, 4.19090843) | |
390 | Part1.CFrame = CFrame.new(-14.9545441, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
391 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
392 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
393 | Part1.Color = Color3.new(0,0,0) | |
394 | Part1.Position = Vector3.new(-14.9545441, 10.4772959, -87.8842926) | |
395 | Part1.Color = Color3.new(0,0,0) | |
396 | Part2.Parent = Model0 | |
397 | Part2.Material = Enum.Material.DiamondPlate | |
398 | Part2.BrickColor = BrickColor.new("Really black") | |
399 | Part2.Size = Vector3.new(27.2409039, 20.9545422, 4.19090843) | |
400 | Part2.CFrame = CFrame.new(26.9545403, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
401 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
402 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
403 | Part2.Color = Color3.new(0,0,0) | |
404 | Part2.Position = Vector3.new(26.9545403, 10.4772959, -87.8842926) | |
405 | Part2.Color = Color3.new(0,0,0) | |
406 | Part3.Name = "GlassDoor" | |
407 | Part3.Parent = Model0 | |
408 | Part3.Material = Enum.Material.Glass | |
409 | Part3.BrickColor = BrickColor.new("Dark stone grey") | |
410 | Part3.Transparency = 0.55000001192093 | |
411 | Part3.Size = Vector3.new(14.6681786, 20.9545422, 4.19090843) | |
412 | Part3.CFrame = CFrame.new(5.99999619, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
413 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
414 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
415 | Part3.Color = Color3.new(0.392157, 0.392157, 0.392157) | |
416 | Part3.Position = Vector3.new(5.99999619, 10.4772959, -87.8842926) | |
417 | Part3.Color = Color3.new(0.392157, 0.392157, 0.392157) | |
418 | Part4.Parent = Model0 | |
419 | Part4.Material = Enum.Material.DiamondPlate | |
420 | Part4.BrickColor = BrickColor.new("Really black") | |
421 | Part4.Rotation = Vector3.new(0, -90, 0) | |
422 | Part4.Size = Vector3.new(53.4340782, 20.9545422, 4.19090843) | |
423 | Part4.CFrame = CFrame.new(38.4795341, 10.4772959, -116.696777, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
424 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
425 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
426 | Part4.Color = Color3.new(0,0,0) | |
427 | Part4.Position = Vector3.new(38.4795341, 10.4772959, -116.696777) | |
428 | Part4.Orientation = Vector3.new(0, -90, 0) | |
429 | Part4.Color = Color3.new(0,0,0) | |
430 | Part5.Parent = Model0 | |
431 | Part5.Material = Enum.Material.DiamondPlate | |
432 | Part5.BrickColor = BrickColor.new("Really black") | |
433 | Part5.Rotation = Vector3.new(0, -90, 0) | |
434 | Part5.Size = Vector3.new(53.4340782, 20.9545422, 4.19090843) | |
435 | Part5.CFrame = CFrame.new(-26.4795418, 10.4772959, -116.696777, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
436 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
437 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
438 | Part5.Color = Color3.new(0,0,0) | |
439 | Part5.Position = Vector3.new(-26.4795418, 10.4772959, -116.696777) | |
440 | Part5.Orientation = Vector3.new(0, -90, 0) | |
441 | Part5.Color = Color3.new(0,0,0) | |
442 | Part6.Parent = Model0 | |
443 | Part6.Material = Enum.Material.DiamondPlate | |
444 | Part6.BrickColor = BrickColor.new("Really black") | |
445 | Part6.Rotation = Vector3.new(-180, 0, -180) | |
446 | Part6.Size = Vector3.new(60.7681732, 20.9545422, 4.19090843) | |
447 | Part6.CFrame = CFrame.new(5.99999619, 10.4772959, -141.318375, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
448 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
449 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
450 | Part6.Color = Color3.new(0,0,0) | |
451 | Part6.Position = Vector3.new(5.99999619, 10.4772959, -141.318375) | |
452 | Part6.Orientation = Vector3.new(0, 180, 0) | |
453 | Part6.Color = Color3.new(0,0,0) | |
454 | Part7.Parent = Model0 | |
455 | Part7.Material = Enum.Material.Glass | |
456 | Part7.BrickColor = BrickColor.new("Really black") | |
457 | Part7.Transparency = 0.55000001192093 | |
458 | Part7.Size = Vector3.new(61.1681786, 0.0900000036, 49.6909103) | |
459 | Part7.CFrame = CFrame.new(5.91590881, 0.0546672344, -114.696777, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
460 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
461 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
462 | Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
463 | Part7.Position = Vector3.new(5.91590881, 0.0546672344, -114.696777) | |
464 | Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
465 | Part7.Name = "Floor" | |
466 | function parttouchedddd(part) | |
467 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid") | |
468 | if humanoid then | |
469 | if humanoid.Parent.Name ~= game.Players.LocalPlayer.Name then | |
470 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
471 | if v.ClassName == "LocalScript" or v.ClassName == "Script" or v.ClassName == "Sound" then | |
472 | v:Remove() | |
473 | end | |
474 | for q,w in pairs(v:GetChildren()) do | |
475 | if w.ClassName == "LocalScript" or w.ClassName == "Script" or w.ClassName == "Sound" then | |
476 | w:Remove() | |
477 | end | |
478 | end | |
479 | end | |
480 | end | |
481 | end | |
482 | end | |
483 | Part7.Touched:connect(parttouchedddd) | |
484 | Part8.Parent = Model0 | |
485 | Part8.Material = Enum.Material.Glass | |
486 | Part8.BrickColor = BrickColor.new("Teal") | |
487 | Part8.Transparency = 0.55000001192093 | |
488 | Part8.Size = Vector3.new(69.1681824, 0.45454216, 57.6909103) | |
489 | Part8.CFrame = CFrame.new(5.915905, 21.1818428, -114.696777, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
490 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
491 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
492 | Part8.Color = Color3.new(0.0784314, 1, 0.862745) | |
493 | Part8.Position = Vector3.new(5.915905, 21.1818428, -114.696777) | |
494 | Part8.Color = Color3.new(0.0784314, 1, 0.862745) | |
495 | Part9.Name = "wow" | |
496 | Part9.Parent = Model0 | |
497 | Part9.BrickColor = BrickColor.new("Toothpaste") | |
498 | Part9.Material = Enum.Material.Neon | |
499 | Part9.Rotation = Vector3.new(-180, 0, -165) | |
500 | Part9.Anchored = true | |
501 | Part9.Size = Vector3.new(14.7681732, 6.70454216, 0.190908432) | |
502 | Part9.CFrame = CFrame.new(2.99999595, 11.2613897, -139.068375, -0.965925872, 0.258818984, 0, 0.258818984, 0.965925872, 0, 0, 0, -1) | |
503 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
504 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
505 | Part9.Position = Vector3.new(2.99999595, 11.2613897, -139.068375) | |
506 | Part9.Orientation = Vector3.new(0, 180, 15) | |
507 | for i,v in pairs(mas:GetChildren()) do | |
508 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
509 | pcall(function() v:MakeJoints() end) | |
510 | end | |
511 | mas:Destroy() | |
512 | for i,v in pairs(cors) do | |
513 | spawn(function() | |
514 | pcall(v) | |
515 | end) | |
516 | end | |
517 | --Converted with ttyyuu12345's model to script plugin v4 | |
518 | function sandbox(var,func) | |
519 | local env = getfenv(func) | |
520 | local newenv = setmetatable({},{ | |
521 | __index = function(self,k) | |
522 | if k=="script" then | |
523 | return var | |
524 | else | |
525 | return env[k] | |
526 | end | |
527 | end, | |
528 | }) | |
529 | setfenv(func,newenv) | |
530 | return func | |
531 | end | |
532 | cors = {} | |
533 | mas = Instance.new("Model",game:GetService("Lighting")) | |
534 | Part0 = Instance.new("Part") | |
535 | Part0.Name = "Posof" | |
536 | Part0.Parent = mas | |
537 | Part0.Material = Enum.Material.Glass | |
538 | Part0.BrickColor = BrickColor.new("Dark stone grey") | |
539 | Part0.Transparency = 0.55000001192093 | |
540 | Part0.Anchored = true | |
541 | Part0.CanCollide = false | |
542 | Part0.Size = Vector3.new(14.6681786, 0.0500000007, 4.19090843) | |
543 | Part0.CFrame = Part3.CFrame * CFrame.new(0,-10,3) | |
544 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
545 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
546 | Part0.Color = Color3.new(0.392157, 0.392157, 0.392157) | |
547 | Part0.Color = Color3.new(0.392157, 0.392157, 0.392157) | |
548 | for i,v in pairs(mas:GetChildren()) do | |
549 | v.Parent = Model0 | |
550 | pcall(function() v:MakeJoints() end) | |
551 | end | |
552 | mas:Destroy() | |
553 | for i,v in pairs(cors) do | |
554 | spawn(function() | |
555 | pcall(v) | |
556 | end) | |
557 | end | |
558 | for i,v in pairs(Model0:GetChildren()) do | |
559 | if v.ClassName == "Part" then | |
560 | v.Anchored = true | |
561 | end | |
562 | end | |
563 | -- Objects | |
564 | ||
565 | local SurfaceGui = Instance.new("SurfaceGui") | |
566 | local TextBox = Instance.new("TextBox") | |
567 | ||
568 | -- Properties | |
569 | ||
570 | SurfaceGui.Parent = game.Players.LocalPlayer.Character.Jailol.wow | |
571 | ||
572 | TextBox.Parent = SurfaceGui | |
573 | TextBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
574 | TextBox.BackgroundTransparency = 1 | |
575 | TextBox.Size = UDim2.new(1, 0, 1, 0) | |
576 | TextBox.Font = Enum.Font.Cartoon | |
577 | TextBox.FontSize = Enum.FontSize.Size14 | |
578 | TextBox.Text = "Your scripts are bad Ekx Dee" | |
579 | TextBox.TextScaled = true | |
580 | TextBox.TextSize = 14 | |
581 | TextBox.TextWrapped = true | |
582 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
583 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
584 | v:destroy() | |
585 | end | |
586 | end | |
587 | --Converted with ttyyuu12345's model to script plugin v4 | |
588 | function sandbox(var,func) | |
589 | local env = getfenv(func) | |
590 | local newenv = setmetatable({},{ | |
591 | __index = function(self,k) | |
592 | if k=="script" then | |
593 | return var | |
594 | else | |
595 | return env[k] | |
596 | end | |
597 | end, | |
598 | }) | |
599 | setfenv(func,newenv) | |
600 | return func | |
601 | end | |
602 | cors = {} | |
603 | mas = Instance.new("Model",game:GetService("Lighting")) | |
604 | Part0hat = Instance.new("Part") | |
605 | SpecialMesh1 = Instance.new("SpecialMesh") | |
606 | Part0hat.Name = "Police Cap" | |
607 | Part0hat.Parent = mas | |
608 | Part0hat.Rotation = Vector3.new(0, -90, 0) | |
609 | Part0hat.Anchored = false | |
610 | Part0hat.FormFactor = Enum.FormFactor.Plate | |
611 | Part0hat.Size = Vector3.new(2, 0.400000006, 1) | |
612 | Part0hat.CFrame = CFrame.new(-6.5, 0.599538267, -62, 0, 0, -1, 0, 1, -0, 1, 0, -0) | |
613 | Part0hat.BottomSurface = Enum.SurfaceType.Weld | |
614 | Part0hat.TopSurface = Enum.SurfaceType.Smooth | |
615 | Part0hat.Position = Vector3.new(-6.5, 0.599538267, -62) | |
616 | Part0hat.Orientation = Vector3.new(0, -90, 0) | |
617 | SpecialMesh1.Parent = Part0hat | |
618 | SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1028788" | |
619 | SpecialMesh1.Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002) | |
620 | SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=1028787" | |
621 | SpecialMesh1.VertexColor = Vector3.new(2, 1, 1) | |
622 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
623 | SpecialMesh1.Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002) | |
624 | for i,v in pairs(mas:GetChildren()) do | |
625 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
626 | pcall(function() v:MakeJoints() end) | |
627 | end | |
628 | mas:Destroy() | |
629 | for i,v in pairs(cors) do | |
630 | spawn(function() | |
631 | pcall(v) | |
632 | end) | |
633 | end | |
634 | local weldofcap = Instance.new("Weld", Part0hat) | |
635 | weldofcap.Part0 = game.Players.LocalPlayer.Character.Head | |
636 | weldofcap.Part1 = Part0hat | |
637 | weldofcap.C0 = CFrame.new(0,0.5,0) | |
638 | canwalk = true | |
639 | using = false | |
640 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
641 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
642 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
643 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
644 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
645 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
646 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
647 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
648 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
649 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
650 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
651 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
652 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
653 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
654 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
655 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
656 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
657 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
658 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
659 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
660 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
661 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
662 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
663 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
664 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
665 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
666 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
667 | local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone() | |
668 | local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
669 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
670 | headweld.Part1 = game.Players.LocalPlayer.Character.Head | |
671 | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) | |
672 | game.Players.LocalPlayer.Character.Torso.Neck:Remove() | |
673 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 450 | |
674 | game.Players.LocalPlayer.Character.Humanoid.Health = 450 | |
675 | jailedbois = {} | |
676 | function clicked() | |
677 | local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid") | |
678 | if humanoid and not using then | |
679 | if humanoid.Parent.Name ~= "Rufus14" then | |
680 | using = true | |
681 | canwalk = false | |
682 | table.insert(jailedbois, humanoid.Parent.Name) | |
683 | local donttp = Instance.new("BoolValue", humanoid.Parent) | |
684 | donttp.Name = "DontTp" | |
685 | humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
686 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
687 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
688 | v:Remove() | |
689 | end | |
690 | end | |
691 | --Converted with ttyyuu12345's model to script plugin v4 | |
692 | function sandbox(var,func) | |
693 | local env = getfenv(func) | |
694 | local newenv = setmetatable({},{ | |
695 | __index = function(self,k) | |
696 | if k=="script" then | |
697 | return var | |
698 | else | |
699 | return env[k] | |
700 | end | |
701 | end, | |
702 | }) | |
703 | setfenv(func,newenv) | |
704 | return func | |
705 | end | |
706 | cors = {} | |
707 | mas = Instance.new("Model",game:GetService("Lighting")) | |
708 | local Sound0 = Instance.new("Sound") | |
709 | Sound0.Name = "crybabi" | |
710 | Sound0.Parent = mas | |
711 | Sound0.SoundId = "rbxassetid://553084572" | |
712 | Sound0.Volume = 10 | |
713 | for i,v in pairs(mas:GetChildren()) do | |
714 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
715 | pcall(function() v:MakeJoints() end) | |
716 | end | |
717 | mas:Destroy() | |
718 | for i,v in pairs(cors) do | |
719 | spawn(function() | |
720 | pcall(v) | |
721 | end) | |
722 | end | |
723 | humanoid.Name = "ContentCOPP'D" | |
724 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
725 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
726 | alert:Play() | |
727 | music.Volume = 5 | |
728 | textfag.Text = "HECKING HECC!!" | |
729 | for i = 0,1 , 0.05 do | |
730 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) | |
731 | --humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Torso.Position),i) | |
732 | game:GetService("RunService").RenderStepped:wait() | |
733 | end | |
734 | wait(0.5) | |
735 | humanoid.WalkSpeed = 0 | |
736 | humanoid.JumpPower = 0 | |
737 | stopp:Play() | |
738 | textfag.Text = "Stopp!" | |
739 | for i = 0,1 , 0.05 do | |
740 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) | |
741 | humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Torso.Position),i) | |
742 | game:GetService("RunService").RenderStepped:wait() | |
743 | end | |
744 | for i = 0,1 , 0.08 do | |
745 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0):inverse(),i) | |
746 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.436240673, -0.959949374, 1, -5.23747954e-22, -2.65673535e-22, -2.65673535e-22, 3.13253081e-22, -1, 5.23747954e-22, 1, 3.13253081e-22),i) | |
747 | game:GetService("RunService").RenderStepped:wait() | |
748 | end | |
749 | wait(1) | |
750 | textfag.Text = "You have been arrested by the skid Police!" | |
751 | wait(2) | |
752 | textfag.Text = "Because you can't make a script yourself!" | |
753 | wait(2) | |
754 | Sound0:Play() | |
755 | local path = game:GetService("PathfindingService"):ComputeRawPathAsync(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Jailol.Posof.Position,200) | |
756 | local go = path:GetPointCoordinates() | |
757 | Sound0:Play() | |
758 | canwalk = true | |
759 | textfag.Text = game.Players.LocalPlayer.Character.Name.." the Skid Cop" | |
760 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20 | |
761 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 80 | |
762 | for i = 1, #go do | |
763 | local pos = Instance.new("Part", humanoid.Parent) | |
764 | pos.Name = "GoTo1" | |
765 | pos.TopSurface = "Smooth" | |
766 | pos.BottomSurface = "Smooth" | |
767 | pos.Transparency = 1 | |
768 | pos.CanCollide = false | |
769 | pos.Size = Vector3.new(0.4,0.4,0.4) | |
770 | pos.Anchored = true | |
771 | pos.Position = go[i] + Vector3.new(0,2.8,0) | |
772 | for i = 0,0.5 , 0.04 do | |
773 | humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(pos.CFrame,i) | |
774 | game:GetService("RunService").RenderStepped:wait() | |
775 | end | |
776 | pos:destroy() | |
777 | --humanoid.Parent.Torso.CFrame = CFrame.new(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Jailol.GlassDoor.Position) | |
778 | end | |
779 | using = false | |
780 | humanoid.Parent.Torso.Anchored = true | |
781 | for i = 0,1 , 0.03 do | |
782 | humanoid.Parent.Torso.CFrame = Part3.CFrame:lerp(humanoid.Parent.Torso.CFrame * CFrame.new(0,-1,-1.5),i) | |
783 | game:GetService("RunService").RenderStepped:wait() | |
784 | end | |
785 | local isinjail = Instance.new("BoolValue", humanoid.Parent) | |
786 | isinjail.Name = "injail" | |
787 | donttp:destroy() | |
788 | local torposit = humanoid.Parent.Torso.CFrame | |
789 | local txtfage = Instance.new("BillboardGui", humanoid.Parent.Head) | |
790 | txtfage.Adornee = oboi | |
791 | txtfage.Name = "time" | |
792 | txtfage.Size = UDim2.new(2, 0, 1.2, 0) | |
793 | txtfage.StudsOffset = Vector3.new(-5, 3, 0) | |
794 | local textfag = Instance.new("TextLabel", txtfage) | |
795 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
796 | textfag.FontSize = "Size8" | |
797 | textfag.TextScaled = true | |
798 | textfag.TextTransparency = 0 | |
799 | textfag.BackgroundTransparency = 1 | |
800 | textfag.TextTransparency = 0 | |
801 | textfag.TextStrokeTransparency = 0 | |
802 | textfag.Font = "Arial" | |
803 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
804 | v = Instance.new("Part") | |
805 | v.Name = "ColorBrick" | |
806 | v.Parent = part | |
807 | v.FormFactor = "Symmetric" | |
808 | v.Anchored = true | |
809 | v.CanCollide = false | |
810 | v.BottomSurface = "Smooth" | |
811 | v.TopSurface = "Smooth" | |
812 | v.Size = Vector3.new(10, 5, 3) | |
813 | v.Transparency = 0.7 | |
814 | v.BrickColor = humanoid.Parent.Torso.BrickColor | |
815 | v.Transparency = 1 | |
816 | textfag.TextColor3 = v.BrickColor.Color | |
817 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
818 | v.Shape = "Block" | |
819 | local numberfag = Instance.new("NumberValue", txtfage) | |
820 | numberfag.Name = "TimeValue" | |
821 | numberfag.Value = math.random(500,1000) | |
822 | textfag.Text = humanoid.Parent.Name.." (Time: "..numberfag.Value..")" | |
823 | humanoid.Parent.Torso.Anchored = false | |
824 | humanoid.WalkSpeed = 16 | |
825 | humanoid.JumpPower = 80 | |
826 | wait(2) | |
827 | donttp:destroy() | |
828 | humanoid.Parent.Torso.CFrame = torposit | |
829 | end | |
830 | end | |
831 | end | |
832 | mouse.Button1Down:connect(clicked) | |
833 | while true do | |
834 | for i,v in pairs(game.Players:GetChildren()) do | |
835 | if v.Character then | |
836 | for i = 1,#jailedbois do | |
837 | if v.Character.Name == jailedbois[i] then | |
838 | if not v.Character:findFirstChild("DontTp") then | |
839 | if not v.Character:findFirstChild("injail") then | |
840 | if v.Character:findFirstChild("Head") then | |
841 | local isinjail = Instance.new("BoolValue", v.Character) | |
842 | isinjail.Name = "injail" | |
843 | v.Character.Head.CFrame = Part3.CFrame * CFrame.new(0,0,-4) | |
844 | local txtfage = Instance.new("BillboardGui", v.Character.Head) | |
845 | txtfage.Adornee = oboi | |
846 | txtfage.Name = "time" | |
847 | txtfage.Size = UDim2.new(2, 0, 1.2, 0) | |
848 | txtfage.StudsOffset = Vector3.new(-5, 3, 0) | |
849 | local textfag = Instance.new("TextLabel", txtfage) | |
850 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
851 | textfag.FontSize = "Size8" | |
852 | textfag.TextScaled = true | |
853 | textfag.TextTransparency = 0 | |
854 | textfag.BackgroundTransparency = 1 | |
855 | textfag.TextTransparency = 0 | |
856 | textfag.TextStrokeTransparency = 0 | |
857 | textfag.Font = "Arial" | |
858 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
859 | e = Instance.new("Part") | |
860 | e.Name = "ColorBrick" | |
861 | e.Parent = v.Character | |
862 | e.FormFactor = "Symmetric" | |
863 | e.Anchored = true | |
864 | e.CanCollide = false | |
865 | e.BottomSurface = "Smooth" | |
866 | e.TopSurface = "Smooth" | |
867 | e.Size = Vector3.new(10, 5, 3) | |
868 | e.Transparency = 0.7 | |
869 | e.BrickColor = v.Character.Torso.BrickColor | |
870 | e.Transparency = 1 | |
871 | textfag.TextColor3 = e.BrickColor.Color | |
872 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
873 | e.Shape = "Block" | |
874 | local numberfag = Instance.new("NumberValue", txtfage) | |
875 | numberfag.Name = "TimeValue" | |
876 | numberfag.Value = math.random(500,1000) | |
877 | textfag.Text = v.Character.Name.." (Time: "..numberfag.Value..")" | |
878 | end | |
879 | end | |
880 | end | |
881 | end | |
882 | end | |
883 | if v.Character:findFirstChild("Head") then | |
884 | local timebillboard = v.Character.Head:findFirstChild("time") | |
885 | if timebillboard then | |
886 | local timetxt = timebillboard:findFirstChild("TimeValue") | |
887 | if timetxt then | |
888 | for q,w in pairs(v.Character:GetChildren()) do | |
889 | if w.ClassName == "LocalScript" or w.ClassName == "Script" then | |
890 | w:Remove() | |
891 | end | |
892 | end | |
893 | timetxt.Value = timetxt.Value - 1 | |
894 | timebillboard.TextLabel.Text = v.Character.Name.." (Time: "..timetxt.Value..")" | |
895 | end | |
896 | if timetxt.Value < 1 then | |
897 | v.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Jailol.Posof.CFrame * CFrame.new(0,2,0) | |
898 | timebillboard:destroy() | |
899 | local humm = v.Character:findFirstChildOfClass("Humanoid") | |
900 | for i,v in pairs(jailedbois) do | |
901 | if v == humm.Parent.Name then | |
902 | table.remove(jailedbois, i) | |
903 | end | |
904 | end | |
905 | if humm then | |
906 | humm.Name = "Humanoid" | |
907 | humm:SetStateEnabled(Enum.HumanoidStateType.Dead, true) | |
908 | end | |
909 | end | |
910 | end | |
911 | end | |
912 | end | |
913 | end | |
914 | if canwalk then | |
915 | if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 then | |
916 | for i = 0,0.45 , 0.035 do | |
917 | if canwalk then | |
918 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i) | |
919 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1.00000024, -2.65673585e-22, 0, 2.61637394e-22, 0.984807849, -0.17364803, 4.61336744e-23, 0.173647985, 0.984808087):inverse(),i) | |
920 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86566889, 0.695530891, 1.00000024, 2.03517657e-22, 1.70771776e-22, -2.65673585e-22, 0.76604414, 0.642788053, 0, -0.642788231, 0.766044319),i) | |
921 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.530218601, -1.82889962, -0.714493513, 0.992945731, -0.0400093496, -0.111618601, -0.0400080197, 0.773099542, -0.633021653, 0.111619085, 0.633021772, 0.766045153),i) | |
922 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.64980125, 0.0399148464, 0.717731237, 0.984808087, 0.133022189, 0.111618683, -0.173647985, 0.754407108, 0.633021653, 5.43957649e-23, -0.642787218, 0.766045153),i) | |
923 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.136151552, -0.559810162, 0.984808087, -0.173648104, -2.98209869e-07, 0.133021981, 0.754406869, -0.642787337, 0.111619018, 0.63302213, 0.766044855),i) | |
924 | game:GetService("RunService").RenderStepped:wait() | |
925 | end | |
926 | end | |
927 | for i = 0,0.45 , 0.035 do | |
928 | if canwalk then | |
929 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i) | |
930 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0726344585, -2.38418579e-07, 1.00000024, -2.65673585e-22, 0, 2.6163742e-22, 0.984807968, -0.173648044, 4.61336838e-23, 0.173648, 0.984808207):inverse(),i) | |
931 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86078393, -0.713530302, 1.00000024, 2.03517695e-22, -1.70771801e-22, -2.65673585e-22, 0.766044259, -0.642788112, 0, 0.642788291, 0.766044438),i) | |
932 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.70853138, -1.75833619, 0.89703536, 0.992945731, 0.102975316, -0.0587838776, -0.0400080234, 0.757652104, 0.651431441, 0.111619093, -0.644484162, 0.756427169),i) | |
933 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.66348219, 0.137681007, -0.535534859, 0.984808087, 0.133022189, -0.111618683, -0.173648, 0.754407227, -0.633021653, 0, 0.642787278, 0.766045332),i) | |
934 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.118935108, 0.435078144, 0.984808207, -0.173647344, -9.4095941e-07, 0.111619018, 0.63302201, 0.766044796, -0.133021042, -0.754407227, 0.642787576),i) | |
935 | game:GetService("RunService").RenderStepped:wait() | |
936 | end | |
937 | end | |
938 | else | |
939 | if canwalk then | |
940 | for i = 0,0.5 , 0.03 do | |
941 | if canwalk then | |
942 | --macheteweld.C0 = macheteweld.C0:lerp(CFrame.new(-0.0285909176, -0.964775562, -1.62501633, 2.65673535e-22, 1, 5.23747954e-22, 1, -2.65673535e-22, -3.13253081e-22, -3.13253081e-22, 5.23747954e-22, -1),i) | |
943 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.939692736, 2.65673535e-22, -0.342019886, -1.42512683e-22, 1, 3.85227261e-22, 0.342019916, -3.13253081e-22, 0.939692736),i) | |
944 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i) | |
945 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
946 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i) | |
947 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.65210819, 0.0268206596, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i) | |
948 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805298, 0.00370526314, -0.166603565, 0.984807849, -0.173648134, -3.13053391e-07, 0.171009988, 0.969846368, -0.173648238, 0.0301539954, 0.171010062, 0.984807789),i) | |
949 | game:GetService("RunService").RenderStepped:wait() | |
950 | end | |
951 | end | |
952 | end | |
953 | end | |
954 | end | |
955 | if music.Parent == nil then | |
956 | music.Parent = game.Players.LocalPlayer.Character.Head | |
957 | end | |
958 | wait() | |
959 | end |