#why doesnt this script work?
3 messages · Page 1 of 1 (latest)
local Soda = game:GetService("ReplicatedStorage").Soda
local Player = game:GetService("Players").LocalPlayer
local function giveSoda()
local copySoda = Soda:Clone()
copySoda.Parent = Player.Backpack
end
script.Parent.ClickDetector.MouseClick:Connect(giveSoda)
where is the script located