Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function split(text)
- local split = {};
- local pos = string.find(text, "/");
- local current = string.sub(text, 1, pos - 1);
- local max = string.sub(text, pos + 1, #text);
- table.insert(split, current);
- table.insert(split, max);
- return split;
- end;
- local localPlayer = game:GetService("Players").LocalPlayer;
- while true do
- pcall(function()
- local text = game:GetService("Players").LocalPlayer.PlayerGui.Money.Frame.Presents.TextLabel.Text;
- if localPlayer.Character then
- if tonumber(split(text)[1]) < tonumber(split(text)[2]) then
- for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
- if v:IsA("Model") and v.Name == "Present" and v:FindFirstChild("Color1") then
- if tonumber(split(text)[1]) < tonumber(split(text)[2]) then
- localPlayer.Character.HumanoidRootPart.CFrame = v.Color1.CFrame * CFrame.new(0, 0, 2);
- localPlayer.Character.Humanoid.Jump = true;
- end;
- wait();
- end;
- end;
- else
- localPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-61.4884834, 4.93510962, -56.6906967, -0.68624115, 4.14282185e-05, 0.727374077, 1.24313219e-05, 1, -4.52275272e-05, -0.727374077, -2.19947688e-05, -0.68624115);
- end;
- end;
- end);
- wait();
- end;
Advertisement
Add Comment
Please, Sign In to add comment