Once again, I’m asking for help on here. I’m currently making a simple fire system and I want it to notice if a value changes and if it does to then start a fire. But for some reason it’s doing nothing when the Value changes… I really need help and hope some of you more experienced scripters have a fix for me!
local RS = game:GetService("ReplicatedStorage")
local Auto = RS:WaitForChild("Automation")
--Auto. Events--
local Feuer = Instance.new("Fire")
script.Parent.Values.B1.changed:Connect(function(valuee1)
if valuee1 == true then
print("V1")
Auto:FireClient()
for _, child in ipairs(workspace.MelderSys.Feuer.B1:GetChildren()) do
Feuer = child
end
end
end)
script.Parent.Values.B2.Changed:Connect(function(valuee2)
if valuee2 == true then
print("V2")
Auto:FireClient()
for _, child in ipairs(workspace.MelderSys.Feuer.B2:GetChildren()) do
Feuer = child
end
end
end)
script.Parent.Values.B3.Changed:Connect(function(valuee3)
if valuee3 == true then
print("V3")
Auto:FireClient()
for _, child in ipairs(workspace.MelderSys.Feuer.B3:GetChildren()) do
Feuer = child
end
end
end)
Hi! I actually have been there a few times, I didn’t want to write another thing on here but I didn’t manage to do it on my own. Thank you for your post I will try it later when I’m back!