Setting Bool to true not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I am trying to set a bool to true, but when I use Attacking = true, like in my code, nothing happens!

I tried making sure the value is there, and it is, but it wont change the value for some reason

This is the part where it sets it to true

if character:FindFirstChild("Attacking") then
		print("Attacking is there")
		Attacking = true

Please help me I have never had this happen before, but i’m probably making a dumb mistake

1 Like

You’re forgetting to add .Value after Attacking.

Attacking.Value = true
3 Likes