Advertisement
AchieveStuffs

aaaa

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