Advertisement
zza

Delete Character

zza
Mar 8th, 2019
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. -- Instances:
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local TextLabel = Instance.new("TextLabel")
  5. local TextButton = Instance.new("TextButton")
  6. --Properties:
  7. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  8. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  9. ScreenGui.Parent = game.CoreGui
  10.  
  11. Frame.Parent = ScreenGui
  12. Frame.Active = true
  13. Frame.BackgroundColor3 = Color3.new(0, 0.670588, 0)
  14. Frame.BorderColor3 = Color3.new(0, 0.670588, 0)
  15. Frame.ClipsDescendants = true
  16. Frame.Position = UDim2.new(0.0365605243, 0, 0.706260085, 0)
  17. Frame.Selectable = true
  18. Frame.Size = UDim2.new(0, 332, 0, 151)
  19. Frame.Draggable = true
  20.  
  21. TextLabel.Parent = Frame
  22. TextLabel.Active = true
  23. TextLabel.BackgroundColor3 = Color3.new(0, 0.654902, 0)
  24. TextLabel.BorderColor3 = Color3.new(0, 0.568627, 0)
  25. TextLabel.Position = UDim2.new(0.196045816, 0, 0.769434392, 0)
  26. TextLabel.Size = UDim2.new(0, 200, 0, 34)
  27. TextLabel.Font = Enum.Font.SciFi
  28. TextLabel.Text = "Made By : Iatemone"
  29. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  30. TextLabel.TextSize = 14
  31.  
  32. TextButton.Parent = Frame
  33. TextButton.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  34. TextButton.Position = UDim2.new(0.0984322131, 0, 0.121660814, 0)
  35. TextButton.Size = UDim2.new(0, 266, 0, 90)
  36. TextButton.Font = Enum.Font.SciFi
  37. TextButton.Text = "Delete Character"
  38. TextButton.TextColor3 = Color3.new(0, 0, 0)
  39. TextButton.TextSize = 14
  40. TextButton.MouseButton1Click:Connect(function()
  41. game.Players.LocalPlayer.Character:Destroy()
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement