SHOW:
|
|
- or go back to the newest paste.
1 | wait(1) | |
2 | spawn(function() | |
3 | m = Instance.new("Message", Player.LocalPlayer.PlayerGui) | |
4 | m.Text = "Press Z to use Spirit Bomb. (55 SECOND COOL DOWN)" | |
5 | wait(2) | |
6 | m:remove() | |
7 | end) | |
8 | local Player = game:service("Players").LocalPlayer | |
9 | Backpack = Player.Backpack | |
10 | Me = Backpack.Parent | |
11 | PlayerGui = Me.PlayerGui | |
12 | --Ki = PlayerGui.Bars.Ki | |
13 | --Data = Me.Data | |
14 | Character = Me.Character | |
15 | Humanoid = Character.Humanoid | |
16 | Torso = Character.Torso | |
17 | Head = Character.Head | |
18 | LeftArm = Character["Left Arm"] | |
19 | RightArm = Character["Right Arm"] | |
20 | LeftLeg = Character["Left Leg"] | |
21 | RightLeg = Character["Right Leg"] | |
22 | Neck = Torso.Neck | |
23 | RightShoulder = Torso["Right Shoulder"] | |
24 | LeftShoulder = Torso["Left Shoulder"] | |
25 | RightHip = Torso["Right Hip"] | |
26 | LeftHip = Torso["Left Hip"] | |
27 | local ch = Player.Character | |
28 | local occ = Instance.new("BoolValue", ch) | |
29 | occ.Name = "Occupied" | |
30 | mouse = Me:GetMouse() | |
31 | _mouse = game.Players.LocalPlayer:GetMouse() | |
32 | user = Character | |
33 | NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
34 | NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
35 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
36 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
37 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
38 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
39 | LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
40 | LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
41 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
42 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
43 | ChakraWelds = function() | |
44 | TiltX = 0 | |
45 | TiltY = 0 | |
46 | TiltZ = 1.57 | |
47 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
48 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) | |
49 | TiltX = 0.6 | |
50 | TiltY = 0 | |
51 | TiltZ = 0 | |
52 | MoveX = 0 | |
53 | MoveY = 0 | |
54 | MoveZ = -0.3 | |
55 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
56 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
57 | TiltX = -0.05 | |
58 | TiltY = 0 | |
59 | TiltZ = 0 | |
60 | MoveX = 0 | |
61 | MoveY = 0.1 | |
62 | MoveZ = 0 | |
63 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
64 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
65 | end | |
66 | ||
67 | RefreshWelds = function() | |
68 | Neck.C0 = NeckC0 | |
69 | Neck.C1 = NeckC1 | |
70 | RightShoulder.C0 = RightShoulderC0 | |
71 | RightShoulder.C1 = RightShoulderC1 | |
72 | LeftShoulder.C0 = LeftShoulderC0 | |
73 | LeftShoulder.C1 = LeftShoulderC1 | |
74 | RightHip.C0 = RightHipC0 | |
75 | RightHip.C1 = RightHipC1 | |
76 | LeftHip.C0 = LeftHipC0 | |
77 | LeftHip.C1 = LeftHipC1 | |
78 | end | |
79 | ||
80 | wait(0.1) | |
81 | enabled = true | |
82 | Thing = Character.Occupied | |
83 | onButton1Down = function(mouse) | |
84 | if not enabled then | |
85 | return | |
86 | end | |
87 | local player = Me | |
88 | if player == nil then | |
89 | return | |
90 | end | |
91 | enabled = false | |
92 | local pos = mouse.Hit.p | |
93 | if Thing.Value == false then | |
94 | fir = Instance.new("Fire", Torso) | |
95 | fir.Color = BrickColor.new("Cyan").Color | |
96 | fir.SecondaryColor = BrickColor.new("Cyan").Color | |
97 | Thing.Value = true | |
98 | P = Instance.new("Part", workspace) | |
99 | game.Debris:AddItem(P, 35) | |
100 | P.Anchored = true | |
101 | P.CanCollide = false | |
102 | P.TopSurface = 0 | |
103 | P.BottomSurface = 0 | |
104 | P.Transparency = 1 | |
105 | P.BrickColor = BrickColor.new("Bright blue") | |
106 | P.Material = "Neon" | |
107 | P.FormFactor = "Custom" | |
108 | P.Size = Vector3.new(0.2, 0.2, 0.2) | |
109 | P.CFrame = CFrame.new(user.Torso.CFrame.p) * CFrame.new(0, 10, 0) | |
110 | M = Instance.new("SpecialMesh", P) | |
111 | M.MeshType = "Sphere" | |
112 | bp = Instance.new("BodyPosition", user.Torso) | |
113 | bp.maxForce = Vector3.new(1, 1, 1) / 0 | |
114 | bp.position = user.Torso.Position | |
115 | bg = Instance.new("BodyGyro", user.Torso) | |
116 | bg.maxTorque = bp.maxForce | |
117 | bg.cframe = CFrame.new(bp.position, _mouse.Hit.p) | |
118 | coroutine.resume(coroutine.create(function(Pa) | |
119 | anglespeed = 1.5 | |
120 | angle = 0 | |
121 | while wait(0.05) and P.Anchored do | |
122 | angle = angle % 100 + anglespeed / 10 | |
123 | Pa.Scale = Vector3.new(Pa.Scale.x + math.sin(angle) * 5, Pa.Scale.y + math.sin(angle) * 5, Pa.Scale.z + math.sin(angle) * 5) | |
124 | end | |
125 | end), M) | |
126 | game:GetService("Chat"):Chat(Head, "PLEASE LET ME BORROW YOUR ENERGY!") | |
127 | end | |
128 | do | |
129 | for i = 1, 70 do | |
130 | user.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.Angles(0, 0, i / 70 * math.pi) | |
131 | user.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.Angles(0, 0, -(i / 70) * math.pi) | |
132 | user.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.Angles(0, 0, -(i / 70) / 1.1) | |
133 | user.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.Angles(0, 0, i / 70 / 1.1) | |
134 | bg.cframe = bg.cframe * CFrame.Angles(i / 70 / 1.1 / 70, 0, 0) | |
135 | P.Transparency = -(i / 80) + 1 | |
136 | P.CFrame = P.CFrame * CFrame.new(0, 0.4, 0) | |
137 | M.Scale = M.Scale + Vector3.new(4, 4, 4) | |
138 | wait(0.05) | |
139 | end | |
140 | game:GetService("Chat"):Chat(Head, "HERE WE GO!") | |
141 | fir:Destroy() | |
142 | wait(1) | |
143 | game:GetService("Chat"):Chat(Head, "HAAAAAAA~") | |
144 | for i = 0, 1, 0.05 do | |
145 | user.Torso["Right Shoulder"].C0 = user.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -math.sin(i) * 0.2) | |
146 | user.Torso["Left Shoulder"].C0 = user.Torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, math.sin(i) * 0.2) | |
147 | user.Torso["Right Hip"].C0 = user.Torso["Right Hip"].C0 * CFrame.Angles(0, 0, 0.1) | |
148 | user.Torso["Left Hip"].C0 = user.Torso["Left Hip"].C0 * CFrame.Angles(0, 0, -0.1) | |
149 | bg.cframe = bg.cframe * CFrame.Angles(-0.03, 0, 0) | |
150 | wait(0.04) | |
151 | end | |
152 | bg.cframe = CFrame.new(bp.position, _mouse.Hit.p) | |
153 | b = Instance.new("BodyVelocity", P) | |
154 | b.maxForce = Vector3.new(1, 1, 1) / 0 | |
155 | b.velocity = CFrame.new(P.Position, _mouse.Hit.p).lookVector * 80 | |
156 | P.Anchored = false | |
157 | P.Size = Vector3.new(0.2, 0.2, 0.2) * 70 * 4 | |
158 | M.Scale = Vector3.new(1.1, 1.1, 1.1) | |
159 | coroutine.resume(coroutine.create(function(Pa) | |
160 | anglespeed = 2 | |
161 | angle = 0 | |
162 | while wait(0.05) and P.Parent ~= nil do | |
163 | angle = angle % 100 + anglespeed / 10 | |
164 | Pa.Scale = Vector3.new(Pa.Scale.x + math.sin(angle) * 0.03, Pa.Scale.y + math.sin(angle) * 0.03, Pa.Scale.z + math.sin(angle) * 0.03) | |
165 | end | |
166 | end), M) | |
167 | local deb = false | |
168 | P.Touched:connect(function(hit) | |
169 | if hit.Name == "Deflect" then | |
170 | return | |
171 | end | |
172 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= user and not deb then | |
173 | ehum = hit.Parent:FindFirstChild("Humanoid") | |
174 | deb = true | |
175 | P.Anchored = true | |
176 | lele = game.Players:GetPlayerFromCharacter(ehum.Parent) | |
177 | _G.tag(ehum.Parent) | |
178 | for i = 1, 56 do | |
179 | P.Reflectance = i / 156 | |
180 | if i % 2 == 0 and ehum.Parent ~= nil then | |
181 | ehum:TakeDamage(6.5) | |
182 | end | |
183 | wait(0.05) | |
184 | end | |
185 | if ehum.Parent ~= nil then | |
186 | ehum:TakeDamage(3) | |
187 | end | |
188 | for i = 1, 20 do | |
189 | M.Scale = M.Scale + Vector3.new(0.2, 0.2, 0.2) | |
190 | P.Transparency = i / 20 | |
191 | wait(0.07) | |
192 | end | |
193 | P:remove() | |
194 | end | |
195 | end | |
196 | ) | |
197 | wait(3) | |
198 | bg.cframe = bg.cframe * CFrame.Angles(0.6, 0, 0) | |
199 | bp:Destroy() | |
200 | bg:Destroy() | |
201 | RefreshWelds() | |
202 | Thing.Value = false | |
203 | wait(15) | |
204 | if not deb then | |
205 | for i = 1, 10 do | |
206 | M.Scale = M.Scale + Vector3.new(0.1, 0.1, 0.1) | |
207 | P.Transparency = i / 10 | |
208 | wait(0.07) | |
209 | end | |
210 | P:Destroy() | |
211 | else | |
212 | repeat | |
213 | wait(0.2) | |
214 | until P.Parent == nil | |
215 | for i = 1, 10 do | |
216 | M.Scale = M.Scale + Vector3.new(0.1, 0.1, 0.1) | |
217 | P.Transparency = i / 10 | |
218 | wait(0.07) | |
219 | end | |
220 | P:Destroy() | |
221 | end | |
222 | wait(60) | |
223 | end | |
224 | do | |
225 | enabled = true | |
226 | end | |
227 | end | |
228 | ||
229 | mouse.KeyDown:connect(function(key) | |
230 | if key == "z" then | |
231 | onButton1Down(mouse) | |
232 | end | |
233 | end) |