So how do I make a gui button that when you press it will morph you to a (custom character) that can be seen on other players client, Or a morph button part teleports to you're LocalPlayer when you press the button gui (Without killing the player) (Thanks in Advance!)
✓ ANSWER ACCEPTED
if button gui is pressed it morphs you a (custom morph)? that can be seen by other players too.
2 answers
✓ Accepted answer
first create like whatever character you want. the add this script under that model
local function transform(char,model)
local model=model:Clone()
model:SetPrimaryPartCFrame(char.PrimaryPart.CFrame+Vector3.new(0,model:GetExtentsSize().Y,0))
local h=char.Humanoid
local function unkill()
h:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
end
for i,v in pairs(h:GetPlayingAnimationTracks()) do
v:Stop()
end
h.Parent=game.ReplicatedStorage
unkill()
for i,v in pairs(char:GetChildren()) do
if v.Name~="Humanoid" and not v:IsA("Script") and not v:IsA("LocalScript") then
v:Destroy()
end
end
local hipheight=model.Humanoid.HipHeight
local primary=model.PrimaryPart
for i,v in pairs(model:GetChildren()) do
if v.Name~="Humanoid" then
v.Parent=char
end
end
-- synchronize.
model:Destroy()
char.PrimaryPart=char.HumanoidRootPart
h.HipHeight=hipheight
h.Parent=char
char.PrimaryPart=char.HumanoidRootPart
h.HipHeight=hipheight
local plr=game.Players:GetPlayerFromCharacter(char)
if plr then -- thanks roblox.
game.ReplicatedStorage.HipHeight:FireClient(plr,hipheight)
end
end
transform(game.Players["you"].Character,workspace.Dummy)
use a remote event (search on youtube remote event tutorial)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
why has this not been answered yet
I don't know why it hasn't because heaps of people have viewed it. Sadly I don't have an answer. So sorry!