How would I make a pad that when I click it (on a tycoon) it buys the object?I do not want to the player stand on the pad to buy it,I want to the player click onto it.
Any help would be really appreciated!
Thank You GruDru888
This wouldn't be the full thing, but a segment of what this particular script will look like:
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local pad = game.Workspace.pad Mouse.Button1Down:connect(function() local target = Mouse.Target if Mouse.Target.Name == pad.Name -- add what you want here end end)
Closed as Not Constructive by lukeb50, Programical, Vulkarin, and cabbler
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?