#help me to make spawn after breaking the rock and after collect it that go to my inventory

1 messages · Page 1 of 1 (latest)

terse jolt
#

local hp = script.Parent.Parent.HP
local drop = game.ServerStorage:FindFirstChild("StoneDrop")

hp.Changed:Connect(function()
if hp.Value <= 0 then
local dropclone = drop:Clone()
dropclone.CFrame = script.Parent.CFrame
dropclone.Parent = game.Workspace
script.Parent.Transparency = 1
script.Parent.CanCollide = false
wait(5)
hp.Value = 5
script.Parent.Transparency = 0
script.Parent.CanCollide = true
end
end)

shadow elbow
#

What kind of inventory are you using, the default or custom?

terse jolt
#

default