SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | - | local Player = game.Players.LocalPlayer |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | local Player = owner | |
85 | local Character = game.Players.LocalPlayer.Character | |
86 | local Create = LoadLibrary("RbxUtility").Create | |
87 | CFuncs = { | |
88 | ||
89 | ||
90 | ||
91 | ||
92 | ["Weld"] = { | |
93 | Create = function(Parent, Part0, Part1, C0, C1) | |
94 | local Weld = Create("Weld"){ | |
95 | Parent = Parent, | |
96 | Part0 = Part0, | |
97 | Part1 = Part1, | |
98 | C0 = C0, | |
99 | C1 = C1, | |
100 | } | |
101 | return Weld | |
102 | end; | |
103 | }; | |
104 | ||
105 | ["Sound"] = { | |
106 | Create = function(id, par, vol, pit) | |
107 | coroutine.resume(coroutine.create(function() | |
108 | local S = Create("Sound"){ | |
109 | Volume = vol, | |
110 | Pitch = pit or 1, | |
111 | SoundId = id, | |
112 | Parent = par or workspace, | |
113 | } | |
114 | wait() | |
115 | S:play() | |
116 | game:GetService("Debris"):AddItem(S, 6) | |
117 | end)) | |
118 | end; | |
119 | }; | |
120 | ||
121 | ["ParticleEmitter"] = { | |
122 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
123 | local fp = Create("ParticleEmitter"){ | |
124 | Parent = Parent, | |
125 | Color = ColorSequence.new(Color1, Color2), | |
126 | LightEmission = LightEmission, | |
127 | Size = Size, | |
128 | Texture = Texture, | |
129 | Transparency = Transparency, | |
130 | ZOffset = ZOffset, | |
131 | Acceleration = Accel, | |
132 | Drag = Drag, | |
133 | LockedToPart = LockedToPart, | |
134 | VelocityInheritance = VelocityInheritance, | |
135 | EmissionDirection = EmissionDirection, | |
136 | Enabled = Enabled, | |
137 | Lifetime = LifeTime, | |
138 | Rate = Rate, | |
139 | Rotation = Rotation, | |
140 | RotSpeed = RotSpeed, | |
141 | Speed = Speed, | |
142 | VelocitySpread = VelocitySpread, | |
143 | } | |
144 | return fp | |
145 | end; | |
146 | }; | |
147 | ||
148 | CreateTemplate = { | |
149 | ||
150 | }; | |
151 | } | |
152 | ||
153 | ||
154 | ||
155 | New = function(Object, Parent, Name, Data) | |
156 | local Object = Instance.new(Object) | |
157 | for Index, Value in pairs(Data or {}) do | |
158 | Object[Index] = Value | |
159 | end | |
160 | Object.Parent = Parent | |
161 | Object.Name = Name | |
162 | return Object | |
163 | end | |
164 | ||
165 | ||
166 | CV="Really black" | |
167 | ArtificialHB = Create("BindableEvent", script){ | |
168 | Parent = script, | |
169 | Name = "Heartbeat", | |
170 | } | |
171 | ||
172 | function swait(num) | |
173 | if num == 0 or num == nil then | |
174 | ArtificialHB.Event:wait() | |
175 | else | |
176 | for i = 0, num do | |
177 | ArtificialHB.Event:wait() | |
178 | end | |
179 | end | |
180 | end | |
181 | ||
182 | function chatfunc(text) | |
183 | local chat = coroutine.wrap(function() | |
184 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
185 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
186 | end | |
187 | local naeeym2 = Instance.new("BillboardGui",Character) | |
188 | naeeym2.Size = UDim2.new(0,100,0,40) | |
189 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
190 | naeeym2.Adornee = Character.Head | |
191 | naeeym2.Name = "TalkingBillBoard" | |
192 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
193 | tecks2.BackgroundTransparency = 1 | |
194 | tecks2.BorderSizePixel = 0 | |
195 | tecks2.Text = "" | |
196 | tecks2.Font = "Fantasy" | |
197 | tecks2.TextSize = 30 | |
198 | tecks2.TextStrokeTransparency = 0 | |
199 | tecks2.TextColor3 = Color3.new(0,0,0) | |
200 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
201 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
202 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
203 | tecks3.BackgroundTransparency = 1 | |
204 | tecks3.BorderSizePixel = 0 | |
205 | tecks3.Text = "" | |
206 | tecks3.Font = "Fantasy" | |
207 | tecks3.TextSize = 30 | |
208 | tecks3.TextStrokeTransparency = 0 | |
209 | tecks3.TextColor3 = Color3.new(0,0,0) | |
210 | tecks3.TextStrokeColor3 = Color3.new(255,255,255) | |
211 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
212 | for i = 1,string.len(text),1 do | |
213 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, 6, .8) | |
214 | tecks2.Text = string.sub(text,1,i) | |
215 | tecks3.Text = string.sub(text,1,i) | |
216 | wait(0.01) | |
217 | end | |
218 | wait(2) | |
219 | for i = 1, 50 do | |
220 | swait() | |
221 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
222 | tecks2.Rotation = tecks2.Rotation - .8 | |
223 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
224 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
225 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
226 | tecks3.Rotation = tecks2.Rotation + .8 | |
227 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
228 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
229 | end | |
230 | naeeym2:Destroy() | |
231 | end) | |
232 | chat() | |
233 | ||
234 | end | |
235 | function onChatted(msg) | |
236 | chatfunc(msg) | |
237 | ||
238 | end | |
239 | Player.Chatted:connect(onChatted) | |
240 | ||
241 | abss = Instance.new("BillboardGui",Character) | |
242 | abss.Size = UDim2.new(10,0,10,0) | |
243 | abss.Enabled = false | |
244 | abss.Name = "ROCKYMOUNT" | |
245 | imgl = Instance.new("ImageLabel",abss) | |
246 | imgl.Position = UDim2.new(0,0,0,0) | |
247 | imgl.Size = UDim2.new(1,0,1,0) | |
248 | imgl.Image = "rbxassetid://711463989" | |
249 | imgl.BackgroundTransparency = 1 | |
250 | imgl.ImageColor3 = Color3.new(0,255,255) | |
251 | img2 = Instance.new("ImageLabel",abss) | |
252 | img2.Position = UDim2.new(0,0,0,0) | |
253 | img2.Size = UDim2.new(1,0,1,0) | |
254 | img2.Image = "rbxassetid://711463989" | |
255 | img2.BackgroundTransparency = 1 | |
256 | img2.ImageColor3 = Color3.new(0,255,255) | |
257 | ||
258 | ||
259 | ||
260 | ||
261 | local lolf = true | |
262 | local shake = false | |
263 | local go2 = false | |
264 | local up = 0 | |
265 | local grab2 = false | |
266 | local pushed = false | |
267 | base = Instance.new("Part",workspace) | |
268 | base.Name = "Base" | |
269 | base.Transparency = 1 | |
270 | z42d = Instance.new("Sound",game.Players.LocalPlayer.Character) | |
271 | z42d.Volume = 50 | |
272 | z42d.Looped = true | |
273 | z42d.SoundId = "rbxassetid://470279287" | |
274 | z42d:Play() | |
275 | local jk = false | |
276 | local kiout = false | |
277 | local rl = true | |
278 | ll = 0 | |
279 | local combodamage = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e+999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
280 | local can = 5 | |
281 | local lolwait = 3 | |
282 | local auracan3 = true | |
283 | local auracan1 = true | |
284 | local darius1 = true | |
285 | local ki = true | |
286 | local darius = true | |
287 | local kamecolor = "Hot pink" | |
288 | z42 = Instance.new("Sound",game.Players.LocalPlayer.Character) | |
289 | z42.Volume = 20 | |
290 | z42.Looped = false | |
291 | z42.SoundId = "rbxassetid://863808186" | |
292 | local clickon = false | |
293 | local beamknockback = 0 | |
294 | local beamdamage = 0.001 | |
295 | local hited1 = false | |
296 | local hited = false | |
297 | local kamesize = 1 | |
298 | local kamehameha = false | |
299 | local walksound = "rbxassetid://908473722" | |
300 | local moving = false | |
301 | local poon = false | |
302 | ||
303 | local v3 = Vector3.new | |
304 | divine = Instance.new("Part",game.Players.LocalPlayer.Character) | |
305 | - | local player=game:service'Players'.LocalPlayer |
305 | + | |
306 | divine.Position = v3(5,50,5) | |
307 | ||
308 | - | local mouse=player:GetMouse() |
308 | + | |
309 | divine.Transparency = 1 | |
310 | divinemesh = Instance.new("SpecialMesh",divine) | |
311 | divinemesh.MeshType = "Sphere" | |
312 | divinemesh.Scale = v3(1,1,1) | |
313 | ||
314 | ||
315 | ||
316 | ------------------------------------------------------------------ | |
317 | divine2 = Instance.new("Part",game.Players.LocalPlayer.Character) | |
318 | divine2.Size = Vector3.new(0.5,0.5,3) | |
319 | divine2.Position = v3(5,5,5) | |
320 | ||
321 | divine2.BrickColor = BrickColor.new("Pink") | |
322 | divine2.Transparency = 1 | |
323 | divinemesh = Instance.new("SpecialMesh",divine2) | |
324 | divinemesh.MeshType = "Sphere" | |
325 | divinemesh.Scale = v3(1,1,1) | |
326 | ||
327 | ||
328 | ||
329 | ------------------------------------------------------------------ | |
330 | divine3 = Instance.new("Part",game.Players.LocalPlayer.Character) | |
331 | divine3.Size = Vector3.new(0.5,0.5,3) | |
332 | divine3.Position = v3(5,8,5) | |
333 | ||
334 | divine3.BrickColor = BrickColor.new("Pink") | |
335 | divine3.Transparency = 1 | |
336 | divinemesh = Instance.new("SpecialMesh",divine3) | |
337 | divinemesh.MeshType = "Sphere" | |
338 | divinemesh.Scale = v3(1,1,1) | |
339 | ||
340 | ||
341 | ||
342 | ------------------------------------------------------------------ | |
343 | divine4 = Instance.new("Part",game.Players.LocalPlayer.Character) | |
344 | divine4.Size = Vector3.new(0.5,0.5,3) | |
345 | divine4.Position = v3(5,3,5) | |
346 | ||
347 | divine4.BrickColor = BrickColor.new("Pink") | |
348 | divine4.Transparency = 1 | |
349 | divinemesh = Instance.new("SpecialMesh",divine4) | |
350 | divinemesh.MeshType = "Sphere" | |
351 | divinemesh.Scale = v3(1,1,1) | |
352 | ||
353 | ||
354 | ||
355 | ------------------------------------------------------------------ | |
356 | divine5 = Instance.new("Part",game.Players.LocalPlayer.Character) | |
357 | divine5.Size = Vector3.new(0.5,0.5,3) | |
358 | divine5.Position = v3(5,55,5) | |
359 | ||
360 | divine5.BrickColor = BrickColor.new("Pink") | |
361 | divine5.Transparency = 1 | |
362 | divinemesh = Instance.new("SpecialMesh",divine5) | |
363 | divinemesh.MeshType = "Sphere" | |
364 | divinemesh.Scale = v3(1,1,1) | |
365 | ||
366 | ||
367 | ||
368 | ------------------------------------------------------------------ | |
369 | divine6 = Instance.new("Part",game.Players.LocalPlayer.Character) | |
370 | divine6.Size = Vector3.new(0.5,0.5,3) | |
371 | divine6.Position = v3(5,5,5) | |
372 | ||
373 | divine6.BrickColor = BrickColor.new("Pink") | |
374 | divine6.Transparency = 1 | |
375 | divinemesh = Instance.new("SpecialMesh",divine6) | |
376 | divinemesh.MeshType = "Sphere" | |
377 | divinemesh.Scale = v3(1,1,1) | |
378 | ||
379 | ||
380 | local new=Instance.new | |
381 | local rad=math.rad | |
382 | local cf=CFrame.new | |
383 | local v3=Vector3.new | |
384 | local ang=function(x,y,z) | |
385 | return CFrame.Angles(rad(x),rad(y),rad(z)) | |
386 | end | |
387 | local player=owner | |
388 | local char=player.Character | |
389 | local cam=workspace.Camera | |
390 | local weld=function(a,b,c0,c1) | |
391 | m=Instance.new('Motor',a) | |
392 | m.Part0=a | |
393 | m.Part1=b | |
394 | m.C0=c0 | |
395 | m.C1=c1 | |
396 | return m | |
397 | end | |
398 | ||
399 | ||
400 | beamm=Instance.new('Model',workspace) | |
401 | beamm.Name='beam' | |
402 | ||
403 | laser=false | |
404 | ||
405 | rs=Instance.new('Part',char) | |
406 | rs.Transparency=1 | |
407 | rs.CanCollide=false | |
408 | rs.TopSurface,rs.BottomSurface=0,0 | |
409 | rs.FormFactor=3 | |
410 | rs.Size=Vector3.new(.5,.5,.5) | |
411 | ||
412 | ls=rs:Clone() | |
413 | ls.Parent=char | |
414 | ||
415 | ||
416 | ||
417 | s1=Instance.new('Sound',char) | |
418 | s1.Volume=1 | |
419 | s1.Pitch=1 | |
420 | s1.Looped=true | |
421 | ||
422 | ||
423 | particles={} | |
424 | ||
425 | local wep=new('Part',char) | |
426 | ||
427 | wep.FormFactor=3 | |
428 | wep.Transparency = 1 | |
429 | wep.CanCollide=false | |
430 | wep.Size=v3(0.1,0.1,0.1) | |
431 | wep.TopSurface,wep.BottomSurface=0,0 | |
432 | local wepw=weld(wep,char['Torso'],cf(0,2,0),ang(95,0,0)) | |
433 | ||
434 | ||
435 | local beam1=wep:Clone() | |
436 | beam1:ClearAllChildren() | |
437 | beam1.Material='Neon' | |
438 | beam1.BrickColor=BrickColor.new(kamecolor) | |
439 | beam1.Color = Color3.fromRGB(35,0,53) | |
440 | beam1.Size=Vector3.new(1,1,1) | |
441 | beam1.Transparency=0 | |
442 | beam1.Anchored=true | |
443 | local ms=Instance.new('BlockMesh',beam1) | |
444 | local inner1=beam1:Clone() | |
445 | inner1.Transparency=1 | |
446 | inner1.Material='SmoothPlastic' | |
447 | inner1.BrickColor=BrickColor.new(kamecolor) | |
448 | inner1.Color = Color3.fromRGB(35,0,53) | |
449 | local ms2=inner1.Mesh | |
450 | ||
451 | local expl1=inner1:Clone() | |
452 | expl1.Mesh:Destroy() | |
453 | expl1.Material='Neon' | |
454 | expl1.BrickColor=BrickColor.new(kamecolor) | |
455 | expl1.Color = Color3.fromRGB(35,0,53) | |
456 | expl1.Size=Vector3.new(1,1,1) | |
457 | expl1.Transparency=0 | |
458 | pl=Instance.new('PointLight',expl1) | |
459 | pl.Color=expl1.BrickColor.Color | |
460 | pl.Range=pl.Range*2 | |
461 | pl.Name='light' | |
462 | local br=pl.Range | |
463 | ||
464 | local exa1=expl1:Clone() | |
465 | exa1.Size=Vector3.new(1,1,1) | |
466 | pl2=exa1.light | |
467 | ||
468 | local part=exa1:Clone() | |
469 | part.Size=Vector3.new(1.5,1.5,1.5) | |
470 | pl3=part.light | |
471 | pms=Instance.new('BlockMesh',part) | |
472 | ||
473 | char.Humanoid.Died:connect(function() | |
474 | laser=false | |
475 | beam1.Parent=nil | |
476 | inner1.Parent=nil | |
477 | expl1.Parent=nil | |
478 | exa1.Parent=nil | |
479 | s1:stop() | |
480 | end) | |
481 | ||
482 | ||
483 | ||
484 | parti=0 | |
485 | game:service'RunService'.Stepped:connect(function() | |
486 | parti=parti+1 | |
487 | for i,v in pairs(particles) do | |
488 | v.CFrame=v.CFrame*CFrame.new(0,0,-.3) | |
489 | v.Transparency=v.Transparency+.08 | |
490 | if v.Transparency >= 1 then | |
491 | v:Destroy() | |
492 | table.remove(particles,i) | |
493 | else | |
494 | v.Parent=beamm | |
495 | end | |
496 | end | |
497 | ||
498 | a=cam.CoordinateFrame.p | |
499 | b=mouse.Hit.p | |
500 | mhitr=Ray.new(a,(b-a).unit*999) | |
501 | mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm}) | |
502 | ||
503 | ||
504 | if laser then | |
505 | beamm.Parent=workspace | |
506 | beam1.Parent=beamm | |
507 | inner1.Parent=beamm | |
508 | expl1.Parent=beamm | |
509 | exa1.Parent=beamm | |
510 | s1.Volume=s1.Volume-0.0034 | |
511 | ||
512 | ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999) | |
513 | hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm}) | |
514 | ||
515 | if hit and s1.Volume > .3 and parti/8==math.floor(parti/8) then | |
516 | ||
517 | if hit.Parent:IsA("Model") and hit ~= workspace.Base then | |
518 | hit.Parent:BreakJoints() | |
519 | ||
520 | wait() | |
521 | end | |
522 | if hit.Parent:IsA("Part") and hit ~= workspace.Base then | |
523 | hit.Anchored = false | |
524 | hit.Position = hit.Position + Vector3.new(0,1,0) | |
525 | block = Instance.new("BodyForce",hit) | |
526 | block.Force = beam1.CFrame.lookVector | |
527 | s1.Volume=s1.Volume+0.0034 | |
528 | ||
529 | hit.Position = hit.Position + Vector3.new(0,1,0) | |
530 | block = Instance.new("BodyForce",hit) | |
531 | block.Force = beam1.CFrame.lookVector | |
532 | ||
533 | end | |
534 | end | |
535 | ||
536 | if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then | |
537 | e=Instance.new('Explosion',workspace) | |
538 | e.Position=pos | |
539 | e.BlastRadius=14 | |
540 | e.BlastPressure=1e4 | |
541 | end | |
542 | if hit and not hit.Anchored and not (hit:GetMass()>1e4) then | |
543 | hit.Velocity=hit.Velocity+beam1.CFrame.lookVector*(1*s1.Volume*hit:GetMass()) | |
544 | end | |
545 | ||
546 | if parti==math.floor(parti) then | |
547 | par=part:Clone() | |
548 | table.insert(particles,par) | |
549 | par.Parent=beamm | |
550 | par.Transparency=1-s1.Volume | |
551 | par.light.Range=br*s1.Volume | |
552 | par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(10,10,10) | |
553 | end | |
554 | ||
555 | mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude | |
556 | ms.Scale=v3(s1.Volume,s1.Volume,mag) | |
557 | ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag)) | |
558 | beam1.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180)) | |
559 | inner1.CFrame=beam1.CFrame | |
560 | pl.Range=br*s1.Volume | |
561 | pl2.Range=br*s1.Volume | |
562 | ||
563 | expl1.Transparency=0 | |
564 | expl1.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
565 | ||
566 | exa1.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
567 | ||
568 | end | |
569 | end) | |
570 | ||
571 | local base = true | |
572 | local ssjr = false | |
573 | local down2 = false | |
574 | local ok = 0 | |
575 | local lala = false | |
576 | local walkon = false | |
577 | local idle = true | |
578 | local idle1 = true | |
579 | local canattack = true | |
580 | local nohit = 0 | |
581 | local p = game.Players.LocalPlayer | |
582 | local char = p.Character | |
583 | local mouse = p:GetMouse() | |
584 | local larm = char["Left Arm"] | |
585 | local rarm = char["Right Arm"] | |
586 | local lleg = char["Left Leg"] | |
587 | local rleg = char["Right Leg"] | |
588 | local hed = char.Head | |
589 | local torso = char.Torso | |
590 | zwc = Instance.new("Sound",torso) | |
591 | zwc.Volume = 1 | |
592 | zwc.Looped = false | |
593 | zwc.SoundId = "rbxassetid://137579113" | |
594 | local hum = char.Humanoid | |
595 | hum.Name = "loldar" | |
596 | local cam = game.Workspace.CurrentCamera | |
597 | local root = char.HumanoidRootPart | |
598 | local deb = false | |
599 | local shot = 0 | |
600 | local walk = true | |
601 | local debris=game:service"Debris" | |
602 | local l = game:GetService("Lighting") | |
603 | local rs = game:GetService("RunService").RenderStepped | |
604 | local canattack = true | |
605 | hed.face.Texture = "http://www.roblox.com/asset/?id=665350491" | |
606 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
607 | function lerp(a, b, t) -- Linear interpolation | |
608 | return a + (b - a)*t | |
609 | end | |
610 | ||
611 | function slerp(a, b, t) --Spherical interpolation | |
612 | dot = a:Dot(b) | |
613 | if dot > 0.99999 or dot < -0.99999 then | |
614 | return t <= 0.5 and a or b | |
615 | else | |
616 | r = math.acos(dot) | |
617 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
618 | end | |
619 | end | |
620 | function matrixInterpolate(a, b, t) | |
621 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
622 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
623 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
624 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
625 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
626 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
627 | local t = v1:Dot(v2) | |
628 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
629 | return CFrame.new() | |
630 | end | |
631 | return CFrame.new( | |
632 | v0.x, v0.y, v0.z, | |
633 | v1.x, v1.y, v1.z, | |
634 | v2.x, v2.y, v2.z, | |
635 | v3.x, v3.y, v3.z) | |
636 | end | |
637 | ---------------------------------------------------- | |
638 | function genWeld(a,b) | |
639 | local w = Instance.new("Weld",a) | |
640 | w.Part0 = a | |
641 | w.Part1 = b | |
642 | return w | |
643 | end | |
644 | function weld(a, b) | |
645 | local weld = Instance.new("Weld") | |
646 | weld.Name = "W" | |
647 | weld.Part0 = a | |
648 | weld.Part1 = b | |
649 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
650 | weld.Parent = a | |
651 | return weld; | |
652 | end | |
653 | ---------------------------------------------------- | |
654 | function Lerp(c1,c2,al) | |
655 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
656 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
657 | for i,v in pairs(com1) do | |
658 | com1[i] = v+(com2[i]-v)*al | |
659 | end | |
660 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
661 | end | |
662 | ---------------------------------------------------- | |
663 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
664 | local wld = Instance.new("Weld", wp1) | |
665 | wld.Part0 = wp0 | |
666 | wld.Part1 = wp1 | |
667 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
668 | end | |
669 | hum.MaxHealth = math.huge | |
670 | wait() | |
671 | hum.Health = math.huge | |
672 | ---------------------------------------------------- | |
673 | function weld5(part0, part1, c0, c1) | |
674 | weeld=Instance.new("Weld", part0) | |
675 | weeld.Part0=part0 | |
676 | weeld.Part1=part1 | |
677 | weeld.C0=c0 | |
678 | weeld.C1=c1 | |
679 | return weeld | |
680 | end | |
681 | ---------------------------------------------------- | |
682 | function HasntTouched(plrname) | |
683 | local ret = true | |
684 | for _, v in pairs(Touche) do | |
685 | if v == plrname then | |
686 | ret = false | |
687 | end | |
688 | end | |
689 | return ret | |
690 | end | |
691 | newWeld(torso, larm, -1.5, 0.5, 0) | |
692 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
693 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
694 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
695 | newWeld(torso, hed, 0, 1.5, 0) | |
696 | newWeld(torso, lleg, -0.5, -1, 0) | |
697 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
698 | newWeld(torso, rleg, 0.5, -1, 0) | |
699 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
700 | newWeld(root, torso, 0, -1, 0) | |
701 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
702 | GroundWave1 = function() | |
703 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
704 | ||
705 | local wave = Instance.new("Part", torso) | |
706 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
707 | wave.Anchored = true | |
708 | wave.CanCollide = false | |
709 | wave.Locked = true | |
710 | wave.Size = Vector3.new(1, 1, 1) | |
711 | wave.TopSurface = "Smooth" | |
712 | wave.BottomSurface = "Smooth" | |
713 | wave.Transparency = 0.35 | |
714 | wave.CFrame = HandCF | |
715 | wm = Instance.new("SpecialMesh", wave) | |
716 | wm.MeshId = "rbxassetid://3270017" | |
717 | coroutine.wrap(function() | |
718 | for i = 1, 30, 1 do | |
719 | wm.Scale = Vector3.new(3 + i*3.2, 3 + i*3.2, 3) | |
720 | wave.Size = wm.Scale | |
721 | wave.CFrame = HandCF | |
722 | wave.Transparency = i/30 | |
723 | wait() | |
724 | end | |
725 | wait() | |
726 | wave:Destroy() | |
727 | end)() | |
728 | end | |
729 | function stance1() | |
730 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(15),math.rad(0)), 0.1)--head | |
731 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)), 1)--torso | |
732 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(12),math.rad(15),math.rad(30)), 0.1)--arm | |
733 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(12),math.rad(15),math.rad(-30)), 0.1)--arm | |
734 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(10)), 0.1)--leg | |
735 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(-40), math.rad(-5)), 0.1)--leg | |
736 | end | |
737 | ------------------------------------------------------------- | |
738 | function stance2() | |
739 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.1)--head | |
740 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.1)--torso | |
741 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.3,-0.5)*CFrame.Angles(math.rad(160),math.rad(210),math.rad(0)), 0.1)--rarm | |
742 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(0)), 0.1)--larm | |
743 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, .2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)--lleg | |
744 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(20)), 0.1)--rleg | |
745 | ||
746 | end | |
747 | ---------------------------------------------------------- | |
748 | z41 = Instance.new("Sound",torso) | |
749 | z41.Volume = 20 | |
750 | z41.Looped = false | |
751 | z41.SoundId = "rbxassetid://863807725" | |
752 | z412 = Instance.new("Sound",torso) | |
753 | z412.Volume = 20 | |
754 | z412.Looped = false | |
755 | z412.SoundId = "rbxassetid://895090420" | |
756 | z4122 = Instance.new("Sound",torso) | |
757 | z4122.Volume = 20 | |
758 | z4122.Looped = false | |
759 | z4122.SoundId = "rbxassetid://897147945" | |
760 | function swing1() | |
761 | for i = 1, 5 do | |
762 | wait() | |
763 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
764 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
765 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-70)), 0.4)--arm | |
766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
767 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4)--leg | |
768 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)--leg | |
769 | end | |
770 | ||
771 | z41:Play() | |
772 | for i = 1, 5 do | |
773 | wait() | |
774 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
775 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
776 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(60)), 0.4)--arm | |
777 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
778 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
779 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)--leg | |
780 | end | |
781 | end | |
782 | function swing11() | |
783 | for i = 1, 5 do | |
784 | wait() | |
785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
786 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
787 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-70)), 0.4)--arm | |
788 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
789 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4)--leg | |
790 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)--leg | |
791 | end | |
792 | ||
793 | z412:Play() | |
794 | for i = 1, 5 do | |
795 | wait() | |
796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
798 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(60)), 0.4)--arm | |
799 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
800 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
801 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)--leg | |
802 | end | |
803 | end | |
804 | ------------------------------------------------------------------------------------------------ | |
805 | function swing2() | |
806 | for i = 1, 5 do | |
807 | wait() | |
808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
809 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.4)--torso | |
810 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-200),math.rad(0),math.rad(30)), 0.4)--arm | |
811 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
812 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
813 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)--leg | |
814 | end | |
815 | ||
816 | z41:Play() | |
817 | for i = 1, 5 do | |
818 | wait() | |
819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(-10),math.rad(0)), 0.4)--head | |
820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.4)--torso | |
821 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.3,-.4)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(-50)), 0.4)--arm | |
822 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.4)--arm | |
823 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-10)), 0.4)--leg | |
824 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(0), math.rad(0)), 0.4)--leg | |
825 | end | |
826 | end | |
827 | ----------------------------------------------------------------------------------------------- | |
828 | function swing3() | |
829 | ||
830 | z41:Play() | |
831 | for i = 1, 7 do | |
832 | wait() | |
833 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
834 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
835 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)), 0.4)--arm | |
836 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
837 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.4)--leg | |
838 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)--leg | |
839 | torso.CFrame = torso.CFrame * CFrame.Angles(0,-.928,0)+ Vector3.new(0,5,0) | |
840 | ||
841 | end | |
842 | ||
843 | end | |
844 | ------------------------------------------------------------------------------------------------ | |
845 | function firstswing() | |
846 | for i = 1, 10 do | |
847 | wait() | |
848 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
849 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
850 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-70)), 0.4)--arm | |
851 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
852 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
853 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)--leg | |
854 | end | |
855 | ||
856 | for i = 1, 10 do | |
857 | wait() | |
858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
859 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
860 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(40)), 0.4)--arm | |
861 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
862 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
863 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.4)--leg | |
864 | end | |
865 | end | |
866 | function flytowards() | |
867 | for i = 1, 5 do | |
868 | wait() | |
869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--head | |
870 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.4)--torso | |
871 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.4)--arm | |
872 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.4)--arm | |
873 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
874 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)--leg | |
875 | end | |
876 | end | |
877 | function swings() | |
878 | for i = 1, 5 do | |
879 | wait() | |
880 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.4)--head | |
881 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
882 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,-1)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-70)), 0.4)--arm | |
883 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.4)--arm | |
884 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
885 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)--leg | |
886 | end | |
887 | ||
888 | ||
889 | for i = 1, 5 do | |
890 | wait() | |
891 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
892 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(30)), 0.4)--arm | |
894 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
895 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
896 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.4)--leg | |
897 | end | |
898 | z42:Play() | |
899 | end | |
900 | ----------------------------------------------- | |
901 | function divineswinging() | |
902 | shot1 = true | |
903 | for i = 1, 4 do | |
904 | wait() | |
905 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
906 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-1)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-120)), 0.8)--arm | |
908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.8)--arm | |
909 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--leg | |
910 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.8)--leg | |
911 | end | |
912 | z42:Play() | |
913 | for i = 1, 4 do | |
914 | wait() | |
915 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
916 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
917 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(120)), 0.8)--arm | |
918 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.8)--arm | |
919 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.8)--leg | |
920 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(10)), 0.8)--leg | |
921 | end | |
922 | z42:Play() | |
923 | for i = 1, 4 do | |
924 | wait() | |
925 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(-10),math.rad(0)), 0.4)--head | |
926 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.4)--torso | |
927 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.3,-.4)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(-50)), 0.4)--arm | |
928 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.4)--arm | |
929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-10)), 0.4)--leg | |
930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(0), math.rad(0)), 0.4)--leg | |
931 | end | |
932 | z42:Play() | |
933 | for i = 1, 4 do | |
934 | wait() | |
935 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
936 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
937 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-1)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-120)), 0.8)--arm | |
938 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.8)--arm | |
939 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--leg | |
940 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.8)--leg | |
941 | end | |
942 | z42:Play() | |
943 | for i = 1, 4 do | |
944 | wait() | |
945 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
946 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
947 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(120)), 0.8)--arm | |
948 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.8)--arm | |
949 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.8)--leg | |
950 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(10)), 0.8)--leg | |
951 | end | |
952 | z42:Play() | |
953 | for i = 1, 4 do | |
954 | wait() | |
955 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
956 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
957 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-1)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-120)), 0.8)--arm | |
958 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.8)--arm | |
959 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--leg | |
960 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.8)--leg | |
961 | end | |
962 | z42:Play() | |
963 | z4122:Play() | |
964 | for i = 1, 4 do | |
965 | wait() | |
966 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
967 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
968 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(30)), 0.4)--arm | |
969 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
970 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
971 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.4)--leg | |
972 | end | |
973 | ||
974 | end | |
975 | ----------------------------------------------------------------------------------------- | |
976 | function divineend() | |
977 | ||
978 | for i = 1, 7 do | |
979 | wait() | |
980 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
981 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
982 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)), 0.4)--arm | |
983 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
984 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.4)--leg | |
985 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)--leg | |
986 | torso.CFrame = torso.CFrame * CFrame.Angles(0,.88,0) | |
987 | end | |
988 | wait(0.5) | |
989 | for i = 1, 7 do | |
990 | wait() | |
991 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
992 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
993 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)), 0.4)--arm | |
994 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
995 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.4)--leg | |
996 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)--leg | |
997 | torso.CFrame = torso.CFrame * CFrame.Angles(0,.88,0) | |
998 | end | |
999 | kiweld7.C0 = CFrame.new(-1.7,-3,0) * CFrame.Angles(rad(180),rad(0),rad(40)) | |
1000 | for i = 1, 15 do | |
1001 | wait() | |
1002 | ||
1003 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(60),math.rad(0)), 0.4)--head | |
1004 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.4)--torso | |
1005 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,1.5,-0.3)*CFrame.Angles(math.rad(190),math.rad(40),math.rad(-50)), 0.4)--arm | |
1006 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-70)), 0.4)--arm | |
1007 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
1008 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
1009 | end | |
1010 | end | |
1011 | --------------------------------------------------------- | |
1012 | local block = Instance.new("Part",torso) | |
1013 | block.Size = Vector3.new(0.1,0.1,0.1) | |
1014 | block.Position = block.Position + Vector3.new(2,2,2) | |
1015 | block.Transparency = 1 | |
1016 | local weld = Instance.new("Weld",torso) | |
1017 | weld.Part0 = torso | |
1018 | weld.Part1 = block | |
1019 | weld.C0 = CFrame.new(0,3,0) | |
1020 | local block2 = Instance.new("Part",torso) | |
1021 | block2.Size = Vector3.new(3,2,1) | |
1022 | block2.CanCollide = false | |
1023 | block2.Position = block.Position + Vector3.new(2,2,2) | |
1024 | block2.Transparency = 1 | |
1025 | local weld2 = Instance.new("Weld",torso) | |
1026 | weld2.Part0 = torso | |
1027 | weld2.Part1 = block2 | |
1028 | weld2.C0 = CFrame.new(0,-1.5,0) | |
1029 | local part2 = Instance.new("ParticleEmitter",block) | |
1030 | part2.Lifetime = NumberRange.new(5) | |
1031 | part2.Speed = NumberRange.new(0) | |
1032 | part2.Color = ColorSequence.new(Color3.fromRGB(183,39,212)) | |
1033 | part2.Size = NumberSequence.new(7) | |
1034 | part2.Transparency = NumberSequence.new(1) | |
1035 | part2.LockedToPart = true | |
1036 | part2.Rate = 3 | |
1037 | part2.Texture = "http://www.roblox.com/asset/?id=894173257" | |
1038 | part2.ZOffset = -3 | |
1039 | ||
1040 | local part7 = Instance.new("ParticleEmitter",block) | |
1041 | part7.Lifetime = NumberRange.new(5) | |
1042 | part7.Speed = NumberRange.new(0) | |
1043 | ||
1044 | part7.Size = NumberSequence.new(7) | |
1045 | part7.Transparency = NumberSequence.new(1) | |
1046 | part7.LockedToPart = true | |
1047 | part7.Rate = 3 | |
1048 | part7.Color = ColorSequence.new(Color3.fromRGB(255,0,0)) | |
1049 | part7.Texture = "http://www.roblox.com/asset/?id=894173257" | |
1050 | part7.ZOffset = -1 | |
1051 | local model = Instance.new("Model",torso) | |
1052 | local part3 = Instance.new("ParticleEmitter",block2) | |
1053 | part3.Lifetime = NumberRange.new(1) | |
1054 | part3.Speed = NumberRange.new(5) | |
1055 | part3.Color = ColorSequence.new(Color3.fromRGB(255,0,102)) | |
1056 | part3.Transparency = NumberSequence.new(1) | |
1057 | part3.Size = NumberSequence.new(0.5) | |
1058 | part3.LockedToPart = true | |
1059 | part3.Rate = 10 | |
1060 | part3.Texture = "http://www.roblox.com/asset/?id=549349471" | |
1061 | part3.ZOffset = -0.5 | |
1062 | part3.SpreadAngle = Vector2.new(50,0) | |
1063 | aura1 = Instance.new("ParticleEmitter",torso) | |
1064 | aura1.Transparency = NumberSequence.new(1) | |
1065 | aura1.Size = NumberSequence.new(5) | |
1066 | aura1.Speed = NumberRange.new(0) | |
1067 | aura1.Lifetime = NumberRange.new(5) | |
1068 | aura1.LockedToPart = true | |
1069 | aura1.Rate = 3.5 | |
1070 | aura1.Color = ColorSequence.new(Color3.new(0,0,0)) | |
1071 | ||
1072 | aura1.ZOffset = 2 | |
1073 | aura1.Lifetime = NumberRange.new(3) | |
1074 | ||
1075 | ||
1076 | ||
1077 | ypcall(function() | |
1078 | shirt = Instance.new("Shirt", char) | |
1079 | shirt.Name = "Shirt" | |
1080 | pants = Instance.new("Pants", char) | |
1081 | pants.Name = "Pants" | |
1082 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=432851554" | |
1083 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=432851568" | |
1084 | end) | |
1085 | for i,v in pairs(char:children()) do | |
1086 | if v:IsA("Accessory") then | |
1087 | v:Destroy() | |
1088 | end | |
1089 | end | |
1090 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
1091 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
1092 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
1093 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
1094 | Hair99 = Instance.new("Part") | |
1095 | ||
1096 | Hair99.Parent = p.Character | |
1097 | Hair99.Name = "Hair" | |
1098 | Hair99.formFactor = "Symmetric" | |
1099 | Hair99.Size = Vector3.new(1, 1, 1) | |
1100 | Hair99.CFrame = p.Character.Head.CFrame | |
1101 | Hair99:BreakJoints() | |
1102 | Hair99.CanCollide = false | |
1103 | Hair99.TopSurface = "Smooth" | |
1104 | Hair99.BottomSurface = "Smooth" | |
1105 | Hair99.BrickColor = BrickColor.new("New Yeller") | |
1106 | Hair99.Transparency = 1 | |
1107 | ||
1108 | Weld = Instance.new("Weld") | |
1109 | Weld.Part0 = p.Character.Head | |
1110 | Weld.Part1 = Hair99 | |
1111 | Weld.Parent = p.Character.Head | |
1112 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1113 | ||
1114 | Hair7 = Instance.new("Part") | |
1115 | Hair7.Parent = p.Character | |
1116 | Hair7.Name = "Hair" | |
1117 | Hair7.CanCollide = false | |
1118 | Hair7.Locked = true | |
1119 | Hair7.TopSurface = "Smooth" | |
1120 | Hair7.BottomSurface = "Smooth" | |
1121 | Hair7.formFactor = "Symmetric" | |
1122 | Hair7.Material = "Neon" | |
1123 | Hair7.BrickColor = BrickColor.new("Really black") | |
1124 | Hair7.CFrame = p.Character.Torso.CFrame | |
1125 | Hair7.Size = Vector3.new(1, 1, 1) | |
1126 | Hair7.Transparency = 0 | |
1127 | ||
1128 | Mesh = Instance.new("SpecialMesh") | |
1129 | Mesh.Parent = Hair99 | |
1130 | Mesh.MeshType = "Sphere" | |
1131 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
1132 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1133 | ||
1134 | ||
1135 | Weld1 = Instance.new("Weld") | |
1136 | Weld1.Parent = p.Character.Head | |
1137 | Weld1.Part0 = p.Character.Head | |
1138 | Weld1.Part1 = Hair7 | |
1139 | Weld1.C0 = CFrame.new(0, 1, 0) | |
1140 | ||
1141 | Mesh = Instance.new("SpecialMesh") | |
1142 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
1143 | Mesh.Parent = Hair7 | |
1144 | Mesh.Scale = Vector3.new(1, 1, 1) | |
1145 | Mesh.MeshType = "FileMesh" | |
1146 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
1147 | Mesh.TextureId = "" | |
1148 | ||
1149 | mouse.Button1Down:connect(function() | |
1150 | t = mouse.Target.Parent:FindFirstChild("Torso") | |
1151 | hu = mouse.Target.Parent:FindFirstChild("Humanoid") | |
1152 | if mouse.Target == nil then | |
1153 | clickon = false | |
1154 | end | |
1155 | if mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1156 | clickon = true | |
1157 | poon = true | |
1158 | zwc1s2 = Instance.new("Sound",mouse.Target) | |
1159 | zwc1s2.Volume = 5 | |
1160 | zwc1s2.Looped = false | |
1161 | zwc1s2.SoundId = "rbxassetid://915341277" | |
1162 | zwc1s2:Play() | |
1163 | ||
1164 | ||
1165 | ||
1166 | else | |
1167 | clickon = false | |
1168 | ||
1169 | end | |
1170 | ||
1171 | end) | |
1172 | aurapart3 = Instance.new("Part",char) | |
1173 | aurapart3.Size = Vector3.new(0.1,0.1,0.1) | |
1174 | aurapart3.Position = Vector3.new(0,2,0) | |
1175 | aurapart3.Transparency = 1 | |
1176 | aurapart3.CanCollide = false | |
1177 | auraweld3 = Instance.new("Weld",char) | |
1178 | auraweld3.Part0 = aurapart3 | |
1179 | auraweld3.Part1 = torso | |
1180 | auraweld3.C0 = CFrame.new(0,-3,0) | |
1181 | aura3 = Instance.new("ParticleEmitter",aurapart3) | |
1182 | aura3.Transparency = NumberSequence.new(1) | |
1183 | aura3.Color = ColorSequence.new(Color3.new(0,0,0)) | |
1184 | aura3.Size = NumberSequence.new(8) | |
1185 | aura3.Speed = NumberRange.new(0) | |
1186 | aura3.LockedToPart = true | |
1187 | aura3.Rate = 5 | |
1188 | aura3.Lifetime = NumberRange.new(5) | |
1189 | aura3.ZOffset = -5 | |
1190 | z2 = Instance.new("Sound",torso) | |
1191 | z2.Volume = 3 | |
1192 | z2.Looped = false | |
1193 | z2.SoundId = "rbxassetid://908489666" | |
1194 | z2d = Instance.new("Sound",torso) | |
1195 | z2d.Volume = 20 | |
1196 | z2d.Looped = false | |
1197 | z2d.SoundId = "rbxassetid://663610350" | |
1198 | z4r = Instance.new("Sound",torso) | |
1199 | z4r.Volume = 5 | |
1200 | z4r.Looped = false | |
1201 | z4r.SoundId = "rbxassetid://908474188" | |
1202 | ||
1203 | mouse.KeyDown:connect(function(Key) | |
1204 | if Key == "r" then | |
1205 | if canattack == true then | |
1206 | ||
1207 | ||
1208 | kamehamehaon = true | |
1209 | ||
1210 | idle = false | |
1211 | ||
1212 | idle1 = false | |
1213 | canattack = false | |
1214 | hum.WalkSpeed = 0 | |
1215 | ||
1216 | ||
1217 | ||
1218 | for i = 1,25 do | |
1219 | wait() | |
1220 | ||
1221 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 0.1)--head | |
1222 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 0.1)--torso | |
1223 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 0.1)--rarm | |
1224 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 0.1)--larm | |
1225 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--lleg | |
1226 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--rleg | |
1227 | end | |
1228 | ||
1229 | if ssjr == true then | |
1230 | chatfunc("Kaaaaaaa") | |
1231 | z2d:Play() | |
1232 | wait(3) | |
1233 | chatfunc("Meeeeeeee") | |
1234 | else | |
1235 | z2:Play() | |
1236 | chatfunc("Kame") | |
1237 | end | |
1238 | partaura.Size = NumberSequence.new(0.1) | |
1239 | ||
1240 | partaura.Transparency = NumberSequence.new(0) | |
1241 | partaura1.Transparency = NumberSequence.new(0) | |
1242 | kamehameha = true | |
1243 | if ssjr == true then | |
1244 | ||
1245 | wait(2.5) | |
1246 | chatfunc("Haaaaaa") | |
1247 | wait(3.5) | |
1248 | chatfunc("Meeeeeee") | |
1249 | wait(2) | |
1250 | chatfunc("HA") | |
1251 | wait(0.5) | |
1252 | else | |
1253 | ||
1254 | wait(2) | |
1255 | chatfunc("Hame") | |
1256 | wait(2) | |
1257 | end | |
1258 | if kamehamehaon == true then | |
1259 | kamehamehaon = false | |
1260 | hited = true | |
1261 | wait(0.1) | |
1262 | point = true | |
1263 | kamehamehaon = false | |
1264 | kamehameha = false | |
1265 | ||
1266 | ||
1267 | ||
1268 | partaura.Transparency = NumberSequence.new(1) | |
1269 | partaura1.Transparency = NumberSequence.new(1) | |
1270 | if ssjr == false then | |
1271 | z2:Stop() | |
1272 | z4r:Play() | |
1273 | chatfunc("HAAAAAAAAAA") | |
1274 | end | |
1275 | ||
1276 | ||
1277 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
1278 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso | |
1279 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm | |
1280 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm | |
1281 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg | |
1282 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg | |
1283 | ||
1284 | ||
1285 | ||
1286 | ||
1287 | ||
1288 | laser = true | |
1289 | s1.Volume=1 | |
1290 | s1:play() | |
1291 | wait(5.4) | |
1292 | point = false | |
1293 | laser = false | |
1294 | beam1.Size = Vector3.new(1,1,1) | |
1295 | beam1.Parent=nil | |
1296 | inner1.Parent=nil | |
1297 | expl1.Parent=nil | |
1298 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1299 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1300 | end | |
1301 | hited1 = false | |
1302 | exa1.Parent=nil | |
1303 | s1:stop() | |
1304 | ||
1305 | idle = true | |
1306 | canattack = true | |
1307 | idle1 = true | |
1308 | hum.WalkSpeed = 16 | |
1309 | ||
1310 | end | |
1311 | end | |
1312 | end | |
1313 | end) | |
1314 | partt = Instance.new("Part",char) | |
1315 | partt.Position = Vector3.new(999,999,999) | |
1316 | partt.Transparency = 1 | |
1317 | partt.CanCollide = false | |
1318 | partt.Size = Vector3.new(0.1,0.1,0.1) | |
1319 | partweld = Instance.new("Weld",partt) | |
1320 | partweld.Part0 = torso | |
1321 | partweld.Part1 = partt | |
1322 | partweld.C0 = CFrame.new(0.3,-.5,-1.5) | |
1323 | partaura = Instance.new("ParticleEmitter",partt) | |
1324 | partaura.Size = NumberSequence.new(2) | |
1325 | partaura.LockedToPart = true | |
1326 | ||
1327 | partaura.Transparency = NumberSequence.new(1) | |
1328 | partaura.Texture = "rbxassetid://547574922" | |
1329 | partaura.Speed = NumberRange.new(0) | |
1330 | partaura.Color = ColorSequence.new(Color3.fromRGB(35,0,53)) | |
1331 | partaura.Rate = 2 | |
1332 | partaura.ZOffset = 0 | |
1333 | partaura1 = Instance.new("ParticleEmitter",partt) | |
1334 | partaura1.Size = NumberSequence.new(5) | |
1335 | partaura1.LockedToPart = true | |
1336 | ||
1337 | partaura1.Transparency = NumberSequence.new(1) | |
1338 | partaura1.Texture = "http://www.roblox.com/asset/?id=243660364" | |
1339 | partaura1.Color = ColorSequence.new(Color3.fromRGB(35,0,53)) | |
1340 | partaura1.Speed = NumberRange.new(0) | |
1341 | partaura1.Rate = 3 | |
1342 | partaura1.ZOffset = -1 | |
1343 | ||
1344 | partaura1.RotSpeed = NumberRange.new(-10,10) | |
1345 | partaura1.SpreadAngle = Vector2.new(360,360) | |
1346 | partaura1.Rotation = NumberRange.new(0,360) | |
1347 | aj = 0 | |
1348 | ||
1349 | zh = Instance.new("Sound",torso) | |
1350 | zh.Volume = 1 | |
1351 | zh.Looped = true | |
1352 | zh.SoundId = "rbxassetid://491515754" | |
1353 | mouse.KeyDown:connect(function(key) | |
1354 | if key == "b" then | |
1355 | if ssjr == false then | |
1356 | if canattack == true then | |
1357 | chatfunc("You've come Supriseingly ..Far for a Human...") | |
1358 | wait(4) | |
1359 | chatfunc("Let.. me Show you something as a Reward..!") | |
1360 | for i = 1,10 do | |
1361 | wait() | |
1362 | z42d.Volume = z42d.Volume - 5 | |
1363 | end | |
1364 | idle = false | |
1365 | kiout = false | |
1366 | kiblade.Transparency = 1 | |
1367 | trail.Enabled = false | |
1368 | base = false | |
1369 | hum.WalkSpeed = 0 | |
1370 | lolwait = 6 | |
1371 | local part9 = Instance.new("ParticleEmitter",block) | |
1372 | part9.Lifetime = NumberRange.new(100) | |
1373 | part9.Speed = NumberRange.new(50) | |
1374 | part9.Color = ColorSequence.new(Color3.fromRGB(246,111,255)) | |
1375 | part9.Size = NumberSequence.new(15) | |
1376 | part9.Transparency = NumberSequence.new(1) | |
1377 | part9.LockedToPart = true | |
1378 | part9.Rate = 300 | |
1379 | part9.Texture = "http://www.roblox.com/asset/?id=894173257" | |
1380 | part9.ZOffset = -3 | |
1381 | ||
1382 | idle1 = false | |
1383 | Colors = {"Really black", "Really black"} | |
1384 | canattack = false | |
1385 | wait(0.1) | |
1386 | ||
1387 | for i = 1, 20 do | |
1388 | wait() | |
1389 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
1390 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
1391 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
1392 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
1393 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
1394 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
1395 | end | |
1396 | shake = true | |
1397 | partt2 = Instance.new("Part",char) | |
1398 | partt2.Position = torso.Position - Vector3.new(0,2,0) | |
1399 | partt2.Transparency = 1 | |
1400 | partt2.CanCollide = true | |
1401 | partt2.Size = Vector3.new(15,0.1,15) | |
1402 | partaura1 = Instance.new("ParticleEmitter",partt2) | |
1403 | partaura1.Size = NumberSequence.new(0.8) | |
1404 | partaura1.LockedToPart = true | |
1405 | partaura1.Lifetime = NumberRange.new(3) | |
1406 | partaura1.Transparency = NumberSequence.new(0) | |
1407 | partaura1.Texture = "http://www.roblox.com/asset/?id=570874272" | |
1408 | ||
1409 | partaura1.Speed = NumberRange.new(5) | |
1410 | partaura1.Rate = 2 | |
1411 | ||
1412 | aura3.Transparency = NumberSequence.new(0) | |
1413 | ||
1414 | z1 = Instance.new("Sound",torso) | |
1415 | z1.Volume = 100 | |
1416 | z1.Looped = false | |
1417 | z1.SoundId = "rbxassetid://927472099" | |
1418 | z1:Play() | |
1419 | game.Lighting.TimeOfDay = 0 | |
1420 | smoke.Enabled = true | |
1421 | light.Enabled = true | |
1422 | GroundWave1() | |
1423 | wait(0.3) | |
1424 | ||
1425 | wait(0.3) | |
1426 | GroundWave1() | |
1427 | wait(0.3) | |
1428 | ||
1429 | wait(0.3) | |
1430 | GroundWave1() | |
1431 | wait(0.3) | |
1432 | ||
1433 | wait(0.3) | |
1434 | GroundWave1() | |
1435 | wait(0.3) | |
1436 | ||
1437 | wait(0.3) | |
1438 | GroundWave1() | |
1439 | wait(0.3) | |
1440 | ||
1441 | wait(0.3) | |
1442 | GroundWave1() | |
1443 | wait(0.3) | |
1444 | ||
1445 | wait(0.3) | |
1446 | GroundWave1() | |
1447 | wait(0.3) | |
1448 | ||
1449 | wait(0.3) | |
1450 | GroundWave1() | |
1451 | wait(0.3) | |
1452 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1453 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1454 | end | |
1455 | wait(0.3) | |
1456 | GroundWave1() | |
1457 | wait(0.3) | |
1458 | ||
1459 | wait(0.3) | |
1460 | GroundWave1() | |
1461 | wait(0.3) | |
1462 | ||
1463 | wait(0.3) | |
1464 | GroundWave1() | |
1465 | wait(0.3) | |
1466 | ||
1467 | wait(0.3) | |
1468 | GroundWave1() | |
1469 | wait(0.3) | |
1470 | ||
1471 | wait(0.3) | |
1472 | GroundWave1() | |
1473 | wait(0.3) | |
1474 | ||
1475 | wait(0.3) | |
1476 | GroundWave1() | |
1477 | wait(0.3) | |
1478 | ||
1479 | wait(0.3) | |
1480 | GroundWave1() | |
1481 | wait(0.3) | |
1482 | ||
1483 | wait(0.3) | |
1484 | GroundWave1() | |
1485 | wait(0.3) | |
1486 | ||
1487 | wait(0.3) | |
1488 | GroundWave1() | |
1489 | wait(0.3) | |
1490 | ||
1491 | wait(0.3) | |
1492 | GroundWave1() | |
1493 | wait(0.3) | |
1494 | ||
1495 | wait(0.3) | |
1496 | GroundWave1() | |
1497 | wait(0.3) | |
1498 | ||
1499 | wait(0.3) | |
1500 | GroundWave1() | |
1501 | wait(0.3) | |
1502 | ||
1503 | wait(0.3) | |
1504 | GroundWave1() | |
1505 | wait(0.3) | |
1506 | ||
1507 | wait(0.3) | |
1508 | GroundWave1() | |
1509 | wait(0.3) | |
1510 | ||
1511 | wait(0.3) | |
1512 | GroundWave1() | |
1513 | wait(0.3) | |
1514 | ||
1515 | wait(0.3) | |
1516 | GroundWave1() | |
1517 | wait(0.3) | |
1518 | ||
1519 | wait(0.3) | |
1520 | GroundWave1() | |
1521 | wait(0.3) | |
1522 | ||
1523 | wait(0.3) | |
1524 | GroundWave1() | |
1525 | wait(0.3) | |
1526 | ||
1527 | wait(0.3) | |
1528 | GroundWave1() | |
1529 | wait(0.3) | |
1530 | ||
1531 | wait(0.3) | |
1532 | GroundWave1() | |
1533 | wait(0.3) | |
1534 | ||
1535 | wait(0.3) | |
1536 | GroundWave1() | |
1537 | wait(0.3) | |
1538 | ||
1539 | wait(0.3) | |
1540 | GroundWave1() | |
1541 | shake = false | |
1542 | hed.face.Texture = "http://www.roblox.com/asset/?id=601974383" | |
1543 | hum.CameraOffset = Vector3.new(0,0,0) | |
1544 | part9.Transparency = NumberSequence.new(0.4) | |
1545 | aura3.Transparency = NumberSequence.new(1) | |
1546 | ||
1547 | aura1.Transparency = NumberSequence.new(1) | |
1548 | Mesh.MeshId = "rbxassetid://430344159" | |
1549 | Mesh.Scale = Vector3.new(6,6,6) | |
1550 | Weld1.C0 = CFrame.new(-.25, 1.2, .34) | |
1551 | Hair7.BrickColor = BrickColor.new("Carnation pink") | |
1552 | ||
1553 | for i = 1, 5 do | |
1554 | wait() | |
1555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head | |
1556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)--torso | |
1557 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.8)--arm | |
1558 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.8)--arm | |
1559 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.8)--leg | |
1560 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.8)--leg | |
1561 | end | |
1562 | wait(3) | |
1563 | part9:Destroy() | |
1564 | smoke:Destroy() | |
1565 | zh:Play() | |
1566 | Colors = {"Hot pink", "Hot pink"} | |
1567 | GroundWave1() | |
1568 | wait(0.3) | |
1569 | ||
1570 | ||
1571 | GroundWave1() | |
1572 | wait(0.3) | |
1573 | ||
1574 | GroundWave1() | |
1575 | wait(0.3) | |
1576 | ||
1577 | GroundWave1() | |
1578 | wait(0.3) | |
1579 | GroundWave1() | |
1580 | part2.Transparency = NumberSequence.new(0) | |
1581 | part3.Transparency = NumberSequence.new(0) | |
1582 | part7.Transparency = NumberSequence.new(0) | |
1583 | hed.Anchored = false | |
1584 | ||
1585 | ssjr = true | |
1586 | beam1.Color = Color3.fromRGB(203,16,97) | |
1587 | inner1.Color = Color3.fromRGB(203,16,97) | |
1588 | expl1.Color = Color3.fromRGB(203,16,97) | |
1589 | exa1.Color = Color3.fromRGB(203,16,97) | |
1590 | partaura.Color = ColorSequence.new(Color3.fromRGB(203,16,97)) | |
1591 | partaura1.Color = ColorSequence.new(Color3.fromRGB(255,102,204)) | |
1592 | wait(1) | |
1593 | for i = 1,20 do | |
1594 | wait() | |
1595 | z1.Volume = z1.Volume - 0.5 | |
1596 | end | |
1597 | for i = 1,50 do | |
1598 | wait() | |
1599 | z42d.Volume = z42d.Volume + 1 | |
1600 | end | |
1601 | idle = true | |
1602 | idle1 = true | |
1603 | canattack = true | |
1604 | chatfunc("Aint This A Beautiful Color?") | |
1605 | wait(4) | |
1606 | chatfunc("I Shall Call This") | |
1607 | wait(4) | |
1608 | chatfunc("Rosé") | |
1609 | wait(3) | |
1610 | chatfunc("Yes Super Sayian Rosé") | |
1611 | wait(3) | |
1612 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1613 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1614 | end | |
1615 | hum.WalkSpeed = 16 | |
1616 | ||
1617 | end | |
1618 | end | |
1619 | end | |
1620 | end) | |
1621 | local hit1 = true | |
1622 | local hit2 = false | |
1623 | local hit3 = false | |
1624 | local hit4 = false | |
1625 | zw = Instance.new("Sound",torso) | |
1626 | zw.Volume = 1 | |
1627 | zw.Looped = false | |
1628 | zw.SoundId = "rbxassetid://896243541" | |
1629 | ||
1630 | function leftkick() | |
1631 | for i = 1, 5 do | |
1632 | wait() | |
1633 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-60),math.rad(0)), 0.8)--head | |
1634 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(2), math.rad(60), math.rad(0)), 0.8)--torso | |
1635 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.8)--rarm | |
1636 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--larm | |
1637 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--lleg | |
1638 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(40)), 0.8)--rleg | |
1639 | end | |
1640 | zw:Play() | |
1641 | end | |
1642 | function rightkick() | |
1643 | for i = 1, 5 do | |
1644 | wait() | |
1645 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(60),math.rad(0)), 0.8)--head | |
1646 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), 0.8)--torso | |
1647 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.8)--rarm | |
1648 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.8)--larm | |
1649 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), 0.8)--lleg | |
1650 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.8)--rleg | |
1651 | end | |
1652 | zw:Play() | |
1653 | end | |
1654 | function leftpunch() | |
1655 | for i = 1, can do | |
1656 | wait() | |
1657 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head | |
1658 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso | |
1659 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm | |
1660 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm | |
1661 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
1662 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
1663 | end | |
1664 | zw:Play() | |
1665 | end | |
1666 | function rightpunch() | |
1667 | for i = 1, can do | |
1668 | wait() | |
1669 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
1670 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
1671 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
1672 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
1673 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
1674 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
1675 | end | |
1676 | zw:Play() | |
1677 | end | |
1678 | mouse.KeyDown:connect(function(key) | |
1679 | if key == "e" then | |
1680 | if hit1 == true and canattack == true and kiout == false then | |
1681 | canattack = false | |
1682 | nohit = 0 | |
1683 | ||
1684 | hit1 = false | |
1685 | hit2 = true | |
1686 | hit3 = false | |
1687 | hit4 = false | |
1688 | hand1 = Instance.new("Part",rarm) | |
1689 | hand1.Size = Vector3.new(1.5,1.5,1.5) | |
1690 | hand1.CanCollide = false | |
1691 | hand1.Transparency = 1 | |
1692 | hand1.Position = Vector3.new(999,999,999) | |
1693 | hand1weld = Instance.new("Weld",hand1) | |
1694 | hand1weld.Part0 = rarm | |
1695 | hand1weld.Part1 = hand1 | |
1696 | hand1weld.C0 = CFrame.new(0,-1.2,0) | |
1697 | ---------------------------------------------------------------- | |
1698 | ||
1699 | function touch1(hit) | |
1700 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1701 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1702 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
1703 | ||
1704 | zwc:Play() | |
1705 | end | |
1706 | end | |
1707 | hand1.Touched:connect(touch1) | |
1708 | rightpunch() | |
1709 | ||
1710 | hand1:Destroy() | |
1711 | canattack = true | |
1712 | end | |
1713 | ||
1714 | ||
1715 | ||
1716 | ||
1717 | if hit1 == true and canattack == true and kiout == true then | |
1718 | nohit = 0 | |
1719 | canattack = false | |
1720 | hit1 = false | |
1721 | kiblade5 = Instance.new("Part",char) | |
1722 | kiblade5.Name = "Blade" | |
1723 | kiblade5.Size = v3(1,5,1) | |
1724 | kiblade5.Transparency = 1 | |
1725 | kiblade5.Color = Color3.fromRGB(170,0,127) | |
1726 | kiblade5.Position = v3(999,999,999) | |
1727 | kiblade5.CanCollide = false | |
1728 | ||
1729 | ||
1730 | kiweld5 = Instance.new("Weld",kiblade5) | |
1731 | kiweld5.Part0 = rarm | |
1732 | kiweld5.Part1 = kiblade5 | |
1733 | kiweld5.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
1734 | hit2 = true | |
1735 | hit3 = false | |
1736 | hit4 = false | |
1737 | function touch1(hit) | |
1738 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1739 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1740 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage / 2 | |
1741 | ||
1742 | z42:Play() | |
1743 | end | |
1744 | end | |
1745 | kiblade5.Touched:connect(touch1) | |
1746 | hum.WalkSpeed = 0 | |
1747 | swing1() | |
1748 | hum.WalkSpeed = 16 | |
1749 | ||
1750 | canattack = true | |
1751 | kiblade5:Destroy() | |
1752 | end | |
1753 | end | |
1754 | ||
1755 | ||
1756 | ||
1757 | ||
1758 | ||
1759 | ||
1760 | end) | |
1761 | mouse.KeyDown:connect(function(key) | |
1762 | if key == "e" then | |
1763 | if hit2 == true and canattack == true and kiout == false then | |
1764 | canattack = false | |
1765 | nohit = 0 | |
1766 | ||
1767 | hit1 = false | |
1768 | hit2 = false | |
1769 | hit3 = true | |
1770 | hit4 = false | |
1771 | hand2 = Instance.new("Part",rarm) | |
1772 | hand2.Size = Vector3.new(1.5,1.5,1.5) | |
1773 | hand1.CanCollide = false | |
1774 | hand2.Transparency = 1 | |
1775 | hand2.Position = Vector3.new(999,999,999) | |
1776 | hand2weld = Instance.new("Weld",hand2) | |
1777 | hand2weld.Part0 = larm | |
1778 | hand2weld.Part1 = hand2 | |
1779 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
1780 | ---------------------------------------------------------------- | |
1781 | ||
1782 | function touch1(hit) | |
1783 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1784 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1785 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
1786 | ||
1787 | zwc:Play() | |
1788 | end | |
1789 | end | |
1790 | hand2.Touched:connect(touch1) | |
1791 | leftpunch() | |
1792 | ||
1793 | canattack = true | |
1794 | hand2:Destroy() | |
1795 | ||
1796 | end | |
1797 | ||
1798 | if hit2 == true and canattack == true and kiout == true then | |
1799 | canattack = false | |
1800 | nohit = 0 | |
1801 | kiblade5 = Instance.new("Part",char) | |
1802 | kiblade5.Name = "Blade" | |
1803 | kiblade5.Size = v3(1,5,1) | |
1804 | kiblade5.Transparency = 1 | |
1805 | kiblade5.Color = Color3.fromRGB(170,0,127) | |
1806 | kiblade5.Position = v3(999,999,999) | |
1807 | kiblade5.CanCollide = false | |
1808 | ||
1809 | ||
1810 | kiweld5 = Instance.new("Weld",kiblade5) | |
1811 | kiweld5.Part0 = rarm | |
1812 | kiweld5.Part1 = kiblade5 | |
1813 | kiweld5.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
1814 | hit1 = false | |
1815 | hit2 = false | |
1816 | hit3 = true | |
1817 | hit4 = false | |
1818 | function touch1(hit) | |
1819 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1820 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1821 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage / 2 | |
1822 | ||
1823 | z42:Play() | |
1824 | end | |
1825 | end | |
1826 | kiblade5.Touched:connect(touch1) | |
1827 | hum.WalkSpeed = 0 | |
1828 | swing2() | |
1829 | hum.WalkSpeed = 16 | |
1830 | ||
1831 | canattack = true | |
1832 | kiblade5:Destroy() | |
1833 | end | |
1834 | ||
1835 | end | |
1836 | end) | |
1837 | mouse.KeyDown:connect(function(key) | |
1838 | if key == "e" then | |
1839 | if hit3 == true and canattack == true and kiout == false then | |
1840 | canattack = false | |
1841 | nohit = 0 | |
1842 | ||
1843 | hit1 = true | |
1844 | hit2 = false | |
1845 | hit3 = false | |
1846 | hit4 = false | |
1847 | hand3 = Instance.new("Part",lleg) | |
1848 | hand3.Size = Vector3.new(1.5,1.5,1.5) | |
1849 | hand3.CanCollide = false | |
1850 | hand3.Transparency = 1 | |
1851 | hand3.Position = Vector3.new(999,999,999) | |
1852 | hand3weld = Instance.new("Weld",hand3) | |
1853 | hand3weld.Part0 = lleg | |
1854 | hand3weld.Part1 = hand3 | |
1855 | hand3weld.C0 = CFrame.new(0,-1.2,0) | |
1856 | ---------------------------------------------------------------- | |
1857 | ||
1858 | function touch1(hit) | |
1859 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1860 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1861 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
1862 | ||
1863 | zwc:Play() | |
1864 | end | |
1865 | end | |
1866 | hand3.Touched:connect(touch1) | |
1867 | rightkick() | |
1868 | ||
1869 | canattack = true | |
1870 | hand3:Destroy() | |
1871 | ||
1872 | end | |
1873 | ||
1874 | if hit3 == true and canattack == true and kiout == true then | |
1875 | if clickon == true then | |
1876 | jk = true | |
1877 | clickon = false | |
1878 | end | |
1879 | canattack = false | |
1880 | kiblade5 = Instance.new("Part",char) | |
1881 | kiblade5.Name = "Blade" | |
1882 | kiblade5.Size = v3(1,5,1) | |
1883 | kiblade5.Transparency = 1 | |
1884 | kiblade5.Color = Color3.fromRGB(170,0,127) | |
1885 | kiblade5.Position = v3(999,999,999) | |
1886 | kiblade5.CanCollide = false | |
1887 | ||
1888 | ||
1889 | kiweld5 = Instance.new("Weld",kiblade5) | |
1890 | kiweld5.Part0 = rarm | |
1891 | kiweld5.Part1 = kiblade5 | |
1892 | kiweld5.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
1893 | nohit = 0 | |
1894 | hit1 = true | |
1895 | hit2 = false | |
1896 | hit3 = false | |
1897 | hit4 = false | |
1898 | function touch1(hit) | |
1899 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1900 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1901 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage / 2 | |
1902 | hit.Parent:findFirstChild("Torso").CFrame = hit.Parent:findFirstChild("Torso").CFrame + v3(0,5,0) | |
1903 | ||
1904 | z42:Play() | |
1905 | end | |
1906 | end | |
1907 | kiblade5.Touched:connect(touch1) | |
1908 | hum.WalkSpeed = 0 | |
1909 | swing3() | |
1910 | hum.WalkSpeed = 16 | |
1911 | ||
1912 | canattack = true | |
1913 | ||
1914 | kiblade5:Destroy() | |
1915 | wait(0.4) | |
1916 | if jk == true then | |
1917 | jk = false | |
1918 | clickon = true | |
1919 | end | |
1920 | end | |
1921 | ||
1922 | ||
1923 | ||
1924 | ||
1925 | ||
1926 | ||
1927 | end | |
1928 | end) | |
1929 | ||
1930 | ||
1931 | ||
1932 | ||
1933 | ||
1934 | ||
1935 | ||
1936 | ||
1937 | ||
1938 | ||
1939 | ||
1940 | ||
1941 | ||
1942 | ||
1943 | ||
1944 | ||
1945 | ||
1946 | ||
1947 | ||
1948 | ||
1949 | ||
1950 | kiblade = Instance.new("Part",char) | |
1951 | kiblade.Name = "Blade" | |
1952 | kiblade.Size = v3(1,5,1) | |
1953 | kiblade.Transparency = 1 | |
1954 | kiblade.Color = Color3.fromRGB(170,0,127) | |
1955 | kiblade.Position = v3(999,999,999) | |
1956 | kiblade.CanCollide = false | |
1957 | kiblademesh = Instance.new("SpecialMesh",kiblade) | |
1958 | kiblademesh.MeshType = "FileMesh" | |
1959 | kiblademesh.MeshId = "rbxassetid://898849476" | |
1960 | kiblademesh.Scale = v3(0.01,0.008,0.01) | |
1961 | kiweld7 = Instance.new("Weld",kiblade) | |
1962 | kiweld7.Part0 = rarm | |
1963 | kiweld7.Part1 = kiblade | |
1964 | kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
1965 | kiblade1 = Instance.new("Part",char) | |
1966 | kiblade1.Name = "Blade" | |
1967 | kiblade1.Transparency = 1 | |
1968 | kiblade1.Size = v3(0.1,0.1,0.1) | |
1969 | kiblade1.Position = v3(999,999,999) | |
1970 | kiblade1.CanCollide = false | |
1971 | kiblademesh = Instance.new("SpecialMesh",kiblade1) | |
1972 | kiblademesh.MeshType = "Sphere" | |
1973 | kiblademesh.Scale = v3(1,1,1) | |
1974 | kiweld = Instance.new("Weld",kiblade1) | |
1975 | kiweld.Part0 = rarm | |
1976 | kiweld.Part1 = kiblade1 | |
1977 | kiweld.C0 = CFrame.new(0,-1,0) | |
1978 | kiblade2 = Instance.new("Part",char) | |
1979 | kiblade2.Name = "Blade" | |
1980 | kiblade2.Size = v3(0.1,0.1,0.1) | |
1981 | kiblade2.Transparency = 1 | |
1982 | kiblade2.Position = v3(999,999,999) | |
1983 | kiblade2.CanCollide = false | |
1984 | kiblademesh = Instance.new("SpecialMesh",kiblade2) | |
1985 | kiblademesh.MeshType = "Sphere" | |
1986 | kiblademesh.Scale = v3(1,1,1) | |
1987 | kiweld = Instance.new("Weld",kiblade2) | |
1988 | kiweld.Part0 = rarm | |
1989 | kiweld.Part1 = kiblade2 | |
1990 | kiweld.C0 = CFrame.new(0,-4.5,0) | |
1991 | torso = game.Players.LocalPlayer.Character.Torso | |
1992 | head = game.Players.LocalPlayer.Character.Head | |
1993 | torso1 = Instance.new("Attachment",kiblade1) | |
1994 | head1 = Instance.new("Attachment",kiblade2) | |
1995 | trail = Instance.new("Trail",torso) | |
1996 | trail.Color = ColorSequence.new(Color3.fromRGB(170,0,127)) | |
1997 | trail.Attachment0 = torso1 | |
1998 | trail.Attachment1 = head1 | |
1999 | trail.Lifetime = 0.5 | |
2000 | trail.Enabled = false | |
2001 | light = Instance.new("PointLight",torso) | |
2002 | light.Enabled = false | |
2003 | light.Color = Color3.fromRGB(120,6,105) | |
2004 | light.Brightness = 999 | |
2005 | light.Range = 50 | |
2006 | smoke = Instance.new("Smoke",torso) | |
2007 | smoke.RiseVelocity = 5 | |
2008 | smoke.Color = Color3.fromRGB(170,0,127) | |
2009 | smoke.Size = 20 | |
2010 | smoke.Opacity = 0.5 | |
2011 | smoke.Enabled = false | |
2012 | ||
2013 | mouse.KeyDown:connect(function(key) | |
2014 | if key == "n" then | |
2015 | if kiout == false then | |
2016 | if canattack == true then | |
2017 | canattack = false | |
2018 | idle=false | |
2019 | idle1=false | |
2020 | wait(0.1) | |
2021 | kiout = true | |
2022 | swing11() | |
2023 | kiblade.Transparency = 0 | |
2024 | trail.Enabled = true | |
2025 | wait(0.6) | |
2026 | canattack = true | |
2027 | idle=true | |
2028 | idle1=true | |
2029 | end | |
2030 | end | |
2031 | ||
2032 | ||
2033 | end | |
2034 | end) | |
2035 | function pushaway() | |
2036 | for i = 1, 10 do | |
2037 | wait() | |
2038 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
2039 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
2040 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
2041 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
2042 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
2043 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
2044 | end | |
2045 | for i = 1, 10 do | |
2046 | wait() | |
2047 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
2048 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
2049 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)--arm | |
2050 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
2051 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
2052 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
2053 | end | |
2054 | end | |
2055 | mouse.KeyDown:connect(function(key) | |
2056 | if key == "m" then | |
2057 | if kiout == true then | |
2058 | ||
2059 | ||
2060 | kiout = false | |
2061 | kiblade.Transparency = 1 | |
2062 | trail.Enabled = false | |
2063 | ||
2064 | end | |
2065 | end | |
2066 | end) | |
2067 | ||
2068 | ||
2069 | ||
2070 | function grab5() | |
2071 | for i = 1, 10 do | |
2072 | wait() | |
2073 | ||
2074 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
2075 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
2076 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
2077 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
2078 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--leg | |
2079 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--leg | |
2080 | end | |
2081 | for i = 1, 10 do | |
2082 | wait() | |
2083 | ||
2084 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)--head | |
2085 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)--torso | |
2086 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-40)), 0.2)--arm | |
2087 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(40)), 0.2)--arm | |
2088 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.2)--leg | |
2089 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(10)), 0.2)--leg | |
2090 | end | |
2091 | end | |
2092 | ||
2093 | mouse.KeyDown:connect(function(key) | |
2094 | if key == "u" then | |
2095 | if canattack == true then | |
2096 | ||
2097 | if kiout == false then | |
2098 | grab2 = false | |
2099 | grabhit3 = Instance.new("Part",char) | |
2100 | grabhit3.Size = Vector3.new(2,2,2) | |
2101 | grabhit3.Name = "LOL" | |
2102 | grabhit3.Position = Vector3.new(999,999,999) | |
2103 | grabhit3.Transparency = 1 | |
2104 | grabhit3.CanCollide = false | |
2105 | grabweld3 = Instance.new("Weld",grabhit3) | |
2106 | grabweld3.Part0 = torso | |
2107 | grabweld3.Part1 = grabhit3 | |
2108 | grabweld3.C0 = CFrame.new(0,0,-2) | |
2109 | ||
2110 | grab8 = false | |
2111 | idle = false | |
2112 | idle1 = false | |
2113 | canattack = false | |
2114 | hum.HipHeight = 0 | |
2115 | ||
2116 | kiblade.Transparency = 0 | |
2117 | trail.Enabled = true | |
2118 | swing11() | |
2119 | if clickon == true then | |
2120 | jk = true | |
2121 | clickon = false | |
2122 | end | |
2123 | wait(1.4) | |
2124 | ||
2125 | go2 = true | |
2126 | flytowards() | |
2127 | ||
2128 | function touch5(hit) | |
2129 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2130 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2131 | grabhit3.TouchInterest:Destroy() | |
2132 | go2 = false | |
2133 | ||
2134 | ||
2135 | ||
2136 | ||
2137 | ||
2138 | ||
2139 | ||
2140 | ||
2141 | ||
2142 | ||
2143 | ||
2144 | ||
2145 | ||
2146 | ||
2147 | ||
2148 | ||
2149 | grabhit = Instance.new("Part",char) | |
2150 | grabhit.Size = Vector3.new(5,5,5) | |
2151 | grabhit.Position = Vector3.new(999,999,999) | |
2152 | grabhit.Transparency = 1 | |
2153 | grabhit.CanCollide = false | |
2154 | grabweld = Instance.new("Weld",grabhit) | |
2155 | grabweld.Part0 = torso | |
2156 | grabweld.Part1 = grabhit | |
2157 | grabweld.C0 = CFrame.new(0,0,-2) | |
2158 | --------------------------------------------------------------- | |
2159 | hand1 = Instance.new("Part",rarm) | |
2160 | hand1.Size = Vector3.new(0.1,0.1,0.1) | |
2161 | hand1.CanCollide = false | |
2162 | hand1.Transparency = 1 | |
2163 | hand1.Position = Vector3.new(999,999,999) | |
2164 | hand2mesh = Instance.new("SpecialMesh",hand1) | |
2165 | hand2mesh.MeshType = "FileMesh" | |
2166 | ||
2167 | hand2mesh.Scale = Vector3.new(1,1,1) | |
2168 | hand2aura = Instance.new("ParticleEmitter",hand1) | |
2169 | hand2aura.Size = NumberSequence.new(1) | |
2170 | hand2aura.Texture = "rbxassetid://715401010" | |
2171 | hand2aura.Speed = NumberRange.new(0) | |
2172 | hand2aura.LockedToPart = true | |
2173 | hand2aura.Transparency = NumberSequence.new(1) | |
2174 | hand2aura.RotSpeed = NumberRange.new(999) | |
2175 | hand1weld = Instance.new("Weld",hand1) | |
2176 | hand1weld.Part0 = rarm | |
2177 | hand1weld.Part1 = hand1 | |
2178 | hand1weld.C0 = CFrame.new(0,-1.8,0) | |
2179 | ---------------------------------------------------------------- | |
2180 | hand2 = Instance.new("Part",rarm) | |
2181 | hand2.Size = Vector3.new(1,1,1) | |
2182 | hand1.CanCollide = false | |
2183 | hand2.Transparency = 1 | |
2184 | hand2.Position = Vector3.new(999,999,999) | |
2185 | ||
2186 | hand2weld = Instance.new("Weld",hand2) | |
2187 | hand2weld.Part0 = larm | |
2188 | hand2weld.Part1 = hand2 | |
2189 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
2190 | function touch1(hit) | |
2191 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2192 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2193 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
2194 | ||
2195 | t.Anchored = false | |
2196 | if clickon == true then | |
2197 | jk = true | |
2198 | clickon = false | |
2199 | end | |
2200 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
2201 | if hu1.Health > 100 then | |
2202 | hu1.MaxHealth = 100 | |
2203 | hu1.Health = 100 | |
2204 | end | |
2205 | ||
2206 | end | |
2207 | end | |
2208 | hand1.Touched:connect(touch1) | |
2209 | function touch2(hit) | |
2210 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2211 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2212 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
2213 | ||
2214 | ||
2215 | if clickon == true then | |
2216 | jk = true | |
2217 | clickon = false | |
2218 | end | |
2219 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
2220 | if hu1.Health > 100 then | |
2221 | hu1.MaxHealth = 100 | |
2222 | hu1.Health = 100 | |
2223 | end | |
2224 | end | |
2225 | end | |
2226 | hand2.Touched:connect(touch2) | |
2227 | function touch(hit) | |
2228 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2229 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2230 | grabhit.TouchInterest:Destroy() | |
2231 | grab2 = true | |
2232 | t.Anchored = false | |
2233 | if clickon == true then | |
2234 | jk = true | |
2235 | clickon = false | |
2236 | end | |
2237 | ||
2238 | ||
2239 | ||
2240 | hu12 = hit.Parent:findFirstChild("Humanoid") | |
2241 | to12 = hit.Parent:findFirstChild("Torso") | |
2242 | he12 = hit.Parent:findFirstChild("Head") | |
2243 | ra12 = hit.Parent:findFirstChild("Right Arm") | |
2244 | la12 = hit.Parent:findFirstChild("Left Arm") | |
2245 | rl12 = hit.Parent:findFirstChild("Right Leg") | |
2246 | ll12 = hit.Parent:findFirstChild("Left Leg") | |
2247 | hu12.WalkSpeed = 0 | |
2248 | if hu12.Health > 100 then | |
2249 | hu12.MaxHealth = 100 | |
2250 | hu12.Health = 100 | |
2251 | end | |
2252 | ||
2253 | ||
2254 | ||
2255 | ||
2256 | end | |
2257 | ||
2258 | if grab2 == true then | |
2259 | ||
2260 | hu12.Health = hu12.Health - 10 | |
2261 | firstswing() | |
2262 | hu12.Health = hu12.Health - 10 | |
2263 | z42:Play() | |
2264 | pushed = true | |
2265 | go1 = true | |
2266 | flytowards() | |
2267 | ||
2268 | he12.Anchored = true | |
2269 | pushed = false | |
2270 | ------------------------------------------------------------- | |
2271 | grabhit1 = Instance.new("Part",char) | |
2272 | grabhit1.Size = Vector3.new(1,1,1) | |
2273 | grabhit1.Position = Vector3.new(999,999,999) | |
2274 | grabhit1.Transparency = 1 | |
2275 | grabhit1.CanCollide = false | |
2276 | grabweld = Instance.new("Weld",grabhit1) | |
2277 | grabweld.Part0 = torso | |
2278 | grabweld.Part1 = grabhit1 | |
2279 | grabweld.C0 = CFrame.new(0,0,-2) | |
2280 | function touch(hit) | |
2281 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2282 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2283 | grabhit1.TouchInterest:Destroy() | |
2284 | go1 = false | |
2285 | ||
2286 | ------------------------------------------------------------------- | |
2287 | ||
2288 | ||
2289 | swings() | |
2290 | hu12.Health = hu12.Health - 20 | |
2291 | hu12.Health = hu12.Health - 10 | |
2292 | he12.Anchored = false | |
2293 | pushed1 = true | |
2294 | divine.Transparency = .5 | |
2295 | divine2.Transparency = .5 | |
2296 | divine3.Transparency = .5 | |
2297 | divine4.Transparency = .5 | |
2298 | divine5.Transparency = .5 | |
2299 | divine6.Transparency = .5 | |
2300 | ||
2301 | divineswinging() | |
2302 | ||
2303 | hu12.Health = hu12.Health - 10 | |
2304 | pushed1 = false | |
2305 | shot1 = false | |
2306 | divine.CFrame = to12.CFrame + hed.CFrame.lookVector | |
2307 | divine2.CFrame = ra12.CFrame + hed.CFrame.lookVector + v3(0,0,0) | |
2308 | divine3.CFrame = la12.CFrame + hed.CFrame.lookVector + v3(0,0,0) | |
2309 | divine4.CFrame = rl12.CFrame + hed.CFrame.lookVector + v3(2.1,1.3,0) | |
2310 | divine5.CFrame = ll12.CFrame + hed.CFrame.lookVector + v3(-1.7,1.6,0) | |
2311 | divine6.CFrame = he12.CFrame + hed.CFrame.lookVector + v3(1.9,-1,0) | |
2312 | ||
2313 | divine.Anchored = true | |
2314 | divine2.Anchored = true | |
2315 | divine3.Anchored = true | |
2316 | divine4.Anchored = true | |
2317 | divine5.Anchored = true | |
2318 | divine6.Anchored = true | |
2319 | he12.Anchored = true | |
2320 | go1 = false | |
2321 | part6 = Instance.new("Part",to12) | |
2322 | part6.Size = Vector3.new(1,1,1) | |
2323 | part6.Transparency = 0 | |
2324 | part6.Position = hit.Position | |
2325 | part6.BrickColor = BrickColor.new("Hot pink") | |
2326 | partmesh = Instance.new("SpecialMesh",part6) | |
2327 | partmesh.MeshType = "Sphere" | |
2328 | partmesh.Scale = Vector3.new(1,1,1) | |
2329 | partweld1 = Instance.new("Weld",to12) | |
2330 | partweld1.Part0 = to12 | |
2331 | partweld1.Part1 = part6 | |
2332 | partweld1.C0 = CFrame.new(0,0,0) | |
2333 | ||
2334 | divineend() | |
2335 | ||
2336 | ||
2337 | wait(0.4) | |
2338 | hu12:Destroy() | |
2339 | ||
2340 | for i = 1,50 do | |
2341 | wait() | |
2342 | partmesh.Scale = partmesh.Scale + Vector3.new(7,7,7) | |
2343 | part6.Transparency = part6.Transparency + 0.02 | |
2344 | end | |
2345 | hu12.WalkSpeed = 16 | |
2346 | ||
2347 | ||
2348 | ------------------------------------------------------------ | |
2349 | hand1:Destroy() | |
2350 | hand2:Destroy() | |
2351 | kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
2352 | kiblade.Transparency = 1 | |
2353 | trail.Enabled = false | |
2354 | ||
2355 | for i,v in pairs(char:children()) do | |
2356 | if v:IsA("Accessory") then | |
2357 | v:Destroy() | |
2358 | end | |
2359 | end | |
2360 | for i,v in pairs(char:children()) do | |
2361 | if v:IsA("Hat") then | |
2362 | v:Destroy() | |
2363 | end | |
2364 | end | |
2365 | canattack = true | |
2366 | idle = true | |
2367 | grabhit:Destroy() | |
2368 | idle1 = true | |
2369 | ||
2370 | if jk == true then | |
2371 | jk = false | |
2372 | clickon = true | |
2373 | end | |
2374 | ||
2375 | grab8 = false | |
2376 | end | |
2377 | end | |
2378 | grabhit1.Touched:connect(touch) | |
2379 | end | |
2380 | ||
2381 | ||
2382 | end | |
2383 | ||
2384 | ||
2385 | ||
2386 | ||
2387 | ||
2388 | ||
2389 | ||
2390 | ||
2391 | grabhit.Touched:connect(touch) | |
2392 | end | |
2393 | end | |
2394 | grabhit3.Touched:connect(touch5) | |
2395 | ||
2396 | ||
2397 | ||
2398 | wait(3) | |
2399 | ||
2400 | if grab2 == false then | |
2401 | grabhit3:Destroy() | |
2402 | go2 = false | |
2403 | kiblade.Transparency = 1 | |
2404 | trail.Enabled = false | |
2405 | canattack = true | |
2406 | idle = true | |
2407 | up = 0 | |
2408 | ||
2409 | idle1 = true | |
2410 | if jk == true then | |
2411 | jk = false | |
2412 | clickon = true | |
2413 | end | |
2414 | ||
2415 | ||
2416 | ||
2417 | end | |
2418 | end | |
2419 | end | |
2420 | ||
2421 | ||
2422 | end | |
2423 | end) | |
2424 | ||
2425 | ||
2426 | ||
2427 | ------------------------------------------------------------------ | |
2428 | throw1 = 3 | |
2429 | game:GetService("RunService").RenderStepped:connect(function() | |
2430 | ||
2431 | ||
2432 | if pushed == true then | |
2433 | ||
2434 | to12.CFrame = to12.CFrame + hed.CFrame.lookVector * 3 + v3(0,0.51,0) | |
2435 | end | |
2436 | if pushed1 == true then | |
2437 | ||
2438 | to12.CFrame = to12.CFrame + hed.CFrame.lookVector * 1.5 + v3(0,0,0) | |
2439 | end | |
2440 | if go1 == true then | |
2441 | ||
2442 | torso.CFrame = CFrame.new(torso.CFrame.p,to12.CFrame.p + v3(0,0,2)) | |
2443 | end | |
2444 | if go2 == true then | |
2445 | torso.CFrame = CFrame.new(torso.CFrame.p,t.CFrame.p + v3(0,0,2)) | |
2446 | ||
2447 | end | |
2448 | if shot1 == true then | |
2449 | throw1 = throw1 + 1.5 | |
2450 | divine.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(0,0,0) | |
2451 | divine2.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(1,0,0) | |
2452 | divine3.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(-1,-1,0) | |
2453 | divine4.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(2,1,0) | |
2454 | divine5.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(-1,1,0) | |
2455 | divine6.CFrame = hed.CFrame + hed.CFrame.lookVector * throw1 + v3(2,-1,0) | |
2456 | ||
2457 | ||
2458 | end | |
2459 | ||
2460 | ||
2461 | ||
2462 | ||
2463 | ||
2464 | ||
2465 | ||
2466 | ||
2467 | ||
2468 | ||
2469 | ||
2470 | ||
2471 | ||
2472 | ||
2473 | ||
2474 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2475 | ||
2476 | if walk == true then | |
2477 | ||
2478 | if canattack == true then | |
2479 | walk = false | |
2480 | ok = 0 | |
2481 | hum.HipHeight = 0 | |
2482 | lala = false | |
2483 | down2 = false | |
2484 | walkon = true | |
2485 | ||
2486 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
2487 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.5)--torso | |
2488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(5)), 0.5)--rarm | |
2489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-5)),0.5)--larm | |
2490 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-5)),.5)--lleg | |
2491 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(5)),.5)--rleg | |
2492 | wait(0.1) | |
2493 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
2495 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.5)--torso | |
2496 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(5)), 0.5)--rarm | |
2497 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-5)),0.5)--larm | |
2498 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-5)),.5)--lleg | |
2499 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(5)),.5)--rleg | |
2500 | wait(0.1) | |
2501 | end | |
2502 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2503 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2504 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2505 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .5)--rarm | |
2506 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)),1)--larm | |
2507 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-5)),.5)--lleg | |
2508 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(5)),.5)--rleg | |
2509 | ||
2510 | ||
2511 | wait(.1) | |
2512 | end | |
2513 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2514 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2515 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .5)--rarm | |
2517 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)),1)--larm | |
2518 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-5)),.5)--lleg | |
2519 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(5)),.5)--rleg | |
2520 | ||
2521 | ||
2522 | wait(.1) | |
2523 | end | |
2524 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2525 | ||
2526 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2527 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2528 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
2529 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
2530 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
2531 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
2532 | wait(0.1) | |
2533 | ||
2534 | end | |
2535 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2536 | ||
2537 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2538 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2539 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
2540 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
2541 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
2542 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
2543 | wait(0.1) | |
2544 | ||
2545 | end | |
2546 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2547 | ||
2548 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2549 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2550 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(5)), .5)--rarm | |
2551 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-5)),.5)--larm | |
2552 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.5)--lleg | |
2553 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5)),.5)--rleg | |
2554 | wait(0.1) | |
2555 | end | |
2556 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2557 | ||
2558 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2559 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2560 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(5)), .5)--rarm | |
2561 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-5)),.5)--larm | |
2562 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.5)--lleg | |
2563 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5)),.5)--rleg | |
2564 | wait(0.1) | |
2565 | end | |
2566 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2567 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2568 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2569 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .5)--rarm | |
2570 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)),.5)--larm | |
2571 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(-5)),.5)--lleg | |
2572 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(5)),.5)--rleg | |
2573 | wait(0.1) | |
2574 | ||
2575 | end | |
2576 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2577 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2578 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2579 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .5)--rarm | |
2580 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)),.5)--larm | |
2581 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(-5)),.5)--lleg | |
2582 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(5)),.5)--rleg | |
2583 | wait(0.1) | |
2584 | ||
2585 | end | |
2586 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2587 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2588 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2589 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
2590 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
2591 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
2592 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
2593 | ||
2594 | wait(0.1) | |
2595 | end | |
2596 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
2597 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2598 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
2599 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
2600 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
2601 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
2602 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
2603 | ||
2604 | wait(0.1) | |
2605 | end | |
2606 | ||
2607 | walk = true | |
2608 | end | |
2609 | end | |
2610 | end | |
2611 | if hum.MoveDirection.x == 0 and nohit > 10 then | |
2612 | if idle1 == true then | |
2613 | if ssjr == true then | |
2614 | walkon = false | |
2615 | idle1 = false | |
2616 | idle = false | |
2617 | if canattack == true then | |
2618 | idle = true | |
2619 | idle1 = true | |
2620 | end | |
2621 | ||
2622 | hum.HipHeight = ok | |
2623 | stance1() | |
2624 | ||
2625 | end | |
2626 | end | |
2627 | end | |
2628 | if hum.MoveDirection.x == 0 and nohit > 10 then | |
2629 | if idle1 == true then | |
2630 | if base == true then | |
2631 | hum.HipHeight = 0 | |
2632 | if canattack == true then | |
2633 | idle = true | |
2634 | idle1 = true | |
2635 | end | |
2636 | walkon = false | |
2637 | idle1 = false | |
2638 | idle = false | |
2639 | if canattack == true then | |
2640 | idle = true | |
2641 | idle1 = true | |
2642 | end | |
2643 | ||
2644 | stance2() | |
2645 | ||
2646 | end | |
2647 | end | |
2648 | end | |
2649 | if rl == true then | |
2650 | rl = false | |
2651 | nohit = nohit + 0.2 | |
2652 | rl = true | |
2653 | end | |
2654 | ||
2655 | if lala == false and walkon == false then | |
2656 | ||
2657 | ok = ok + 0.05 | |
2658 | ||
2659 | end | |
2660 | if ok > 3.9999999 and walkon == false then | |
2661 | lala = true | |
2662 | down2 = true | |
2663 | ok = ok - 0.05 | |
2664 | ||
2665 | end | |
2666 | if ok < 0.1111111 and walkon == false then | |
2667 | down2 = false | |
2668 | lala = false | |
2669 | end | |
2670 | if down2 == true then | |
2671 | ok = ok - 0.05 | |
2672 | end | |
2673 | ||
2674 | ||
2675 | ||
2676 | ||
2677 | ||
2678 | ||
2679 | if auracan3 == true then | |
2680 | auracan3 = false | |
2681 | aura3.Texture = "rbxassetid://901509906" | |
2682 | wait(0.07) | |
2683 | aura3.Texture = "rbxassetid://901510046" | |
2684 | wait(0.07) | |
2685 | aura3.Texture = "rbxassetid://901510125" | |
2686 | wait(0.07) | |
2687 | auracan3 = true | |
2688 | end | |
2689 | ||
2690 | ||
2691 | ||
2692 | ||
2693 | ||
2694 | if kamehameha == true then | |
2695 | aj1 = aj1 + 0.005 | |
2696 | partaura.Size = NumberSequence.new(aj1) | |
2697 | beam1.Size=beam1.Size + v3(0.01,0.01,0) | |
2698 | beamdamage = beamdamage + 0.001 | |
2699 | expl1.Size=expl1.Size + v3(0.01,0.01,0.01)*s1.Volume | |
2700 | exa1.Size=exa1.Size + v3(0.01,0.01,0.01)*s1.Volume | |
2701 | else | |
2702 | aj1 = 0.1 | |
2703 | ||
2704 | end | |
2705 | ||
2706 | if clickon == true then | |
2707 | ||
2708 | torso.CFrame = CFrame.new(torso.CFrame.p,t.CFrame.p) | |
2709 | if hu.Health > 100 then | |
2710 | hu.MaxHealth = 100 | |
2711 | hu.Health = 100 | |
2712 | end | |
2713 | if hu.Health < 1 then | |
2714 | clickon = false | |
2715 | ||
2716 | end | |
2717 | ||
2718 | end | |
2719 | ||
2720 | if darius == true then | |
2721 | darius = false | |
2722 | wait(0.1) | |
2723 | part2.Texture = "http://www.roblox.com/asset/?id=926975911" | |
2724 | wait(0.1) | |
2725 | part2.Texture = "http://www.roblox.com/asset/?id=926976058" | |
2726 | wait(0.1) | |
2727 | part2.Texture = "http://www.roblox.com/asset/?id=926976185" | |
2728 | ||
2729 | ||
2730 | darius = true | |
2731 | end | |
2732 | if darius1 == true then | |
2733 | darius1 = false | |
2734 | wait(0.1) | |
2735 | part7.Texture = "http://www.roblox.com/asset/?id=927229024" | |
2736 | wait(0.1) | |
2737 | part7.Texture = "http://www.roblox.com/asset/?id=927282857" | |
2738 | wait(0.1) | |
2739 | part7.Texture = "http://www.roblox.com/asset/?id=927283016" | |
2740 | ||
2741 | ||
2742 | darius1 = true | |
2743 | end | |
2744 | ||
2745 | ||
2746 | if auracan1 == true then | |
2747 | auracan1 = false | |
2748 | aura1.Texture = "rbxassetid://281983000" | |
2749 | wait(0.1) | |
2750 | aura1.Texture = "rbxassetid://281982895" | |
2751 | wait(0.1) | |
2752 | aura1.Texture = "rbxassetid://281983092" | |
2753 | wait(0.1) | |
2754 | aura1.Texture = "rbxassetid://281996097" | |
2755 | wait(0.1) | |
2756 | aura1.Texture = "rbxassetid://281983189" | |
2757 | wait(0.1) | |
2758 | aura1.Texture = "rbxassetid://281983242" | |
2759 | wait(0.1) | |
2760 | aura1.Texture = "rbxassetid://281983280" | |
2761 | wait(0.1) | |
2762 | aura1.Texture = "rbxassetid://281983337" | |
2763 | wait(0.1) | |
2764 | ||
2765 | auracan1 = true | |
2766 | end | |
2767 | ||
2768 | ||
2769 | ||
2770 | ||
2771 | ||
2772 | ||
2773 | ||
2774 | ||
2775 | ||
2776 | ||
2777 | ||
2778 | if shake == true then | |
2779 | if lolf == true then | |
2780 | lolf = false | |
2781 | ||
2782 | hum.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
2783 | ||
2784 | ||
2785 | ||
2786 | ||
2787 | wait() | |
2788 | lolf = true | |
2789 | end | |
2790 | end | |
2791 | ||
2792 | end) | |
2793 | zwc1 = Instance.new("Sound",torso) | |
2794 | zwc1.Volume = 5 | |
2795 | zwc1.Looped = false | |
2796 | zwc1.SoundId = "rbxassetid://744770874" | |
2797 | mouse.KeyDown:connect(function(key) | |
2798 | if key == "z" then | |
2799 | if canattack == true then | |
2800 | ||
2801 | canattack = false | |
2802 | idle = false | |
2803 | hum.WalkSpeed = 0 | |
2804 | nohit = 0 | |
2805 | idle1 = false | |
2806 | for i = 1, 10 do | |
2807 | wait() | |
2808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2809 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
2810 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.4)--arm | |
2811 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.7,-0.7)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(140)), 0.4)--arm | |
2812 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4)--leg | |
2813 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
2814 | end | |
2815 | ||
2816 | zwc1:Play() | |
2817 | if clickon == true then | |
2818 | torso.CFrame = t.CFrame - Vector3.new(0,0,2) | |
2819 | else | |
2820 | torso.CFrame = torso.CFrame + torso.CFrame.lookVector * 40 | |
2821 | end | |
2822 | canattack = true | |
2823 | idle = true | |
2824 | hum.WalkSpeed = 10 | |
2825 | idle1 = true | |
2826 | end | |
2827 | ||
2828 | ||
2829 | end | |
2830 | end) | |
2831 | ||
2832 | ee = Instance.new("Part",char) | |
2833 | ee.Size = Vector3.new(0.2,0.2,0.2) | |
2834 | ee.Position = Vector3.new(9999999,9999999,9999999) | |
2835 | ee.Shape = "Ball" | |
2836 | ee.BrickColor = BrickColor.new("Lime green") | |
2837 | ee1 = Instance.new("Part",char) | |
2838 | ee1.Size = Vector3.new(0.18,0.18,0.18) | |
2839 | ee1.Position = Vector3.new(999999,999999,999999) | |
2840 | ee1.Shape = "Ball" | |
2841 | ee1.BrickColor = BrickColor.new("New Yeller") | |
2842 | ee2 = Instance.new("Part",char) | |
2843 | ee2.Size = Vector3.new(0.06,0.06,0.06) | |
2844 | ee2.Shape = "Ball" | |
2845 | ee2.BrickColor = BrickColor.new("New Yeller") | |
2846 | ee2.Position = Vector3.new(99999,99999,99999) | |
2847 | ee3 = Instance.new("Part",char) | |
2848 | ee3.Size = Vector3.new(0.06,0.06,0.06) | |
2849 | ee3.Shape = "Ball" | |
2850 | ee3.BrickColor = BrickColor.new("New Yeller") | |
2851 | ee3.Position = Vector3.new(9999,9999,9999) | |
2852 | ee4 = Instance.new("Part",char) | |
2853 | ee4.Size = Vector3.new(0.1,0.1,0.1) | |
2854 | ee4.Shape = "Ball" | |
2855 | ee4.BrickColor = BrickColor.new("New Yeller") | |
2856 | ee4.Position = Vector3.new(999,999,999) | |
2857 | eew = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
2858 | eew.Part0 = game.Players.LocalPlayer.Character.Head | |
2859 | eew.Part1 = ee | |
2860 | eew.C0 = CFrame.new(-0.68,-0.22,0) | |
2861 | eew1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
2862 | eew1.Part0 = ee | |
2863 | eew1.Part1 = ee1 | |
2864 | eew1.C0 = CFrame.new(0,0.02,0) | |
2865 | eew2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
2866 | eew2.Part0 = game.Players.LocalPlayer.Character.Head | |
2867 | eew2.Part1 = ee2 | |
2868 | eew2.C0 = CFrame.new(-0.67,-0.1,0) | |
2869 | eew3 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
2870 | eew3.Part0 = game.Players.LocalPlayer.Character.Head | |
2871 | eew3.Part1 = ee3 | |
2872 | eew3.C0 = CFrame.new(-0.66,-0.05,0) | |
2873 | eew4 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
2874 | eew4.Part0 = game.Players.LocalPlayer.Character.Head | |
2875 | eew4.Part1 = ee4 | |
2876 | eew4.C0 = CFrame.new(-0.64,-0.01,0) | |
2877 | chatfunc("So This Is Goku Body") | |
2878 | wait(4) | |
2879 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
2880 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
2881 | end |