Basically, I am working on a simulator, I'm very new to scripting and wannt help on making a pop up effect gui when you left click with any tool. Just like in any simulator when you click with your tool a pop up gui shows up, an emoji and the amount of money you made with that click or whatever curency you are using.
Here's what I want but with this emoji ?
https://gyazo.com/abb06c4e60197180fd19eb7423a0cbd8
This is my tool -
https://gyazo.com/681705835c3877b9c9e1f8d38b5ad69a
In case you guys are wondering I'm working on a Battery Sim, once you click with the battery in hand you gain volts, those volts you can sell for money
Thanks for helping :)
This isn't a request site do some research before you ask for help. This script will work though you will have to change a few things though.
--Get PlayerGui and Your Gui local Player = game:GetService("Players") local PlayerGui = Player:WaitForChild("PlayerGui") local Gui = PlayerGui:WaitForChild(YourGui) --Variable(s) local Tool = script.Parent local Frame = Gui:FindFirstChildWhichIsA("Frame") local Debounce = false --Function(s) local function Activate() if not Debounce then Debounce = true Frame.Visible = true wait(0.1) Frame.Visible = false Debounce = false end end --Event(s) Tool.Activate:Connect(Activate)
You may have to change Frame to the type of Gui element you used though.