You’d need to replicate the effect on the server using a RemoteEvent and a server script. I’m not going to help you any further with this as I fixed your original problem (and at that point I’d be writing a whole script for you).
Sorry but could you please exemplify, because I can’t figure out how to destroy the old character, I have used your scripts here and made this but I don’t understand how to add that destroy function so that I could destroy the old character
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")
if key == Enum.KeyCode.T and currentAlien.Name == "Heatblast" then
if enabled == false then
enabled = true
local newCharacter = workspace.Heatblast:Clone()
newCharacter.Parent = workspace
newCharacter:FindFirstChild("HumanoidRootPart").CFrame = player.Character:FindFirstChild("HumanoidRootPart").CFrame
player.Character = newCharacter
workspace.CurrentCamera.CameraSubject = newCharacter.Humanoid
end
end`