SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("Execute the c00l Kidd stuff")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
| |
| 6 | function armor(ms) | |
| 7 | me = ms.Character | |
| 8 | me2 = ms | |
| 9 | pcall(function() me.Johnsen:remove() end) | |
| 10 | mod = Instance.new("Model")
| |
| 11 | mod.Name = "Johnsen" | |
| 12 | mod.Parent = me | |
| 13 | ||
| 14 | part = Instance.new("Part")
| |
| 15 | part.Parent = mod | |
| 16 | part.Size = Vector3.new(1, 1, 1) | |
| 17 | part.Position = Vector3.new(1, 1, 1) | |
| 18 | part.BrickColor = BrickColor.new("Light orange")
| |
| 19 | part:BreakJoints() | |
| 20 | mesh = Instance.new("SpecialMesh")
| |
| 21 | mesh.Parent = part | |
| 22 | mesh.MeshType = "Sphere" | |
| 23 | mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
| 24 | we = Instance.new("Weld")
| |
| 25 | we.Parent = mod | |
| 26 | we.Part0 = part | |
| 27 | we.Part1 = me.Torso | |
| 28 | we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(0.15, 1.25, 0.75) | |
| 29 | we.C1 = CFrame.new() | |
| 30 | part = Instance.new("Part")
| |
| 31 | part.Parent = mod | |
| 32 | part.Size = Vector3.new(1, 1, 1) | |
| 33 | part.Position = Vector3.new(1, 1, 1) | |
| 34 | part.BrickColor = BrickColor.new("Light orange")
| |
| 35 | part:BreakJoints() | |
| 36 | mesh = Instance.new("SpecialMesh")
| |
| 37 | mesh.Parent = part | |
| 38 | mesh.MeshType = "Sphere" | |
| 39 | mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
| 40 | we = Instance.new("Weld")
| |
| 41 | we.Parent = mod | |
| 42 | we.Part0 = part | |
| 43 | we.Part1 = me.Torso | |
| 44 | we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(-0.15, 1.25, 0.75) | |
| 45 | we.C1 = CFrame.new() | |
| 46 | part = Instance.new("Part")
| |
| 47 | part.Parent = mod | |
| 48 | part.Size = Vector3.new(1, 3, 1) | |
| 49 | part.Position = Vector3.new(1, 1, 1) | |
| 50 | part.BrickColor = BrickColor.new("Light orange")
| |
| 51 | part:BreakJoints() | |
| 52 | mesh3 = Instance.new("SpecialMesh")
| |
| 53 | mesh3.Parent = part | |
| 54 | mesh3.MeshType = "Head" | |
| 55 | mesh3.Scale = Vector3.new(0.5, 1, 0.5) | |
| 56 | we3 = Instance.new("Weld")
| |
| 57 | we3.Parent = mod | |
| 58 | we3.Part0 = part | |
| 59 | we3.Part1 = me.Torso | |
| 60 | we3.C0 = CFrame.fromEulerAnglesXYZ(1, 0, 0) + Vector3.new(0, -0.8, 1.25) | |
| 61 | we3.C1 = CFrame.new() | |
| 62 | ||
| 63 | function cmds(msg) | |
| 64 | if msg == "grow" then | |
| 65 | for i = 0, 1, 0.1 do | |
| 66 | mesh3.Scale = mesh3.Scale + Vector3.new(0, i, 0) | |
| 67 | we3.C0 = we3.C0 - Vector3.new(0, i, 0) | |
| 68 | wait() | |
| 69 | end | |
| 70 | end | |
| 71 | if msg == "shrink" then | |
| 72 | for i = 0, 1, 0.1 do | |
| 73 | mesh3.Scale = mesh3.Scale - Vector3.new(0, i, 0) | |
| 74 | we3.C0 = we3.C0 + Vector3.new(0, i+0.1, 0) | |
| 75 | wait() | |
| 76 | end | |
| 77 | end | |
| 78 | end | |
| 79 | ||
| 80 | me2.Chatted:connect(cmds) | |
| 81 | ||
| 82 | end | |
| 83 | --damn | |
| 84 | for _, v in pairs(Game.Players:GetChildren()) do | |
| 85 | armor(v) | |
| 86 | end |