Advertisement
Adel987654321

Katana simulator

Jan 23rd, 2020
1,009
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.72 KB | None | 0 0
  1. --made by robloxhacker26 (racemodex)
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local credits = Instance.new("TextLabel")
  6. local farm = Instance.new("TextButton")
  7. local giver = Instance.new("TextButton")
  8. local giver2 = Instance.new("TextButton")
  9. local gotopvp = Instance.new("TextButton")
  10. local gotospawn = Instance.new("TextButton")
  11. local gotospawn_2 = Instance.new("TextButton")
  12. local tp = Instance.new("TextLabel")
  13. local credits_2 = Instance.new("TextLabel")
  14. --Properties:
  15. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. ScreenGui.ResetOnSpawn = false
  17. Frame.Draggable = true
  18. Frame.Active = true
  19. Frame.Selectable = true
  20. Frame.Parent = ScreenGui
  21. Frame.Active = true
  22. Frame.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
  23. Frame.BorderSizePixel = 5
  24. Frame.Position = UDim2.new(0.1293322, 0, 0.414258182, 0)
  25. Frame.Size = UDim2.new(0, 457, 0, 272)
  26.  
  27. credits.Name = "credits"
  28. credits.Parent = Frame
  29. credits.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
  30. credits.BackgroundTransparency = 50
  31. credits.BorderSizePixel = 0
  32. credits.Position = UDim2.new(0.282493085, 0, -0.0272372961, 0)
  33. credits.Size = UDim2.new(0, 197, 0, 50)
  34. credits.Font = Enum.Font.GothamBlack
  35. credits.Text = "Made by racemodex"
  36. credits.TextColor3 = Color3.new(0, 0, 0)
  37. credits.TextSize = 20
  38. credits.TextWrapped = true
  39.  
  40. farm.Name = "farm"
  41. farm.Parent = Frame
  42. farm.BackgroundColor3 = Color3.new(1, 0, 0)
  43. farm.Position = UDim2.new(0, 0, 0.774091363, 0)
  44. farm.Size = UDim2.new(0, 221, 0, 61)
  45. farm.Text = "Auto Buy (Off)"
  46. farm.TextColor3 = Color3.new(0, 0, 0)
  47. farm.TextScaled = true
  48. farm.TextSize = 30
  49. farm.TextWrapped = true
  50.  
  51. giver.Name = "giver"
  52. giver.Parent = Frame
  53. giver.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
  54. giver.Position = UDim2.new(0, 0, 0.518770993, 0)
  55. giver.Size = UDim2.new(0, 221, 0, 61)
  56. giver.Text = "Give Secret Skin"
  57. giver.TextColor3 = Color3.new(0, 0, 0)
  58. giver.TextScaled = true
  59. giver.TextSize = 30
  60. giver.TextWrapped = true
  61.  
  62. giver2.Name = "giver2"
  63. giver2.Parent = Frame
  64. giver2.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
  65. giver2.Position = UDim2.new(0, 0, 0.256097555, 0)
  66. giver2.Size = UDim2.new(0, 221, 0, 61)
  67. giver2.Text = "Give Group Reward (500)"
  68. giver2.TextColor3 = Color3.new(0, 0, 0)
  69. giver2.TextScaled = true
  70. giver2.TextSize = 30
  71. giver2.TextWrapped = true
  72.  
  73. gotopvp.Name = "gotopvp"
  74. gotopvp.Parent = Frame
  75. gotopvp.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
  76. gotopvp.Position = UDim2.new(0.509348989, 0, 0.256097555, 0)
  77. gotopvp.Size = UDim2.new(0, 224, 0, 61)
  78. gotopvp.Text = "Pvp Area"
  79. gotopvp.TextColor3 = Color3.new(0, 0, 0)
  80. gotopvp.TextSize = 25
  81. gotopvp.TextWrapped = true
  82.  
  83. gotospawn.Name = "gotospawn"
  84. gotospawn.Parent = Frame
  85. gotospawn.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
  86. gotospawn.Position = UDim2.new(0.509348989, 0, 0.517126977, 0)
  87. gotospawn.Size = UDim2.new(0, 224, 0, 61)
  88. gotospawn.Text = "Spawn"
  89. gotospawn.TextColor3 = Color3.new(0, 0, 0)
  90. gotospawn.TextSize = 25
  91. gotospawn.TextWrapped = true
  92.  
  93. gotospawn_2.Name = "gotospawn"
  94. gotospawn_2.Parent = Frame
  95. gotospawn_2.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
  96. gotospawn_2.Position = UDim2.new(0.509348989, 0, 0.770803452, 0)
  97. gotospawn_2.Size = UDim2.new(0, 224, 0, 61)
  98. gotospawn_2.Text = "Shop"
  99. gotospawn_2.TextColor3 = Color3.new(0, 0, 0)
  100. gotospawn_2.TextSize = 25
  101. gotospawn_2.TextWrapped = true
  102.  
  103. tp.Name = "tp"
  104. tp.Parent = Frame
  105. tp.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
  106. tp.BackgroundTransparency = 50
  107. tp.BorderSizePixel = 0
  108. tp.Position = UDim2.new(0.538510561, 0, 0.108792119, 0)
  109. tp.Size = UDim2.new(0, 197, 0, 50)
  110. tp.Font = Enum.Font.GothamBlack
  111. tp.Text = "Teleports"
  112. tp.TextColor3 = Color3.new(0, 0, 0)
  113. tp.TextSize = 15
  114. tp.TextTransparency = 0.20000000298023
  115. tp.TextWrapped = true
  116.  
  117. credits_2.Name = "credits"
  118. credits_2.Parent = Frame
  119. credits_2.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
  120. credits_2.BackgroundTransparency = 50
  121. credits_2.BorderSizePixel = 0
  122. credits_2.Position = UDim2.new(0.0286637545, 0, 0.108792119, 0)
  123. credits_2.Size = UDim2.new(0, 197, 0, 50)
  124. credits_2.Font = Enum.Font.GothamBlack
  125. credits_2.Text = "Farm"
  126. credits_2.TextColor3 = Color3.new(0, 0, 0)
  127. credits_2.TextSize = 15
  128. credits_2.TextTransparency = 0.20000000298023
  129. credits_2.TextWrapped = true
  130. -- Scripts:
  131.  
  132.  
  133.  
  134. if game.Players.LocalPlayer then
  135. game.StarterGui:SetCore('SendNotification', {
  136. Title = 'Gui',
  137. Text = 'Made by racemodex',
  138. Duration = 15,
  139. })
  140. end
  141.  
  142. farm.MouseButton1Click:connect(function()
  143. local script = Instance.new('LocalScript')
  144. script.Parent = farm
  145. script.Parent.Text = "Auto Buy (On)"
  146. script.Parent.BackgroundColor3 = Color3.new(0/255, 255/255, 64/255)
  147. local stats = game.Players.LocalPlayer.leaderstats.Coins
  148. local already = 0
  149.  
  150. _G.toggle = true
  151.  
  152. while _G.toggle == true do
  153. wait(0.2)
  154. if stats.Value >= 0 and already == 0 then
  155. game.ReplicatedStorage.Remotes.Equip:FireServer(1)
  156. already = 1
  157. elseif stats.Value >= 500 and already == 1 then
  158. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(4)
  159. game.ReplicatedStorage.Remotes.Equip:FireServer(4)
  160. already = 2
  161. elseif stats.Value >= 1500 and already == 2 then
  162. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(5)
  163. game.ReplicatedStorage.Remotes.Equip:FireServer(5)
  164. already = 3
  165. elseif stats.Value >= 4000 and already == 3 then
  166. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(6)
  167. game.ReplicatedStorage.Remotes.Equip:FireServer(6)
  168. already = 4
  169. elseif stats.Value >= 12500 and already == 4 then
  170. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(7)
  171. game.ReplicatedStorage.Remotes.Equip:FireServer(7)
  172. already = 5
  173. elseif stats.Value >= 28000 and already == 5 then
  174. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(8)
  175. game.ReplicatedStorage.Remotes.Equip:FireServer(8)
  176. already = 6
  177. elseif stats.Value >= 45000 and already == 6 then
  178. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(9)
  179. game.ReplicatedStorage.Remotes.Equip:FireServer(9)
  180. already = 7
  181. elseif stats.Value >= 75000 and already == 7 then
  182. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(10)
  183. game.ReplicatedStorage.Remotes.Equip:FireServer(10)
  184. already = 8.1
  185. elseif stats.Value >= 200000 and already == 8.1 then
  186. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(11)
  187. game.ReplicatedStorage.Remotes.Equip:FireServer(11)
  188. already = 8
  189. elseif stats.Value >= 350000 and already == 8 then
  190. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(12)
  191. game.ReplicatedStorage.Remotes.Equip:FireServer(12)
  192. already = 9
  193. elseif stats.Value >= 450000 and already == 9 then
  194. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(13)
  195. game.ReplicatedStorage.Remotes.Equip:FireServer(13)
  196. already = 10
  197. elseif stats.Value >= 600000 and already == 10 then
  198. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(14)
  199. game.ReplicatedStorage.Remotes.Equip:FireServer(14)
  200. already = 11
  201. elseif stats.Value >= 900000 and already == 11 then
  202. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(15)
  203. game.ReplicatedStorage.Remotes.Equip:FireServer(15)
  204. already = 12
  205. elseif stats.Value >= 2100000 and already == 12 then
  206. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(18)
  207. game.ReplicatedStorage.Remotes.Equip:FireServer(18)
  208. already = 13
  209. elseif stats.Value >= 3500000 and already == 13 then
  210. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(20)
  211. game.ReplicatedStorage.Remotes.Equip:FireServer(20)
  212. already = 14
  213. elseif stats.Value >= 8000000 and already == 14 then
  214. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(23)
  215. game.ReplicatedStorage.Remotes.Equip:FireServer(23)
  216. already = 15
  217. elseif stats.Value >= 12000000 and already == 15 then
  218. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(24)
  219. game.ReplicatedStorage.Remotes.Equip:FireServer(24)
  220. already = 16
  221. elseif stats.Value >= 25000000 and already == 16 then
  222. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(26)
  223. game.ReplicatedStorage.Remotes.Equip:FireServer(26)
  224. already = 17
  225. elseif stats.Value >= 54000000 and already == 17 then
  226. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(27)
  227. game.ReplicatedStorage.Remotes.Equip:FireServer(27)
  228. already = 18
  229. elseif stats.Value >= 375000000 and already == 18 then
  230. game.ReplicatedStorage.Remotes.BuySword:InvokeServer(32)
  231. game.ReplicatedStorage.Remotes.Equip:FireServer(32)
  232. already = 19
  233. end
  234.  
  235.  
  236. farm.MouseButton2Click:connect(function()
  237. script.Parent = farm
  238. script.Parent.Text = "Auto Buy (Off)"
  239. script.Parent.BackgroundColor3 = Color3.new(255/255, 255/255, 0/255)
  240. _G.toggle = false
  241. end)
  242.  
  243.  
  244.  
  245. gotopvp.MouseButton1Click:connect(function()
  246. local PlayerName = game.Players.LocalPlayer.Name
  247. game.Workspace[PlayerName]:MoveTo(Vector3.new(-212.421387, 32.9851494, 87.831726))
  248. end)
  249.  
  250. gotospawn.MouseButton1Click:connect(function()
  251. local PlayerName = game.Players.LocalPlayer.Name
  252. game.Workspace[PlayerName]:MoveTo(Vector3.new(127.619072, 17, 149.294739))
  253. end)
  254.  
  255. gotospawn_2.MouseButton1Click:connect(function()
  256. local PlayerName = game.Players.LocalPlayer.Name
  257. game.Workspace[PlayerName]:MoveTo(Vector3.new(185.223587, 17.3739166, 158.897476))
  258. end)
  259.  
  260. giver2.MouseButton1Click:connect(function()
  261. game.ReplicatedStorage.Remotes.DataPush:FireServer("GroupReward")
  262. end)
  263.  
  264. giver.MouseButton1Click:connect(function()
  265. game.ReplicatedStorage.Remotes.DataPush:FireServer("Unlock")
  266. end)
  267. end
  268. end)
  269.  
  270. while true do
  271. if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") ~= nil then
  272. local hum = game.Players.LocalPlayer.Character.Humanoid
  273. hum:EquipTool(game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool"))
  274. end
  275.  
  276. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil then
  277. game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):Activate()
  278. end
  279.  
  280. wait(.1)
  281. end
  282. --made by robloxhacker26 (Adel_Bartkh)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement