Is the sprinting script and crouch script two different scripts?
Edit: Appears that way. The issue here is that the scripts aren’t communicating with each other, you can locally update a BoolValue Instance and have the scripts check the value of that.
Create BoolValue Instance somewhere in the explorer and have the scripts access it.
example
--// getting and checking a boolvalue value
local boolValue = workspace.BoolValue
if boolValue.Value then
-- value is true
else
-- value is false
end
--// setting a boolvalue value
boolValue.Value = true or false
You place it in both scripts but not the exact thing I put (it’s just an example). I don’t tend to explain things thoroughly (as I can confuse people), so I may just link some DeveloperHub articles that may help you:
You’re not. Don’t be too hard on yourself, you’re still learning.
Bro I officially gave up I tired for so long thank you for trying to help me tho ima just check u as for solution cuz u helped me for so long thanks for trying to help me tho