#I had a character menu for a BG game I'm coding and now it dissapeared

1 messages · Page 1 of 1 (latest)

shrewd hound
#

I had it and it worked but when i put the names to choose from it just disappeared.

cursive wadi
#

Show your code

quiet steppe
warped moat
shrewd hound
shrewd hound
# cursive wadi Show your code

In Server:
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local CharacterModule = require(ReplicatedStorage:WaitForChild("Modules"):WaitForChild("CharacterModule"))
local changeCharacter = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("changeCharacter")

Players.PlayerAdded:Connect(function(player)
local characters = CharacterModule.GetCharacters(player)
print(characters)
end)

changeCharacter.OnServerEvent:Connect(function(player, character))
if player and character then
if ReplicatedStorage:WaitForChild("Modules"):WaitForChild("CharacterModule"):WaitForChild("Characters"):FindFirstChild(charcater) then
player:WaitForChild("selectedCharacter").Value = character
end
end
end)

#

didnt paste right

#

in CharacterModule:

#

In PlayerData: