Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

JimmyChance is not a valid member of Players "Players"?

wait(3/2)

local player = game.Players.JimmyChance local character = player.Character local stats = player:FindFirstChild('leaderstats') local cash = stats:FindFirstChild('Cash')

local billboardgui = Instance.new('BillboardGui', character) billboardgui.Size = UDim2.new(1, 0, 1, 0) billboardgui.Adornee = character.Head billboardgui.StudsOffset = Vector3.new(0, 4, 0) print 'made billboardgui' wait(1/2) local frame = Instance.new('Frame', billboardgui) frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundTransparency = 1 frame.BackgroundColor3 = Color3.new(255, 255, 255) print 'made frame' wait(1/2) local textlabel = Instance.new('TextLabel', frame) textlabel.Size = UDim2.new(0.5, 0, 0.5, 0) textlabel.Position = UDim2.new(0.25, 0, 0.25, 0) textlabel.FontSize = 'Size24' textlabel.Font = 'SourceSans' textlabel.BackgroundTransparency = 1 textlabel.TextColor3 = Color3.new(255, 255, 255) textlabel.TextStrokeTransparency = 0 textlabel.TextStrokeColor3 = script.color.Value print 'basic label set up' textlabel.Text = 'Moderator'

1 answer

✓ Accepted answer

The code will only work if a player named "JimmyChance" is in the game.

Maybe what you're looking for is Players.LocalPlayer?

This discussion is preserved as it was. New answers, comments, and votes are closed.