Advertisement
Exploits-scripts

Untitled

Oct 10th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.65 KB | None | 0 0
  1. --SE TU ROUBAR TU É GAY
  2.  
  3. loadstring(game:HttpGet("https://pastebin.com/raw/t7tw3Qib", true))()
  4.  
  5. -- MADE TO USE https://www.roblox.com/catalog/18875660360/2048hat, OTHER HATS WILL DO CLOSE TO NOTHING
  6. local fph = workspace.FallenPartsDestroyHeight
  7.  
  8. local plr = game.Players.LocalPlayer
  9. local character = plr.Character
  10. local hrp = character:WaitForChild("HumanoidRootPart")
  11. local torso = character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso")
  12. local start = hrp.CFrame
  13.  
  14. local campart = Instance.new("Part", character)
  15. campart.Transparency = 1
  16. campart.CanCollide = false
  17. campart.Size = Vector3.one
  18. campart.Position = start.Position
  19. campart.Anchored = true
  20.  
  21. local function updatestate(hat, state)
  22. if sethiddenproperty then
  23. sethiddenproperty(hat, "BackendAccoutrementState", state)
  24. elseif setscriptable then
  25. setscriptable(hat, "BackendAccoutrementState", true)
  26. hat.BackendAccoutrementState = state
  27. else
  28. local success = pcall(function()
  29. hat.BackendAccoutrementState = state
  30. end)
  31. if not success then
  32. error("executor not supported, sorry!")
  33. end
  34. end
  35. end
  36.  
  37. local targethat
  38. local biggest = 0
  39. for i, v in pairs(character:GetChildren()) do
  40. if v:IsA("Accessory") and v:FindFirstChild("Handle") then
  41. if v.Handle.Size.Magnitude > biggest then
  42. biggest = v.Handle.Size.Magnitude
  43. targethat = v
  44. end
  45. end
  46. end
  47. updatestate(targethat, 4) -- just to make sure executor supports, hat should already be in this state
  48. targethat.Handle.CanTouch = false
  49. Instance.new("SelectionBox", targethat.Handle).Adornee = targethat.Handle
  50.  
  51. workspace.FallenPartsDestroyHeight = 0 / 0
  52.  
  53. local function play(id, speed, prio, weight)
  54. local Anim = Instance.new("Animation")
  55. Anim.AnimationId = "https" .. tostring(math.random(1000000, 9999999)) .. "=" .. tostring(id)
  56. local track = character.Humanoid:LoadAnimation(Anim)
  57. track.Priority = prio
  58. track:Play()
  59. track:AdjustSpeed(speed)
  60. track:AdjustWeight(weight)
  61. return track
  62. end
  63.  
  64. local r6fall = 180436148
  65. local r15fall = 507767968
  66.  
  67. local dropcf = CFrame.new(character.HumanoidRootPart.Position.x, fph - .25, character.HumanoidRootPart.Position.z)
  68. if character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  69. dropcf = dropcf * CFrame.Angles(math.rad(20), 0, 0)
  70. character.Humanoid:ChangeState(16)
  71. play(r15fall, 1, 5, 1).TimePosition = .1
  72. else
  73. play(r6fall, 1, 5, 1).TimePosition = .1
  74. end
  75.  
  76. spawn(function()
  77. while hrp.Parent ~= nil do
  78. hrp.CFrame = dropcf
  79. hrp.Velocity = Vector3.new(0, 25, 0)
  80. hrp.RotVelocity = Vector3.new(0, 0, 0)
  81. game:GetService("RunService").Heartbeat:wait()
  82. end
  83. end)
  84.  
  85. task.wait(.25)
  86.  
  87. local lock = targethat.Changed:Connect(function(p)
  88. if p == "BackendAccoutrementState" then
  89. updatestate(targethat, 0)
  90. end
  91. end)
  92. updatestate(targethat, 2)
  93.  
  94. character.Humanoid:ChangeState(15)
  95.  
  96. torso.AncestryChanged:wait()
  97. lock:Disconnect()
  98. updatestate(targethat, 4)
  99.  
  100. spawn(function()
  101. plr.CharacterAdded:wait():WaitForChild("HumanoidRootPart", 10).CFrame = start
  102. workspace.FallenPartsDestroyHeight = fph
  103. end)
  104.  
  105. repeat
  106. task.wait()
  107. until not targethat:FindFirstChild("Handle") or targethat.Handle.CanCollide or plr.Character ~= character or targethat.Parent == nil
  108.  
  109. if targethat:FindFirstChild("Handle") and targethat.Handle.CanCollide then
  110. print("dropped")
  111. workspace.CurrentCamera.CameraSubject = campart
  112. targethat.Handle.CanCollide = false
  113. targethat.Handle.CanTouch = false
  114.  
  115. -- Criação do bloco de suporte na posição (0, 800, 0)
  116. local supportBlock = Instance.new("Part")
  117. supportBlock.Size = Vector3.new(10, 1, 10) -- Tamanho do bloco
  118. supportBlock.Position = Vector3.new(0, 800, 0) -- Posição especificada
  119. supportBlock.Anchored = true
  120. supportBlock.CanCollide = true
  121. supportBlock.Parent = workspace
  122.  
  123. -- Teleportar o acessório para o bloco e congelá-lo
  124. targethat.Handle.Position = supportBlock.Position + Vector3.new(0, targethat.Handle.Size.Y / 2, 0)
  125. targethat.Handle.Anchored = true
  126.  
  127. -- Função para mover o chapéu usando a posição do mouse
  128. local mouse = plr:GetMouse()
  129. local isMoving = false
  130. local blockDeleted = false -- Para evitar a exclusão múltipla do bloco
  131.  
  132. local function moveHat()
  133. if not blockDeleted then
  134. supportBlock:Destroy() -- Deleta o bloco apenas uma vez
  135. blockDeleted = true
  136. end
  137. targethat.Handle.Anchored = false -- Descongela o acessório
  138.  
  139. while isMoving do
  140. -- Atualiza a posição do chapéu de acordo com a posição do mouse no mundo
  141. local mouseHit = mouse.Hit
  142. local targetPosition = mouseHit.Position + Vector3.new(0, targethat.Handle.Size.Y / 2, 0)
  143.  
  144. -- Adiciona um leve deslocamento aleatório ao redor da posição do mouse
  145. targetPosition = targetPosition + Vector3.new(
  146. math.random(-0, 0), -- Deslocamento aleatório em X
  147. 0, -- Não desloca em Y
  148. math.random(-0, 0) -- Deslocamento aleatório em Z
  149. )
  150.  
  151. targethat.Handle.Position = targetPosition
  152. game:GetService("RunService").Heartbeat:wait()
  153. end
  154. end
  155.  
  156. -- Controles de mouse
  157. mouse.Button1Down:Connect(function()
  158. isMoving = true
  159. moveHat()
  160. end)
  161.  
  162. mouse.Button1Up:Connect(function()
  163. isMoving = false
  164. end)
  165.  
  166. -- Controles de toque para celular
  167. local UserInputService = game:GetService("UserInputService")
  168. UserInputService.TouchStarted:Connect(function(touch, gameProcessedEvent)
  169. if not gameProcessedEvent then
  170. isMoving = true
  171. moveHat()
  172. end
  173. end)
  174.  
  175. UserInputService.TouchEnded:Connect(function(touch, gameProcessedEvent)
  176. if not gameProcessedEvent then
  177. isMoving = false
  178. end
  179. end)
  180.  
  181. local sine = 0
  182. spawn(function()
  183. while plr.Character == character and targethat and targethat.Parent ~= nil do
  184. sine = sine + 1
  185. plr.SimulationRadius = -math.huge
  186. targethat.Handle.Velocity = Vector3.one * 1500
  187. targethat.Handle.RotVelocity = Vector3.one * 150000
  188. -- Mantém a rotação e movimentação aleatória do chapéu
  189. targethat.Handle.CFrame = CFrame.new(targethat.Handle.Position) * CFrame.Angles(math.rad(sine * 2), math.rad(sine * 2), 0)
  190. game:GetService("RunService").Heartbeat:wait()
  191. end
  192. end)
  193. else
  194. print("failed to drop")
  195. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement