Advertisement
FurkingBoi

Zombie tag

May 22nd, 2020
1,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  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 TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextButton_4 = Instance.new("TextButton")
  13. local TextButton_5 = Instance.new("TextButton")
  14. local TextButton_6 = Instance.new("TextButton")
  15. local Frame_2 = Instance.new("Frame")
  16. local TextButton_7 = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. ScreenGui.Parent = game.CoreGui
  21.  
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  24. Frame.Position = UDim2.new(0.0788844526, 0, 0.54004848, 0)
  25. Frame.Size = UDim2.new(0, 297, 0, 274)
  26. Frame.Visible = false
  27. Frame.Active = true
  28. Frame.Draggable = true
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TextLabel.Size = UDim2.new(0, 297, 0, 23)
  33. TextLabel.Font = Enum.Font.GothamBlack
  34. TextLabel.Text = "Zombie Tag GUI"
  35. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  36. TextLabel.TextSize = 20
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextButton.Position = UDim2.new(0.0370370448, 0, 0.145985395, 0)
  41. TextButton.Size = UDim2.new(0, 124, 0, 50)
  42. TextButton.Font = Enum.Font.SourceSans
  43. TextButton.Text = "WalkSpeed"
  44. TextButton.TextColor3 = Color3.new(0, 0, 0)
  45. TextButton.TextSize = 14
  46. TextButton.MouseButton1Down:connect(function()
  47. getgenv().WalkSpeedValue = 100; --set your desired walkspeed here
  48. local Player = game:service'Players'.LocalPlayer;
  49. Player.Character.Humanoid:GetPropertyChangedSignal'WalkSpeed':Connect(function()
  50. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  51. end)
  52. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue
  53. end)
  54.  
  55. TextButton_2.Parent = Frame
  56. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  57. TextButton_2.Position = UDim2.new(0.508417487, 0, 0.145985395, 0)
  58. TextButton_2.Size = UDim2.new(0, 124, 0, 50)
  59. TextButton_2.Font = Enum.Font.SourceSans
  60. TextButton_2.Text = "No Clip (E)"
  61. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  62. TextButton_2.TextSize = 14
  63. TextButton_2.MouseButton1Down:connect(function()
  64. noclip = false
  65. game:GetService('RunService').Stepped:connect(function()
  66. if noclip then
  67. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  68. end
  69. end)
  70. plr = game.Players.LocalPlayer
  71. mouse = plr:GetMouse()
  72. mouse.KeyDown:connect(function(key)
  73.  
  74. if key == "e" then
  75. noclip = not noclip
  76. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  77. end
  78. end)
  79. print('Loaded')
  80. print('Press "E" to noclip')
  81. end)
  82.  
  83. TextButton_3.Parent = Frame
  84. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  85. TextButton_3.Position = UDim2.new(0.0370370448, 0, 0.434306532, 0)
  86. TextButton_3.Size = UDim2.new(0, 280, 0, 50)
  87. TextButton_3.Font = Enum.Font.SourceSans
  88. TextButton_3.Text = "Make everyone a Zombie (You must be a zombie)"
  89. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  90. TextButton_3.TextSize = 14
  91. TextButton_3.MouseButton1Down:connect(function()
  92. for i,v in pairs(game.Players:GetPlayers()) do
  93. game:GetService("ReplicatedStorage").ZombieTouchedHuman:InvokeServer(v)
  94. end
  95. end)
  96.  
  97. TextButton_6.Parent = Frame
  98. TextButton_6.BackgroundColor3 = Color3.new(1, 0, 0)
  99. TextButton_6.Position = UDim2.new(0.92592591, 0, 0, 0)
  100. TextButton_6.Size = UDim2.new(0, 22, 0, 23)
  101. TextButton_6.Font = Enum.Font.GothamBold
  102. TextButton_6.Text = "X"
  103. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  104. TextButton_6.TextSize = 28
  105. TextButton_6.MouseButton1Down:connect(function()
  106. Frame.Visible = false
  107. Frame_2.Visible = true
  108. end)
  109.  
  110. Frame_2.Parent = ScreenGui
  111. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  112. Frame_2.Position = UDim2.new(0.00717131514, 0, 0.444174707, 0)
  113. Frame_2.Size = UDim2.new(0, 91, 0, 28)
  114. Frame.Active = true
  115. Frame.Draggable = true
  116.  
  117.  
  118. TextButton_7.Parent = Frame_2
  119. TextButton_7.BackgroundColor3 = Color3.new(1, 1, 1)
  120. TextButton_7.Position = UDim2.new(0, 0, 0.0357142873, 0)
  121. TextButton_7.Size = UDim2.new(0, 190, 0, 260)
  122. TextButton_7.Font = Enum.Font.SourceSans
  123. TextButton_7.Text = "Open"
  124. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  125. TextButton_7.TextSize = 14
  126. TextButton_7.MouseButton1Down:connect(function()
  127. Frame_2.Visible = false
  128. Frame.Visible = true
  129. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement