Advertisement
Dodikman

PJ Dodikman Gui

Jan 27th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.01 KB | None | 0 0
  1. wait(2)
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character
  4. local plrGui = plr.PlayerGui
  5. local pjGui = Instance.new("ScreenGui")
  6. pjGui.Parent = plrGui
  7.  
  8. local frame = Instance.new("Frame")
  9. frame.Position = UDim2.new(0, 0, 0.26, 0)
  10. frame.Parent = pjGui
  11. frame.Size = UDim2.new(0, 244, 0, 237)
  12. frame.BackgroundColor3 = Color3.new(85, 0, 255)
  13. frame.BackgroundTransparency = 0.9
  14.  
  15. local resetButton = Instance.new("TextButton")
  16. resetButton.Parent = frame
  17. resetButton.Text = "Reset"
  18. resetButton.Size = UDim2.new(0, 244, 0, 28)
  19. resetButton.Style = "RobloxRoundDropdownButton"
  20.  
  21. resetButton.MouseButton1Click:Connect(function()
  22.     char.Humanoid.Health = 0
  23. end)
  24.  
  25. local spawnButton = Instance.new("TextButton")
  26. spawnButton.Parent = frame
  27. spawnButton.Text = "TP: Spawn"
  28. spawnButton.Size = UDim2.new(0, 244, 0, 28)
  29. spawnButton.Style = "RobloxRoundDropdownButton"
  30. spawnButton.Position = UDim2.new(0, 0, 0, 29)
  31.  
  32. spawnButton.MouseButton1Click:Connect(function()
  33.     char:MoveTo(Vector3.new(1341, 875, -546))
  34. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement