KevinPlayLT2

Hide And Seek

Jun 27th, 2020
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. local function hider()
  2. local me = game.Players.LocalPlayer
  3. local char = me.Character
  4. local players = game.Players:GetChildren()
  5. local mechar = me.Character
  6. for i,v in pairs(game.Workspace.GameObjects:GetChildren()) do
  7. wait(.15)
  8. mechar.HumanoidRootPart.CFrame = v.CFrame
  9. end
  10. char.Humanoid.WalkSpeed = 100
  11. char.Humanoid.JumpPower = 250
  12. for i,v in pairs(players)do
  13. wait(.5)
  14. local billboard = Instance.new("BillboardGui",v.Character.Head)
  15. billboard.Size = UDim2.new (0,200,0,50)
  16. billboard.ExtentsOffset = Vector3.new(0,2.5,0)
  17. billboard.AlwaysOnTop = true
  18. wait(.1)
  19. local textbox = Instance.new ("TextBox",billboard)
  20. textbox.Size = UDim2.new (0, 200,0, 50)
  21. textbox.Name = "textbox"
  22. wait(.1)
  23. textbox.TextColor3 = Color3.fromRGB(0,0,255)
  24. textbox.TextSize = 20
  25. textbox.BackgroundTransparency = 1
  26. if v.PlayerData.It.Value == true then
  27. textbox.Text = "It"
  28. textbox.TextColor3 = Color3.fromRGB(255,0,0)
  29. else
  30. textbox.Text = "Hider"
  31. end
  32. end
  33. end
  34. local function seeker()
  35. local map = game.Workspace.Map.Map
  36. local mapchildren = map:GetChildren()
  37. local me = game.Players.LocalPlayer
  38. for i,v in pairs(game.Workspace.GameObjects:GetChildren()) do
  39. wait(.15)
  40. me.Character.HumanoidRootPart.CFrame = v.CFrame
  41. end
  42. wait(5)
  43. local players = game.Players:GetChildren()
  44. local me = game.Players.LocalPlayer
  45. local mechar = me.Character
  46. wait(1)
  47. for i,v in pairs(players) do
  48. wait(.1)
  49. mechar.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  50. end
  51. end
  52. local player = game.Players.LocalPlayer
  53. local plrchar = player.Character
  54. local guiopen = Instance.new("ScreenGui",player.PlayerGui)
  55. guiopen.Name = "openhack"
  56. local openbutton = Instance.new("TextButton",guiopen)
  57. openbutton.Name = "openbutton"
  58. openbutton.BackgroundColor3 = Color3.fromRGB(255,255,255)
  59. openbutton.TextColor3 = Color3.fromRGB(1,1,1)
  60. openbutton.Size = UDim2.new(.05,0,.05,0)
  61. openbutton.Text = "Open"
  62. openbutton.Style = Enum.ButtonStyle.RobloxRoundButton
  63. openbutton.Position = UDim2.new(0.475,0,0.9,0)
  64. local gui1 = Instance.new("ScreenGui",player.PlayerGui)
  65. gui1.Enabled = false
  66. gui1.Name = "HackGui"
  67. local frame1 = Instance.new("Frame",gui1)
  68. frame1.Name = "frame1"
  69. frame1.Size = UDim2.new(.3,0,.3,0)
  70. frame1.Active = true
  71. frame1.Selectable = true
  72. frame1.Draggable = true
  73. frame1.BackgroundColor3 = Color3.fromRGB(50,0,205)
  74. frame1.BorderColor3 = Color3.fromRGB(205,0,50)
  75. frame1.BorderSizePixel = 3
  76. frame1.Position = UDim2.new(0.35,0,0.35,0)
  77. local hiderbutton = Instance.new("TextButton",frame1)
  78. hiderbutton.Name = "hider"
  79. hiderbutton.Size = UDim2.new(.3,0,.3,0)
  80. hiderbutton.Position = UDim2.new(.35,0,0,0)
  81. hiderbutton.BackgroundColor3 = Color3.fromRGB(205,0,50)
  82. hiderbutton.BorderSizePixel = 0
  83. hiderbutton.Text = "Hider"
  84. local seekerbutton = Instance.new("TextButton",frame1)
  85. seekerbutton.Name = "seeker"
  86. seekerbutton.Size = UDim2.new(.3,0,.3,0)
  87. seekerbutton.Position = UDim2.new(.35,0,.7,0)
  88. seekerbutton.BackgroundColor3 = Color3.fromRGB(205,0,50)
  89. seekerbutton.BorderSizePixel = 0
  90. seekerbutton.Text = "Seeker"
  91. local creditlabel = Instance.new("TextLabel",frame1)
  92. creditlabel.Text = "Click one of the buttons each round depending on what you are! -(Made By Plieax)"
  93. creditlabel.Size = UDim2.new(1,0,.3,0)
  94. creditlabel.TextScaled = true
  95. creditlabel.TextColor3 = Color3.fromRGB(0,0,0)
  96. creditlabel.BackgroundTransparency = 1
  97. creditlabel.Position = UDim2.new(0,0,.35,0)
  98. openbutton.Activated:connect(function()
  99. if gui1.Enabled == true then
  100. openbutton.Text = "Open"
  101. gui1.Enabled = false
  102. elseif gui1.Enabled == false then
  103. openbutton.Text = "Close"
  104. gui1.Enabled = true
  105. end
  106. end)
  107. seekerbutton.Activated:connect(function()
  108. seeker()
  109. end)
  110. hiderbutton.Activated:connect(function()
  111. hider()
  112. end)
Add Comment
Please, Sign In to add comment