Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CP = game.CoreGui:FindFirstChild("CrosshairProject")
- if CP then
- CP:Destroy()
- end
- local CrosshairProject = Instance.new("ScreenGui")
- local Crosshair = Instance.new("ImageLabel")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local ChangeCrosshairId = Instance.new("ImageButton")
- local UICorner_2 = Instance.new("UICorner")
- local AimbotMobile = Instance.new("ImageButton")
- local UICorner_3 = Instance.new("UICorner")
- local DropShadowHolder = Instance.new("Frame")
- local DropShadow = Instance.new("ImageLabel")
- local FrameCCID = Instance.new("Frame")
- local DropShadowHolder_2 = Instance.new("Frame")
- local DropShadow_2 = Instance.new("ImageLabel")
- local Source = Instance.new("TextBox")
- local UICorner_4 = Instance.new("UICorner")
- local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
- local Cancel = Instance.new("TextButton")
- local UICorner_5 = Instance.new("UICorner")
- local UITextSizeConstraint_2 = Instance.new("UITextSizeConstraint")
- local Set = Instance.new("TextButton")
- local UICorner_6 = Instance.new("UICorner")
- local UITextSizeConstraint_3 = Instance.new("UITextSizeConstraint")
- local DecalPreview = Instance.new("ImageLabel")
- local AskUser = Instance.new("TextLabel")
- CrosshairProject.Name = "CrosshairProject"
- CrosshairProject.ZIndexBehavior = Enum.ZIndexBehavior.Global
- CrosshairProject.IgnoreGuiInset = true
- Crosshair.Name = "Crosshair"
- Crosshair.Parent = CrosshairProject
- Crosshair.AnchorPoint = Vector2.new(0.5, 0.5)
- Crosshair.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Crosshair.BackgroundTransparency = 1.000
- Crosshair.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Crosshair.BorderSizePixel = 0
- Crosshair.Position = UDim2.new(0.5, 0, 0.5, 0)
- Crosshair.Image = "rbxassetid://15217977355"
- Frame.Parent = CrosshairProject
- Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame.BackgroundColor3 = Color3.fromRGB(34, 40, 34)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, -41, 0.5, 0)
- Frame.Size = UDim2.new(0, 50, 0, 100)
- UICorner.Parent = Frame
- ChangeCrosshairId.Name = "ChangeCrosshairId"
- ChangeCrosshairId.Parent = Frame
- ChangeCrosshairId.AnchorPoint = Vector2.new(0.5, 0)
- ChangeCrosshairId.BackgroundColor3 = Color3.fromRGB(34, 40, 34)
- ChangeCrosshairId.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ChangeCrosshairId.BorderSizePixel = 0
- ChangeCrosshairId.Position = UDim2.new(0.5, 0, 0, 9)
- ChangeCrosshairId.Size = UDim2.new(0, 32, 0, 32)
- ChangeCrosshairId.Image = "http://www.roblox.com/asset/?id=6022668955"
- UICorner_2.Parent = ChangeCrosshairId
- AimbotMobile.Name = "AimbotMobile"
- AimbotMobile.Parent = Frame
- AimbotMobile.AnchorPoint = Vector2.new(0.5, 0)
- AimbotMobile.BackgroundColor3 = Color3.fromRGB(34, 40, 34)
- AimbotMobile.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AimbotMobile.BorderSizePixel = 0
- AimbotMobile.Position = UDim2.new(0.5, 0, 1, -41)
- AimbotMobile.Size = UDim2.new(0, 32, 0, 32)
- AimbotMobile.Image = "http://www.roblox.com/asset/?id=6026647916"
- UICorner_3.Parent = AimbotMobile
- DropShadowHolder.Name = "DropShadowHolder"
- DropShadowHolder.Parent = Frame
- DropShadowHolder.BackgroundTransparency = 1.000
- DropShadowHolder.BorderSizePixel = 0
- DropShadowHolder.Size = UDim2.new(1, 0, 1, 0)
- DropShadowHolder.ZIndex = 0
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = DropShadowHolder
- DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow.BackgroundTransparency = 1.000
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
- DropShadow.Size = UDim2.new(1, 47, 1, 47)
- DropShadow.ZIndex = 0
- DropShadow.Image = "rbxassetid://6014261993"
- DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow.ImageTransparency = 0.500
- DropShadow.ScaleType = Enum.ScaleType.Slice
- DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
- FrameCCID.Name = "FrameCCID"
- FrameCCID.Parent = CrosshairProject
- FrameCCID.AnchorPoint = Vector2.new(0.5, 0.5)
- FrameCCID.BackgroundColor3 = Color3.fromRGB(34, 40, 34)
- FrameCCID.BorderColor3 = Color3.fromRGB(0, 0, 0)
- FrameCCID.BorderSizePixel = 0
- FrameCCID.Position = UDim2.new(0.5, 0, 2, 0)
- FrameCCID.Size = UDim2.new(0, 200, 0, 100)
- DropShadowHolder_2.Name = "DropShadowHolder"
- DropShadowHolder_2.Parent = FrameCCID
- DropShadowHolder_2.BackgroundTransparency = 1.000
- DropShadowHolder_2.BorderSizePixel = 0
- DropShadowHolder_2.Size = UDim2.new(1, 0, 1, 0)
- DropShadowHolder_2.ZIndex = 0
- DropShadow_2.Name = "DropShadow"
- DropShadow_2.Parent = DropShadowHolder_2
- DropShadow_2.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow_2.BackgroundTransparency = 1.000
- DropShadow_2.BorderSizePixel = 0
- DropShadow_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- DropShadow_2.Size = UDim2.new(1, 47, 1, 47)
- DropShadow_2.ZIndex = 0
- DropShadow_2.Image = "rbxassetid://6015897843"
- DropShadow_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow_2.ImageTransparency = 0.500
- DropShadow_2.ScaleType = Enum.ScaleType.Slice
- DropShadow_2.SliceCenter = Rect.new(49, 49, 450, 450)
- Source.Name = "Source"
- Source.Parent = FrameCCID
- Source.AnchorPoint = Vector2.new(0.5, 0)
- Source.BackgroundColor3 = Color3.fromRGB(117, 113, 94)
- Source.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Source.BorderSizePixel = 0
- Source.Position = UDim2.new(0.5, 0, 0, 10)
- Source.Size = UDim2.new(0, 180, 0, 20)
- Source.ZIndex = 2
- Source.ClearTextOnFocus = false
- Source.Font = Enum.Font.RobotoMono
- Source.PlaceholderText = "Enter Decal ID here..."
- Source.Text = ""
- Source.TextColor3 = Color3.fromRGB(247, 248, 241)
- Source.TextScaled = true
- Source.TextSize = 14.000
- Source.TextWrapped = true
- UICorner_4.Parent = Source
- UITextSizeConstraint.Parent = Source
- UITextSizeConstraint.MaxTextSize = 14
- Cancel.Name = "Cancel"
- Cancel.Parent = FrameCCID
- Cancel.AnchorPoint = Vector2.new(1, 1)
- Cancel.BackgroundColor3 = Color3.fromRGB(102, 102, 102)
- Cancel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Cancel.BorderSizePixel = 0
- Cancel.Position = UDim2.new(1, -40, 1, -5)
- Cancel.Size = UDim2.new(0, 50, 0, 15)
- Cancel.Font = Enum.Font.Arial
- Cancel.Text = "CANCEL"
- Cancel.TextColor3 = Color3.fromRGB(0, 0, 0)
- Cancel.TextScaled = true
- Cancel.TextSize = 10.000
- Cancel.TextWrapped = true
- UICorner_5.Parent = Cancel
- UITextSizeConstraint_2.Parent = Cancel
- UITextSizeConstraint_2.MaxTextSize = 10
- Set.Name = "Set"
- Set.Parent = FrameCCID
- Set.AnchorPoint = Vector2.new(1, 1)
- Set.BackgroundColor3 = Color3.fromRGB(102, 102, 102)
- Set.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Set.BorderSizePixel = 0
- Set.Position = UDim2.new(1, -5, 1, -5)
- Set.Size = UDim2.new(0, 30, 0, 15)
- Set.Font = Enum.Font.Arial
- Set.Text = "SET"
- Set.TextColor3 = Color3.fromRGB(0, 0, 0)
- Set.TextScaled = true
- Set.TextSize = 10.000
- Set.TextWrapped = true
- UICorner_6.Parent = Set
- UITextSizeConstraint_3.Parent = Set
- UITextSizeConstraint_3.MaxTextSize = 10
- DecalPreview.Name = "DecalPreview"
- DecalPreview.Parent = FrameCCID
- DecalPreview.AnchorPoint = Vector2.new(0, 1)
- DecalPreview.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DecalPreview.BackgroundTransparency = 1.000
- DecalPreview.BorderColor3 = Color3.fromRGB(0, 0, 0)
- DecalPreview.BorderSizePixel = 0
- DecalPreview.Position = UDim2.new(0, 0, 1, 0)
- DecalPreview.Size = UDim2.new(0, 50, 0, 50)
- AskUser.Name = "AskUser"
- AskUser.Parent = FrameCCID
- AskUser.AnchorPoint = Vector2.new(0.5, 0.5)
- AskUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AskUser.BackgroundTransparency = 1.000
- AskUser.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AskUser.BorderSizePixel = 0
- AskUser.Position = UDim2.new(0.5, 0, 0.5, -12)
- AskUser.Size = UDim2.new(0, 150, 0, 15)
- AskUser.Visible = false
- AskUser.ZIndex = 2
- AskUser.Font = Enum.Font.Unknown
- AskUser.Text = "Is this the crosshair you want?"
- AskUser.TextColor3 = Color3.fromRGB(247, 248, 241)
- AskUser.TextScaled = true
- AskUser.TextSize = 14.000
- AskUser.TextWrapped = true
- CrosshairProject.Parent = game.CoreGui
- local function SUEKV_fake_script() -- ChangeCrosshairId.LocalScript
- local script = Instance.new('LocalScript', ChangeCrosshairId)
- local scr = script.Parent
- local fccid = script.Parent.Parent.Parent.FrameCCID
- scr.MouseButton1Click:Connect(function()
- fccid:TweenPosition(
- UDim2.new(0.5, 0,0.7, 0),
- "Out",
- "Sine",
- 1,
- false
- )
- end)
- end
- coroutine.wrap(SUEKV_fake_script)()
- local function VDWL_fake_script() -- AimbotMobile.LocalScript
- local script = Instance.new('LocalScript', AimbotMobile)
- onClicked = function()
- local fov = 40
- local maxDistance = math.huge
- local maxTransparency = 0.1
- local teamCheck = true
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local Players = game:GetService("Players")
- local Cam = game.Workspace.CurrentCamera
- local FOVring = Drawing.new("Circle")
- FOVring.Visible = true
- FOVring.Thickness = 2
- FOVring.Color = Color3.fromRGB(128, 0, 128)
- FOVring.Filled = false
- FOVring.Radius = fov
- FOVring.Position = Cam.ViewportSize / 2
- local function updateDrawings()
- local camViewportSize = Cam.ViewportSize
- FOVring.Position = camViewportSize / 2
- end
- local function onKeyDown(input)
- if input.KeyCode == Enum.KeyCode.Delete then
- RunService:UnbindFromRenderStep("FOVUpdate")
- FOVring:Remove()
- end
- end
- UserInputService.InputBegan:Connect(onKeyDown)
- local function lookAt(target)
- local lookVector = (target - Cam.CFrame.Position).unit
- local newCFrame = CFrame.new(Cam.CFrame.Position, Cam.CFrame.Position + lookVector)
- Cam.CFrame = newCFrame
- end
- local function calculateTransparency(distance)
- local maxDistance = fov
- local transparency = (1 - (distance / maxDistance)) * maxTransparency
- return transparency
- end
- local function isPlayerAlive(player)
- local character = player.Character
- if character and character:FindFirstChild("Humanoid") then
- return character.Humanoid.Health > 0
- end
- return false
- end
- local function getClosestPlayerInFOV(trg_part)
- local nearest = nil
- local last = math.huge
- local playerMousePos = Cam.ViewportSize / 2
- local localPlayer = Players.LocalPlayer
- for i = 1, #Players:GetPlayers() do
- local player = Players:GetPlayers()[i]
- if player and player ~= localPlayer and (not teamCheck or player.Team ~= localPlayer.Team) then
- if isPlayerAlive(player) then
- local part = player.Character and player.Character:FindFirstChild(trg_part)
- if part then
- local ePos, isVisible = Cam:WorldToViewportPoint(part.Position)
- local distance = (Vector2.new(ePos.x, ePos.y) - playerMousePos).Magnitude
- if distance < last and isVisible and distance < fov and distance < maxDistance then
- last = distance
- nearest = player
- end
- end
- end
- end
- end
- return nearest
- end
- local function toggleTeamCheck()
- teamCheck = not teamCheck
- end
- toggleTeamCheck()
- toggleTeamCheck()
- RunService.RenderStepped:Connect(function()
- updateDrawings()
- local closest = getClosestPlayerInFOV("Head")
- if closest and closest.Character:FindFirstChild("Head") then
- lookAt(closest.Character.Head.Position)
- end
- if closest then
- local ePos, isVisible = Cam:WorldToViewportPoint(closest.Character.Head.Position)
- local distance = (Vector2.new(ePos.x, ePos.y) - (Cam.ViewportSize / 2)).Magnitude
- FOVring.Transparency = calculateTransparency(distance)
- else
- FOVring.Transparency = maxTransparency
- end
- wait(0.03)
- end)
- end
- script.Parent.MouseButton1Click:Connect(onClicked)
- end
- coroutine.wrap(VDWL_fake_script)()
- local function JOOCJ_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- function dragify(Frame)
- dragToggle = nil
- dragSpeed = .25
- dragInput = nil
- dragStart = nil
- dragPos = nil
- function updateInput(input)
- Delta = input.Position - dragStart
- Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- dragify(script.Parent)
- end
- coroutine.wrap(JOOCJ_fake_script)()
- local function UGNL_fake_script() -- CrosshairProject.Tween
- local script = Instance.new('LocalScript', CrosshairProject)
- local Frame = script.Parent.Frame
- local cross = script.Parent.Crosshair
- local aud = Instance.new("Sound", game.ReplicatedStorage)
- local message = "Script ready✓"
- aud.SoundId = "rbxassetid://2722743533"
- aud:Play()
- local function callback(didComplete)
- if didComplete then
- aud.SoundId = "rbxassetid://1524543584"
- aud:Play()
- aud.Ended:Connect(function()
- aud:Destroy()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hi!",
- Text = message,
- Duration = 5
- })
- end)
- else
- return print("Failed to tween.")
- end
- end
- Frame:TweenPosition(
- UDim2.new(0, 41,0.5, 0),
- "Out",
- "Sine",
- 1
- )
- cross:TweenSize(
- UDim2.new(0, 50, 0 , 50),
- "Out",
- "Sine",
- 1,
- false,
- callback
- )
- end
- coroutine.wrap(UGNL_fake_script)()
- local function DXBFEXD_fake_script() -- Source.LocalScript
- local script = Instance.new('LocalScript', Source)
- local textBox = script.Parent
- local decalPreview = textBox.Parent:FindFirstChild("DecalPreview")
- textBox.FocusLost:Connect(function()
- local assetId = tonumber(textBox.Text)
- if assetId then
- decalPreview.Image = "rbxassetid://" .. assetId
- script.Parent.Parent.AskUser.Visible = true
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hi!",
- Text = "If decal not shows up then the ID is invalid.",
- Duration = 1
- })
- end
- end)
- textBox.Focused:Connect(function()
- script.Parent.Parent.AskUser.Visible = false
- end)
- end
- coroutine.wrap(DXBFEXD_fake_script)()
- local function NINW_fake_script() -- Source.MakingSure...
- local script = Instance.new('LocalScript', Source)
- local textBox = script.Parent
- local waitTime = math.random() * 10
- textBox.FocusLost:Connect(function(enterPressed)
- if not enterPressed then
- if not tonumber(textBox.Text) then
- textBox.Text = ""
- textBox.PlaceholderText = "Letters or symbols are not allowed!"
- wait(waitTime)
- textBox.PlaceholderText = "Enter Decal ID here..."
- end
- end
- end)
- end
- coroutine.wrap(NINW_fake_script)()
- local function KTYJ_fake_script() -- Cancel.LocalScript
- local script = Instance.new('LocalScript', Cancel)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent:TweenPosition(
- UDim2.new(0.5, 0, 2, 0),
- "In",
- "Sine",
- 1,
- false
- )
- end)
- end
- coroutine.wrap(KTYJ_fake_script)()
- local function NCSBSOP_fake_script() -- Set.LocalScript
- local script = Instance.new('LocalScript', Set)
- local DP = script.Parent.Parent.DecalPreview
- script.Parent.MouseButton1Click:Connect(function()
- if DP.IsLoaded == true then
- script.Parent.Parent.Parent.Crosshair.Image = script.Parent.Parent.DecalPreview.Image
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hi!",
- Text = "Changed crosshair to " .. script.Parent.Parent.DecalPreview.Image,
- Duration = 5
- })
- end
- end)
- end
- coroutine.wrap(NCSBSOP_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement