The point of this script is to make the value go up 1 if they scroll forward and go down 1 if they scroll backward, but nothing happens, no errors, and clues?
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.WheelForward:connect(function() script.Parent.val.Value = script.Parent.val.Value +1 end) Mouse.WheelBackward:connect(function() script.Parent.val.Value = script.Parent.val.Value -1 end)
if you go into the object browser of roblox studio and look for mouse then go down to mousewheel it says that its non operational so trying to dothis wont work