xdddddlol

Hide And Seek

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