Are you running a pre-made script or just a self made one or any at all?
If you are using someone else's script make sure you have the settings set to what you need.
If your own script always do some logic testing to make sure its not your code.
If your coding window is empty then you might want to get some code.
Hope this helps if not post some more
Danzar