Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to change the default print("Hello World")?

print("Hello World")

5 comments

0

what

0

Uh you just delete the line of code.

0

delete the line or change the text

0

Interesting question lol

0

Umm okay i think that's enough internet

1 answer

I don't know if this is a joke question or what but ok lol.

print("Hello World") -- Delete that or change the "Hello World" for something else.

Here is something cool and simple you can do with prints:

-- Insert a screengui in startergui. Add a textbutton and add a localscript inside the text button.
-- Put the code below "including the texts if you want" inside the localscript. 
-- Click play, open your output and click the button. 

script.Parent.MouseButton1Click:Connect(function() -- Button is clicked
	if game.Workspace.Part.Material == Enum.Material.Plastic then -- Checking if parts material is plastic or not
		print("The parts material is plastic") -- This is printed if the material is Plastic
	else
		print("The parts material is NOT plastic") -- This is printed if the material is NOT plastic
	end
end)

Hope this helped a bit if you're this new, and if you're trolling then nice troll ig lol.

3 comments

0

No I'm not trolling, but thank you

0

ok

0

if u can accept that answer so me and u can get sweet rep points that'd be great

This discussion is preserved as it was. New answers, comments, and votes are closed.