Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. --Created by Sorosh and edited by Mozoreno--
  2.  
  3. local MezornosPFGui = Instance.new("ScreenGui")
  4. local gui = Instance.new("Frame")
  5. local title = Instance.new("Frame")
  6. local heading = Instance.new("TextLabel")
  7. local exit = Instance.new("TextButton")
  8. local container = Instance.new("Frame")
  9. local teamName = Instance.new("TextBox")
  10. local toggle = Instance.new("TextButton")
  11. local credits = Instance.new("TextLabel")
  12. local open = Instance.new("Frame")
  13. local openGui = Instance.new("TextButton")
  14. local errorText = Instance.new("TextLabel")
  15. local active = false
  16.  
  17.  
  18. MezornosPFGui.Name = "MezornosPFGui"
  19. MezornosPFGui.Parent = game.CoreGui
  20. MezornosPFGui.ResetOnSpawn = false
  21.  
  22. gui.Name = "gui"
  23. gui.Parent = MezornosPFGui
  24. gui.BackgroundColor3 = Color3.new(0.027451, 0.117647, 0.239216)
  25. gui.BorderSizePixel = 0
  26. gui.Position = UDim2.new(0.710329235, 0, 0.298882723, 0)
  27. gui.Selectable = true
  28. gui.Size = UDim2.new(0.246706635, 0, 0.223184347, 0)
  29. gui.Draggable = true
  30. gui.Visible = false
  31.  
  32. title.Name = "title"
  33. title.Parent = gui
  34. title.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
  35. title.BorderSizePixel = 0
  36. title.Position = UDim2.new(-2.05782698e-07, 0, 0, 0)
  37. title.Selectable = true
  38. title.Size = UDim2.new(1.00000048, 0, 0.200764447, 0)
  39. title.Draggable = true
  40.  
  41. heading.Name = "heading"
  42. heading.Parent = title
  43. heading.BackgroundColor3 = Color3.new(1, 1, 1)
  44. heading.BackgroundTransparency = 1
  45. heading.Position = UDim2.new(0.0458272807, 0, 0, 0)
  46. heading.Size = UDim2.new(0.800000012, 0, 1, 0)
  47. heading.Font = Enum.Font.GothamBlack
  48. heading.Text = "Insta-Kill GUI"
  49. heading.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  50. heading.TextScaled = true
  51. heading.TextSize = 14
  52. heading.TextWrapped = true
  53. heading.Draggable = true
  54.  
  55. exit.Name = "exit"
  56. exit.Parent = title
  57. exit.BackgroundColor3 = Color3.new(0.152941, 0.556863, 0.647059)
  58. exit.BorderSizePixel = 0
  59. exit.Position = UDim2.new(0.899999976, 0, 0, 0)
  60. exit.Size = UDim2.new(0.100000001, 0, 1, 0)
  61. exit.Font = Enum.Font.GothamBold
  62. exit.Text = "X"
  63. exit.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  64. exit.TextSize = 14
  65. exit.Draggable = true
  66.  
  67. container.Name = "container"
  68. container.Parent = gui
  69. container.BackgroundColor3 = Color3.new(1, 1, 1)
  70. container.BackgroundTransparency = 1
  71. container.Position = UDim2.new(-1.85179445e-07, 0, 0.200764433, 0)
  72. container.Size = UDim2.new(0.999999702, 0, 0.799235642, 0)
  73.  
  74. teamName.Name = "teamName"
  75. teamName.Parent = container
  76. teamName.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
  77. teamName.Position = UDim2.new(0.0458272956, 0, 0.140856594, 0)
  78. teamName.Size = UDim2.new(0.903717577, 0, 0.296404868, 0)
  79. teamName.Font = Enum.Font.GothamSemibold
  80. teamName.PlaceholderColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  81. teamName.PlaceholderText = "Opposing Team Name"
  82. teamName.Text = ""
  83. teamName.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  84. teamName.TextScaled = true
  85. teamName.TextSize = 14
  86. teamName.TextWrapped = true
  87.  
  88. toggle.Name = "toggle"
  89. toggle.Parent = container
  90. toggle.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
  91. toggle.Position = UDim2.new(0.0454156399, 0, 0.518260598, 0)
  92. toggle.Size = UDim2.new(0.903999925, 0, 0.276701927, 0)
  93. toggle.Font = Enum.Font.GothamSemibold
  94. toggle.Text = "Turn On"
  95. toggle.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  96. toggle.TextScaled = true
  97. toggle.TextSize = 14
  98. toggle.TextWrapped = true
  99.  
  100. credits.Name = "credits"
  101. credits.Parent = container
  102. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  103. credits.BackgroundTransparency = 1
  104. credits.Position = UDim2.new(0, 0, 0.895419002, 0)
  105. credits.Size = UDim2.new(0.282038718, 0, 0.100000001, 0)
  106. credits.Font = Enum.Font.GothamSemibold
  107. credits.Text = "Mezorno#2928"
  108. credits.TextColor3 = Color3.new(0.121569, 0.258824, 0.529412)
  109. credits.TextScaled = true
  110. credits.TextSize = 14
  111. credits.TextWrapped = true
  112.  
  113. open.Name = "open"
  114. open.Parent = MezornosPFGui
  115. open.BackgroundColor3 = Color3.new(0.027451, 0.117647, 0.239216)
  116. open.BorderSizePixel = 0
  117. open.Position = UDim2.new(0, 0, 0.484636843, 0)
  118. open.Size = UDim2.new(0.100000001, 0, 0.0636871532, 0)
  119.  
  120. openGui.Name = "openGui"
  121. openGui.Parent = open
  122. openGui.BackgroundColor3 = Color3.new(1, 1, 1)
  123. openGui.BackgroundTransparency = 1
  124. openGui.Size = UDim2.new(1, 0, 1, 0)
  125. openGui.Font = Enum.Font.GothamBold
  126. openGui.Text = "Open"
  127. openGui.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
  128. openGui.TextScaled = true
  129. openGui.TextSize = 14
  130. openGui.TextWrapped = true
  131.  
  132. errorText.Name = "errorText"
  133. errorText.Parent = container
  134. errorText.BackgroundColor3 = Color3.new(0.858824, 0.176471, 0.262745)
  135. errorText.BorderSizePixel = 0
  136. errorText.Position = UDim2.new(0.206310511, 0, 0.175081193, 0)
  137. errorText.Size = UDim2.new(0.573300838, 0, 0.522806883, 0)
  138. errorText.Visible = false
  139. errorText.Font = Enum.Font.GothamSemibold
  140. errorText.Text = "Error: Enter opposing team name"
  141. errorText.TextColor3 = Color3.new(0.121569, 0.258824, 0.529412)
  142. errorText.TextScaled = true
  143. errorText.TextSize = 14
  144. errorText.TextWrapped = true
  145.  
  146.  
  147. openGui.MouseButton1Down:Connect(function()
  148. gui.Visible = true
  149. open.Visible = false
  150. end)
  151.  
  152. exit.MouseButton1Down:Connect(function()
  153. gui.Visible = false
  154. open.Visible = true
  155. end)
  156.  
  157. toggle.MouseButton1Down:Connect(function()
  158. local temp = string.lower(teamName.Text)
  159. if temp == "phantoms" or temp == "ghosts" then
  160. active = not active
  161. if toggle.Text == "Turn On" then
  162. toggle.Text = "Turn Off"
  163. else
  164. toggle.Text = "Turn On"
  165. end
  166. else
  167. errorText.Visible = true
  168. wait(1)
  169. errorText.Visible = false
  170. end
  171. end)
  172.  
  173. game:GetService("RunService").RenderStepped:connect(function(
  174. if active == true then
  175. for i,v in pairs(game.Teams[teamName.Text]:GetPlayers())do
  176. v.Character.HumanoidRootPart.Anchored = true
  177. v.Character.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(5,0,0)
  178. end
  179. end
  180. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement