aiden50_70

Autotrain v2.5

Apr 15th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. --[[
  2. script by tollepuxis
  3. used on dragon ball rage
  4. autosave
  5. auto-ki
  6. auto-combat
  7. keybinds:
  8. Z - Force-Charge
  9. X - Force-Ki
  10. V - Force-Combat
  11. --]]
  12.  
  13. local Player = game:GetService("Players").LocalPlayer
  14. local PlayerGui = Player.PlayerGui
  15. local mouse = Player:GetMouse()
  16. local KiArm = "Right"
  17. function Notify(txt,type)
  18. local tgui = Instance.new("ScreenGui")
  19. local tlabel = Instance.new("TextLabel")
  20. tgui.Parent = game:GetService("CoreGui")
  21. tlabel.Parent = tgui
  22. tlabel.Text = txt
  23. tlabel.Parent = tgui
  24. tlabel.Size = UDim2.new(1,0,.05,0)
  25. tlabel.BackgroundColor3 = Color3.new(.3,.3,.3)
  26. tlabel.TextColor3 = Color3.new(0,1,0)
  27. tlabel.Font = "Code"
  28. tlabel.TextScaled = true
  29. tlabel.Position = UDim2.new(0,0,1,0)
  30. tlabel:TweenPosition(UDim2.new(0,0,.35,0),'InOut','Sine',.5)
  31. tlabel.BackgroundColor3 = Color3.fromRGB(30,30,30)
  32. tlabel.BorderSizePixel = 0
  33. local tfr = Instance.new("Frame",tlabel)
  34. tfr.Size = UDim2.new(1,0,.25,0)
  35. tfr.Position = UDim2.new(0,0,1,0)
  36. tfr.BackgroundColor3 = Color3.fromRGB(20,20,20)
  37. tgui.Name = "Notify"
  38. tfr.BorderSizePixel = 0
  39. local type = type or nil
  40. if type==nil then
  41. tlabel.TextColor3 = Color3.new(0,1,0)
  42. else
  43. tlabel.TextColor3 = Color3.new(1,0,0)
  44. end
  45. game:GetService("Debris"):AddItem(tgui,6)
  46. end
  47. Notify("Loading...")
  48. wait(5)
  49. local IsProto = false
  50. local IsSynapse = false
  51. local IsElysian = false
  52. function CheckExploit()
  53. if is_protosmasher_caller~=nil then
  54. IsProto = true
  55. elseif elysianexecute~=nil then
  56. IsElysian = true
  57. elseif Synapse~=nil then
  58. IsSynapse = true
  59. elseif not is_protosmasher_caller and not Synapse and not elysianexecute then
  60. return false
  61. end
  62. end
  63.  
  64. CheckExploit()
  65. local version = "0.1.41"
  66. if IsProto then
  67. Notify("Loaded ".. version.. " for PROTOSMASHER")
  68. else
  69. Notify("I'm sorry, but this can only be used on PROTOSMASHER.")
  70. end
  71.  
  72. function SaveGame()
  73. local Remote = game.ReplicatedStorage.Remotes.Save
  74. local Result = Remote:InvokeServer()
  75. if Result==true then
  76. Notify("Saved.")
  77. else
  78. Notify("Error while saving on ".. "","Error")
  79. end
  80. end
  81.  
  82. function TypeCombat()
  83. local EventFunc =
  84. {
  85. ["LeftLowerArm"] = Player.Character.LeftLowerArm,
  86. ["RightUpperArm"] = Player.Character.RightUpperArm,
  87. ["LeftFoot"] = Player.Character.LeftFoot,
  88. ["RightHand"] = Player.Character.RightHand,
  89. ["RightLowerArm"] = Player.Character.RightLowerArm,
  90. ["LeftUpperLeg"] = Player.Character.LeftUpperLeg,
  91. ["LeftUpperArm"] = Player.Character.LeftUpperArm,
  92. ["Character"] = Player.Character,
  93. ["LeftHand"] = Player.Character.LeftHand,
  94. ["RightFoot"] = Player.Character.RightFoot,
  95. ["Humanoid"] = Player.Character.Humanoid,
  96. ["RightLowerLeg"] = Player.Character.RightLowerLeg,
  97. ["RightUpperLeg"] = Player.Character.RightUpperLeg,
  98. ["LeftLowerLeg"] = Player.Character.LeftLowerLeg
  99. }
  100. local Event = game:GetService("ReplicatedStorage").Remotes.Training.Combat
  101. Event:InvokeServer(EventFunc)
  102. end
  103.  
  104. function TypeKiBlast()
  105. local EventFunc = KiArm
  106. local Event = game:GetService("ReplicatedStorage").Remotes.Actions.EnergyBlast
  107. Event:InvokeServer(EventFunc)
  108. if KiArm=="Right" then
  109. KiArm="Left"
  110. else
  111. KiArm="Right"
  112. end
  113. end
  114.  
  115. function TypeChargeStart()
  116. local EventFunc1 = Player.Status
  117. local EventFunc2 = Player.Character.UpperTorso
  118. local EventFunc3 = Player.Character.Humanoid
  119. local Event = game:GetService("ReplicatedStorage").Remotes.Training.Charge
  120. Event:InvokeServer(EventFunc1,EventFunc2,EventFunc3)
  121. end
  122.  
  123. function TypeDefense()
  124. local EventFunc1 = Player.Stats
  125. local EventFunc2 = Player.Status
  126. local EventFunc3 = Player.Character.Humanoid
  127. local EventFunc4 = Player.Character.RightHand
  128. local Event = game:GetService("ReplicatedStorage").Remotes.Training.Defense
  129. Event:InvokeServer(EventFunc1, EventFunc2, nil, EventFunc4)
  130. end
  131.  
  132. function TypeChargeEnd()
  133. local Event = game:GetService("ReplicatedStorage").Remotes.Training.ChargeFinish
  134. Event:FireServer()
  135. end
  136. KiBlasting = false--bool
  137. Punching = false --bool
  138. Defense = false --bool
  139. KeyDown = function(key)
  140. key=key:lower()
  141. if key=="z" then
  142. spawn(function() TypeChargeStart() end)
  143. elseif key=="x" then
  144. KiBlasting = true
  145. repeat
  146. spawn(function() TypeKiBlast() end)
  147. wait()
  148. until KiBlasting==false
  149. elseif key=="v" then
  150. Punching=true
  151. repeat
  152. spawn(function() TypeCombat() end)
  153. wait()
  154. until Punching==false
  155. elseif key=="f" then
  156. Defense=true
  157. repeat
  158. spawn(function() TypeDefense() end)
  159. wait()
  160. until Defense==false
  161. end
  162. end
  163.  
  164. KeyUp = function(key)
  165. key=key:lower()
  166. if key=="x" then
  167. KiBlasting=false
  168. elseif key=="v" then
  169. Punching=false
  170. elseif key=="z" then
  171. TypeChargeEnd()
  172. elseif key=="f" then
  173. Defense = false
  174. end
  175. end
  176.  
  177. mouse.KeyDown:Connect(KeyDown)
  178. mouse.KeyUp:Connect(KeyUp)
  179. wait(6)
  180. while true do
  181. SaveGame()
  182. wait(30)
  183. end
Add Comment
Please, Sign In to add comment