Hello! I have made a Script, which detects if a BoolValue has changed and then checks if it's ticked. Though it does not work, obviously... The BoolValue does get ticked and unticked, but is not detected by this script.
Knife = script.Parent
KnifeZone = game.ReplicatedStorage.KnifeZone
SwingCheck = Knife.Swinging
if SwingCheck.Value:Changed() then
print("BoolValue changed!")
if SwingCheck.Value == true then
KZclone = KnifeZone:Clone()
KZclone.Parent = game.Workspace
KZclone.Position = Knife.Knife.Position
KZclone.Orientation = Knife.Knife.Orientation
wait(0.5)
KZclone:Destroy()
end
end

2 comments
Extra information. The Knife is in ReplicatedStorage
Nevermind! I found what I did wrong and fixed it! Thank you @Feahren and @Elixcore for taking their time to help me!