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

How do I make this script say "Hello Robloxians"?

Asked by 10 years ago

I was learning how to script and then found a script where they say Hello Bob. Well, I then changed it to Hello Robloxians for each person coming to my game. This is the script:

function sayHello(name)
    print("Hello, " .. name .. "!")
end

sayHello("Robloxian")
0
Looks correct. Any errors? Also, if you press play, it will only occur once. fahmisack123 385 — 10y
0
Thank you. User#5689 -1 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago
function SayHello(Name)
print(Name..'!')
end

SayHello("Hello Narblet") OUTCOME --> Hello Narblet!

SayHello("Hello FUDGEWAD") OUTCOME --> Hello FUDGEWAD!
Ad

Answer this question