Advertisement
Guest User

dddd

a guest
Sep 22nd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. -- Objects
  2.  
  3. local MadGamesGUI = Instance.new("ScreenGui")
  4. local Opener = Instance.new("Frame")
  5. local Open = Instance.new("TextButton")
  6. local Closer = Instance.new("Frame")
  7. local Close = Instance.new("TextButton")
  8. local MainFrame = Instance.new("Frame")
  9. local Name = Instance.new("TextBox")
  10. local GetOPKnife = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12.  
  13. -- Properties
  14.  
  15. MadGamesGUI.Name = "MadGamesGUI"
  16. MadGamesGUI.Parent = game.CoreGui
  17.  
  18. Opener.Name = "Opener"
  19. Opener.Parent = MadGamesGUI
  20. Opener.BackgroundColor3 = Color3.new(1, 1, 1)
  21. Opener.BackgroundTransparency = 1
  22. Opener.Position = UDim2.new(0, 0, 0.459770113, 0)
  23. Opener.Size = UDim2.new(0, 100, 0, 43)
  24.  
  25. Open.Name = "Open"
  26. Open.Parent = Opener
  27. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  28. Open.BackgroundTransparency = 0.5
  29. Open.Position = UDim2.new(4.23000002, 0, -7.4418602, 0)
  30. Open.Size = UDim2.new(0, 122, 0, 32)
  31. Open.Font = Enum.Font.SourceSansBold
  32. Open.FontSize = Enum.FontSize.Size14
  33. Open.Text = "OPEN"
  34. Open.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  35. Open.TextScaled = true
  36. Open.TextSize = 14
  37. Open.TextWrapped = true
  38.  
  39. Closer.Name = "Closer"
  40. Closer.Parent = MadGamesGUI
  41. Closer.BackgroundColor3 = Color3.new(1, 1, 1)
  42. Closer.BackgroundTransparency = 1
  43. Closer.Position = UDim2.new(0, 0, 0.459770113, 0)
  44. Closer.Size = UDim2.new(0, 100, 0, 43)
  45. Closer.Visible = false
  46.  
  47. Close.Name = "Close"
  48. Close.Parent = Closer
  49. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  50. Close.BackgroundTransparency = 0.5
  51. Close.Position = UDim2.new(10.1999998, 0, -7.4418602, 0)
  52. Close.Size = UDim2.new(0, 122, 0, 32)
  53. Close.Font = Enum.Font.SourceSansBold
  54. Close.FontSize = Enum.FontSize.Size14
  55. Close.Text = "CLOSE"
  56. Close.TextColor3 = Color3.new(1, 0.101961, 0.113725)
  57. Close.TextScaled = true
  58. Close.TextSize = 14
  59. Close.TextWrapped = true
  60.  
  61. MainFrame.Name = "MainFrame"
  62. MainFrame.Parent = MadGamesGUI
  63. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  64. MainFrame.BackgroundTransparency = 0.5
  65. MainFrame.BorderSizePixel = 0
  66. MainFrame.Position = UDim2.new(0.0856423154, 0, 0.261494249, 0)
  67. MainFrame.Size = UDim2.new(0, 198, 0, 188)
  68. MainFrame.Visible = false
  69.  
  70. Name.Name = "Name"
  71. Name.Parent = MainFrame
  72. Name.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  73. Name.BackgroundTransparency = 0.5
  74. Name.BorderSizePixel = 0
  75. Name.Position = UDim2.new(0.128787875, 0, 0.38513422, 0)
  76. Name.Size = UDim2.new(0, 146, 0, 31)
  77. Name.Font = Enum.Font.SourceSansBold
  78. Name.FontSize = Enum.FontSize.Size14
  79. Name.Text = "NAME"
  80. Name.TextColor3 = Color3.new(1, 1, 1)
  81. Name.TextScaled = true
  82. Name.TextSize = 14
  83. Name.TextWrapped = true
  84.  
  85. GetOPKnife.Name = "GetOPKnife"
  86. GetOPKnife.Parent = MainFrame
  87. GetOPKnife.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  88. GetOPKnife.BackgroundTransparency = 0.5
  89. GetOPKnife.BorderSizePixel = 0
  90. GetOPKnife.Position = UDim2.new(0.0782828331, 0, 0.658601046, 0)
  91. GetOPKnife.Size = UDim2.new(0, 169, 0, 36)
  92. GetOPKnife.Font = Enum.Font.SourceSansBold
  93. GetOPKnife.FontSize = Enum.FontSize.Size14
  94. GetOPKnife.Text = "GET OP KNIFE"
  95. GetOPKnife.TextColor3 = Color3.new(1, 1, 1)
  96. GetOPKnife.TextScaled = true
  97. GetOPKnife.TextSize = 14
  98. GetOPKnife.TextWrapped = true
  99.  
  100. TextLabel.Parent = MainFrame
  101. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  102. TextLabel.BackgroundTransparency = 1
  103. TextLabel.Size = UDim2.new(0, 198, 0, 36)
  104. TextLabel.Font = Enum.Font.SourceSansBold
  105. TextLabel.FontSize = Enum.FontSize.Size14
  106. TextLabel.Text = "Mad Games OP Knife GUI"
  107. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  108. TextLabel.TextScaled = true
  109. TextLabel.TextSize = 14
  110. TextLabel.TextWrapped = true
  111.  
  112. Open.MouseButton1Click:connect(function()
  113. game.CoreGui.MadGamesGUI.Opener.Visible = false
  114. game.CoreGui.MadGamesGUI.MainFrame.Visible = true
  115. game.CoreGui.MadGamesGUI.Closer.Visible = true
  116. end)
  117.  
  118. Close.MouseButton1Click:connect(function()
  119. game.CoreGui.MadGamesGUI.Closer.Visible = false
  120. game.CoreGui.MadGamesGUI.Opener.Visible = true
  121. game.CoreGui.MadGamesGUI.MainFrame.Visible = false
  122. end)
  123.  
  124. GetOPKnife.MouseButton1Click:connect(function()
  125. local OPKnife = Name.Text
  126. KnifePart = game.Players[OPKnife].Backpack.Knife:Clone()
  127. KnifePart.Parent = game.Players.LocalPlayer.Backpack
  128. local knife = game.Players.LocalPlayer.Backpack.Knife
  129. knife.KnifeSkin.Value = "RainbowShard"
  130. knife.KnifeAbility.Value = 'OP'
  131. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement