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
function onButton1Down(mouse)
    Instance.new("Dialog", Parent.Parent.Head)
    Dialog.Text = ("GRIM MAGIC!!!")
end

function onSelected(mouse)
    mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
script.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.

function onButton1Down(mouse)
    local Dialog = Instance.new("Message", script.Parent.Parent.Head) --You can switch out Message with Hint if you like

    Dialog.Text =  "GRIM MAGIC!!!"
end
Ad

Answer this question