Basiclly in boxing in between rounds you sit in the corner get advice and get your cuts worked on etc. I’m trying to do that for my game but its been annoying, I just need to be able to teleport the player in and out of the seat
The issue is, When I have the player sit down in the seat I TP him to the seat, this dosent work that well but it works I guess, I’d like to change it but what definatley doesn’t work is the TPing out, I try destroying the seat before teleporting the player but It dosent seem to work, I am either doing something wrong or I need to find some sort of alternative
I checked on this fourm from posts from years ago and found no answers.
This Spawns The Seat
function Intermission(SelectedFigter1)
--Seat
local Corner1Seat = game.ReplicatedStorage.FightingObjectsHolder.Corner1
local target = Corner1Seat:Clone()
target.Parent = workspace.Seats
--TPPoint
local TargetPoint1 = target.Position
--Events
game.ReplicatedStorage.FightingEvents.InputOff:FireAllClients()
game.ReplicatedStorage.GameEvents.LoadingScreen:FireAllClients()
wait(0.5)
Teleport(SelectedFighter1, TargetPoint1)
wait(1.5)
game.ReplicatedStorage.FightingEvents.CornerCutscene:FireAllClients()
--RoundClockLoop
repeat
IntermissionTime = IntermissionTime -1
status.Value = "Time Left: "..IntermissionTime
wait(1)
until IntermissionTime == 0 or CanWin == false or #workspace:GetChildren() == 0
end
This Destroys It (Dosen’t work)
function Round(SelectedFighter1)
--WeldBreaker
workspace.Seats.Corner1:Destroy()
--Events
game.ReplicatedStorage.GameEvents.LoadingScreen:FireAllClients()
game.ReplicatedStorage.FightingEvents.InputOn:FireAllClients()
wait(0.5)
game.ReplicatedStorage.FightingEvents.NormalCamera:FireAllClients()
wait(0.5)
--TP
Teleport(SelectedFighter1, FightReady1.Position)
--Clock Loop
repeat
RoundTime = RoundTime -1
status.Value = "Time Left: "..RoundTime
wait(1)
until RoundTime == 0 or CanWin == false or #workspace:GetChildren() == 0
local Rounds = Rounds + 1
end
When I do the teleport in the round function the seat comes with the player to the spot.