I mean is there any code like that “Reset()”
You can set the character humanoid health to 0 on the client.
No No not like that, like player joining
Hmm? Do you mean a complete instant respawn? I don’t think that’s possible, unless you have a remote event that respawns the player.
There isn’t exactly much information that you stated in your topic, what do you mean by Reset()
? An instant respawn for the Player?
Its not about respawning, like resetting dude when you join a game and leave and join again i mean like that
Can’t you just use the Humanoid.Died
event to detect when the Character starts to reset?
Yeah like rejoining but i dont want player goes other server or seeing loading screen
Do you mean UIs?
Every ScreenGui has a ResetOnRespawn property, set it to true and it will return to default when the character respawns.
You can set a teleport GUI using TeleportService… (Someone provide an example, I’m on phone)
No not like that, i have button and this button will be resetting whole game but for only localplayer
Try using TeleportService:SetTeleportGui(GUI). This should work.
Also, make a custom loading screen using ReplicatedFirst:RemoveDefaultLoadingScreen()
I swear there still isn’t enough information to clarify this
local TeleportService = game:GetService("TeleportService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local playerGui = Players.LocalPlayer:WaitForChild("PlayerGui")
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
local placeId = 0 -- replace here
local loadingGui = ReplicatedStorage:FindFirstChild("LoadingGui") -- replace here
-- parent the loading gui for this place
loadingGui.Parent = playerGui
-- set the loading gui for the destination place
TeleportService:SetTeleportGui(loadingGui)
-- teleport the user
TeleportService:Teleport(placeId)
He wants to teleport without showing the default GUI
Also thanks for doing the example and showing him how to do it, it’s 10:22 PM I need to get over my devforum addiction lol
I dont want to show any loading gui’s
So maybe slot in an info screen like Dungeon Quest?
I didnt play Dungeon Quest can you explain a little bit ?
Basically, when you enter a game, it just pulls up a generic title card while it teleports you.
Allright i get it but i dont want that too