SHOW:
|
|
- or go back to the newest paste.
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 | tgui.Name = "Notify" | |
32 | local type = type or nil | |
33 | if type==nil then | |
34 | tlabel.TextColor3 = Color3.new(0,1,0) | |
35 | else | |
36 | tlabel.TextColor3 = Color3.new(1,0,0) | |
37 | end | |
38 | game:GetService("Debris"):AddItem(tgui,6) | |
39 | end | |
40 | Notify("Loading...") | |
41 | wait(5) | |
42 | local IsProto = false | |
43 | local IsSynapse = false | |
44 | local IsElysian = false | |
45 | function CheckExploit() | |
46 | if is_protosmasher_caller~=nil then | |
47 | IsProto = true | |
48 | elseif elysianexecute~=nil then | |
49 | IsElysian = true | |
50 | elseif Synapse~=nil then | |
51 | IsSynapse = true | |
52 | elseif not is_protosmasher_caller and not Synapse and not elysianexecute then | |
53 | return false | |
54 | end | |
55 | end | |
56 | ||
57 | CheckExploit() | |
58 | local version = "0.1.41" | |
59 | if IsProto then | |
60 | Notify("Loaded ".. version.. " for PROTOSMASHER") | |
61 | else | |
62 | Notify("I'm sorry, but this can only be used on PROTOSMASHER.") | |
63 | end | |
64 | ||
65 | function SaveGame() | |
66 | local Remote = game.ReplicatedStorage.Remotes.Save | |
67 | local Result = Remote:InvokeServer() | |
68 | if Result==true then | |
69 | Notify("Saved.") | |
70 | else | |
71 | Notify("Error while saving on ".. "","Error") | |
72 | end | |
73 | end | |
74 | ||
75 | function TypeCombat() | |
76 | local EventFunc = | |
77 | { | |
78 | ["LeftLowerArm"] = Player.Character.LeftLowerArm, | |
79 | ["RightUpperArm"] = Player.Character.RightUpperArm, | |
80 | ["LeftFoot"] = Player.Character.LeftFoot, | |
81 | ["RightHand"] = Player.Character.RightHand, | |
82 | ["RightLowerArm"] = Player.Character.RightLowerArm, | |
83 | ["LeftUpperLeg"] = Player.Character.LeftUpperLeg, | |
84 | ["LeftUpperArm"] = Player.Character.LeftUpperArm, | |
85 | ["Character"] = Player.Character, | |
86 | ["LeftHand"] = Player.Character.LeftHand, | |
87 | ["RightFoot"] = Player.Character.RightFoot, | |
88 | ["Humanoid"] = Player.Character.Humanoid, | |
89 | ["RightLowerLeg"] = Player.Character.RightLowerLeg, | |
90 | ["RightUpperLeg"] = Player.Character.RightUpperLeg, | |
91 | ["LeftLowerLeg"] = Player.Character.LeftLowerLeg | |
92 | } | |
93 | local Event = game:GetService("ReplicatedStorage").Remotes.Training.Combat | |
94 | Event:InvokeServer(EventFunc) | |
95 | end | |
96 | ||
97 | function TypeKiBlast() | |
98 | local EventFunc = KiArm | |
99 | local Event = game:GetService("ReplicatedStorage").Remotes.Actions.EnergyBlast | |
100 | Event:InvokeServer(EventFunc) | |
101 | if KiArm=="Right" then | |
102 | KiArm="Left" | |
103 | else | |
104 | KiArm="Right" | |
105 | end | |
106 | end | |
107 | ||
108 | function TypeChargeStart() | |
109 | local EventFunc1 = Player.Status | |
110 | local EventFunc2 = Player.Character.UpperTorso | |
111 | local EventFunc3 = Player.Character.Humanoid | |
112 | local Event = game:GetService("ReplicatedStorage").Remotes.Training.Charge | |
113 | Event:InvokeServer(EventFunc1,EventFunc2,EventFunc3) | |
114 | end | |
115 | ||
116 | function TypeDefense() | |
117 | local EventFunc1 = Player.Stats | |
118 | local EventFunc2 = Player.Status | |
119 | local EventFunc3 = Player.Character.Humanoid | |
120 | local EventFunc4 = Player.Character.RightHand | |
121 | local Event = game:GetService("ReplicatedStorage").Remotes.Training.Defense | |
122 | Event:InvokeServer(A_1, A_2, A_3, A_4) | |
123 | end | |
124 | ||
125 | function TypeChargeEnd() | |
126 | local Event = game:GetService("ReplicatedStorage").Remotes.Training.ChargeFinish | |
127 | Event:FireServer() | |
128 | end | |
129 | KiBlasting = false--bool | |
130 | Punching = false --bool | |
131 | Defense = false --bool | |
132 | KeyDown = function(key) | |
133 | key=key:lower() | |
134 | if key=="z" then | |
135 | TypeChargeStart() | |
136 | elseif key=="x" then | |
137 | KiBlasting = true | |
138 | repeat | |
139 | TypeKiBlast() | |
140 | wait() | |
141 | until KiBlasting==false | |
142 | elseif key=="v" then | |
143 | Punching=true | |
144 | repeat | |
145 | TypeCombat() | |
146 | wait() | |
147 | until Punching==false | |
148 | elseif key=="f" then | |
149 | Defense=true | |
150 | repeat | |
151 | TypeDefense() | |
152 | wait() | |
153 | until Defense==false | |
154 | end | |
155 | end | |
156 | ||
157 | KeyUp = function(key) | |
158 | key=key:lower() | |
159 | if key=="x" then | |
160 | KiBlasting=false | |
161 | elseif key=="v" then | |
162 | Punching=false | |
163 | elseif key=="z" then | |
164 | TypeChargeEnd() | |
165 | elseif key=="f" then | |
166 | Defense = false | |
167 | end | |
168 | end | |
169 | ||
170 | mouse.KeyDown:Connect(KeyDown) | |
171 | mouse.KeyUp:Connect(KeyUp) | |
172 | wait(6) | |
173 | while true do | |
174 | SaveGame() | |
175 | wait(30) | |
176 | end |