local bot = 50 + 50

if bot == 100 then
	print("yes")
	function top(thor,czar)
			return thor + czar
   
	end
end
 variable2 = top(0.25,0.25)


game.Workspace.joey.Transparency =  top()

01:37:48.933 - soumaila12345's Place Number: 48 auto-recovery file was created yes 01:37:51.338 - Workspace.Script:6: attempt to perform arithmetic on local 'thor' (a nil value) 01:37:51.339 - Stack Begin 01:37:51.340 - Script 'Workspace.Script', Line 6 - global top 01:37:51.341 - Script 'Workspace.Script', Line 13 01:37:51.342 - Stack End

1 comment

0

In your function you never set thor or czar to anything on line 13