What do you want to achieve? I want to make a character selection GUI where when you click a character it gives you a preview and then if you click again you become that character
What is the issue? I am having trouble scripting it
What solutions have you tried so far? I looked on the wiki, searched on dev forum, and found no working results from free models / youtube
this is a local script i tried putting into a imagebutton
local Diego = game.ReplicatedStorage.Characters.StarterCharacter
local plr = game.Players.LocalPlayer
MouseButton1Click:connect(function()
Diego:Clone()
plr.Character = Diego
Diego.Parent = workspace
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.