local uis = game:GetService('UserInputService')
local Functions = {}
function Functions:snowball()
game.ReplicatedStorage.MainEvent:FireServer('DoSnowballInteraction')
end
uis.InputBegan:Connect(function(input, event)
if not event then
if input.KeyCode == Enum.KeyCode.Z then
Functions:snowball()
end
end
end)
Comments
⚠️ MODERATION NOTICE Your post does not contain a valid, executable script. Posts without actual script content are not permitted on this platform. Action Required: - Add the actual Lua script code to your post - Ensure the script is complete and executable - If using an external link, ensure it leads directly to the script You have 24 hours to add a valid script. Failure to comply will result in immediate post removal and a warning on your account.