So i've been working on this intermission script for a while and asked a couple questions for it and have been researching up on FE and i feel like i'm almost there. I decided go back to my script and try it little by little

script in SSS

game.ReplicatedStorage.Intermis.OnServerEvent:Connect(function(player, rob, text, tim)
while true do 	
			Int.Value = Int.Value - 10
			wait(1)
	if Int.Value == 0 then
		for _,player in pairs (game.Players:GetPlayers()) do		
			if player.Character then			
			player.Character:MoveTo(Vector3.new(game.Workspace.tele.Position))
				end
			end
		end
	end
end)


game.ReplicatedStorage.gui:FireClient(Int)

LocalScript in StarterGui

local inter = game:GetService("ReplicatedStorage")

game.ReplicatedStorage.gui.OnClientEvent:Connect(function(gob )
	local Int = game:GetService("ReplicatedStorage"):WaitForChild("Int")
	while wait(1) do
		script.Parent.TextLabel.Text = "Intermission = "..Int.Value
		
			
		
	end
end)




inter:WaitForChild("Intermis"):FireServer(script.Parent.TextLabel, script.Parent.time)

its teleports me to my destination in the correct time but the gui never shows up (this works when i play in solo though)

1 comment

0

I believe you’ll have to move GUI to player GUI, use a remote event and clone it from RS...I don’t have access to my scripts atm, maybe someone can give you better details