Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while wait(.5) do
- local paperBallname = "Paper Ball" -- TYPE THE NAME OF THE PAPER BALL HERE!!
- local Player = game:GetService("Players").LocalPlayer
- local BackpackStates = Player.BackpackStats
- local MaxValue = BackpackStates.MaxValue
- local CurrentValue = BackpackStates.Value
- local SavedPos = Player.Character.HumanoidRootPart.CFrame
- local playername = Player.Name
- if CurrentValue < MaxValue then
- game:GetService("ReplicatedStorage").Resources.RemoteEvents.FireEvent:FireServer(Vector3.new(-0.00904411729, 0.00218708534, 0.999956667),game:GetService("Workspace")[playername][paperBallname])
- else
- print("Max Hit Selling..")
- Player.Character.HumanoidRootPart.CFrame = game.Workspace.SpecialButtons.Sell.Ring.CFrame + Vector3.new(0,2,0)
- wait(.5)
- Player.Character.HumanoidRootPart.CFrame = SavedPos
- end
- end
Add Comment
Please, Sign In to add comment