Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is a New Roblox Nba Finals and Nba Phenom Aimbot Script-Roblox---->local Player = game:GetService("Players").LocalPlayer
- local UserInputService = game:GetService('UserInputService')
- local Power = 100
- local gui = Instance.new("ScreenGui", Player.PlayerGui)
- local text = Instance.new("TextLabel", gui)
- text.Size = UDim2.new(0.1, 0, 0.1, 0)
- text.Position = UDim2.new(0.9, 0, 0.9, 0)
- text.TextScaled = true
- text.Text = Power
- UserInputService.InputBegan:connect(function(InputObject, gameProcessedEvent)
- if not gameProcessedEvent and InputObject.KeyCode.Name == "Three" then
- Power = Power - 5
- text.Text = Power
- elseif not gameProcessedEvent and InputObject.KeyCode.Name == "Four" then
- Power = Power + 5
- text.Text = Power
- elseif not gameProcessedEvent and InputObject.KeyCode.Name == "Two" then
- for _, v in pairs(game:GetService("Workspace"):GetChildren()) do
- if v then
- local bal = v:FindFirstChild('Basketball')
- if bal then
- game.ReplicatedStorage.FolderService.Communications.Funcs:FireServer(bal, "Power", Power)
- end
- end
- end
- end
- end)
- local PlayerService = game:GetService('Players');
- local player = PlayerService.LocalPlayer;
- local cam = workspace.CurrentCamera;
- local Camera = {};
- local TrackHumanoid = false; -- If set to false, then this will only track players, else we will track NPCs and players.
- local enabled = false;
- local sleight = false;
- local UserInput = game:GetService('UserInputService');
- if not gui then
- gui = Instance.new('BillboardGui');
- local frame = Instance.new('Frame', gui);
- gui.AlwaysOnTop = true;
- gui.LightInfluence = 0;
- gui.Size = UDim2.new(0, 100, 0, 100);
- frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
- frame.BackgroundTransparency = .75;
- frame.Size = UDim2.new(1, 0, 1, 0);
- frame.Rotation = 45;
- frame.BorderSizePixel = 0;
- end;
- function Camera:LockPlayer(p, isNPC)
- if isNPC == true then
- if p and p.Parent:IsA('Model') and p.Parent:FindFirstChild('Torso') then
- local t = p.Parent.Torso.CFrame * Vector3.new(0, -0.25, 0);
- cam.CFrame = CFrame.new(cam.Focus.p, t) * CFrame.new(0, 0, 0.5);
- gui.Parent = p.Parent.Torso;
- end;
- else
- if p and p.Character and p.Character:FindFirstChild('Torso') then
- local t = p.Character.Torso.CFrame * Vector3.new(0, -0.25, 0);
- cam.CFrame = CFrame.new(cam.Focus.p, t) * CFrame.new(0, 0, 0.5);
- gui.Parent = p.Character.Torso;
- end;
- end;
- end;
- game:GetService("RunService").RenderStepped:connect(function()
- if enabled == true then
- for _,v in pairs(PlayerService:GetChildren()) do
- if v:IsA('Player') and v.Character then
- if v.Character:FindFirstChildOfClass('Humanoid') and v.Character:FindFirstChildOfClass('Humanoid').Health > 0 then
- if v == player then
- else
- Camera:LockPlayer(v);
- end;
- end;
- end;
- end;
- if TrackHumanoid==true then for _,v in pairs(workspace:GetDescendants()) do
- if v.Parent:IsA('Model') and v.Parent:FindFirstChildOfClass('Humanoid') and v.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
- if v.Parent.Name == player.Name then
- else
- Camera:LockPlayer(v, true);
- end;
- end;
- end;
- end;
- elseif enabled == false then
- if gui then
- gui.Parent = nil;
- end;
- end;
- end);
- UserInput.InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift then
- sleight = not sleight;
- end;
- end);
- UserInput.InputEnded:connect(function(input)
- if input.KeyCode == Enum.KeyCode.Insert and sleight == true then
- enabled = not enabled;
- end;
- end);
Advertisement
Advertisement