There is a folder in the Character named LocalConditions with 2 BoolValues, Forward and Back. Forward is supposed to be set to true when W is being held and set to False when let go, neither values get set to true or change, any help?
Edit: There are no errors in output
local Player = game.Players.LocalPlayer
local Char = Player.Character
local uis = game:GetService("UserInputService")
uis.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.W then
Char["LocalConditions"]:FindFirstChild("Forward").Value = true
elseif input.KeyCode == Enum.KeyCode.S then
Char["LocalConditions"]:FindFirstChild("Back").Value = true
end
end)
uis.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.W then
Char["LocalConditions"]:FindFirstChild("Forward").Value = false
elseif input.KeyCode == Enum.KeyCode.S then
Char["LocalConditions"]:FindFirstChild("Back").Value = false
end
end)

4 comments
The script is copied from ServerStorage to backpack. I have quite a bit of other code in this script, but I don't think it would interfere with this. Video: https://streamable.com/106aly
First of all, that video uploading website seems cool, how did you record the video tho? 2nd of all, I think the problem might be how you copy the LocalScript to the player then? Because I just tried it myself again, this time copying the script from ServerStorage and it works just fine... Try using the server console to copy it maybe? I don't know.
I recorded it with a built in recorder from Nvidia, I use the server console to copy it already, but I figured out the issue??? I had to put the code before everything else in the script for some reason? Thank you for trying to help lol I think studio might just be janky rn
Yea I found the recorded lol I don't have the requirements anyway, and well that is weird, might be a studio problem cuz for me it did work so idk, anyways good job!