#why doesnt this script work?

3 messages · Page 1 of 1 (latest)

manic leaf
#

discord broke the script here

#

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)