Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Spawning in as a creature I created?

How do I make it so when someone enters the game, they get a list of creatures I created to choose from and will spawn in as it?

1 comment

0

First, create a TextButton and a LocalScript then, try use game.ReplicatedStorage.CreatureName:Clone() CreatureName.Name = "CreatureName" CreatureName.Parent = C and on the top add this: local P = game.Players.LocalPlayer local C = P.Character or P.CharacterAdded:wait()

1 answer

First, create a LocalScript at TextButton and try use this:

function onButtonClicked()

local P = game.Players.LocalPlayer
local C = P.Character or P.CharacterAdded:wait()

AnyName = game.ReplicatedStorage.CreatureName:Clone()
AnyName.Name = "CreatureName"
AnyName.Parent = C
wait(1)
script.Parent.Parent:Destroy()
end

script.Parent.MouseButton1Click:connect(onButtonClicked)

Note: In script.Parent.Parent:Destroy(), you need to edit! I just gave a example. And you need to create a script for remove currently player torso,legs and others

This discussion is preserved as it was. New answers, comments, and votes are closed.