Ad
Log in to vote
0

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

Asked by 12 days ago

print("Hello World")

0
what ArisNeta 23 — 12d
0
Uh you just delete the line of code. denbra37 2 — 12d
0
delete the line or change the text MpAlex 0 — 12d
0
Interesting question lol Manby7 32 — 12d
0
Umm okay i think that's enough internet YandH015 9 — 9d

1 answer

Log in to vote
0
Answered by 12 days 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 — 10d
0
ok Nitrolux200 49 — 10d
0
if u can accept that answer so me and u can get sweet rep points that'd be great Nitrolux200 49 — 10d
Ad

Answer this question