#Cant have 2 of the same cloned tool in backpack at the same time.
19 messages · Page 1 of 1 (latest)
Okay one second.
COSpawn.ClickDetector.MouseClick:Connect(function(playerWhoClicked)
game.Workspace.OilStart1.BrickColor = BrickColor.new("Really black")
game.Workspace.OilStart1.ClickDetector.MaxActivationDistance = 32
COSpawn.Grab.Playing = true
CODispense.Parent = playerWhoClicked.Backpack
COSpawn.Parent = game.ReplicatedStorage
end)
Just a simple giver script
via clickdetector
i see
try this
@burnt delta
COSpawn.ClickDetector.MouseClick:Connect(function(playerWhoClicked)
game.Workspace.OilStart1.BrickColor = BrickColor.new("Really black")
game.Workspace.OilStart1.ClickDetector.MaxActivationDistance = 32
COSpawn.Grab.Playing = true
local CODispenseClone = CODispense:Clone() -- make a copy of the tool
CODispenseClone.Parent = playerWhoClicked.Backpack -- set its parent to the backpack
COSpawn.Parent = game.ReplicatedStorage
end)
kk