SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | --Creating fake input objects with fake variables | |
| 20 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 21 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 22 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 23 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 24 | end} | |
| 25 | --Merged 2 functions into one by checking amount of arguments | |
| 26 | CAS.UnbindAction = CAS.BindAction | |
| 27 | ||
| 28 | --This function will trigger the events that have been :Connect()'ed | |
| 29 | local function te(self,ev,...) | |
| 30 | local t = m[ev] | |
| 31 | if t and t._fakeEvent and t.Function then | |
| 32 | t.Function(...) | |
| 33 | end | |
| 34 | end | |
| 35 | m.TrigEvent = te | |
| 36 | UIS.TrigEvent = te | |
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | local UIS = game:GetService("UserInputService")
| |
| 62 | local input = function(io,a) | |
| 63 | if a then return end | |
| 64 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 65 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 66 | end | |
| 67 | UIS.InputBegan:Connect(input) | |
| 68 | UIS.InputEnded:Connect(input) | |
| 69 | local Mouse = Player:GetMouse() | |
| 70 | local h,t | |
| 71 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 72 | --If player is not moving their mouse, client won't fire events | |
| 73 | while wait(1/30) do | |
| 74 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 75 | h,t=Mouse.Hit,Mouse.Target | |
| 76 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 77 | end | |
| 78 | end]==],Player.Character) | |
| 79 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 80 | end | |
| 81 | -- End of FE converter | |
| 82 | ||
| 83 | local MarketplaceService = game:GetService("MarketplaceService")
| |
| 84 | local gamePassID = 5539417 | |
| 85 | local player = owner | |
| 86 | local person = owner.Character | |
| 87 | local hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamePassID) | |
| 88 | ||
| 89 | -- Doesn't Work against advanced scripts | |
| 90 | -- Also thanks for 1k visits guys. | |
| 91 | -- CHLua (SofltockedUnderZero) and Dubman4 | |
| 92 | if person ==nil then | |
| 93 | else | |
| 94 | - | if hasPass==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 |
| 94 | + | if hasPass==true or owner.Name=="animefreak15439" 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 |
| 95 | if person:FindFirstChild("Part") then
| |
| 96 | else | |
| 97 | local box = person:GetExtentsSize() | |
| 98 | local part = Instance.new("Part",person)
| |
| 99 | part.Shape = "Ball" | |
| 100 | part.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2) | |
| 101 | part.CanCollide = false | |
| 102 | part.Transparency = .75 | |
| 103 | part.BrickColor = BrickColor.new("Cyan")
| |
| 104 | part.Material = Enum.Material.Granite | |
| 105 | part.CFrame = person.HumanoidRootPart.CFrame | |
| 106 | local weld = Instance.new("WeldConstraint",part)
| |
| 107 | weld.Part1 = part | |
| 108 | weld.Part0 = person.HumanoidRootPart | |
| 109 | local at = Instance.new("Attachment",part)
| |
| 110 | at.Position = Vector3.new(0,part.Size.Y/2,0) | |
| 111 | local at1 = Instance.new("Attachment",part)
| |
| 112 | at1.Position = Vector3.new(0,part.Size.Y/-2,0) | |
| 113 | local trail = Instance.new("Trail",part)
| |
| 114 | trail.Attachment0 = at | |
| 115 | trail.Attachment1 = at1 | |
| 116 | trail.Lifetime = 1 | |
| 117 | trail.MinLength = 0 | |
| 118 | trail.MaxLength = 10 | |
| 119 | local at2 = Instance.new("Attachment",part)
| |
| 120 | at2.Position = Vector3.new(part.Size.X/2,0,0) | |
| 121 | local at3 = Instance.new("Attachment",part)
| |
| 122 | at3.Position = Vector3.new(part.Size.X/-2,0,0) | |
| 123 | local trail = Instance.new("Trail",part)
| |
| 124 | trail.Attachment0 = at2 | |
| 125 | trail.Attachment1 = at3 | |
| 126 | trail.Lifetime = 1 | |
| 127 | trail.MinLength = 0 | |
| 128 | trail.MaxLength = 10 | |
| 129 | if person.Humanoid.RigType=="R15" then | |
| 130 | local part1 = Instance.new("Part",person)
| |
| 131 | part1.Shape = "Ball" | |
| 132 | part1.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2) | |
| 133 | part1.CanCollide = false | |
| 134 | part1.Transparency = 1 | |
| 135 | part1.BrickColor = BrickColor.new("Cyan")
| |
| 136 | part1.CFrame = person.UpperTorso.CFrame | |
| 137 | local weld = Instance.new("WeldConstraint",part1)
| |
| 138 | weld.Part1 = part1 | |
| 139 | weld.Part0 = person.UpperTorso | |
| 140 | end | |
| 141 | local DB1 = false | |
| 142 | part.Touched:Connect(function(hit) | |
| 143 | if hit.Parent.Name==person.Name then | |
| 144 | else | |
| 145 | if DB1==false then | |
| 146 | local head = hit.Parent:FindFirstChild("Head")
| |
| 147 | local HRP = hit.Parent:FindFirstChild("HumanoidRootPart")
| |
| 148 | if head then | |
| 149 | head.Anchored = true | |
| 150 | local part3 = Instance.new("Part")
| |
| 151 | part3.CanCollide = false | |
| 152 | part3.CFrame = head.CFrame | |
| 153 | part3.Anchored = true | |
| 154 | part3.Transparency = .75 | |
| 155 | part3.BrickColor = BrickColor.new("Cyan")
| |
| 156 | part3.Size = Vector3.new(6,9,6) | |
| 157 | part3.Parent = head.Parent | |
| 158 | elseif HRP then | |
| 159 | HRP.Anchored = true | |
| 160 | local part3 = Instance.new("Part")
| |
| 161 | part3.CanCollide = false | |
| 162 | part3.CFrame = HRP.CFrame | |
| 163 | part3.Anchored = true | |
| 164 | part3.Transparency = .75 | |
| 165 | part3.BrickColor = BrickColor.new("Cyan")
| |
| 166 | part3.Size = Vector3.new(6,9,6) | |
| 167 | part3.Parent = HRP.Parent | |
| 168 | elseif hit.Parent:FindFirstChild("Humanoid") then
| |
| 169 | local humanoid = hit.Parent:FindFirstChild("Humanoid")
| |
| 170 | end | |
| 171 | DB1 = true | |
| 172 | wait(1) | |
| 173 | DB1 =false | |
| 174 | end | |
| 175 | end | |
| 176 | end) | |
| 177 | if person.Humanoid.Health==0 then | |
| 178 | local part2 = Instance.new("Part",person)
| |
| 179 | part2.Shape = "Ball" | |
| 180 | part2.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2) | |
| 181 | part2.CanCollide = false | |
| 182 | part2.Transparency = .75 | |
| 183 | part2.BrickColor = BrickColor.new("Cyan")
| |
| 184 | part2.CFrame = person.HumanoidRootPart.CFrame | |
| 185 | local weld = Instance.new("WeldConstraint",part2)
| |
| 186 | weld.Part1 = part2 | |
| 187 | weld.Part0 = person.HumanoidRootPart | |
| 188 | end | |
| 189 | end | |
| 190 | else | |
| 191 | print("You need a gamepass")
| |
| 192 | end | |
| 193 | end | |
| 194 | ||
| 195 | if person==nil then | |
| 196 | else | |
| 197 | if hasPass==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 | |
| 198 | local rope = Instance.new("RopeConstraint")
| |
| 199 | if person.Humanoid.RigType==Enum.HumanoidRigType.R15 then | |
| 200 | rope.Attachment0 = person.LeftHand.LeftGripAttachment | |
| 201 | elseif person.Humanoid.RigType==Enum.HumanoidRigType.R6 then | |
| 202 | local attachment2 = Instance.new("Attachment")
| |
| 203 | attachment2.Position = Vector3.new(0,-1,0) | |
| 204 | attachment2.Parent = person["Left Arm"] | |
| 205 | rope.Attachment0 = attachment2 | |
| 206 | end | |
| 207 | rope.Length = 20 | |
| 208 | rope.Visible = true | |
| 209 | local part3 = Instance.new("Part")
| |
| 210 | part3.Shape = "Ball" | |
| 211 | part3.Size = Vector3.new(4,4,4) | |
| 212 | part3.Material = Enum.Material.Granite | |
| 213 | part3.BrickColor = BrickColor.new("Cyan")
| |
| 214 | part3.Position = person.Head.Position | |
| 215 | part3.Massless = true | |
| 216 | local attachment = Instance.new("Attachment")
| |
| 217 | attachment.Parent = part3 | |
| 218 | part3.Parent = game.Workspace | |
| 219 | rope.Attachment1 = attachment | |
| 220 | rope.Parent = person | |
| 221 | local rope = Instance.new("RopeConstraint")
| |
| 222 | if person.Humanoid.RigType==Enum.HumanoidRigType.R15 then | |
| 223 | rope.Attachment0 = person.RightHand.RightGripAttachment | |
| 224 | elseif person.Humanoid.RigType==Enum.HumanoidRigType.R6 then | |
| 225 | local attachment2 = Instance.new("Attachment")
| |
| 226 | attachment2.Position = Vector3.new(0,-1,0) | |
| 227 | attachment2.Parent = person["Right Arm"] | |
| 228 | rope.Attachment0 = attachment2 | |
| 229 | end | |
| 230 | rope.Length = 20 | |
| 231 | rope.Visible = true | |
| 232 | local part4 = Instance.new("Part")
| |
| 233 | part4.Shape = "Ball" | |
| 234 | part4.Size = Vector3.new(4,4,4) | |
| 235 | part4.Material = Enum.Material.Granite | |
| 236 | part4.BrickColor = BrickColor.new("Cyan")
| |
| 237 | part4.Position = person.Head.Position | |
| 238 | part4.Massless = true | |
| 239 | local attachment = Instance.new("Attachment")
| |
| 240 | attachment.Parent = part4 | |
| 241 | part4.Parent = game.Workspace | |
| 242 | rope.Attachment1 = attachment | |
| 243 | rope.Parent = person | |
| 244 | local DB2 = false | |
| 245 | local DB3 = false | |
| 246 | part4.Touched:Connect(function(hit) | |
| 247 | if hit.Parent.Name==person.Name then | |
| 248 | else | |
| 249 | local humanoid = hit.Parent:FindFirstChild("Humanoid")
| |
| 250 | local head = hit.Parent:FindFirstChild("Head")
| |
| 251 | local HRP = hit.Parent:FindFirstChild("HumanoidRootPart")
| |
| 252 | if DB2==false then | |
| 253 | if head then | |
| 254 | head.Anchored = true | |
| 255 | local part3 = Instance.new("Part")
| |
| 256 | part3.CanCollide = false | |
| 257 | part3.CFrame = head.CFrame | |
| 258 | part3.Anchored = true | |
| 259 | part3.Transparency = .75 | |
| 260 | part3.BrickColor = BrickColor.new("Cyan")
| |
| 261 | part3.Size = Vector3.new(6,9,6) | |
| 262 | part3.Parent = head.Parent | |
| 263 | elseif HRP then | |
| 264 | HRP.Anchored = true | |
| 265 | local part3 = Instance.new("Part")
| |
| 266 | part3.CanCollide = false | |
| 267 | part3.CFrame = HRP.CFrame | |
| 268 | part3.Anchored = true | |
| 269 | part3.Transparency = .75 | |
| 270 | part3.BrickColor = BrickColor.new("Cyan")
| |
| 271 | part3.Size = Vector3.new(6,9,6) | |
| 272 | part3.Parent = HRP.Parent | |
| 273 | end | |
| 274 | DB2 = true | |
| 275 | wait(1) | |
| 276 | DB2 =false | |
| 277 | end | |
| 278 | end | |
| 279 | end) | |
| 280 | local fireP3 = Instance.new("Fire")
| |
| 281 | fireP3.Color = Color3.fromRGB(4, 175, 236) | |
| 282 | fireP3.Size = 10 | |
| 283 | fireP3.Parent = part3 | |
| 284 | local fireP4 = Instance.new("Fire")
| |
| 285 | fireP4.Color = Color3.fromRGB(4, 175, 236) | |
| 286 | fireP4.Size = 10 | |
| 287 | fireP4.Parent = part4 | |
| 288 | ||
| 289 | if person.Name=="SoftlockedUnderZero" and person:FindFirstChild("Pants")==nil and person:FindFirstChild("Shirt")==nil then
| |
| 290 | local torso = person.UpperTorso | |
| 291 | local part6 = Instance.new("Part")
| |
| 292 | local attachment2 = Instance.new("Attachment")
| |
| 293 | part6.CanCollide = false | |
| 294 | attachment2.Position = Vector3.new(torso.Size.X*.25,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 295 | part6.Shape = "Ball" | |
| 296 | part6.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 297 | attachment2.Parent = torso | |
| 298 | part6.Position = attachment2.WorldPosition | |
| 299 | part6.Anchored = false | |
| 300 | part6.BrickColor = person["Body Colors"].TorsoColor | |
| 301 | part6.Parent = person | |
| 302 | local weld = Instance.new("WeldConstraint")
| |
| 303 | weld.Part1 = torso | |
| 304 | weld.Part0 = part6 | |
| 305 | weld.Parent = torso | |
| 306 | local part7 = Instance.new("Part")
| |
| 307 | local attachment3 = Instance.new("Attachment")
| |
| 308 | part7.CanCollide = false | |
| 309 | attachment3.Position = Vector3.new(torso.Size.X*-.25,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 310 | part7.Shape = "Ball" | |
| 311 | part7.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 312 | attachment3.Parent = torso | |
| 313 | part7.Position = attachment3.WorldPosition | |
| 314 | part7.Anchored = false | |
| 315 | part7.BrickColor = person["Body Colors"].TorsoColor | |
| 316 | part7.Parent = person | |
| 317 | local weld = Instance.new("WeldConstraint")
| |
| 318 | weld.Part1 = torso | |
| 319 | weld.Part0 = part7 | |
| 320 | weld.Parent = torso | |
| 321 | local part8 = Instance.new("Part")
| |
| 322 | local attachment4 = Instance.new("Attachment")
| |
| 323 | part8.CanCollide = false | |
| 324 | attachment4.Position = Vector3.new(0,torso.Size.Y*.15,torso.Size.Z*-.25) | |
| 325 | part8.Shape = "Cylinder" | |
| 326 | part8.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2) | |
| 327 | attachment4.Parent = torso | |
| 328 | part8.Position = attachment4.WorldPosition | |
| 329 | part8.Orientation = torso.Orientation | |
| 330 | part8.Anchored = false | |
| 331 | part8.BrickColor = person["Body Colors"].TorsoColor | |
| 332 | part8.Parent = person | |
| 333 | local weld = Instance.new("WeldConstraint")
| |
| 334 | weld.Part1 = torso | |
| 335 | weld.Part0 = part8 | |
| 336 | weld.Parent = torso | |
| 337 | part6.TopSurface = "Smooth" | |
| 338 | part7.TopSurface = "Smooth" | |
| 339 | part8.TopSurface = "Smooth" | |
| 340 | part6.BottomSurface = "Smooth" | |
| 341 | part7.BottomSurface = "Smooth" | |
| 342 | part8.BottomSurface = "Smooth" | |
| 343 | end | |
| 344 | while true do | |
| 345 | person.Humanoid.Health = "inf" | |
| 346 | person.Humanoid.PlatformStand = false | |
| 347 | person.Humanoid.WalkSpeed = 200 | |
| 348 | person.Humanoid.JumpPower = 100 | |
| 349 | person.Humanoid.MaxHealth = "inf" | |
| 350 | wait(.25) | |
| 351 | end | |
| 352 | end | |
| 353 | end |