Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Create a variable for all the players in the game
- local plrs = game.Players:GetPlayers()
- --// Print credits
- print("Thank you for using CriShoux's ESP!")
- --// Main
- for i = 1, #plrs do
- --// Create BillBoardGui to hold main stuff
- local boxholder = Instance.new("BillboardGui", game.Workspace[plrs[i].Name].Torso)
- boxholder.Name = "HolderBox"
- boxholder.AlwaysOnTop = true
- boxholder.LightInfluence = 0
- boxholder.Adornee = game.Workspace[plrs[i].Name].Torso
- boxholder.Size = UDim2.new(5, 0, 8, 0)
- --// Create the box/esp itself
- local box = Instance.new("Frame", boxholder)
- box.Size = UDim2.new(1, 0, 1, 0)
- box.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
- box.BorderSizePixel = 0
- box.BackgroundTransparency = 0.5
- --// Create a textlabel with the player's name
- local label = Instance.new("TextLabel", boxholder)
- label.BackgroundColor3 = Color3.fromRGB(255,255,255)
- label.BorderSizePixel = 0
- label.BackgroundTransparency = 1
- label.TextScaled = true
- label.Text = plrs[i].Name
- label.Size = UDim2.new(1, 0, 0.15, 0)
- label.TextColor3 = Color3.fromRGB(255,255,255)
- end
- --// Destroy your own box
- wait(1)
- game.Workspace[game.Players.LocalPlayer.Name].Torso:FindFirstChild("HolderBox"):Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement