Script not working

Hey devs!

I am making a script, it is hard to explain so here it is:

--[[
USING THIS MODEL WITHOUT CREDIT WE WILL TAKE DOWN YOUR GAME

Copyright 2020 the callmehSpear Corporation | All rights reserved.
--]]

local active = ("yes") -- change to yes if u agree to the following terms above

function e()
	wait(0.5)
		if active == ("yes") then
		script.Disabled = false
		print("eula accepted")
	else
		print("eula denied")
		e()
	end
end

you might wanna paste it into Roblox script to make it look better - so if active = yes then it says eula accepted, if anythign else, eula denied.

My console doesn’t print anything.
Can you make this script work, and more efficent?

the script is already active, just incase it isnt

You’ve defined the function but you need to determine when it is sent.

Drop a few lines and put e(), this will run your function.

Please learn about functions since this is not hard.

I’m seriously not understanding what the script is for and why you have licenced it, since it is a script about licensing a script? Is this the full code?

Also, people can remove that, so I suggest just putting a licence script that is already disabled, that way you are legally covered. Your script is in no way a good idea, and can easily be bypassed.

ok thanks i will remove the script

I suggest putting a policy ‘By using this code, you agree to BLAH BLAH BLAH’, but you should really consult your lawyer about this.

Please mark my reply as solution to help others with the same question.

Also, you cannot expect developers to credit you, if you give people permission to use your script publically, you cannot take the game down.