Advertisement
Guest User

KNIFE ABILITY TEST GUI

a guest
Nov 11th, 2018
16,076
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.80 KB | None | 0 0
  1. -- Instances:
  2. local KATGUI = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local Frame_2 = Instance.new("Frame")
  5. local Frame_3 = Instance.new("Frame")
  6. local Hyperbeam = Instance.new("TextButton")
  7. local Tesla = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. local MLGKnife = Instance.new("TextButton")
  10. local Shotgun = Instance.new("TextButton")
  11. local Explosive = Instance.new("TextButton")
  12. local ModeratorKnifeSkin = Instance.new("TextButton")
  13. --Properties:
  14. KATGUI.Name = "K.A.T GUI"
  15. KATGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16.  
  17. Frame.Parent = KATGUI
  18. Frame.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  19. Frame.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  20. Frame.Position = UDim2.new(0.270602703, 0, 0.189753324, 0)
  21. Frame.Size = UDim2.new(0, 362, 0, 228)
  22. Frame.Visible = true
  23. Frame.Active = true
  24. Frame.Draggable = true
  25.  
  26. Frame_2.Parent = Frame
  27. Frame_2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  28. Frame_2.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  29. Frame_2.Position = UDim2.new(-0.000115543604, 0, -0.00416305661, 0)
  30. Frame_2.Size = UDim2.new(0, 362, 0, 37)
  31.  
  32. Frame_3.Parent = Frame
  33. Frame_3.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  34. Frame_3.BorderColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  35. Frame_3.Position = UDim2.new(-0.000115543604, 0, 0.934113026, 0)
  36. Frame_3.Size = UDim2.new(0, 362, 0, 17)
  37.  
  38. Hyperbeam.Name = "Hyperbeam"
  39. Hyperbeam.Parent = Frame
  40. Hyperbeam.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  41. Hyperbeam.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  42. Hyperbeam.Position = UDim2.new(0.0244643074, 0, 0.191094518, 0)
  43. Hyperbeam.Size = UDim2.new(0, 170, 0, 50)
  44. Hyperbeam.Font = Enum.Font.Highway
  45. Hyperbeam.Text = "OP Knife (Hyperbeam)"
  46. Hyperbeam.TextColor3 = Color3.new(1, 1, 1)
  47. Hyperbeam.TextSize = 18
  48. Hyperbeam.TextStrokeColor3 = Color3.new(1, 1, 1)
  49.  
  50. Tesla.Name = "Tesla"
  51. Tesla.Parent = Frame
  52. Tesla.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  53. Tesla.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  54. Tesla.Position = UDim2.new(0.0244643074, 0, 0.439694911, 0)
  55. Tesla.Size = UDim2.new(0, 170, 0, 50)
  56. Tesla.Font = Enum.Font.Highway
  57. Tesla.Text = "OP Knife (Tesla)"
  58. Tesla.TextColor3 = Color3.new(1, 1, 1)
  59. Tesla.TextSize = 18
  60. Tesla.TextStrokeColor3 = Color3.new(1, 1, 1)
  61.  
  62. TextLabel.Parent = Frame
  63. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  64. TextLabel.BackgroundTransparency = 1
  65. TextLabel.Position = UDim2.new(0.203862652, 0, 0.0186289828, 0)
  66. TextLabel.Size = UDim2.new(0, 213, 0, 24)
  67. TextLabel.Font = Enum.Font.Highway
  68. TextLabel.Text = "Knife Ability Test GUI"
  69. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  70. TextLabel.TextSize = 32
  71. TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
  72.  
  73. MLGKnife.Name = "MLG Knife"
  74. MLGKnife.Parent = Frame
  75. MLGKnife.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  76. MLGKnife.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  77. MLGKnife.Position = UDim2.new(0.0239999685, 0, 0.684999943, 0)
  78. MLGKnife.Size = UDim2.new(0, 170, 0, 50)
  79. MLGKnife.Font = Enum.Font.Highway
  80. MLGKnife.Text = "MLG Knife Skin"
  81. MLGKnife.TextColor3 = Color3.new(1, 1, 1)
  82. MLGKnife.TextSize = 18
  83. MLGKnife.TextStrokeColor3 = Color3.new(1, 1, 1)
  84.  
  85. Shotgun.Name = "Shotgun"
  86. Shotgun.Parent = Frame
  87. Shotgun.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  88. Shotgun.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  89. Shotgun.Position = UDim2.new(0.507425427, 0, 0.191094518, 0)
  90. Shotgun.Size = UDim2.new(0, 170, 0, 50)
  91. Shotgun.Font = Enum.Font.Highway
  92. Shotgun.Text = "OP Knife (Shotgun)"
  93. Shotgun.TextColor3 = Color3.new(1, 1, 1)
  94. Shotgun.TextSize = 18
  95. Shotgun.TextStrokeColor3 = Color3.new(1, 1, 1)
  96.  
  97. Explosive.Name = "Explosive"
  98. Explosive.Parent = Frame
  99. Explosive.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  100. Explosive.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  101. Explosive.Position = UDim2.new(0.507425368, 0, 0.439694911, 0)
  102. Explosive.Size = UDim2.new(0, 170, 0, 50)
  103. Explosive.Font = Enum.Font.Highway
  104. Explosive.Text = "OP Knife (Explosive)"
  105. Explosive.TextColor3 = Color3.new(1, 1, 1)
  106. Explosive.TextSize = 18
  107. Explosive.TextStrokeColor3 = Color3.new(1, 1, 1)
  108.  
  109. ModeratorKnifeSkin.Name = "Moderator Knife Skin"
  110. ModeratorKnifeSkin.Parent = Frame
  111. ModeratorKnifeSkin.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  112. ModeratorKnifeSkin.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  113. ModeratorKnifeSkin.Position = UDim2.new(0.507425368, 0, 0.684999943, 0)
  114. ModeratorKnifeSkin.Size = UDim2.new(0, 170, 0, 50)
  115. ModeratorKnifeSkin.Font = Enum.Font.Highway
  116. ModeratorKnifeSkin.Text = "Moderator Knife Skin"
  117. ModeratorKnifeSkin.TextColor3 = Color3.new(1, 1, 1)
  118. ModeratorKnifeSkin.TextSize = 18
  119. ModeratorKnifeSkin.TextStrokeColor3 = Color3.new(1, 1, 1)
  120. -- Scripts:
  121.  
  122. Hyperbeam.MouseButton1Down:connect(function()
  123. bp = game.Players.LocalPlayer.Backpack
  124. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Hyperbeam"
  125. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
  126. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
  127. end)
  128.  
  129. Shotgun.MouseButton1Down:connect(function()
  130. bp = game.Players.LocalPlayer.Backpack
  131. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Shotgun"
  132. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
  133. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
  134. end)
  135.  
  136. Tesla.MouseButton1Down:connect(function()
  137. bp = game.Players.LocalPlayer.Backpack
  138. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Electric"
  139. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
  140. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
  141. end)
  142.  
  143. Explosive.MouseButton1Down:connect(function()
  144. bp = game.Players.LocalPlayer.Backpack
  145. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Explosive"
  146. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
  147. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
  148. end)
  149.  
  150. MLGKnife.MouseButton1Down:connect(function()
  151. game.Workspace.ReplicatedData.PlayerEvents.RequestPurchase:FireServer("Knife", 0, "MLG")
  152. game.Workspace.ReplicatedData.PlayerEvents.EquipItem:FireServer("Knife","MLG")
  153. end)
  154.  
  155. ModeratorKnifeSkin.MouseButton1Down:connect(function()
  156. game.Workspace.ReplicatedData.PlayerEvents.RequestPurchase:FireServer("Knife", 0, "FierKnife")
  157. game.Workspace.ReplicatedData.PlayerEvents.EquipItem:FireServer("Knife","FierKnife")
  158. end)
Advertisement
Comments
  • # text 6.79 KB | 0 0
    1. local KATGUI = Instance.new("ScreenGui")
    2. local Frame = Instance.new("Frame")
    3. local Frame_2 = Instance.new("Frame")
    4. local Frame_3 = Instance.new("Frame")
    5. local Hyperbeam = Instance.new("TextButton")
    6. local Tesla = Instance.new("TextButton")
    7. local TextLabel = Instance.new("TextLabel")
    8. local MLGKnife = Instance.new("TextButton")
    9. local Shotgun = Instance.new("TextButton")
    10. local Explosive = Instance.new("TextButton")
    11. local ModeratorKnifeSkin = Instance.new("TextButton")
    12. --Properties:
    13. KATGUI.Name = "K.A.T GUI"
    14. KATGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
    15.  
    16. Frame.Parent = KATGUI
    17. Frame.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
    18. Frame.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
    19. Frame.Position = UDim2.new(0.270602703, 0, 0.189753324, 0)
    20. Frame.Size = UDim2.new(0, 362, 0, 228)
    21. Frame.Visible = true
    22. Frame.Active = true
    23. Frame.Draggable = true
    24.  
    25. Frame_2.Parent = Frame
    26. Frame_2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
    27. Frame_2.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
    28. Frame_2.Position = UDim2.new(-0.000115543604, 0, -0.00416305661, 0)
    29. Frame_2.Size = UDim2.new(0, 362, 0, 37)
    30.  
    31. Frame_3.Parent = Frame
    32. Frame_3.BackgroundColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
    33. Frame_3.BorderColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
    34. Frame_3.Position = UDim2.new(-0.000115543604, 0, 0.934113026, 0)
    35. Frame_3.Size = UDim2.new(0, 362, 0, 17)
    36.  
    37. Hyperbeam.Name = "Hyperbeam"
    38. Hyperbeam.Parent = Frame
    39. Hyperbeam.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    40. Hyperbeam.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    41. Hyperbeam.Position = UDim2.new(0.0244643074, 0, 0.191094518, 0)
    42. Hyperbeam.Size = UDim2.new(0, 170, 0, 50)
    43. Hyperbeam.Font = Enum.Font.Highway
    44. Hyperbeam.Text = "OP Knife (Hyperbeam)"
    45. Hyperbeam.TextColor3 = Color3.new(1, 1, 1)
    46. Hyperbeam.TextSize = 18
    47. Hyperbeam.TextStrokeColor3 = Color3.new(1, 1, 1)
    48.  
    49. Tesla.Name = "Tesla"
    50. Tesla.Parent = Frame
    51. Tesla.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    52. Tesla.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    53. Tesla.Position = UDim2.new(0.0244643074, 0, 0.439694911, 0)
    54. Tesla.Size = UDim2.new(0, 170, 0, 50)
    55. Tesla.Font = Enum.Font.Highway
    56. Tesla.Text = "OP Knife (Tesla)"
    57. Tesla.TextColor3 = Color3.new(1, 1, 1)
    58. Tesla.TextSize = 18
    59. Tesla.TextStrokeColor3 = Color3.new(1, 1, 1)
    60.  
    61. TextLabel.Parent = Frame
    62. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
    63. TextLabel.BackgroundTransparency = 1
    64. TextLabel.Position = UDim2.new(0.203862652, 0, 0.0186289828, 0)
    65. TextLabel.Size = UDim2.new(0, 213, 0, 24)
    66. TextLabel.Font = Enum.Font.Highway
    67. TextLabel.Text = "Knife Ability Test GUI"
    68. TextLabel.TextColor3 = Color3.new(1, 1, 1)
    69. TextLabel.TextSize = 32
    70. TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
    71.  
    72. MLGKnife.Name = "MLG Knife"
    73. MLGKnife.Parent = Frame
    74. MLGKnife.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    75. MLGKnife.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    76. MLGKnife.Position = UDim2.new(0.0239999685, 0, 0.684999943, 0)
    77. MLGKnife.Size = UDim2.new(0, 170, 0, 50)
    78. MLGKnife.Font = Enum.Font.Highway
    79. MLGKnife.Text = "MLG Knife Skin"
    80. MLGKnife.TextColor3 = Color3.new(1, 1, 1)
    81. MLGKnife.TextSize = 18
    82. MLGKnife.TextStrokeColor3 = Color3.new(1, 1, 1)
    83.  
    84. Shotgun.Name = "Shotgun"
    85. Shotgun.Parent = Frame
    86. Shotgun.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    87. Shotgun.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    88. Shotgun.Position = UDim2.new(0.507425427, 0, 0.191094518, 0)
    89. Shotgun.Size = UDim2.new(0, 170, 0, 50)
    90. Shotgun.Font = Enum.Font.Highway
    91. Shotgun.Text = "OP Knife (Shotgun)"
    92. Shotgun.TextColor3 = Color3.new(1, 1, 1)
    93. Shotgun.TextSize = 18
    94. Shotgun.TextStrokeColor3 = Color3.new(1, 1, 1)
    95.  
    96. Explosive.Name = "Explosive"
    97. Explosive.Parent = Frame
    98. Explosive.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    99. Explosive.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    100. Explosive.Position = UDim2.new(0.507425368, 0, 0.439694911, 0)
    101. Explosive.Size = UDim2.new(0, 170, 0, 50)
    102. Explosive.Font = Enum.Font.Highway
    103. Explosive.Text = "OP Knife (Explosive)"
    104. Explosive.TextColor3 = Color3.new(1, 1, 1)
    105. Explosive.TextSize = 18
    106. Explosive.TextStrokeColor3 = Color3.new(1, 1, 1)
    107.  
    108. ModeratorKnifeSkin.Name = "Moderator Knife Skin"
    109. ModeratorKnifeSkin.Parent = Frame
    110. ModeratorKnifeSkin.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    111. ModeratorKnifeSkin.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
    112. ModeratorKnifeSkin.Position = UDim2.new(0.507425368, 0, 0.684999943, 0)
    113. ModeratorKnifeSkin.Size = UDim2.new(0, 170, 0, 50)
    114. ModeratorKnifeSkin.Font = Enum.Font.Highway
    115. ModeratorKnifeSkin.Text = "Moderator Knife Skin"
    116. ModeratorKnifeSkin.TextColor3 = Color3.new(1, 1, 1)
    117. ModeratorKnifeSkin.TextSize = 18
    118. ModeratorKnifeSkin.TextStrokeColor3 = Color3.new(1, 1, 1)
    119. -- Scripts:
    120.  
    121. Hyperbeam.MouseButton1Down:connect(function()
    122. bp = game.Players.LocalPlayer.Backpack
    123. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Hyperbeam"
    124. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
    125. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
    126. end)
    127.  
    128. Shotgun.MouseButton1Down:connect(function()
    129. bp = game.Players.LocalPlayer.Backpack
    130. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Shotgun"
    131. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
    132. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
    133. end)
    134.  
    135. Tesla.MouseButton1Down:connect(function()
    136. bp = game.Players.LocalPlayer.Backpack
    137. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Electric"
    138. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
    139. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
    140. end)
    141.  
    142. Explosive.MouseButton1Down:connect(function()
    143. bp = game.Players.LocalPlayer.Backpack
    144. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeAbility.Value = "Explosive"
    145. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife:Clone().Parent = bp
    146. game.ReplicatedStorage.GameContent.KnifeContent.BaseKnives.OP.Knife.KnifeSkin.Value = "FierKnife"
    147. end)
    148.  
    149. MLGKnife.MouseButton1Down:connect(function()
    150. game.Workspace.ReplicatedData.PlayerEvents.RequestPurchase:FireServer("Knife", 0, "MLG")
    151. game.Workspace.ReplicatedData.PlayerEvents.EquipItem:FireServer("Knife","MLG")
    152. end)
    153.  
    154. ModeratorKnifeSkin.MouseButton1Down:connect(function()
    155. game.Workspace.ReplicatedData.PlayerEvents.RequestPurchase:FireServer("Knife", 0, "FierKnife")
    156. game.Workspace.ReplicatedData.PlayerEvents.EquipItem:FireServer("Knife","FierKnife")
    157. end)
Add Comment
Please, Sign In to add comment
Advertisement