Hi for some reason there was an issue with my last post because I think something happened about it being private but here is what I wrote:
Hi! Ive been trying to make a placement system which has been going good! Everything works but I want to make it a little better for only mobile users. Since its hard to build with touchdevices. Can anyone help me add a feature where if they are on mobile they have to tap twice?
Here is the code where the player taps.
mouse.Button1Up:Connect(function()
print("mousebtnup")
if placingobject == true then
print("true")
placingobject = false
placeEvent:FireServer(previewobject.Name, previewobject.PrimaryPart.CFrame)
previewobject:Destroy()
script.building_construct_07:Play()
script.Parent.Inventorybtn.Visible = true
script.Parent.Parent.DeleteGui.Enabled = true
script.Parent.Rotation.Visible = false
game.Players.LocalPlayer.PlayerGui.MenuGui.Enabled = true
end
end)