Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

print("Hello World")

0
what ArisNeta 48 — 4y
0
Uh you just delete the line of code. denbra37 34 — 4y
0
delete the line or change the text MpAlex 16 — 4y
0
Interesting question lol Manby7 32 — 4y
0
Umm okay i think that's enough internet YandH015 9 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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:

01-- Insert a screengui in startergui. Add a textbutton and add a localscript inside the text button.
02-- Put the code below "including the texts if you want" inside the localscript.
03-- Click play, open your output and click the button.
04 
05script.Parent.MouseButton1Click:Connect(function() -- Button is clicked
06    if game.Workspace.Part.Material == Enum.Material.Plastic then -- Checking if parts material is plastic or not
07        print("The parts material is plastic") -- This is printed if the material is Plastic
08    else
09        print("The parts material is NOT plastic") -- This is printed if the material is NOT plastic
10    end
11end)

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

0
No I'm not trolling, but thank you modernadelmohamed 0 — 4y
0
ok Nitrolux200 62 — 4y
0
if u can accept that answer so me and u can get sweet rep points that'd be great Nitrolux200 62 — 4y
Ad

Answer this question