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

How to change form when I press a key ??

I want a script that can turn my player in to my model I want

8 comments

0

Basically clone the model, rename it to the player's name and change the player's character to the model + CurrentCamera's subject to the model. If the model doesn't have animations set or anything then just place the ones from your original player model.

0

I'm sorry, this is out of scope for ScriptingHelpers; we're here to help you with your scripts, not to make them for you. But I will recommend you looking into the camera API, CFrames, and StarterCharacter. Please, give us something to work with next time!

0

Im newbie

0

Im trying to make a one piece game

0

How about U teach me script pls ?

0

I do not have the time to teach as this is my spare time but I reccomend AlvinBlox on YouTube to teach you do to this. You'll have a blast!

0

Can I ask a question ?

0

How to make the script finish the job for a while I set . Ex : count from 1 to 10 in 5 seconds

1 answer

Local script in StarterGui:

local morph = game.ReplicatedStorage.Morph
local plr = game.Players.LocalPlayer
local char = plr.Character
local uis = game:GetService("UserInputService")
uis.InputBegan:Connect(function(key)
    if key.KeyCode == Enum.KeyCode.E then --change E to whatever key you like.
        local clone = morph:Clone()
        char = clone
    end
end)

Make sure your morph works like a normal avatar would, with Humanoids, HumanoidRootParts etc.

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