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

Whats wrong with my Billboard Gui Script? [Done] [closed]

Asked by 10 years ago

I've been trying all day but the billboard doesn't show up how come??

clone = script.Parent.Parent.Head:clone()
clone.Parent = script.Parent.Parent.Head
clone.BrickColor = clone.Parent.BrickColor
clone.Name = "fake"
clone.Transparency = 0
clone.face:remove()
weld = Instance.new("Weld")
weld.Parent = script.Parent.Parent.Head
weld.Part0 = script.Parent.Parent.Head
weld.Part1 = clone
clone.CFrame = script.Parent.Parent.Head.CFrame
weld.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
user = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
while true do  
script.Parent.Adornee = script.Parent.Parent.Parent.Head
script.Parent.talk.Text = script.Parent.Parent.Name .. ": " .. script.Parent.Parent.Humanoid.Health.."%"
if script.Parent.Parent.Humanoid.Health <= 30 then
        script.Parent.talk.TextColor3 = Color3.new(1,1,0) --red
    elseif script.Parent.Parent.Humanoid.Health <= 70 then
        script.Parent.talk.TextColor3 = Color3.new(1,0,0) --yellow
    elseif script.Parent.Parent.Humanoid.Health > 70 then
        script.Parent.talk.TextColor3 = Color3.new(0,1,0) --green
    elseif script.Parent.Parent.Humanoid.Health < 0 then
        script.Parent.talk.TextColor3 = Color3.new(0,0,0) --green           
    end
for i,v in pairs(game.Players:GetChildren()) do
if user.TeamColor == v.TeamColor then
script.Parent.talk.Visible = true
else script.Parent.talk.Visible = false end
wait(3)
end
end

0
Ow never mind i manage to find the wrong mistake I've done in the script Arnel050039 20 — 10y
0
You guys can have the script .-. Arnel050039 20 — 10y
0
Delete or edit the answer no? alessandro112 161 — 10y

Locked by 1waffle1 and User#2

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?