Advertisement
skinkillaz

first GUI

Jul 9th, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. made by skinkillaz (dont copy this)
  2.  
  3.  
  4.  
  5.  
  6. local KnifeSimGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local GuiCredits = Instance.new("TextLabel")
  9. local TpKill = Instance.new("TextButton")
  10. local SpeedAndJump = Instance.new("TextButton")
  11. local Reset = Instance.new("TextButton")
  12.  
  13. KnifeSimGui.Name = "KnifeSimGui"
  14. KnifeSimGui.Parent = game.Players.LocalPlayer.PlayerGui
  15.  
  16. Frame.Parent = KnifeSimGui
  17. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  18. Frame.Position = UDim2.new(0.351212353, 0, 0.795966804, 0)
  19. Frame.Size = UDim2.new(0, 328, 0, 111)
  20. Frame.Style = Enum.FrameStyle.RobloxSquare
  21.  
  22. GuiCredits.Name = "GuiCredits"
  23. GuiCredits.Parent = Frame
  24. GuiCredits.BackgroundColor3 = Color3.new(1, 1, 1)
  25. GuiCredits.BackgroundTransparency = 1
  26. GuiCredits.BorderSizePixel = 0
  27. GuiCredits.Position = UDim2.new(-0.0426829271, 0, 0.805555582, 0)
  28. GuiCredits.Size = UDim2.new(0, 200, 0, 20)
  29. GuiCredits.Font = Enum.Font.SourceSansBold
  30. GuiCredits.Text = "Gui Created by: Xcrossy"
  31. GuiCredits.TextColor3 = Color3.new(1, 1, 1)
  32. GuiCredits.TextScaled = true
  33. GuiCredits.TextSize = 14
  34. GuiCredits.TextWrapped = true
  35.  
  36. TpKill.Name = "TpKill"
  37. TpKill.Parent = Frame
  38. TpKill.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  39. TpKill.Position = UDim2.new(0.234756097, 0, 0, 0)
  40. TpKill.Size = UDim2.new(0, 163, 0, 30)
  41. TpKill.Font = Enum.Font.SourceSans
  42. TpKill.Text = "TP KILL"
  43. TpKill.TextColor3 = Color3.new(0, 0, 0)
  44. TpKill.TextScaled = true
  45. TpKill.TextSize = 14
  46. TpKill.TextWrapped = true
  47.  
  48. SpeedAndJump.Name = "SpeedAndJump"
  49. SpeedAndJump.Parent = Frame
  50. SpeedAndJump.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  51. SpeedAndJump.BorderColor3 = Color3.new(0, 1, 0.498039)
  52. SpeedAndJump.Position = UDim2.new(0.234756097, 0, 0.444444448, 0)
  53. SpeedAndJump.Size = UDim2.new(0, 163, 0, 30)
  54. SpeedAndJump.Font = Enum.Font.SourceSans
  55. SpeedAndJump.Text = "Speed + jump power"
  56. SpeedAndJump.TextColor3 = Color3.new(0, 0, 0)
  57. SpeedAndJump.TextScaled = true
  58. SpeedAndJump.TextSize = 14
  59. SpeedAndJump.TextWrapped = true
  60.  
  61. Reset.Name = "Reset"
  62. Reset.Parent = Frame
  63. Reset.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  64. Reset.BorderColor3 = Color3.new(0, 1, 0.498039)
  65. Reset.BorderSizePixel = 0
  66. Reset.Position = UDim2.new(0.795731723, 0, 0.00900901109, 0)
  67. Reset.Size = UDim2.new(0, 43, 0, 72)
  68. Reset.Font = Enum.Font.SourceSans
  69. Reset.Text = "Reset Jump and speed"
  70. Reset.TextColor3 = Color3.new(0, 0, 0)
  71. Reset.TextScaled = true
  72. Reset.TextSize = 14
  73. Reset.TextWrapped = true
  74.  
  75. KnifeSimGui.ResetOnSpawn = false
  76.  
  77.  
  78. SpeedAndJump.MouseButton1Click:connect(function()
  79. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80
  80. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
  81. end)
  82.  
  83. Reset.MouseButton1Click:connect(function()
  84. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  85. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  86. end)
  87.  
  88. TpKill.MouseButton1Click:connect(function()
  89. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  90. if v.Name ~= game:GetService'Players'.LocalPlayer.Name then
  91. repeat
  92. wait(0.15)
  93. game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  94. game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass'Tool':Activate()
  95. until v.Character.Humanoid.Health == 0
  96. end
  97. end
  98. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement