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

How Dialog for Hopperbin?

Asked by 9 years ago
1function onButton1Down(mouse)
2    Instance.new("Dialog", Parent.Parent.Head)
3    Dialog.Text = ("GRIM MAGIC!!!")
4end
5 
6function onSelected(mouse)
7    mouse.Button1Down:connect(function() onButton1Down(mouse) end)
8end
9script.Parent.Selected:connect(onSelected)

Help with the script making a dialog saying something. Help?

1 answer

Log in to vote
0
Answered by
Validark 1580 Snack Break Moderation Voter
9 years ago

This may not be a full answer, but I'll help you out real quick.

1function onButton1Down(mouse)
2    local Dialog = Instance.new("Message", script.Parent.Parent.Head) --You can switch out Message with Hint if you like
3 
4    Dialog.Text =  "GRIM MAGIC!!!"
5end
Ad

Answer this question