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

How do you make a interactive npc when you click E?

Asked by 2 years ago

Ok. So, this is what I tried to do, because I coudn't find a way to make the clicking E work.

--They enter the game and wait ten seconds.
wait(10)
    script.parent.frame.text = ("Hello, fellow comrade!")
    wait(3)
    script.parent.frame.text = ("Use this bat to hit the worms!")

0
uh try proximity prompt :} BulletproofVast 1033 — 2y
0
Elaborate, please. SPL00_YT -5 — 2y
0
insert a proximity prompt inside your guy, and then make it so when the player triggers the proximity prompt, then your code will execute Xyternal 247 — 2y
0
You can check if the proximity prompt has been triggered by using "ProximityPrompt.Triggered:Connect()" ColdFoxy07 76 — 2y

Answer this question