#how do i replace the player model

1 messages · Page 1 of 1 (latest)

viscid slate
#

so i have a timer for 30s and when it hits 0s i want it to replace the player model with other model called noob in workspace how can i do that

rigid comet
#

“I have a timer for 30s and when it hits 0s I want it to replace the player model with another model called Noob in Workspace. How can I do that?”

Here’s how you can handle that in Roblox:

✅ Script Example

Put this in ServerScriptService:

amber stormBOT
#

studio** You are now Level 4! **studio

rigid comet
#

-- Example: replace player character with a "Noob" model after 30 seconds

local Players = game:GetService("Players")

-- Function to replace a player's character
local function replaceCharacter(player)
local noobModel = workspace:FindFirstChild("Noob") -- Make sure this model exists
if noobModel then
local clone = noobModel:Clone()
clone.Name = player.Name -- character must have the same name as player
player.Character = clone
clone.Parent = workspace
player:LoadCharacter() -- refreshes the character
else
warn("Noob model not found in Workspace")
end
end

-- Example timer (runs for each player that joins)
Players.PlayerAdded:Connect(function(player)
task.wait(30) -- wait 30 seconds
replaceCharacter(player)
end)

plush meadow
#

have you tried asking the ai you used to make this?

#

using ai for scripting is mid

#

pretty sure you can literally jusr do if player.Character then
player.Character:Destroy()
end
player.Character = customCharacter