Advertisement
hjkook

스위퍼 v1

Jan 28th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. --swpper V1
  2. me = game.Players.LocalPlayer --플레이어 구별
  3. local user = me.Character --플래이어 데이터값을 기반으로 케릭터 찾기
  4. RS = user.Humanoid -- 휴먼로이드파일
  5. local mouse = me:GetMouse() --마우스 얻기
  6. --UI부분
  7. local ScreenGui = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local TextBox = Instance.new("TextBox")
  10. local TextButton = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12. --Properties:
  13. ScreenGui.Parent = me:WaitForChild("PlayerGui")
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.Active = true
  18. Frame.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  19. Frame.Position = UDim2.new(0.0765550211, 0, 0.0645586923, 0)
  20. Frame.Size = UDim2.new(0, 343, 0, 143)
  21.  
  22. TextBox.Parent = Frame
  23. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  24. TextBox.Position = UDim2.new(0.0467625931, 0, 0.685314655, 0)
  25. TextBox.Size = UDim2.new(0, 200, 0, 27)
  26. TextBox.Font = Enum.Font.SourceSans
  27. TextBox.Text = ""
  28. TextBox.TextColor3 = Color3.new(0, 0, 0)
  29. TextBox.TextSize = 14
  30.  
  31. TextButton.Parent = Frame
  32. TextButton.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  33. TextButton.Position = UDim2.new(0.68221575, 0, 0.601398587, 0)
  34. TextButton.Size = UDim2.new(0, 63, 0, 50)
  35. TextButton.Font = Enum.Font.SourceSans
  36. TextButton.Text = "KILL HIM"
  37. TextButton.TextColor3 = Color3.new(0, 0, 0)
  38. TextButton.TextSize = 14
  39. TextButton.MouseButton1Down:connect(function()
  40. workspace[TextBox.Text]:BreakJoints()
  41. end)
  42.  
  43. TextLabel.Parent = Frame
  44. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  45. TextLabel.BackgroundTransparency = 1
  46. TextLabel.Position = UDim2.new(0.046647232, 0, 0.181818187, 0)
  47. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  48. TextLabel.Font = Enum.Font.SourceSans
  49. TextLabel.Text = "SWPPER"
  50. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  51. TextLabel.TextScaled = true
  52. TextLabel.TextSize = 14
  53. TextLabel.TextWrapped = true
  54. --자살할려면 d키 누르셈
  55. mouse.KeyDown:connect(function(key)
  56. if key:lower() == "d" then
  57. print ("하 걍죽자 답이없어..")
  58. RS.Health = 0
  59. end
  60. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement