#Clicker Simulator
1 messages · Page 1 of 1 (latest)
Can u show me the script?
sure, give me a second
gui?
local replicated = game:GetService("ReplicatedStorage")
local clickEvent = replicated:WaitForChild("ClickEvent")
local player = game.Players.LocalPlayer
local button = script.Parent
local clickSoundEnabled = true
local clickSound = Instance.new("Sound", button)
clickSound.SoundId = "rbxassetid://INSERT_CLICK_SOUND_ID"
clickSound.Volume = 1
button.MouseButton1Click:Connect(function()
clickEvent:FireServer()
if clickSoundEnabled then
clickSound:Play()
end
end)
-- Opzionalmente collegalo al sistema impostazioni
_G.ToggleClickSound = function(on)
clickSoundEnabled = on
end
Can u show me the server script? Where u handled the clickEvent remote
No no. U fired the server, right? So, show me the script on the server. Or u didnt script nothing on server?
im gonna send soon, im currently not at home sorry
No problem