Wondering what this code means

I manually check scripts for viruses, (because most virus scanners do not work)
wondering what this line of code means.

function CLASS:Enable()
	assert(self.IsEnabled == false, "OTS Camera System Logic Error: Attempt to enable without disabling")
	
	self.IsEnabled = true
	self.EnabledEvent:Fire()
	self:ConfigureStateForEnabled()

For some reason I find this suspicious, here’s what the scrips are named, used for a weapons system.

The code you provided is just normal and there’s nothing suspicious in it. It is written in OOP…

It is a Bindable Event method

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.