What do you want?
I want to make a quick time event where the players have to click the button at a certain time in order to fire
What’s the problem?
I have no where to start and im basically a noob at scripting, Please help
What have you done to look for a solution?
I’ve looked everywhere including hidden devs, nothing pops up, there are no clear solutions Detailed System mechanics
You see, i want to make a ring appear and in the middle of the ring is a button, and in order to Shoot the gun one of the players are to get the ring as close to the button as possible without missing the button.
script.Parent.MouseButtonClick:Connect(function()
if script.Parent.CanClick.Value == true then
print("Could click")
else
print("Couldn't click")
end
end)
Second script:
while true do
wait(1)
local rng = math.random(1, 10)
if rng == 1 then --for example
script.Parent.CanClick.Value = true
wait(.5)
script.Parent.CanClick.Value = false
end
end
I want to make the button a trigger, when the ring touches the button it activates the gun and shoots at the target.
I want the ring to move fast and i want the button to be able to be pressed by the mouse,
How would i make the ring slide towards the button, and how would i make the button a trigger?
I don’t want a script as i want to learn, if you could try to explain i would be so grateful, or if you know a place where i can find a tutorial that would be a huge help.
Thank you.