local Sand = game.Workspace:WaitForChild("Sand")
local Debounce = false
Sand.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if Debounce == false then Debounce = true
game.ReplicatedStorage.GravityController:Destroy()
print("Module successfully destroyed")
end
end
end)
if game.ReplicatedStorage.GravityController:Destroy() then
workspace:FindFirstChild("Humanoid") -- this is where I want to regen the character
end
COMMUNITY QUESTION
How would I regen a character? Not respawn but regen.
1 answer
Check this out: https://developer.roblox.com/en-us/api-reference/function/Player/LoadCharacter
It essentially just re-creates the player model.
If this is a direct answer to your question make this an accepted answer.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Do you mean regen as in health
no as in reloading the character