@samy
did it, still not working at all
i added prints to see if the function was even starting
sp = script.Parent
db = false
print("1")
function onClick()
if not db
then db = true
wait(0.1)
print("2")
for i = 0.1, 1, 0.01 do
sp.TextTransparency = i
wait()
end
print ("3")
sp.TextYAlignment = "Top"
sp.Text = ([[1. Right of Safety
All citizens have the right to beat Maniakov extremists, that are participating in an illegal or suspicous activity, without questioning. The force is limited to your hands, and must stop after the extremist is subdued.]])
wait(0.5)
for i = 1, 0.1, -0.01 do
sp.TextTransparency = i
wait()
end
wait(3)
db = false
end
end
script.Parent.Parent.Parent.Parent.click.TextButton.MouseButton1Click:connect(onClick)
output:
1
meaning the function isnt being called correctly
what could be the problem? |