Why isnt my volume table chaning the text?
so i want to make a volume adjuster but my textlabel wont set to what i want it to set to. I have tried to do this without the table but it just put them with extra numbers i did not want.
02 | script.Parent.Text = Music.Volume |
04 | if Music.Volume = = 0 then |
05 | script.Parent.Text = "Volime: 0" |
06 | elseif Music.Volume = = 0.1 then |
07 | script.Parent.Text = "Volime: 0.1" |
08 | elseif Music.Volume = = 0.2 then |
09 | script.Parent.Text = "Volime: 0.2" |
10 | elseif Music.Volume = = 0.3 then |
11 | script.Parent.Text = "Volime: 0.3" |
12 | elseif Music.Volume = = 0.4 then |
13 | script.Parent.Text = "Volime: 0.4" |
14 | elseif Music.Volume = = 0.5 then |
15 | script.Parent.Text = "Volime: 0.5" |
16 | elseif Music.Volume = = 0.6 then |
17 | script.Parent.Text = "Volime: 0.6" |
18 | elseif Music.Volume = = 0.7 then |
19 | script.Parent.Text = "Volime: 0.7" |
20 | elseif Music.Volume = = 0.8 then |
21 | script.Parent.Text = "Volime: 0.8" |
22 | elseif Music.Volume = = 0.9 then |
23 | script.Parent.Text = "Volime: 0.9" |
24 | elseif Music.Volume = = 1 then |
25 | script.Parent.Text = "Volime: 1" |
can someone please explain what im doing wrong here?