I finished the beginning of it and too see if it works, I press play and press f, which is the input i've chosen to change the math, and nothing pops up in the output. I'm somewhat of a beginner, so please give some feedback ill understand!
local chance = math.random()
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, event)
if input.KeyCode == Enum.KeyCode.F then
if chance = .1 then
print ('lol its a one')
end
if chance = .2 then
print ('oof its a two')
end
if chance = .3 then
print ('yeet its a three')
end
if chance = .4 then
print ('what a beaner its a four')
end
if chance = .5 then
print ('lol noob u got a five hahaha')
end
if chance = .6 then
print ('f in chat you just won the game rolling a six!')
end
end)
yes i understand it goes through 0-1 but i don't think thats the problem here.

2 comments
lol my english sucked there, just change the code to that, the error was on line 1
That wont work as the | if chance = 3 then | needs to be == not =. Also the random will only work once and not change.