I got an error in roblox studio -----> ServerScriptService.Script:19: Expected identifier when parsing expression, got ')'
can anybody help with this error..
i was doing this script..
local billboardgui = game:GetService("ServerStorage") :WaitForChild("BillboardGui")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect (function(character)
if player.Name == "louie43pro" then
local clonedgui = billboardgui:Clone()
clonedgui.TextLabel.Text = "Owner"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(255,255,0)
clonedgui.Parent = game.Workspace:WaitForChild(player.Name) .Head
end
if player.Name == "gamershadow742" then
local clonedgui = billboardgui:Clone()
clonedgui.TextLabel.Text = "Admin"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(255,255,0)
clonedgui.Parent = game.Workspace:WaitForChild(player.Name) .Head
end
end)
Please response...
