Advertisement
Scriptorz5

Knife Simulator

Oct 21st, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. local KnifeSimulator = Instance.new("ScreenGui")
  2. local frame = Instance.new("Frame")
  3. local open = Instance.new("TextButton")
  4. local main = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local credit = Instance.new("TextLabel")
  7. local havmoney = Instance.new("TextButton")
  8. local tpallplayer = Instance.new("TextButton")
  9. local close = Instance.new("TextButton")
  10. --Script And Gui Config
  11. KnifeSimulator.Name = "KnifeSimulator"
  12. KnifeSimulator.Parent = game.CoreGui
  13.  
  14. frame.Name = "frame"
  15. frame.Parent = KnifeSimulator
  16. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  17. frame.Position = UDim2.new(0.862630963, 0, 0.311526477, 0)
  18. frame.Size = UDim2.new(0, 98, 0, 47)
  19. frame.Style = Enum.FrameStyle.DropShadow
  20.  
  21. open.Name = "open"
  22. open.Parent = frame
  23. open.BackgroundColor3 = Color3.new(1, 1, 1)
  24. open.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  25. open.Position = UDim2.new(-0.0102040814, 0, 0.0212766044, 0)
  26. open.Size = UDim2.new(0, 84, 0, 30)
  27. open.Style = Enum.ButtonStyle.RobloxButton
  28. open.Font = Enum.Font.SourceSansBold
  29. open.Text = "Open"
  30. open.TextColor3 = Color3.new(1, 1, 1)
  31. open.TextSize = 18
  32. open.MouseButton1Down:connect(function()
  33. main.Visible = true
  34. frame.Visible = false
  35. end)
  36.  
  37. main.Name = "main"
  38. main.Parent = KnifeSimulator
  39. main.BackgroundColor3 = Color3.new(1, 1, 1)
  40. main.Position = UDim2.new(0.813736916, 0, 0.423676014, 0)
  41. main.Size = UDim2.new(0, 140, 0, 200)
  42. main.Visible = false
  43. main.Style = Enum.FrameStyle.DropShadow
  44. main.Active = true
  45. main.Draggable = true
  46.  
  47. title.Name = "title"
  48. title.Parent = main
  49. title.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  50. title.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  51. title.BorderSizePixel = 0
  52. title.Position = UDim2.new(-0.0565275326, 0, -0.0413239934, 0)
  53. title.Size = UDim2.new(0, 138, 0, 23)
  54. title.Font = Enum.Font.SciFi
  55. title.Text = "Knife Sim GUI "
  56. title.TextColor3 = Color3.new(1, 1, 1)
  57. title.TextSize = 20
  58.  
  59. credit.Name = "credit"
  60. credit.Parent = main
  61. credit.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  62. credit.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  63. credit.BorderSizePixel = 0
  64. credit.Position = UDim2.new(-0.0565275326, 0, 0.918675959, 0)
  65. credit.Size = UDim2.new(0, 138, 0, 23)
  66. credit.Font = Enum.Font.SciFi
  67. credit.Text = "Made By MixelGaming"
  68. credit.TextColor3 = Color3.new(1, 1, 1)
  69. credit.TextSize = 14
  70.  
  71. havmoney.Name = "havmoney"
  72. havmoney.Parent = main
  73. havmoney.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  74. havmoney.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  75. havmoney.BorderSizePixel = 0
  76. havmoney.Position = UDim2.new(0.026542522, 0, 0.580654204, 0)
  77. havmoney.Size = UDim2.new(0, 117, 0, 37)
  78. havmoney.Font = Enum.Font.SourceSansBold
  79. havmoney.Text = "Auto Have Money"
  80. havmoney.TextColor3 = Color3.new(1, 1, 1)
  81. havmoney.TextSize = 16
  82. havmoney.MouseButton1Down:connect(function()
  83. while true do
  84. wait()
  85. game.ReplicatedStorage.forhackers:InvokeServer("hit", {})
  86. end
  87. end)
  88.  
  89. tpallplayer.Name = "tpallplayer"
  90. tpallplayer.Parent = main
  91. tpallplayer.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  92. tpallplayer.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  93. tpallplayer.BorderSizePixel = 0
  94. tpallplayer.Position = UDim2.new(0.026542522, 0, 0.210654199, 0)
  95. tpallplayer.Size = UDim2.new(0, 117, 0, 37)
  96. tpallplayer.Font = Enum.Font.SourceSansBold
  97. tpallplayer.Text = "TP To All Player"
  98. tpallplayer.TextColor3 = Color3.new(1, 1, 1)
  99. tpallplayer.TextSize = 18
  100. tpallplayer.MouseButton1Down:connect(function()
  101. while wait() do
  102. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  103. if v.Name ~= game:GetService'Players'.LocalPlayer.Name then
  104. repeat
  105. wait(0.15)
  106. game:GetService'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  107. game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass'Tool':Activate()
  108. until v.Character.Humanoid.Health == 0
  109. end
  110. end
  111. end
  112. end)
  113.  
  114. close.Name = "close"
  115. close.Parent = main
  116. close.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  117. close.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  118. close.BorderSizePixel = 0
  119. close.Position = UDim2.new(0.878571391, 0, -0.0450000018, 0)
  120. close.Size = UDim2.new(0, 21, 0, 22)
  121. close.Font = Enum.Font.SourceSansBold
  122. close.Text = "X"
  123. close.TextColor3 = Color3.new(1, 1, 1)
  124. close.TextSize = 20
  125. close.MouseButton1Down:connect(function()
  126. frame.Visible = true
  127. main.Visible = false
  128. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement