So im trying to make a script that detects when the “Floormaterial” Property of the humanoid changes.
local chr = script.Parent
local hum = chr:FindFirstChild("Humanoid")
print(chr)
print(hum)
task.wait(5)
print("Starting")
hum:GetAttributeChangedSignal("FloorMaterial"):Connect(function()
print("Changed")
end)
I thought this would work, but “Changed” Never prints?
What am i doing wrong?