local BrickEvent = game.ReplicatedStorage.Events.Gui
BrickEvent.OnClientEvent:Connect(function(plr)
local num = math.random(1,3)
if num == 1 then
print("you got Critical Hit Fact")
script.Parent.ScreenGui.Frame.HintCriticalDamage.Visible=true
elseif num == 2 then
print("you got Stamina Fact")
script.Parent.ScreenGui.Frame.HintStamina.Visible=true
elseif num == 3 then
print("you got Jump Attack Fact")
script.Parent.ScreenGui.Frame.HintJump.Visible=true
end
wait("9")
script.Parent.ScreenGui.Frame.HintCriticalDamage.Visible=false
script.Parent.ScreenGui.Frame.HintStamina.Visible=false
script.Parent.ScreenGui.Frame.HintJump.Visible=false
end)
that's my code and almost every time i get the same one twice in a row is there any way I can add a chance system so it almost never gets the same one in a tow

3 comments
where do i put that in the script?
so i tried your code and i get a error
ok changed your script