Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//Arrow script
- local Arrow = script.Parent
- local Click = Arrow:WaitForChild("Click")
- Click.MouseClick:Connect(function(player)
- local Backpack = player:FindFirstChild("Backpack")
- if Backpack then
- local Stands = game:GetService("ServerStorage"):WaitForChild("Stands")
- if Backpack:FindFirstChild("Stand1") then
- local prevStand = workspace:FindFirstChild(player.Name.." Stand")
- local prev = Backpack:FindFirstChild("Stand1")
- prevStand:Destroy()
- prev:Destroy()
- local Stand = Stands:FindFirstChild("Stand1"):Clone()
- Stand.Parent = Backpack
- else
- local Stand = Stands:FindFirstChild("Stand1"):Clone()
- Stand.Parent = Backpack
- end
- Arrow:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment