SHOW:
|
|
- or go back to the newest paste.
| 1 | --FE converter | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 6 | script.Parent = Player.Character | |
| 7 | ||
| 8 | --RemoteEvent for communicating | |
| 9 | local Event = Instance.new("RemoteEvent")
| |
| 10 | Event.Name = "UserInput_Event" | |
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | --Creating fake input objects with fake variables | |
| 18 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 19 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 20 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 21 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 22 | end} | |
| 23 | --Merged 2 functions into one by checking amount of arguments | |
| 24 | CAS.UnbindAction = CAS.BindAction | |
| 25 | ||
| 26 | --This function will trigger the events that have been :Connect()'ed | |
| 27 | local function te(self,ev,...) | |
| 28 | local t = m[ev] | |
| 29 | if t and t._fakeEvent and t.Function then | |
| 30 | t.Function(...) | |
| 31 | end | |
| 32 | end | |
| 33 | m.TrigEvent = te | |
| 34 | UIS.TrigEvent = te | |
| 35 | Event.OnServerEvent:Connect(function(plr,io) | |
| 36 | if plr~=Player then return end | |
| 37 | if io.isMouse then | |
| 38 | m.Target = io.Target | |
| 39 | m.Hit = io.Hit | |
| 40 | else | |
| 41 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 42 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 43 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 44 | end | |
| 45 | for _,t in pairs(CAS.Actions) do | |
| 46 | for _,k in pairs(t.Keys) do | |
| 47 | if k==io.KeyCode then | |
| 48 | t.Function(t.Name,io.UserInputState,io) | |
| 49 | end | |
| 50 | end | |
| 51 | end | |
| 52 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 53 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 54 | end | |
| 55 | end) | |
| 56 | Event.Parent = NLS([==[ | |
| 57 | local Player = game:GetService("Players").LocalPlayer
| |
| 58 | local Event = script:WaitForChild("UserInput_Event")
| |
| 59 | local UIS = game:GetService("UserInputService")
| |
| 60 | local input = function(io,a) | |
| 61 | if a then return end | |
| 62 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 63 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 64 | end | |
| 65 | UIS.InputBegan:Connect(input) | |
| 66 | UIS.InputEnded:Connect(input) | |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local h,t | |
| 69 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 70 | --If player is not moving their mouse, client won't fire events | |
| 71 | while wait(1/30) do | |
| 72 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 73 | h,t=Mouse.Hit,Mouse.Target | |
| 74 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 75 | end | |
| 76 | end]==],Player.Character) | |
| 77 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 78 | end | |
| 79 | -- End of fe Converter | |
| 80 | ||
| 81 | ||
| 82 | local LPlayer = owner | |
| 83 | local player = owner.Character | |
| 84 | local CP1= game:GetService("MarketplaceService")
| |
| 85 | local CL = false | |
| 86 | local UN01OO=5606300 | |
| 87 | local UN01O0=5365148 | |
| 88 | local UN0100=5565211 | |
| 89 | local UN010O=5321487 | |
| 90 | local UNO1OO=5606400 | |
| 91 | local UNO1O0=5123524 | |
| 92 | local UNO100=5213985 | |
| 93 | local UNO10O=5362145 | |
| 94 | ||
| 95 | if UN01OO==5606300 and UN01O0==5365148 and UN0100==5565211 and UN010O==5321487 and UNO1OO==5606400 and UNO1O0==5123524 and UNO100==5213985 and UNO10O==5362145 and CL==false then | |
| 96 | CL= CP1:UserOwnsGamePassAsync(owner.UserId, UNO1OO) | |
| 97 | end | |
| 98 | -- By CHL (SoftlockedUnderZero) and Dubman4 | |
| 99 | ||
| 100 | if player==nil then | |
| 101 | else | |
| 102 | - | if CL==true or owner.Name=="Dubman4" or owner.Name=="AbuFawer1s" or owner.Name=="AvaGamerJules10" or owner.Name=="BRODYHAPP1" or owner.Name=="dudetheca6" or owner.Name=="EndLeveler" or owner.Name=="finnthefishy" or owner.Name=="friskydarony" or owner.Name=="hey_itzAliyah1" or owner.Name=="InsanityEric30" or owner.Name=="jaicho" or owner.Name=="JuniorMLGPro" or owner.Name=="kangy12345" or owner.Name=="O_Alxani" or owner.Name=="Penny894" or owner.Name=="Princessbaby_tai" or owner.Name=="RealEnderIpDad" or owner.Name=="RealEnderIpMan" or owner.Name=="rega098" or owner.Name=="BaconScripted" or owner.Name=="clorbloxmaster" or owner.Name=="DoggoBunny" or owner.Name=="M1ntee" or owner.Name=="omqq_itzchris" or owner.Name=="Supreme_CeceBoo" or owner.Name=="synththetic" or owner.Name=="tsumtsum" then |
| 102 | + | if CL==true or owner.Name=="Dubman4" or owner.Name=="AbuFawer1s" or owner.Name=="AvaGamerJules10" or owner.Name=="BRODYHAPP1" or owner.Name=="dudetheca6" or owner.Name=="EndLeveler" or owner.Name=="finnthefishy" or owner.Name=="friskydarony" or owner.Name=="hey_itzAliyah1" or owner.Name=="InsanityEric30" or owner.Name=="jaicho" or owner.Name=="JuniorMLGPro" or owner.Name=="kangy12345" or owner.Name=="O_Alxani" or owner.Name=="Penny894" or owner.Name=="Princessbaby_tai" or owner.Name=="RealEnderIpDad" or owner.Name=="RealEnderIpMan" or owner.Name=="rega098" or owner.Name=="BaconScripted" or owner.Name=="clorbloxmaster" or owner.Name=="TameDoNotClick" or owner.Name=="M1ntee" or owner.Name=="omqq_itzchris" or owner.Name=="Supreme_CeceBoo" or owner.Name=="synththetic" or owner.Name=="tsumtsum" then |
| 103 | local part = Instance.new("Part")
| |
| 104 | part.BrickColor = BrickColor.new("Bright yellow")
| |
| 105 | part.Name = "Handle" | |
| 106 | part.Size = Vector3.new(1.05,1.05,1.05) | |
| 107 | part.Material = Enum.Material.Metal | |
| 108 | local tool = Instance.new("Tool")
| |
| 109 | local DB1 = false | |
| 110 | tool.Parent = player | |
| 111 | part.Parent = tool | |
| 112 | local bib = Instance.new("BillboardGui")
| |
| 113 | bib.Size = UDim2.new(0,200,0,50) | |
| 114 | bib.ExtentsOffsetWorldSpace = Vector3.new(0,5,0) | |
| 115 | bib.MaxDistance = 100 | |
| 116 | bib.Parent = player.HumanoidRootPart | |
| 117 | local TextL= Instance.new("TextLabel")
| |
| 118 | TextL.Size =UDim2.new(0,200,0,50) | |
| 119 | TextL.Text = "Infinity Gauntlet Time" | |
| 120 | TextL.TextColor3 = Color3.fromRGB(255, 255, 0) | |
| 121 | TextL.BackgroundTransparency = 1 | |
| 122 | TextL.TextScaled = true | |
| 123 | TextL.Parent = bib | |
| 124 | tool.Equipped:Connect(function() | |
| 125 | tool.Activated:Connect(function() | |
| 126 | TextL.Text = "**SNAPS**" | |
| 127 | local CPlayers = game.Players:GetChildren() | |
| 128 | for i=1,#CPlayers do | |
| 129 | if CPlayers[i]:IsA("Player") then
| |
| 130 | if CPlayers[i].Name==player.Name or CPlayers[i].Name=="Dubman4" or CPlayers[i].Name== "SoftlockedUnderZero" then | |
| 131 | else | |
| 132 | local RanNum = math.random(1,2) | |
| 133 | if DB1==false then | |
| 134 | if RanNum==1 then | |
| 135 | local player2 = CPlayers[i].Character | |
| 136 | if player2:FindFirstChild("Humanoid") then
| |
| 137 | player2:FindFirstChild("Humanoid").Health = 0
| |
| 138 | local bib2 = Instance.new("BillboardGui")
| |
| 139 | bib2.Size = UDim2.new(0,200,0,50) | |
| 140 | bib2.ExtentsOffsetWorldSpace = Vector3.new(0,5,0) | |
| 141 | bib2.Parent = player2.HumanoidRootPart | |
| 142 | local TextL1 = Instance.new("TextLabel")
| |
| 143 | TextL1.Size =UDim2.new(0,200,0,50) | |
| 144 | TextL1.Text = "I.. I don't feel so good." | |
| 145 | TextL1.TextColor3 = Color3.fromRGB(255, 255, 0) | |
| 146 | TextL1.BackgroundTransparency = 1 | |
| 147 | TextL1.TextScaled = true | |
| 148 | TextL1.Parent = bib2 | |
| 149 | elseif player2:FindFirstChild("Head") then
| |
| 150 | player2:FindFirstChild("Head"):Destroy()
| |
| 151 | local bib2 = Instance.new("BillboardGui")
| |
| 152 | bib2.Size = UDim2.new(0,200,0,50) | |
| 153 | bib2.ExtentsOffsetWorldSpace = Vector3.new(0,5,0) | |
| 154 | bib2.Parent = player2.HumanoidRootPart | |
| 155 | local TextL1 = Instance.new("TextLabel")
| |
| 156 | TextL1.Size =UDim2.new(0,200,0,50) | |
| 157 | TextL1.Text = "I.. I don't feel so good." | |
| 158 | TextL1.TextColor3 = Color3.fromRGB(255, 255, 0) | |
| 159 | TextL1.BackgroundTransparency = 1 | |
| 160 | TextL1.TextScaled = true | |
| 161 | TextL1.Parent = bib2 | |
| 162 | elseif player2:FindFirstChild("HumanoidRootPart") then
| |
| 163 | player2.HumanoidRootPart:Destroy() | |
| 164 | local bib2 = Instance.new("BillboardGui")
| |
| 165 | abib2.Size = UDim2.new(0,200,0,50) | |
| 166 | bib2.ExtentsOffsetWorldSpace = Vector3.new(0,5,0) | |
| 167 | bib2.Parent = player2.HumanoidRootPart | |
| 168 | local TextL1 = Instance.new("TextLabel")
| |
| 169 | TextL1.Size =UDim2.new(0,200,0,50) | |
| 170 | TextL1.Text = "I.. I don't feel so good." | |
| 171 | TextL1.TextColor3 = Color3.fromRGB(255, 255, 0) | |
| 172 | TextL1.BackgroundTransparency = 1 | |
| 173 | TextL1.TextScaled = true | |
| 174 | TextL1.Parent = bib2 | |
| 175 | end | |
| 176 | print(CPlayers[i].Name .." did not feel so good...") | |
| 177 | else | |
| 178 | print(CPlayers[i].Name .." got lucky.") | |
| 179 | end | |
| 180 | DB1=true | |
| 181 | wait(1) | |
| 182 | DB1 = false | |
| 183 | end | |
| 184 | end | |
| 185 | end | |
| 186 | end | |
| 187 | TextL.Text = "Infinity Gauntlet Time" | |
| 188 | end) | |
| 189 | end) | |
| 190 | else | |
| 191 | print("You need a gamepass")
| |
| 192 | end | |
| 193 | end | |
| 194 | if player==nil then | |
| 195 | else | |
| 196 | if CL==true or owner.Name=="Dubman4" or owner.Name=="AbuFawer1s" or owner.Name=="AvaGamerJules10" or owner.Name=="BRODYHAPP1" or owner.Name=="dudetheca6" or owner.Name=="EndLeveler" or owner.Name=="finnthefishy" or owner.Name=="friskydarony" or owner.Name=="hey_itzAliyah1" or owner.Name=="InsanityEric30" or owner.Name=="jaicho" or owner.Name=="JuniorMLGPro" or owner.Name=="kangy12345" or owner.Name=="O_Alxani" or owner.Name=="Penny894" or owner.Name=="Princessbaby_tai" or owner.Name=="RealEnderIpDad" or owner.Name=="RealEnderIpMan" or owner.Name=="rega098" or owner.Name=="BaconScripted" or owner.Name=="clorbloxmaster" or owner.Name=="DoggoBunny" or owner.Name=="M1ntee" or owner.Name=="omqq_itzchris" or owner.Name=="Supreme_CeceBoo" or owner.Name=="synththetic" or owner.Name=="tsumtsum" then | |
| 197 | if player.Name=="SoftlockedUnderZero" and player:FindFirstChild("Pants")==nil and player:FindFirstChild("Shirt")==nil then
| |
| 198 | local torso = player.UpperTorso | |
| 199 | local part3 = Instance.new("Part")
| |
| 200 | local attachment2 = Instance.new("Attachment")
| |
| 201 | part3.CanCollide = false | |
| 202 | attachment2.Position = Vector3.new(torso.Size.X*.25,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 203 | part3.Shape = "Ball" | |
| 204 | part3.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 205 | attachment2.Parent = torso | |
| 206 | part3.Position = attachment2.WorldPosition | |
| 207 | part3.Anchored = false | |
| 208 | part3.BrickColor = player["Body Colors"].TorsoColor | |
| 209 | part3.Parent = player | |
| 210 | local weld = Instance.new("WeldConstraint")
| |
| 211 | weld.Part1 = torso | |
| 212 | weld.Part0 = part3 | |
| 213 | weld.Parent = torso | |
| 214 | local part4 = Instance.new("Part")
| |
| 215 | local attachment3 = Instance.new("Attachment")
| |
| 216 | part4.CanCollide = false | |
| 217 | attachment3.Position = Vector3.new(torso.Size.X*-.25,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 218 | part4.Shape = "Ball" | |
| 219 | part4.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 220 | attachment3.Parent = torso | |
| 221 | part4.Position = attachment3.WorldPosition | |
| 222 | part4.Anchored = false | |
| 223 | part4.BrickColor = player["Body Colors"].TorsoColor | |
| 224 | part4.Parent = player | |
| 225 | local weld = Instance.new("WeldConstraint")
| |
| 226 | weld.Part1 = torso | |
| 227 | weld.Part0 = part4 | |
| 228 | weld.Parent = torso | |
| 229 | local part5 = Instance.new("Part")
| |
| 230 | local attachment4 = Instance.new("Attachment")
| |
| 231 | part5.CanCollide = false | |
| 232 | attachment4.Position = Vector3.new(0,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 233 | part5.Shape = "Cylinder" | |
| 234 | part5.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 235 | attachment4.Parent = torso | |
| 236 | part5.Position = attachment4.WorldPosition | |
| 237 | part5.Orientation = torso.Orientation | |
| 238 | part5.Anchored = false | |
| 239 | part5.BrickColor = player["Body Colors"].TorsoColor | |
| 240 | part5.Parent = player | |
| 241 | local weld = Instance.new("WeldConstraint")
| |
| 242 | weld.Part1 = torso | |
| 243 | weld.Part0 = part5 | |
| 244 | weld.Parent = torso | |
| 245 | part3.TopSurface = "Smooth" | |
| 246 | part4.TopSurface = "Smooth" | |
| 247 | part5.TopSurface = "Smooth" | |
| 248 | part3.BottomSurface = "Smooth" | |
| 249 | part4.BottomSurface = "Smooth" | |
| 250 | part5.BottomSurface = "Smooth" | |
| 251 | end | |
| 252 | while true do | |
| 253 | player.Humanoid.Health = "inf" | |
| 254 | player.Humanoid.PlatformStand = false | |
| 255 | player.Humanoid.WalkSpeed = 75 | |
| 256 | player.Humanoid.JumpPower = 100 | |
| 257 | player.Humanoid.MaxHealth = "inf" | |
| 258 | wait(.5) | |
| 259 | end | |
| 260 | end | |
| 261 | end |