For an example here
game.ReplicatedStorage.OpenGui.OnClientEvent:Connect(function()
camera.CameraType = Enum.CameraType.Scriptable
tween:Play()
end)
if i wait 2 seconds (the tweening time) can i call then another function?
like so
game.ReplicatedStorage.OpenGui.OnClientEvent:Connect(function()
camera.CameraType = Enum.CameraType.Scriptable
tween:Play()
wait(2)
NPCText:Connect()
end)
I am sorry for my bad explanation but i hope you know what i mean…