Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local gamememe = getrawmetatable(game)
- local name,index,nindex = gamememe.__namecall,gamememe.__index,gamememe.__newindex
- local NHumanoid,NModel,NPart,NGrav = Instance.new('Humanoid'),Instance.new('Model',game),Instance.new('Part',game),workspace.Gravity
- if setreadonly then
- setreadonly(gamememe,false)
- elseif make_writeable then
- make_writeable(gamememe)
- end
- gamememe.__newindex = function(self,Property,b)
- if not checkcaller() and not is_protosmasher_caller() then
- local a = getfenv(2).script
- if tostring(self) == "Humanoid" and Property == "Health" or Property == "WalkSpeed" or Property == "JumpPower" then
- return nindex(NHumanoid,Property,b)
- end
- if Property == "CFrame" and self.Parent == LP.Character then
- return
- end
- end
- return nindex(self,Property,b)
- end
- gamememe.__index = function(self,Property,b)
- if Property == "Gravity" then
- return NGrav -- added incase someone uses an admin that isn't mine
- end
- return index(self,Property,b)
- end
- gamememe.__namecall = function(self,...)
- if not checkcaller() and not is_protosmasher_caller() then
- local Arguments = {...}
- Arguments[#Arguments] = nil
- if getnamecallmethod() == "Destroy" and tostring(self) == "BodyGyro" or tostring(self) == "BodyVelocity" then
- return name(NPart,...)
- end
- if getnamecallmethod() == "BreakJoints" and tostring(self) == LP.Character.Name then
- return name(NModel,...)
- end
- if Arguments[#Arguments] == "Kick" and tostring(self) == LP then
- print'lol'
- return
- end
- if getnamecallmethod() == "FireServer" then
- if tostring(self.Name) == "lIII" or tostring(self.Parent) == "ReplicatedStorage" then
- return wait(9e9)
- end
- if Arguments[1] == "hey" then
- return wait(9e9)
- end
- end
- end
- return name(self,...)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement