I Made a script so when you press a gui button u get a morph. It works but the players cant see eachother, and also their old character gets left behind and doesnt get removed. I dont get any error code or anything
Heres a vid: https://www.youtube.com/watch?v=7a3XfH78DHs
The script for the morph is:
local button = script.Parent
local Player = game.Players.LocalPlayer
local Clone = game.ReplicatedStorage.Characters.Tamoko.Tamoko
local EwCharacter = Player.Character
button.MouseButton1Click:Connect(function()
local currentPivot = EwCharacter:GetPivot() | ||
---|---|---|
Player.Character = Clone | ||
Clone.Parent = workspace | ||
Clone:PivotTo(currentPivot) | ||
end) |