Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function CreateInstance(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst
- end
- -- GUI Properties
- local s = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='s', Parent=game.CoreGui})
- local f = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.0269645546, 0, 0.29502371, 0),Rotation=0,Selectable=false,Size=UDim2.new(0.183667228, 0, 0.0834123269, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'f',Parent = s})
- local tl = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Vesteria God Mode',TextColor3=Color3.new(1, 0, 0),TextScaled=true,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=0,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, -2.16744155e-07, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 238, 0, 28),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='tl',Parent = f})
- local tb = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='God-Mode: Disabled',TextColor3=Color3.new(1, 0, 0),TextScaled=true,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=0,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.046389237, 0, 0.409999996, 0),Rotation=0,Selectable=true,Size=UDim2.new(0.905368984, 0, 0.51136446, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='tb',Parent = f})
- -- GUI Scripts
- f.Active = true
- f.Draggable = true
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.P then
- if f.Visible == false then
- f.Visible = true
- else
- f.Visible = false
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- -- Scripts
- tb.MouseButton1Click:Connect(function()
- local game_meta = getrawmetatable(game)
- local __index = game_meta.__index
- local __namecall = game_meta.__namecall
- local hook = newcclosure(function(self,...)
- local Self = tostring(self)
- local Type = __index(self,"ClassName")
- local T = {self, ...}
- if T[1] == game.ReplicatedStorage.modules.network["playerRequest_damageEntity"] and typeof(T[2]) == "Instance" and T[4] == "monster" then
- else
- return (Type == "RemoteEvent" and new)(self,...)
- end
- end)
- new = hookfunction(Instance.new("RemoteEvent").FireServer, hook, true)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement