Guest User

Script

a guest
Dec 12th, 2019
133
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local CD = Instance.new("TextButton")
  9. local FP = Instance.new("TextButton")
  10. local CI = Instance.new("TextButton")
  11. local SCP = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local TextButton = Instance.new("TextButton")
  14.  
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19. ScreenGui.ResetOnSpawn = false
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.Active = true
  23. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Frame.Position = UDim2.new(0.219197705, 0, 0.203187257, 0)
  25. Frame.Size = UDim2.new(0, 299, 0, 329)
  26. Frame.Draggable = true
  27.  
  28. CD.Name = "CD"
  29. CD.Parent = Frame
  30. CD.BackgroundColor3 = Color3.new(1, 1, 1)
  31. CD.Position = UDim2.new(0.162307978, 0, 0.156934187, 0)
  32. CD.Size = UDim2.new(0, 200, 0, 50)
  33. CD.Font = Enum.Font.SourceSans
  34. CD.Text = "Class-D"
  35. CD.TextColor3 = Color3.new(0, 0, 0)
  36. CD.TextSize = 14
  37. CD.MouseButton1Click:Connect(function()
  38. game.ReplicatedStorage.ChangeTeam:FireServer("Neon orange", "Respawn")
  39. end)
  40.  
  41. FP.Name = "FP"
  42. FP.Parent = Frame
  43. FP.BackgroundColor3 = Color3.new(1, 1, 1)
  44. FP.Position = UDim2.new(0.160535127, 0, 0.375811338, 0)
  45. FP.Size = UDim2.new(0, 200, 0, 50)
  46. FP.Font = Enum.Font.SourceSans
  47. FP.Text = "Fondation Personal"
  48. FP.TextColor3 = Color3.new(0, 0, 0)
  49. FP.TextSize = 14
  50. FP.MouseButton1Click:Connect(function()
  51. game.ReplicatedStorage.ChangeTeam:FireServer("Institutional white", "Respawn")
  52. end)
  53.  
  54. CI.Name = "CI"
  55. CI.Parent = Frame
  56. CI.BackgroundColor3 = Color3.new(1, 1, 1)
  57. CI.Position = UDim2.new(0.160535112, 0, 0.610942245, 0)
  58. CI.Size = UDim2.new(0, 200, 0, 50)
  59. CI.Font = Enum.Font.SourceSans
  60. CI.Text = "Chaos Insurgency"
  61. CI.TextColor3 = Color3.new(0, 0, 0)
  62. CI.TextSize = 14
  63. CI.MouseButton1Click:Connect(function()
  64. game.ReplicatedStorage.ChangeTeam:FireServer("Really black", "Respawn")
  65. end)
  66.  
  67. SCP.Name = "SCP"
  68. SCP.Parent = Frame
  69. SCP.BackgroundColor3 = Color3.new(1, 1, 1)
  70. SCP.Position = UDim2.new(0.160535112, 0, 0.823708177, 0)
  71. SCP.Size = UDim2.new(0, 200, 0, 50)
  72. SCP.Font = Enum.Font.SourceSans
  73. SCP.Text = "SCP"
  74. SCP.TextColor3 = Color3.new(0, 0, 0)
  75. SCP.TextSize = 14
  76. SCP.MouseButton1Click:Connect(function()
  77. game.ReplicatedStorage.ChangeTeam:FireServer("Crimson", "Respawn")
  78. end)
  79.  
  80. TextLabel.Parent = Frame
  81. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  82. TextLabel.Position = UDim2.new(0.163879603, 0, 0.00303951371, 0)
  83. TextLabel.Size = UDim2.new(0, 200, 0, 40)
  84. TextLabel.Font = Enum.Font.SourceSans
  85. TextLabel.Text = "Contaiment Breach Team Changer"
  86. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  87. TextLabel.TextSize = 14
  88.  
  89. TextButton.Parent = Frame
  90. TextButton.BackgroundColor3 = Color3.new(1, 0, 0)
  91. TextButton.BackgroundTransparency = 0.30000001192093
  92. TextButton.Position = UDim2.new(1.22575247, -100, 0.00303951371, 0)
  93. TextButton.Size = UDim2.new(0, 32, 0, 34)
  94. TextButton.Font = Enum.Font.SourceSans
  95. TextButton.Text = "X"
  96. TextButton.TextColor3 = Color3.new(0, 0, 0)
  97. TextButton.TextSize = 14
  98.  
  99. -- Scripts:
  100.  
  101. local function QUMPNR_fake_script() -- TextButton.Script
  102. local script = Instance.new('Script', TextButton)
  103.  
  104. button = script.Parent
  105. window = button.Parent
  106.  
  107. function onClicked(GUI)
  108. window:remove()
  109. end
  110. script.Parent.MouseButton1Click:connect(onClicked)
  111. end
  112. coroutine.wrap(QUMPNR_fake_script)()
RAW Paste Data