1 | function onButton 1 Down(mouse) |
2 | Instance.new( "Dialog" , Parent.Parent.Head) |
3 | Dialog.Text = ( "GRIM MAGIC!!!" ) |
4 | end |
5 |
6 | function onSelected(mouse) |
7 | mouse.Button 1 Down:connect( function () onButton 1 Down(mouse) end ) |
8 | end |
9 | script.Parent.Selected:connect(onSelected) |
Help with the script making a dialog saying something. Help?
This may not be a full answer, but I'll help you out real quick.
1 | function onButton 1 Down(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!!!" |
5 | end |