#Pls menu
1 messages · Page 1 of 1 (latest)
Hello, to begin I will explain to you the aim of my game, we have the choice between 3 characters, Luffy, Gojo, Naruto and we must survive on an island. And what I would like is a menu where We choose between the 3 and when we click on one of the three we have its capacity (the capacities are already done)
Pls
@outer musk you wanna know how to make a menu to select the characters?
** You are now Level 1! **
if player.Character then
player.Character:Destroy()
end
-- Clone new character
local newCharacter = characterTemplate:Clone()
newCharacter.Name = player.Name
newCharacter.Parent = workspace
-- Set player character
player.Character = newCharacter
-- Move camera and controls to new character
local humanoidRootPart = newCharacter:WaitForChild("HumanoidRootPart")
local humanoid = newCharacter:WaitForChild("Humanoid")
game.Players:CreateHumanoidDescriptionFromUserId(player.UserId):ApplyToDescription(humanoid)
-- Spawn positioning (optional)
newCharacter:SetPrimaryPartCFrame(CFrame.new(0, 10, 0))
Just ask ai for some explanation
Basically like a shitty devform
Yes or do it to me, I don't really understand, I'm French so preferably do it to me
What should I do with the script?
I will try to understand with translator, what I have to do with the script
?
Ping me
** You are now Level 2! **
@twilit portal