Just checking.
H = game.Workspace.Part
function onTouch(Part)
H.Transparency = 0.5
wait(5)
if 2*2 == 4 then
print ("Game is working!")
end
script.Parent.Touched:connect(onTouch)
- Newbie in progress...
Just checking.
H = game.Workspace.Part
function onTouch(Part)
H.Transparency = 0.5
wait(5)
if 2*2 == 4 then
print ("Game is working!")
end
script.Parent.Touched:connect(onTouch)
If you want to see it yourself, try running it in ROBLOX Studio.
Also, yes this should work as 2*2 is basically 2 multiplied by 2 as the asterisk means multiply.
if 2*2 == 4 then
print ("Game is working!")
end
Output:
Game is working!
if 2*2 >= 4 == true then
print("Game is Working!")
end
It'll work fine because 2x2 = 4. You can do this too..
if 2*2 > 4 == true then
print ("Game is working!")
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you :D