The error occurred in this script;
while true do
if script.Parent.Parent.Parent.Parent.Speed.Start.Value == true then
script.Parent.velocity.X = script.Parent.Parent.Parent.Parent.Speed.Speed.Value
else
script.Parent.velocity.X = 0
end
wait()
end
the second to last Speed in
script.Parent.velocity.X = script.Parent.Parent.Parent.Parent.Speed.Speed.Value
is the Intvalue, and the one before that is a model called Speed.
Also, Start is a BoolValue in the model Speed.
But why doesn't this work?

1 comment
Still having trouble trying to fix it, that didn't really help me much