ScriptsQP

Untitled

Jun 7th, 2024
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1.  
  2.  
  3. local url = "https://discord.gg/trG9MR4PpZ"
  4. setclipboard(url)
  5. print("Discord url has been copied to your clipboard!")
  6.  
  7.  
  8.  
  9. wait(1.2)
  10. game.StarterGui:SetCore("SendNotification", {
  11. Title = "Welcome"; -- the title (ofc)
  12. Text = "open src but u cant get src"; -- what the text says (ofc)
  13. Icon = ""; -- the image if u want.
  14. Duration = 5; -- how long the notification should in secounds
  15. })
  16.  
  17.  
  18.  
  19.  
  20. local ScreenGui = Instance.new("ScreenGui")
  21. local OpenF = Instance.new("Frame")
  22. local OpenB = Instance.new("TextButton")
  23. local MainF = Instance.new("Frame")
  24. local Title = Instance.new("TextLabel")
  25. local AutoFarm = Instance.new("TextButton")
  26. local Noclip = Instance.new("TextButton")
  27. local WalkSpeed = Instance.new("TextButton")
  28. local Close = Instance.new("TextButton")
  29. --Properties:
  30. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  31. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  32. ScreenGui.Parent = game.CoreGui
  33.  
  34. OpenF.Name = "OpenF"
  35. OpenF.Parent = ScreenGui
  36. OpenF.Active = true
  37. OpenF.BackgroundColor3 = Color3.new(0, 0, 0)
  38. OpenF.BackgroundTransparency = 0.40000000596046
  39. OpenF.Position = UDim2.new(0.92768085, 0, 0.626178563, 0)
  40. OpenF.Size = UDim2.new(0, 98, 0, 28)
  41.  
  42. OpenB.Name = "OpenB"
  43. OpenB.Parent = OpenF
  44. OpenB.BackgroundColor3 = Color3.new(1, 1, 1)
  45. OpenB.BackgroundTransparency = 1
  46. OpenB.Position = UDim2.new(0.0102040814, 0, 0.0357142873, 0)
  47. OpenB.Size = UDim2.new(0, 103, 0, 25)
  48. OpenB.Font = Enum.Font.Gotham
  49. OpenB.Text = "Open"
  50. OpenB.TextColor3 = Color3.new(1, 1, 1)
  51. OpenB.TextSize = 14
  52. OpenB.MouseButton1Click:connect(function()
  53. OpenF.Visible = false
  54. MainF.Visible = true
  55. end)
  56.  
  57. MainF.Name = "MainF"
  58. MainF.Parent = ScreenGui
  59. MainF.Active = true
  60. MainF.BackgroundColor3 = Color3.new(0, 0, 0)
  61. MainF.BackgroundTransparency = 0.40000000596046
  62. MainF.Position = UDim2.new(0.369627506, 0, 0.30831641, 0)
  63. MainF.Size = UDim2.new(0, 170, 0, 224)
  64. MainF.Draggable = True
  65.  
  66. Title.Name = "Title"
  67. Title.Parent = MainF
  68. Title.Active = true
  69. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  70. Title.BackgroundTransparency = 0.40000000596046
  71. Title.Size = UDim2.new(0, 170, 0, 30)
  72. Title.Font = Enum.Font.GothamBold
  73. Title.Text = "Script Made By MikeBayraktar"
  74. Title.TextColor3 = Color3.new(1, 1, 1)
  75. Title.TextSize = 14
  76.  
  77. AutoFarm.Name = "AutoFarm"
  78. AutoFarm.Parent = MainF
  79. AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0)
  80. AutoFarm.BackgroundTransparency = 0.40000000596046
  81. AutoFarm.Position = UDim2.new(0.0588235334, 0, 0.214285731, 0)
  82. AutoFarm.Size = UDim2.new(0, 150, 0, 26)
  83. AutoFarm.Font = Enum.Font.Gotham
  84. AutoFarm.Text = "Auto Farm"
  85. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  86. AutoFarm.TextSize = 14
  87. AutoFarm.MouseButton1Click:connect(function()
  88. local groundDistance = 8
  89. local Player = game:GetService("Players").LocalPlayer
  90. local function getNearest()
  91. local nearest, dist = nil, 99999
  92. for _,v in pairs(game.Workspace.BossFolder:GetChildren()) do
  93. if(v:FindFirstChild("Head")~=nil)then
  94. local m =(Player.Character.Head.Position-v.Head.Position).magnitude
  95. if(m<dist)then
  96. dist = m
  97. nearest = v
  98. end
  99. end
  100. end
  101. for _,v in pairs(game.Workspace.enemies:GetChildren()) do
  102. if(v:FindFirstChild("Head")~=nil)then
  103. local m =(Player.Character.Head.Position-v.Head.Position).magnitude
  104. if(m<dist)then
  105. dist = m
  106. nearest = v
  107. end
  108. end
  109. end
  110. return nearest
  111. end
  112. _G.farm2 = true
  113. Player.Chatted:Connect(function(m)
  114. if(m==";autofarm false")then
  115. _G.farm2 = false
  116. elseif(m==";autofarm true")then
  117. _G.farm2 = true
  118. end
  119. end)
  120. _G.globalTarget = nil
  121. game:GetService("RunService").RenderStepped:Connect(function()
  122. if(_G.farm2==true)then
  123. local target = getNearest()
  124. if(target~=nil)then
  125. game:GetService("Workspace").CurrentCamera.CFrame = CFrame.new(game:GetService("Workspace").CurrentCamera.CFrame.p, target.Head.Position)
  126. Player.Character.HumanoidRootPart.CFrame = (target.HumanoidRootPart.CFrame * CFrame.new(0, groundDistance, 9))
  127. _G.globalTarget = target
  128. end
  129. end
  130. end)
  131. spawn(function()
  132. while wait() do
  133. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  134. game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
  135. end
  136. end)
  137. while wait() do
  138. if(_G.farm2==true and _G.globalTarget~=nil and _G.globalTarget:FindFirstChild("Head") and Player.Character:FindFirstChildOfClass("Tool"))then
  139. local target = _G.globalTarget
  140. game.ReplicatedStorage.Gun:FireServer({["Normal"] = Vector3.new(0, 0, 0), ["Direction"] = target.Head.Position, ["Name"] = Player.Character:FindFirstChildOfClass("Tool").Name, ["Hit"] = target.Head, ["Origin"] = target.Head.Position, ["Pos"] = target.Head.Position,})
  141. wait()
  142. end
  143. end
  144. end)
  145.  
  146. Noclip.Name = "Noclip"
  147. Noclip.Parent = MainF
  148. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  149. Noclip.BackgroundTransparency = 0.40000000596046
  150. Noclip.Position = UDim2.new(0.0588235334, 0, 0.504464269, 0)
  151. Noclip.Size = UDim2.new(0, 150, 0, 26)
  152. Noclip.Font = Enum.Font.Gotham
  153. Noclip.Text = "Noclip [\"n\"]"
  154. Noclip.TextColor3 = Color3.new(1, 1, 1)
  155. Noclip.TextSize = 14
  156. Noclip.MouseButton1Click:connect(function()
  157. local plr = game:service'Players'.LocalPlayer
  158. local char = plr.Character
  159. local hum = char:FindFirstChildOfClass'Humanoid'
  160. local mouse = plr:GetMouse()
  161. on = false
  162.  
  163. mouse.KeyDown:connect(function(key)
  164. if key == "n" then
  165. if not on then
  166. on = true
  167. elseif on then
  168. on = false
  169. end
  170. end
  171. end)
  172.  
  173. while wait() do
  174. if char then
  175. hum = char:FindFirstChildOfClass'Humanoid'
  176. end
  177. if on then
  178. hum:ChangeState(11)
  179. end
  180. end
  181.  
  182. end)
  183.  
  184. WalkSpeed.Name = "WalkSpeed"
  185. WalkSpeed.Parent = MainF
  186. WalkSpeed.BackgroundColor3 = Color3.new(0, 0, 0)
  187. WalkSpeed.BackgroundTransparency = 0.40000000596046
  188. WalkSpeed.Position = UDim2.new(0.0588235334, 0, 0.8125, 0)
  189. WalkSpeed.Size = UDim2.new(0, 150, 0, 26)
  190. WalkSpeed.Font = Enum.Font.Gotham
  191. WalkSpeed.Text = "Walkspeed"
  192. WalkSpeed.TextColor3 = Color3.new(1, 1, 1)
  193. WalkSpeed.TextSize = 14
  194. WalkSpeed.MouseButton1Click:connect(function()
  195. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  196. end)
  197.  
  198. Close.Name = "Close"
  199. Close.Parent = MainF
  200. Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  201. Close.BackgroundTransparency = 1
  202. Close.Position = UDim2.new(0.841176391, 0, -0.0223214328, 0)
  203. Close.Size = UDim2.new(0, 27, 0, 39)
  204. Close.Font = Enum.Font.SourceSans
  205. Close.Text = "X"
  206. Close.TextColor3 = Color3.new(1, 0, 0.0156863)
  207. Close.TextSize = 48
  208. Close.MouseButton1Click:connect(function()
  209. MainF.Visible = false
  210. OpenF.Visible = true
  211. end)
Advertisement
Add Comment
Please, Sign In to add comment