Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I put this Billboard gui inside the humanoid root part (Kind of urgent)?

Asked by 3 years ago

This is a script I made that I want to clone a billboard gui in replicated storage and put it in every player's humanoid root part, so that it shows where every player is.

here's the script:

local Billboard = game.ReplicatedStorage.BillboardGui
local spawns = game.Workspace:GetChildren()

local player = game.Players

player.PlayerAdded:Connect(function(plr)
    local clone = Billboard:Clone()
end)

spawns.Touched:Connect(function(hit)
    if hit.Parent.Humanoid == true then
        clone.Parent = hit.Parent.HumanoidRootPart
    end
end)
0
why dont you put some print statements and see what prints and what doesn't MarcTheRubixQb 153 — 3y
0
the touch function is working. Have you checked your output? MarcTheRubixQb 153 — 3y
0
sorry i meant I think the touch function is not working MarcTheRubixQb 153 — 3y

Answer this question