local Value = script.Parent.ClickValue
local Button = script.Parent
local Player = game.Players.LocalPlayer --get the local player
local Mouse = Player:GetMouse() --get the mouse
function ChangeValue()
Mouse.Button1Down:connect(function()
Value.Value = 1
end)
end
Mouse.Button1Down:connect(ChangeValue)
The problem is when i click the button it does not change the value at all to 1. Not sure what i have done wrong here.
