i need to make this script change value both at server and client. im really bad at remote events and i didnt understand it at all
wait(1)
player = game.Players.LocalPlayer
button = script.Parent
local debounce = false
local Value = workspace.telepart4.Value.Value
function helpme()
if not debounce then
debounce = true
LowerTorso = player.Character.LowerTorso
LowerTorso.CFrame = game.Workspace.telepart4.CFrame
end
end
button.MouseButton1Click:connect(helpme)
while true do wait()
debounce = false
wait(7.5)
end

3 comments
i forgot to type in that i forgot to include the value changing line its after line 11: Value = 1
Changing the variable's value doesn't change the value of the actual value instance.
remote events are for communication between client and server and back, there best used for transporting data from the client to the server like the names of players for example, the same thing can be done with server data to a specific client or all clients