-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Update LocalScript.yaml #1152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LocalScript.yaml #1152
Conversation
|
uy |
| local aimActive = false | ||
| UserInputService.InputBegan:Connect(function(input) | ||
| if input.UserInputType == Enum.UserInputType.MouseButton2 then | ||
| aimActive = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| end) | ||
| UserInputService.InputEnded:Connect(function(input) | ||
| if input.UserInputType == Enum.UserInputType.MouseButton2 then | ||
| aimActive = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if input.KeyCode == Enum.KeyCode.K then | ||
| _G.autoKillEnabled = false | ||
| if autoKillButton then autoKillButton.Text = "Autokill OFF" end | ||
| showNotification("Autokill disabled via key bind") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if not _G.notificationsEnabled then return end | ||
| table.insert(notificationQueue, message) | ||
| if not isNotificationActive then | ||
| processNotificationQueue() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| dragStart = input.Position | ||
| startPos = frame.Position | ||
| input.Changed:Connect(function() | ||
| if input.UserInputState == Enum.UserInputState.End then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Mehigh9898, thanks so much for helping improve the Roblox creator documentation! Our technical writing team will review your pull request soon. In the meantime, please ensure you've read through the README.md, contribution guidelines, and style recommendations.
| end | ||
| end) | ||
| frame.InputChanged:Connect(function(input) | ||
| if input.UserInputType == Enum.UserInputType.MouseMovement then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| dragInput = input | ||
| end | ||
| end) | ||
| UserInputService.InputChanged:Connect(function(input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| --------------------------------------------------- | ||
| local function clearESP() | ||
| for _, box in pairs(espBoxes) do | ||
| if box then box:Remove() end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if box then box:Remove() end | ||
| end | ||
| for _, name in pairs(espNames) do | ||
| if name then name:Remove() end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| local function updateBoxESP() | ||
| if not _G.espEnabled then | ||
| for _, box in pairs(espBoxes) do | ||
| if box then box.Visible = false end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if box then box.Visible = false end | ||
| end | ||
| for _, name in pairs(espNames) do | ||
| if name then name.Visible = false end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if not espBoxes[player] then | ||
| local success, box = pcall(function() return Drawing.new("Square") end) | ||
| if success then | ||
| box.Thickness = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| espBoxes[player].Position = Vector2.new(pos.X - size.X/2, pos.Y - size.Y/2) | ||
| espBoxes[player].Visible = true | ||
| if not espNames[player] then | ||
| local success2, nameText = pcall(function() return Drawing.new("Text") end) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| end | ||
| end | ||
| espNames[player].Text = player.Name | ||
| espNames[player].Position = Vector2.new(pos.X, pos.Y - 60) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| espNames[player].Position = Vector2.new(pos.X, pos.Y - 60) | ||
| espNames[player].Visible = true | ||
| else | ||
| if espBoxes[player] then espBoxes[player].Visible = false end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| espNames[player].Visible = true | ||
| else | ||
| if espBoxes[player] then espBoxes[player].Visible = false end | ||
| if espNames[player] then espNames[player].Visible = false end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| updateBoxESP() | ||
| end) | ||
| else | ||
| if boxESPConnection then boxESPConnection:Disconnect() end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| -- Enable no clip for autokill by disabling collisions on all parts | ||
| for _, part in pairs(character:GetDescendants()) do | ||
| if part:IsA("BasePart") then | ||
| part.CanCollide = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| for _, p in pairs(Players:GetPlayers()) do | ||
| if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Humanoid") and p.Character.Humanoid.Health > 0 then | ||
| if LocalPlayer.Team and p.Team and LocalPlayer.Team == p.Team then | ||
| -- Skip teammates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| while _G.autoKillEnabled and target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character.Humanoid.Health > 0 do | ||
| local targetHead = target.Character:FindFirstChild("Head") | ||
| if targetHead then | ||
| Camera.CFrame = CFrame.new(Camera.CFrame.Position, targetHead.Position) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| end | ||
| end | ||
| wait(0.2) | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| local pos, onScreen = Camera:WorldToViewportPoint(head.Position) | ||
| if onScreen then | ||
| local dist = (Vector2.new(pos.X, pos.Y) - screenCenter).Magnitude | ||
| if dist < closestDistance then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| if onScreen then | ||
| local dist = (Vector2.new(pos.X, pos.Y) - screenCenter).Magnitude | ||
| if dist < closestDistance then | ||
| closestDistance = dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| end | ||
| end | ||
| end | ||
| if targetHead then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| layout.SortOrder = Enum.SortOrder.LayoutOrder | ||
| end | ||
| for _, child in ipairs(frame:GetChildren()) do | ||
| if child:IsA("TextButton") then child:Destroy() end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| addRoundedCorner(btn, 8) | ||
| addButtonStroke(btn) | ||
| btn.MouseButton1Click:Connect(function() | ||
| playClickSound(btn) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
|
|
||
| local function teleportToPlayer(targetPlayer) | ||
| if targetPlayer.Character and LocalPlayer.Character then | ||
| LocalPlayer.Character:SetPrimaryPartCFrame(targetPlayer.Character:GetPrimaryPartCFrame() + Vector3.new(0,5,0)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| local targetCFrame = targetPlayer.Character:GetPrimaryPartCFrame() + (targetPlayer.Character:GetPrimaryPartCFrame().LookVector * 2) | ||
| LocalPlayer.Character:SetPrimaryPartCFrame(targetCFrame) | ||
| wait(2) | ||
| LocalPlayer.Character:SetPrimaryPartCFrame(originalCFrame) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| -- Enable no clip: disable collisions on all parts | ||
| for _, part in pairs(character:GetDescendants()) do | ||
| if part:IsA("BasePart") then | ||
| part.CanCollide = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
| for _, p in pairs(Players:GetPlayers()) do | ||
| if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Humanoid") and p.Character.Humanoid.Health > 0 then | ||
| if LocalPlayer.Team and p.Team and LocalPlayer.Team == p.Team then | ||
| -- Skip teammates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content quality check retext-repeated-words says: Expected end once, not twice
⛔️ This change is a requirement. Please fix it before merging.
🤖 The feedback in this comment is automated and might be incorrect.
Changes
Checks
By submitting your pull request for review, you agree to the following: