Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by someone idk
- local descendants = game.Workspace.Shops:GetDescendants()
- local tweens=game:service"TweenService";
- local info=TweenInfo.new(6,Enum.EasingStyle.Quad);
- local player = game.Players.LocalPlayer
- -- Loop through all of the descendants of the model and
- -- print out their name
- spawn(function()
- while wait(3) do
- for index, v in pairs(descendants) do
- if v.Name=="Cash" and v.ClickDetector.MaxActivationDistance~=0 then
- local pos=CFrame.new(v.Position);
- local tween=tweens:Create(game.Players.LocalPlayer.Character["HumanoidRootPart"],info,{CFrame=pos});
- tween:Play();
- fireclickdetector(v.ClickDetector)
- end
- end end
- end)
- spawn(function()
- while wait() do
- if player.Character.Humanoid.Sit==true then
- player.Character.Humanoid.Jump=true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement