I am making a character customziation gui this is the script it says that line 1 has an error but I dont know how ONLY LINE1 hasa mistake but I dont know what to change ...
repeat wait() until game.Players.LocalPlayer.Character:findFirstChild("Humanoid")~=nil local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local RS = game:GetService("ReplicatedStorage") local SSS = game:GetService("ServerScriptService") local Teams = game:GetService("Teams")
local Player = Players.LocalPlayer local Character = Player.Character local Humanoid = Character:WaitForChild("Humanoid") local Mouse = Player:GetMouse() local Camera = game.Workspace.CurrentCamera
local Gui = script.Parent local Sounds = Gui:WaitForChild("Sounds") local Holder = Gui:WaitForChild("Holder")
local GenderFrame = Holder:WaitForChild("Gender") local GenderChooser = GenderFrame:WaitForChild("GenderChooser") local NameFrame = GenderFrame:WaitForChild("Name")
local CustomizationFrame = Holder:WaitForChild("Customization") local SkinColorFrame = CustomizationFrame:WaitForChild("SkinColors") local ClothingFrame = CustomizationFrame:WaitForChild("Clothing") local HatFrame = CustomizationFrame:WaitForChild("Hat") local AccessoryFrame = CustomizationFrame:WaitForChild("Accessory") local FaceFrame = CustomizationFrame:WaitForChild("Face")
local SkinColorNumber = 1 local ClothingNumber = 1 local HatNumber = 1 local AccessoryNumber = 1 local FaceNumber = 1
SelectedOutfit = { SkinColor = SkinColorNumber, Clothing = ClothingNumber, Hair = nil, Hat = HatNumber, Accessory = AccessoryNumber, Face = FaceNumber, Name = "", }
I cut the script since its very long?