Hi everyone, someone helped me to make a script. It's a VIP tag and it slowly flashes rainbow above the players head.
The only issue is that it flashes for the users screen, everyone else's screen it just shows a blue colour.
It's in ServerScriptService as a local script, how can I fix this?
local billboardGui = game:GetService("ServerStorage"):WaitForChild("OverheadGUI")
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8259576) or game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8276140)or game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8355261) or game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 8355249)then --//You can add more local clonedGui = billboardGui:Clone() clonedGui.TextLabel.Text = "VIP" clonedGui.TextLabel.TextColor3 = Color3.fromRGB(36, 154, 136) clonedGui.Parent = game.Workspace:WaitForChild(player.Name).Head end
if player:GetRankInGroup(5620841) == 251 then
if character.Head:FindFirstChild("OverheadGUI") then
print("Already has an overheadGUI")
else
local clonedGui = billboardGui:Clone()
clonedGui.TextLabel.Text = "VIP"
clonedGui.TextLabel.TextColor3 = Color3.fromRGB(36, 154, 136)
clonedGui.Parent = game.Workspace:WaitForChild(player.Name).Head
end
end
end)
end)

1 comment
Localscripts don't work on the Server-side. Do you mean it's in StarterPlayer or something along that?