Advertisement
xcrossy05

Knife Simulator Gui

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