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 3 years ago

print("Hello World")

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

1 answer

Log in to vote
0
Answered by 3 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:

-- 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.

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

Answer this question