Advertisement
RamenRon

rrttyye

Jul 17th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. local function CreateInstance(cls,props)
  2. local inst = Instance.new(cls)
  3. for i,v in pairs(props) do
  4. inst[i] = v
  5. end
  6. return inst
  7. end
  8.  
  9. -- GUI Properties
  10.  
  11. local s = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='s', Parent=game.CoreGui})
  12. 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})
  13. 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})
  14. 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})
  15.  
  16. -- GUI Scripts
  17.  
  18. f.Active = true
  19. f.Draggable = true
  20.  
  21. function onKeyPress(inputObject, gameProcessedEvent)
  22. if inputObject.KeyCode == Enum.KeyCode.P then
  23. if f.Visible == false then
  24. f.Visible = true
  25. else
  26. f.Visible = false
  27. end
  28. end
  29. end
  30.  
  31. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  32.  
  33. -- Scripts
  34.  
  35. tb.MouseButton1Click:Connect(function()
  36. local game_meta = getrawmetatable(game)
  37. local __index = game_meta.__index
  38. local __namecall = game_meta.__namecall
  39. local hook = newcclosure(function(self,...)
  40. local Self = tostring(self)
  41. local Type = __index(self,"ClassName")
  42. local T = {self, ...}
  43. if T[1] == game.ReplicatedStorage.modules.network["playerRequest_damageEntity"] and typeof(T[2]) == "Instance" and T[4] == "monster" then
  44. else
  45. return (Type == "RemoteEvent" and new)(self,...)
  46. end
  47. end)
  48. new = hookfunction(Instance.new("RemoteEvent").FireServer, hook, true)
  49. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement