SHARE
TWEET

Untitled

a guest Dec 8th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent
  2. local Stats = player:WaitForChild("PlayerData")
  3. local Pets = player:WaitForChild("Pets")
  4. local petSel = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.ServerStorage.Pets.Pet1
  5. script.Parent.MouseButton1Click:Connect(function()
  6.     if Pets.Pet1.Value > 0 then
  7.         petSel:Clone()
  8.         petSel.Parent
  9.     else
  10.         script.Parent.Parent.TextLabel.Visible = true
  11.         end
  12.     end
  13. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top