ScriptsQP

Untitled

Jun 1st, 2024
21,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local SA = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local SAText = Instance.new("TextLabel")
  10. local SilentAim = Instance.new("TextButton")
  11. local UICorner_2 = Instance.new("UICorner")
  12. local MadeBy = Instance.new("TextLabel")
  13. local PlayerCount = Instance.new("TextLabel")
  14. local UICorner_3 = Instance.new("UICorner")
  15.  
  16. --Properties:
  17.  
  18. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. SA.Name = "SA"
  22. SA.Parent = ScreenGui
  23. SA.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  24. SA.BorderColor3 = Color3.fromRGB(0, 0, 0)
  25. SA.BorderSizePixel = 0
  26. SA.Position = UDim2.new(0.390139997, 0, 0.307328612, 0)
  27. SA.Size = UDim2.new(0, 360, 0, 326)
  28.  
  29. UICorner.Parent = SA
  30.  
  31. SAText.Name = "SA Text"
  32. SAText.Parent = SA
  33. SAText.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  34. SAText.BorderColor3 = Color3.fromRGB(170, 0, 0)
  35. SAText.BorderSizePixel = 0
  36. SAText.Size = UDim2.new(0, 360, 0, 44)
  37. SAText.Font = Enum.Font.Bangers
  38. SAText.Text = "Arsenal SA Made By .bluuu."
  39. SAText.TextColor3 = Color3.fromRGB(170, 0, 0)
  40. SAText.TextSize = 35.000
  41.  
  42. SilentAim.Name = "Silent Aim"
  43. SilentAim.Parent = SA
  44. SilentAim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  45. SilentAim.BorderColor3 = Color3.fromRGB(0, 0, 0)
  46. SilentAim.BorderSizePixel = 0
  47. SilentAim.Position = UDim2.new(0.222222224, 0, 0.205521479, 0)
  48. SilentAim.Size = UDim2.new(0, 213, 0, 79)
  49. SilentAim.Font = Enum.Font.Bangers
  50. SilentAim.Text = "Enable Silent Aim"
  51. SilentAim.TextColor3 = Color3.fromRGB(170, 0, 0)
  52. SilentAim.TextSize = 30.000
  53. SilentAim.TextStrokeTransparency = 0.000
  54.  
  55. UICorner_2.Parent = SilentAim
  56.  
  57. MadeBy.Name = "Made By"
  58. MadeBy.Parent = SA
  59. MadeBy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  60. MadeBy.BackgroundTransparency = 1.000
  61. MadeBy.BorderColor3 = Color3.fromRGB(0, 0, 0)
  62. MadeBy.BorderSizePixel = 0
  63. MadeBy.Position = UDim2.new(0, 0, 0.846625745, 0)
  64. MadeBy.Size = UDim2.new(0, 360, 0, 50)
  65. MadeBy.Font = Enum.Font.Bangers
  66. MadeBy.Text = "B To Toggle On/Off"
  67. MadeBy.TextColor3 = Color3.fromRGB(170, 0, 0)
  68. MadeBy.TextSize = 30.000
  69.  
  70. PlayerCount.Name = "Player Count"
  71. PlayerCount.Parent = SA
  72. PlayerCount.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  73. PlayerCount.BorderColor3 = Color3.fromRGB(0, 0, 0)
  74. PlayerCount.BorderSizePixel = 0
  75. PlayerCount.Position = UDim2.new(0.222222224, 0, 0.604294479, 0)
  76. PlayerCount.Size = UDim2.new(0, 213, 0, 79)
  77. PlayerCount.Font = Enum.Font.Bangers
  78. PlayerCount.Text = "Player Count:"
  79. PlayerCount.TextColor3 = Color3.fromRGB(170, 0, 0)
  80. PlayerCount.TextSize = 27.000
  81.  
  82. UICorner_3.Parent = PlayerCount
  83.  
  84. -- Scripts:
  85.  
  86. local function MCITIJ_fake_script() -- SA.Draggable
  87. local script = Instance.new('LocalScript', SA)
  88.  
  89.  
  90. local UIS = game:GetService('UserInputService')
  91. local frame = script.Parent
  92. local dragToggle = nil
  93. local dragSpeed = 0.25
  94. local dragStart = nil
  95. local startPos = nil
  96.  
  97. local function updateInput(input)
  98. local delta = input.Position - dragStart
  99. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  100. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  101. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  102. end
  103.  
  104. frame.InputBegan:Connect(function(input)
  105. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  106. dragToggle = true
  107. dragStart = input.Position
  108. startPos = frame.Position
  109. input.Changed:Connect(function()
  110. if input.UserInputState == Enum.UserInputState.End then
  111. dragToggle = false
  112. end
  113. end)
  114. end
  115. end)
  116.  
  117. UIS.InputChanged:Connect(function(input)
  118. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  119. if dragToggle then
  120. updateInput(input)
  121. end
  122. end
  123. end)
  124. end
  125. coroutine.wrap(MCITIJ_fake_script)()
  126. local function TGYL_fake_script() -- PlayerCount.LocalScript
  127. local script = Instance.new('LocalScript', PlayerCount)
  128.  
  129. local playerCountLabel = script.Parent -- Assumes the script is a child of a TextLabel
  130.  
  131. -- Function to update the player count
  132. local function updatePlayerCount()
  133. local players = game.Players:GetPlayers()
  134. playerCountLabel.Text = "Player Count: " .. #players
  135. end
  136.  
  137. -- Initially update the player count
  138. updatePlayerCount()
  139.  
  140. -- Connect a function to fire whenever a player joins or leaves
  141. game.Players.PlayerAdded:Connect(updatePlayerCount)
  142. game.Players.PlayerRemoving:Connect(updatePlayerCount)
  143.  
  144. end
  145. coroutine.wrap(TGYL_fake_script)()
  146. local function BNQNGFT_fake_script() -- ScreenGui.Toggle
  147. local script = Instance.new('LocalScript', ScreenGui)
  148.  
  149. local Player = game:GetService("Players").LocalPlayer
  150. local Mouse = Player:GetMouse()
  151. local MainFrame = script.Parent.SA
  152. local keybind = "b"
  153.  
  154. Mouse.KeyDown:Connect(function(key)
  155. if key == keybind then
  156. if MainFrame.Visible == false then
  157. MainFrame.Visible = true
  158. else
  159. MainFrame.Visible = false
  160. end
  161. end
  162. end)
  163. end
  164. coroutine.wrap(BNQNGFT_fake_script)()
  165. SilentAim.MouseButton1Down:connect(function()
  166. function getplrsname()
  167. for i,v in pairs(game:GetChildren()) do
  168. if v.ClassName == "Players" then
  169. return v.Name
  170. end
  171. end
  172. end
  173. local players = getplrsname()
  174. local plr = game[players].LocalPlayer
  175. coroutine.resume(coroutine.create(function()
  176. while wait(1) do
  177. coroutine.resume(coroutine.create(function()
  178. for _,v in pairs(game[players]:GetPlayers()) do
  179. if v.Name ~= plr.Name and v.Character then
  180. v.Character.RightUpperLeg.CanCollide = false
  181. v.Character.RightUpperLeg.Transparency = 10
  182. v.Character.RightUpperLeg.Size = Vector3.new(13,13,13)
  183.  
  184. v.Character.LeftUpperLeg.CanCollide = false
  185. v.Character.LeftUpperLeg.Transparency = 10
  186. v.Character.LeftUpperLeg.Size = Vector3.new(13,13,13)
  187.  
  188. v.Character.HeadHB.CanCollide = false
  189. v.Character.HeadHB.Transparency = 10
  190. v.Character.HeadHB.Size = Vector3.new(20,20,20)
  191.  
  192. v.Character.HumanoidRootPart.CanCollide = false
  193. v.Character.HumanoidRootPart.Transparency = 10
  194. v.Character.HumanoidRootPart.Size = Vector3.new(13,13,13)
  195.  
  196. end
  197. end
  198. end))
  199. end
  200. end))
  201. end)
Advertisement
Add Comment
Please, Sign In to add comment