Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --swpper V1
- me = game.Players.LocalPlayer --플레이어 구별
- local user = me.Character --플래이어 데이터값을 기반으로 케릭터 찾기
- RS = user.Humanoid -- 휴먼로이드파일
- local mouse = me:GetMouse() --마우스 얻기
- --UI부분
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = me.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- Frame.Position = UDim2.new(0.0765550211, 0, 0.0645586923, 0)
- Frame.Size = UDim2.new(0, 343, 0, 143)
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.Position = UDim2.new(0.0467625931, 0, 0.685314655, 0)
- TextBox.Size = UDim2.new(0, 200, 0, 27)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 14
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- TextButton.Position = UDim2.new(0.68221575, 0, 0.601398587, 0)
- TextButton.Size = UDim2.new(0, 63, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "KILL HIM"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Down:connect(function()
- workspace[TextBox.Text]:BreakJoints()
- end)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.046647232, 0, 0.181818187, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "SWPPER"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- --자살할려면 d키 누르셈
- mouse.KeyDown:connect(function(key)
- if key:lower() == "d" then
- print ("하 걍죽자 답이없어..")
- RS.Health = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement