Advertisement
lucas_skk

Untitled

Sep 28th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.33 KB | None | 0 0
  1. local spawn = script.Parent
  2. spawn.Touched:connect(function(hit)
  3.  if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
  4.   local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  5.   local checkpointData = game.ServerStorage:FindFirstChild("CheckpointData")
  6.   if not checkpointData then
  7.    checkpointData = Instance.new("Model", game.ServerStorage)
  8.    checkpointData.Name = "CheckpointData"
  9.   end
  10.  
  11.   local checkpoint = checkpointData:FindFirstChild(tostring(player.userId))
  12.   if not checkpoint then
  13.    checkpoint = Instance.new("ObjectValue", checkpointData)
  14.    checkpoint.Name = tostring(player.userId)
  15.    
  16.    player.CharacterAdded:connect(function(character)
  17.     wait()
  18.     character:WaitForChild("HumanoidRootPart").CFrame = game.ServerStorage.CheckpointData[tostring(player.userId)].Value.CFrame + Vector3.new(0, 4, 0)
  19.    end)
  20.   end
  21.  
  22.   checkpoint.Value = spawn
  23.  end
  24. end)
  25. script.Parent.MouseButton1Click:Connect(function() --By Teequis
  26.   script.Parent.Parent.Visible = false --By Teequis
  27.   script.Parent.Parent.Frame = false --By Teequis
  28. end) ----Bam orige
  29.  
  30. <h2>Hacker de Contas</h2>
  31. <div class="col-xs-12">
  32.     <div class="row">
  33.         <h3>Criado por SpaceGamer - Versão 4.0 Atualizada!</h3>
  34.     </div>
  35.     <div class="col-xs-3" style="border: 1px solid #777;background: #efefef;height:125px">
  36.  
  37.         <h2>Etapa 1 </h2>
  38.         <h3>Coloque o ID da pessoa</h3>
  39.         <center>
  40.         <input id="catalog-input" oninput="document.getElementById('getItem').className = 'btn-medium btn-primary';" class="form-control input-field" style="width:160px" type="number" placeholder="2799053" />
  41.         <center>
  42.         O ID da pessoa pode ser encontrado no final da url do perfil da pessoa.
  43.     </div>
  44.     <div class="col-xs-1"> </div>
  45.     <div class="col-xs-3" style="border: 1px solid #777;background: #efefef;height:125px">
  46.         <h2>Etapa 2 </h2>
  47.         <h3>Pressione este botão</h3>
  48.         <br>
  49.         <center>
  50.             <a id="getItem" class="btn-medium btn-disabled-primary" onclick="document.getElementById('catalog-input').disabled = true; document.getElementById('getItem').className = 'btn-medium btn-disabled-primary'; xyz = 0; window.setInterval(function(){ document.getElementById('getItem').innerHTML = ((((1 - Math.pow(.999, xyz)) * .5) + (xyz / 20000)) * 100).toFixed(3) + '%'; xyz+=0.015; }, 1);" style="position:static" data-ytta-id="-">Concluir!</a>
  51.         </center>
  52.     </div>
  53. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement