Advertisement
AchieveStuffs

Untitled

Apr 30th, 2020
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. -- made by someone idk
  2. local descendants = game.Workspace.Shops:GetDescendants()
  3. local tweens=game:service"TweenService";
  4. local info=TweenInfo.new(6,Enum.EasingStyle.Quad);
  5. local player = game.Players.LocalPlayer
  6.  
  7. -- Loop through all of the descendants of the model and
  8. -- print out their name
  9. spawn(function()
  10. while wait(3) do
  11. for index, v in pairs(descendants) do
  12.     if v.Name=="Cash" and v.ClickDetector.MaxActivationDistance~=0 then
  13. local pos=CFrame.new(v.Position);
  14.    local tween=tweens:Create(game.Players.LocalPlayer.Character["HumanoidRootPart"],info,{CFrame=pos});
  15.    tween:Play();
  16.         fireclickdetector(v.ClickDetector)
  17.     end
  18. end end
  19. end)
  20.  
  21. spawn(function()
  22. while wait() do
  23. if player.Character.Humanoid.Sit==true then
  24.     player.Character.Humanoid.Jump=true
  25. end
  26. end
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement