#Scripts from a long time ago not working.

14 messages · Page 1 of 1 (latest)

shy talon
#

I'm revisiting a game I started working on and abandoned a long time ago.
There's scripts I can't seem to get to work, I'm not sure why, maybe something I did last time I worked on the game months ago???
I'm not sure if they were ever working or if I just abandoned the scripts. In any case I need help to get them to work.

#

``Lua script.Parent.ClickDetector.MouseClick:connect(onClicked)

script.Parent.PointLight.Brightness = 10 ``

#

?

#

heres the next one

#

lua script.Parent.MouseClick:Connect(function() script.Parent.Parent.Parent["right door"].Union.Transparency = 1 script.Parent.Parent.Parent["right door1"].Door.Transparency = 0

#

and the last one

#

``lua while true do
wait()

if script.Parent.Parent.Massless == true
    then script.Parent.Rotation.X = script.Parent.Rotation.X+1
        
end

end``

#

that one I'm not sure about

#

I think theres a script to go along with it that sets the part to massless???

#

I'm pretty sure I was using the massless value instead of a remote event.

polar flint
#

@shy talon provide us with the errors...

#

In your output console

#

If you dont have any errors you can try adding some error handling.