I want to make a tool that makes you say a dialog (like a spell or something) . I am just not sure how to do it.
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?
So we can do that using this function from the service Chat https://developer.roblox.com/en-us/api-reference/function/Chat/Chat
So, first thing is it parameters:
partOrCharacter: has to be an instance, its the part that the message should appear above
message: Has to be a string, its the message.
color: This is the color the message will have, use this for reference when setting https://developer.roblox.com/en-us/api-reference/enum/ChatColor
This is going to display a BubbleChat above the player head.
--// Services local Players = game:GetService("Players") local ChatService = game:GetService("Chat") --// Constants local Player = Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() ChatService:Chat(Character.Head, "Message", Enum.ChatColor.Green)