SHOW:
|
|
- or go back to the newest paste.
1 | --//Evelyn\\Script//Made\\By//Zalgo_exe\\-- | |
2 | --\\Evelyn Character Originally Made By Gargeodd//-- | |
3 | ||
4 | wait(0.2) | |
5 | ||
6 | - | local Player = game:GetService("Players").g9est_666--<=== Replace With Your Name |
6 | + | local Player = game:GetService("Players").julio_7779--<=== Replace With Your Name |
7 | ||
8 | ||
9 | local Mouse,mouse,UserInputService,ContextActionService | |
10 | do | |
11 | script.Parent = Player.Character | |
12 | local CAS = {Actions={}} | |
13 | local Event = Instance.new("RemoteEvent") | |
14 | Event.Name = "UserInput_Event" | |
15 | Event.Parent = Player.Character | |
16 | local fakeEvent = function() | |
17 | local t = {_fakeEvent=true} | |
18 | t.Connect = function(self,f)self.Function=f end | |
19 | t.connect = t.Connect | |
20 | return t | |
21 | end | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | function CAS:BindAction(name,fun,touch,...) | |
25 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
26 | end | |
27 | function CAS:UnbindAction(name) | |
28 | CAS.Actions[name] = nil | |
29 | end | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent and t.Function then | |
33 | t.Function(...) | |
34 | end | |
35 | end | |
36 | m.TrigEvent = te | |
37 | UIS.TrigEvent = te | |
38 | Event.OnServerEvent:Connect(function(plr,io) | |
39 | if plr~=Player then return end | |
40 | if io.isMouse then | |
41 | m.Target = io.Target | |
42 | m.Hit = io.Hit | |
43 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
44 | if io.UserInputState == Enum.UserInputState.Begin then | |
45 | m:TrigEvent("Button1Down") | |
46 | else | |
47 | m:TrigEvent("Button1Up") | |
48 | end | |
49 | else | |
50 | for n,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | if io.UserInputState == Enum.UserInputState.Begin then | |
58 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent("InputBegan",io,false) | |
60 | else | |
61 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
62 | UIS:TrigEvent("InputEnded",io,false) | |
63 | end | |
64 | end | |
65 | end) | |
66 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
67 | end | |
68 | ||
69 | wait(0.2) | |
70 | - | local Player, Character = game:service("Players").g9est_666, game:GetService("Players").g9est_666.Character; |
70 | + | local Player, Character = game:service("Players").julio_7779, game:GetService("Players").julio_7779.Character; |
71 | local Torso = Character:FindFirstChild("Torso") | |
72 | local rootPart = Character:FindFirstChild("HumanoidRootPart") | |
73 | local Humanoid = Character:FindFirstChild("Humanoid") | |
74 | local Head = Character:FindFirstChild("Head") | |
75 | local Right_Arm = Character:FindFirstChild("Right Arm") | |
76 | local Left_Arm = Character:FindFirstChild("Left Arm") | |
77 | local Right_Leg = Character:FindFirstChild("Right Leg") | |
78 | local Left_Leg = Character:FindFirstChild("Left Leg") | |
79 | local Right_Shoulder = Torso:FindFirstChild("Right Shoulder") | |
80 | local Left_Shoulder = Torso:FindFirstChild("Left Shoulder") | |
81 | local Right_Hip = Torso:FindFirstChild("Right Hip") | |
82 | local Left_Hip = Torso:FindFirstChild("Left Hip") | |
83 | local Neck = Torso:FindFirstChild("Neck") | |
84 | local rootPart = Character:FindFirstChild("HumanoidRootPart") | |
85 | local rootJoint = rootPart:FindFirstChild("RootJoint") | |
86 | local CurrentIdle = "Idling1" | |
87 | local Degree = 0.0175438596491228 | |
88 | local canremove = false | |
89 | local debounce = false | |
90 | local UIService=game:GetService'UserInputService' | |
91 | Character.Sound:Destroy() | |
92 | _G.SongName = math.random(1,9025232) | |
93 | sin = math.sin | |
94 | Right_Leg.FormFactor = "Custom"; | |
95 | Left_Leg.FormFactor = "Custom"; | |
96 | rootPart.Archivable = true; | |
97 | rootJoint.Archivable = true; | |
98 | c_new = CFrame.new; | |
99 | c_angles = CFrame.Angles; | |
100 | i_new = Instance.new | |
101 | Humanoid:ClearAllChildren(); | |
102 | local isAttacking = false | |
103 | local isSprinting = false | |
104 | local Animations = false | |
105 | local Angle = 0 | |
106 | local Axis = 0 | |
107 | local angleSpeed = 1 | |
108 | local axisSpeed = angleSpeed | |
109 | local currentAnim | |
110 | local levetatingheight = 3 | |
111 | idly = 0 | |
112 | idle = idly | |
113 | local Effects = Instance.new("Folder",Character) | |
114 | Effects.Name = "Effects" | |
115 | local SansAnim = false | |
116 | V="Really black" | |
117 | ||
118 | local txt = Instance.new("BillboardGui", Character) | |
119 | txt.Adornee = Head | |
120 | txt.Name = "_status" | |
121 | txt.Size = UDim2.new(2, 0, 2, 0) | |
122 | txt.StudsOffset = Vector3.new(-6.1, 6, 0) | |
123 | local text = Instance.new("TextLabel", txt) | |
124 | text.Size = UDim2.new(7, 0, 3, 0) | |
125 | text.FontSize = "Size24" | |
126 | text.TextScaled = true | |
127 | text.TextTransparency = 0 | |
128 | text.BackgroundTransparency = 1 | |
129 | text.TextTransparency = 0 | |
130 | text.TextStrokeTransparency = 0 | |
131 | text.Font = "Garamond" | |
132 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
133 | text.TextColor3 = Color3.new(1,1,1) | |
134 | text.Text = "Evelyn" | |
135 | ||
136 | for i,v in pairs(Character:GetChildren()) do | |
137 | if v:IsA('Shirt') or v:IsA('Pants') then | |
138 | v:Destroy() | |
139 | end | |
140 | end | |
141 | ||
142 | for i,v in pairs(Character:GetChildren()) do | |
143 | if v:IsA('CharacterMesh') then | |
144 | v:Destroy() | |
145 | end | |
146 | end | |
147 | ||
148 | Humanoid.MaxHealth = 200 | |
149 | Humanoid.Health = 200 | |
150 | ||
151 | function Trace() | |
152 | local ch = Character:GetChildren() | |
153 | for i = 1, #ch do | |
154 | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
155 | local trace = Instance.new("Part",game.Workspace) | |
156 | trace.Size = ch[i].Size | |
157 | trace.Material = "Neon" | |
158 | trace.Color = Color3.new(0,0,0) | |
159 | trace.Transparency = 0.3 | |
160 | trace.CanCollide = false | |
161 | trace.Anchored = true | |
162 | trace.CFrame = ch[i].CFrame | |
163 | if ch[i].Name == "Head" then | |
164 | mehs = Instance.new("BlockMesh",trace) | |
165 | mehs.Scale = Vector3.new(0.5,1.25,1.25) | |
166 | end | |
167 | tracedisappear = coroutine.wrap(function() | |
168 | for i = 1, 7 do | |
169 | wait() | |
170 | trace.Transparency = trace.Transparency + .1 | |
171 | end | |
172 | trace:Destroy() | |
173 | end) | |
174 | tracedisappear() | |
175 | end | |
176 | end | |
177 | end | |
178 | ||
179 | local Theme = Instance.new('Sound',Character.Torso) | |
180 | Theme.Looped = true | |
181 | Theme.Volume = 10 | |
182 | Theme.MaxDistance=1000 | |
183 | Theme.EmitterSize=20 | |
184 | Theme.SoundId = 'rbxassetid://1825836370' | |
185 | Theme:Play() | |
186 | ||
187 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
188 | wld = Instance.new("Weld", wp1) | |
189 | wld.Part0 = wp0 | |
190 | wld.Part1 = wp1 | |
191 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
192 | return wld | |
193 | end | |
194 | ||
195 | it=Instance.new | |
196 | ||
197 | function nooutline(part) | |
198 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
199 | end | |
200 | ||
201 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
202 | local fp=it("Part") | |
203 | fp.formFactor=formfactor | |
204 | fp.Parent=parent | |
205 | fp.Reflectance=reflectance | |
206 | fp.Transparency=transparency | |
207 | fp.CanCollide=false | |
208 | fp.Locked=true | |
209 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
210 | fp.Name=name | |
211 | fp.Size=size | |
212 | fp.Position=Character.Torso.Position | |
213 | nooutline(fp) | |
214 | fp.Material=material | |
215 | fp:BreakJoints() | |
216 | return fp | |
217 | end | |
218 | ||
219 | function weld(parent, part0, part1, c0, c1) | |
220 | local Weld = Instance.new("Weld") | |
221 | Weld.Parent = parent | |
222 | Weld.Part0 = part0 | |
223 | Weld.Part1 = part1 | |
224 | Weld.C0 = c0 | |
225 | Weld.C1 = c1 | |
226 | ||
227 | return Weld | |
228 | end | |
229 | ||
230 | function noOutline(part) | |
231 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
232 | end | |
233 | ||
234 | local function Part(Name,Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent) | |
235 | local partie = i_new("Part",parent) | |
236 | partie.Name=Name | |
237 | partie.BrickColor = BrickColor.new(Color) | |
238 | partie.Material = Material | |
239 | partie.Shape = Shape | |
240 | partie.Transparency = Transparency | |
241 | partie.Size = Size | |
242 | partie.CFrame = CFrame | |
243 | partie.CanCollide = CanCollide | |
244 | partie.Anchored = Anchored | |
245 | return partie | |
246 | end | |
247 | ||
248 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
249 | ||
250 | --//=================================\\ | |
251 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
252 | --\\=================================// | |
253 | ||
254 | ArtificialHB = Instance.new("BindableEvent", script) | |
255 | ArtificialHB.Name = "ArtificialHB" | |
256 | ||
257 | script:WaitForChild("ArtificialHB") | |
258 | ||
259 | frame = Frame_Speed | |
260 | tf = 0 | |
261 | allowframeloss = false | |
262 | tossremainder = false | |
263 | lastframe = tick() | |
264 | script.ArtificialHB:Fire() | |
265 | ||
266 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
267 | tf = tf + s | |
268 | if tf >= frame then | |
269 | if allowframeloss then | |
270 | script.ArtificialHB:Fire() | |
271 | lastframe = tick() | |
272 | else | |
273 | for i = 1, math.floor(tf / frame) do | |
274 | script.ArtificialHB:Fire() | |
275 | end | |
276 | lastframe = tick() | |
277 | end | |
278 | if tossremainder then | |
279 | tf = 0 | |
280 | else | |
281 | tf = tf - frame * math.floor(tf / frame) | |
282 | end | |
283 | end | |
284 | end) | |
285 | ||
286 | --//=================================\\ | |
287 | --\\=================================// | |
288 | ||
289 | ||
290 | ||
291 | function swait(num) | |
292 | if num == 0 or num == nil then | |
293 | ArtificialHB.Event:wait() | |
294 | else | |
295 | for i = 1, num do | |
296 | ArtificialHB.Event:wait() | |
297 | end | |
298 | end | |
299 | end | |
300 | ||
301 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
302 | local mesh = i_new(Mesh) | |
303 | mesh.Parent = part | |
304 | if Mesh == "SpecialMesh" then | |
305 | mesh.MeshType = meshtype | |
306 | mesh.MeshId = meshid | |
307 | end | |
308 | mesh.Offset = offset | |
309 | mesh.Scale = scale | |
310 | return mesh | |
311 | end | |
312 | ||
313 | Head.Transparency = 1 | |
314 | ||
315 | local _Face = Instance.new("Part",Head) | |
316 | _Face.Name = "_Face" | |
317 | _Face.Shape = Enum.PartType.Block | |
318 | _Face.CanCollide = false | |
319 | _Face.Color = Color3.new(0,0,0) | |
320 | _Face.Transparency = 1 | |
321 | _Face.Material = "SmoothPlastic" | |
322 | _Face.Size = Vector3.new(1.95, 1.85, 1.85) | |
323 | _Face.TopSurface = Enum.SurfaceType.Smooth | |
324 | _Face.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Face) | |
325 | Weld.Part0 = Head | |
326 | Weld.Part1 = _Face | |
327 | Weld.C1 = CFrame.new(0,-0.3,-0.186) | |
328 | _FaceMesh = Instance.new("SpecialMesh",_Face) | |
329 | _FaceMesh.MeshType = "Sphere" | |
330 | _FaceMesh.Scale = Vector3.new(1,1,1) | |
331 | ||
332 | Eyes = Instance.new("Decal",_Face) | |
333 | Eyes.Texture = "rbxassetid://1572409210" | |
334 | ||
335 | Mouth = Instance.new("Decal",_Face) | |
336 | Mouth.Texture = "rbxassetid://1572409375" | |
337 | ||
338 | attack = false | |
339 | attack2 = false | |
340 | ||
341 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
342 | if SinglePlayer then | |
343 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
344 | end | |
345 | local List = {} | |
346 | for i, v in pairs(workspace:GetChildren()) do | |
347 | if v:IsA("Model") then | |
348 | if v:findFirstChild("Torso") then | |
349 | if v ~= Character then | |
350 | if (v.Torso.Position - Position).magnitude <= Distance then | |
351 | table.insert(List, v) | |
352 | end | |
353 | end | |
354 | end | |
355 | end | |
356 | end | |
357 | return List | |
358 | end | |
359 | ||
360 | function Normal_Face() | |
361 | if Transformed == false then | |
362 | Eyes.Texture = "rbxassetid://1572409210" | |
363 | Mouth.Texture = "rbxassetid://1572409375" | |
364 | else | |
365 | Eyes.Texture = "rbxassetid://1572409968" | |
366 | Mouth.Texture = "rbxassetid://1572411867" | |
367 | end | |
368 | end | |
369 | ||
370 | function Charm() | |
371 | attack = true | |
372 | attack2 = true | |
373 | Animations = true | |
374 | Eyes.Texture = "rbxassetid://1572409670" | |
375 | Mouth.Texture = "rbxassetid://1572411867" | |
376 | S = Instance.new("Sound") | |
377 | S.Parent = Character.Torso | |
378 | S.SoundId = "rbxassetid://875978120" | |
379 | S.Volume = 10 | |
380 | S.Looped = false | |
381 | S.Pitch = 1 | |
382 | S:Play() | |
383 | for i = 0,0.8,0.01 do | |
384 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(-30)), 0.15) | |
385 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(30)), 0.15) | |
386 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-45),math.rad(0) + math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
387 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0) - math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
388 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0) + math.sin(sine/7.5)/5,math.rad(0)), 0.15) | |
389 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0) - math.sin(sine/7.5)/5, math.rad(-25)), 0.15) | |
390 | swait() | |
391 | end | |
392 | Normal_Face() | |
393 | Animations = false | |
394 | attack = false | |
395 | attack2 = false | |
396 | end | |
397 | ||
398 | function Laugh() | |
399 | attack = true | |
400 | Animations = true | |
401 | Lauhg = Instance.new("Sound") | |
402 | Lauhg.Parent = Character.Torso | |
403 | Lauhg.SoundId = "rbxassetid://1098076461" | |
404 | Lauhg.Volume = 8 | |
405 | Lauhg.Looped = false | |
406 | Lauhg.Pitch = 1 | |
407 | Lauhg.TimePosition = 0.55 | |
408 | Lauhg:Play() | |
409 | Eyes.Texture = "rbxassetid://1572408983" | |
410 | Mouth.Texture = "rbxassetid://1572411867" | |
411 | for i = 0,1,0.01 do | |
412 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
413 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
414 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15) | |
415 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-35),math.rad(0),math.rad(0)), 0.15) | |
416 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
417 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/1)/4, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15) | |
418 | swait() | |
419 | end | |
420 | Normal_Face() | |
421 | Animations = false | |
422 | attack = false | |
423 | end | |
424 | ||
425 | local target = nil | |
426 | function Attackone() | |
427 | attack = true | |
428 | Animations = true | |
429 | Eyes.Texture = "rbxassetid://1572409968" | |
430 | Mouth.Texture = "rbxassetid://1572411867" | |
431 | for i = 0,0.15,0.01 do | |
432 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(130),math.rad(0),math.rad(20)), 0.2) | |
433 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(-35)), 0.2) | |
434 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
435 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
436 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.2) | |
437 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(60), math.rad(0)), 0.2) | |
438 | swait() | |
439 | end | |
440 | S = Instance.new("Sound") | |
441 | S.Parent = Character.Torso | |
442 | S.SoundId = "rbxassetid://417624771" | |
443 | S.Volume = 8 | |
444 | S.Looped = false | |
445 | S.Pitch = 1 | |
446 | S:Play() | |
447 | coroutine.wrap(function() | |
448 | con1=Right_Arm.Touched:connect(function(hit) | |
449 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then | |
450 | target = hit.Parent.Name | |
451 | hit.Parent.Humanoid:TakeDamage(math.random(10,20)) | |
452 | S = Instance.new("Sound") | |
453 | S.Parent = Character.Torso | |
454 | S.SoundId = "rbxassetid://1907654067" | |
455 | S.Volume = 8 | |
456 | S.Looped = false | |
457 | S.Pitch = 1 | |
458 | S:Play() | |
459 | end | |
460 | end) | |
461 | wait(0.1) | |
462 | con1:disconnect() | |
463 | end)() | |
464 | for i = 0,0.12,0.01 do | |
465 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(-30),math.rad(25)), 0.15) | |
466 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-15)), 0.15) | |
467 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
468 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
469 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(80),math.rad(0)), 0.15) | |
470 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(-80), math.rad(0)), 0.15) | |
471 | swait() | |
472 | end | |
473 | Normal_Face() | |
474 | target = nil | |
475 | Animations = false | |
476 | attack = false | |
477 | end | |
478 | ||
479 | function Attacktwo() | |
480 | attack = true | |
481 | Animations = true | |
482 | Eyes.Texture = "rbxassetid://1572409968" | |
483 | Mouth.Texture = "rbxassetid://1572411867" | |
484 | for i = 0,0.15,0.01 do | |
485 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
486 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(130),math.rad(0),math.rad(-35)), 0.2) | |
487 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
488 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
489 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.2) | |
490 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(-60), math.rad(0)), 0.2) | |
491 | swait() | |
492 | end | |
493 | S = Instance.new("Sound") | |
494 | S.Parent = Character.Torso | |
495 | S.SoundId = "rbxassetid://417624771" | |
496 | S.Volume = 8 | |
497 | S.Looped = false | |
498 | S.Pitch = 1 | |
499 | S:Play() | |
500 | coroutine.wrap(function() | |
501 | con1=Left_Arm.Touched:connect(function(hit) | |
502 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then | |
503 | target = hit.Parent.Name | |
504 | hit.Parent.Humanoid:TakeDamage(math.random(10,20)) | |
505 | S = Instance.new("Sound") | |
506 | S.Parent = Character.Torso | |
507 | S.SoundId = "rbxassetid://1907654067" | |
508 | S.Volume = 8 | |
509 | S.Looped = false | |
510 | S.Pitch = 1 | |
511 | S:Play() | |
512 | end | |
513 | end) | |
514 | wait(0.1) | |
515 | con1:disconnect() | |
516 | end)() | |
517 | for i = 0,0.12,0.01 do | |
518 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(15)), 0.15) | |
519 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(30),math.rad(-25)), 0.15) | |
520 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
521 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
522 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-80),math.rad(0)), 0.15) | |
523 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(80), math.rad(0)), 0.15) | |
524 | swait() | |
525 | end | |
526 | Normal_Face() | |
527 | target = nil | |
528 | Animations = false | |
529 | attack = false | |
530 | end | |
531 | ||
532 | function Attackthree() | |
533 | attack = true | |
534 | Animations = true | |
535 | Eyes.Texture = "rbxassetid://1572409968" | |
536 | Mouth.Texture = "rbxassetid://1572411867" | |
537 | S = Instance.new("Sound") | |
538 | S.Parent = Character.Torso | |
539 | S.SoundId = "rbxassetid://1031614266" | |
540 | S.Volume = 10 | |
541 | S.Looped = false | |
542 | S.Pitch = 1 | |
543 | S:Play() | |
544 | coroutine.wrap(function() | |
545 | for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 5)) do | |
546 | if v:FindFirstChild('HumanoidRootPart') then | |
547 | wait(0.25) | |
548 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(15,25) | |
549 | S = Instance.new("Sound") | |
550 | S.Parent = v:FindFirstChild('HumanoidRootPart') | |
551 | S.SoundId = "rbxassetid://884538090" | |
552 | S.Volume = 10 | |
553 | S.Looped = false | |
554 | S.Pitch = 1 | |
555 | S:Play() | |
556 | end | |
557 | end | |
558 | end)() | |
559 | for i = 0,0.3,0.01 do | |
560 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-90) - i * 14,math.rad(0),math.rad(20)), 0.2) | |
561 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-90) - i * 14,math.rad(0),math.rad(-20)), 0.2) | |
562 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
563 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, 0) * c_angles(math.rad(45),math.rad(0),math.rad(0)), 0.2) | |
564 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0.2, -1.5 + i * 2) * c_angles(math.rad(45) + i * 20, math.rad(0),math.rad(0)), 0.2) | |
565 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-45),math.rad(0), math.rad(0)), 0.2) | |
566 | swait() | |
567 | end | |
568 | ||
569 | Normal_Face() | |
570 | target = nil | |
571 | Animations = false | |
572 | attack = false | |
573 | end | |
574 | ||
575 | function Attackfour() | |
576 | attack = true | |
577 | Animations = true | |
578 | Eyes.Texture = "rbxassetid://1572408983" | |
579 | Mouth.Texture = "rbxassetid://1572410439" | |
580 | for i = 0,0.01,0.01 do | |
581 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
582 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
583 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
584 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
585 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
586 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
587 | end | |
588 | for i = 0,0.08,0.01 do | |
589 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180),math.rad(0),math.rad(0)), 0.15) | |
590 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 1.2, 0) * c_angles(math.rad(180),math.rad(0),math.rad(0)), 0.15) | |
591 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
592 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
593 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
594 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
595 | swait() | |
596 | end | |
597 | Eyes.Texture = "rbxassetid://1572409968" | |
598 | Mouth.Texture = "rbxassetid://1572411867" | |
599 | S = Instance.new("Sound") | |
600 | S.Parent = Character.Torso | |
601 | S.SoundId = "rbxassetid://755646516" | |
602 | S.Volume = 10 | |
603 | S.Looped = false | |
604 | S.Pitch = 1 | |
605 | S:Play() | |
606 | for i = 0,0.05,0.01 do | |
607 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.25) * c_angles(math.rad(200),math.rad(0),math.rad(-40)), 0.15) | |
608 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.25) * c_angles(math.rad(200),math.rad(0),math.rad(40)), 0.15) | |
609 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
610 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
611 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
612 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
613 | swait() | |
614 | end | |
615 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do | |
616 | if v:FindFirstChild('HumanoidRootPart') then | |
617 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,30) | |
618 | S = Instance.new("Sound") | |
619 | S.Parent = Character.Torso | |
620 | S.SoundId = "rbxassetid://1907654067" | |
621 | S.Volume = 8 | |
622 | S.Looped = false | |
623 | S.Pitch = 1 | |
624 | S:Play() | |
625 | end | |
626 | end | |
627 | for i = 0,0.01,0.01 do | |
628 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(-40)), 0.15) | |
629 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(40)), 0.15) | |
630 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
631 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
632 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
633 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
634 | swait() | |
635 | end | |
636 | for i = 0,0.04,0.01 do | |
637 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.2, -1) * c_angles(math.rad(0),math.rad(0),math.rad(-40)), 0.15) | |
638 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.2, -1) * c_angles(math.rad(0),math.rad(0),math.rad(40)), 0.15) | |
639 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.15) | |
640 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.15) | |
641 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(0)), 0.15) | |
642 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
643 | swait() | |
644 | end | |
645 | wait(0.1) | |
646 | Normal_Face() | |
647 | Animations = false | |
648 | attack = false | |
649 | end | |
650 | ||
651 | function Attackfive() | |
652 | attack = true | |
653 | Animations = true | |
654 | Eyes.Texture = "rbxassetid://1572409968" | |
655 | Mouth.Texture = "rbxassetid://1572411867" | |
656 | Wh = Instance.new("Sound") | |
657 | Wh.Parent = Character.Torso | |
658 | Wh.SoundId = "rbxassetid://1152719084" | |
659 | Wh.Volume = 10 | |
660 | Wh.Looped = false | |
661 | Wh.Pitch = 1.2 | |
662 | Wh.TimePosition = 0.3 | |
663 | Wh:Play() | |
664 | for i = 0,0.25,0.01 do | |
665 | Trace() | |
666 | Humanoid.WalkSpeed = 50 | |
667 | rootPart.Velocity = rootPart.CFrame.lookVector * 200 | |
668 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
669 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
670 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.7, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
671 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
672 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0.2, 0) * c_angles(math.rad(90), math.rad(0) + i * 50,math.rad(0)), 0.2) | |
673 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0) - i * 50, math.rad(0)), 0.2) | |
674 | coroutine.wrap(function() | |
675 | for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 6)) do | |
676 | if v:FindFirstChild('HumanoidRootPart') then | |
677 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - 1.5 | |
678 | end | |
679 | end | |
680 | end)() | |
681 | swait() | |
682 | end | |
683 | Wh:Destroy() | |
684 | Normal_Face() | |
685 | target = nil | |
686 | Animations = false | |
687 | attack = false | |
688 | end | |
689 | ||
690 | function Rage() | |
691 | attack = true | |
692 | attack2 = true | |
693 | Animations = true | |
694 | Eyes.Texture = "rbxassetid://1572409830" | |
695 | Mouth.Texture = "rbxassetid://1572410763" | |
696 | S = Instance.new("Sound") | |
697 | S.Parent = Torso | |
698 | S.SoundId = "rbxassetid://298660207" | |
699 | S.Volume = 10 | |
700 | S.Looped = false | |
701 | S.Pitch = 1 | |
702 | S:Play() | |
703 | for i = 0,0.6,0.01 do | |
704 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
705 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
706 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
707 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
708 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, -2 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
709 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
710 | swait() | |
711 | end | |
712 | Eyes.Texture = "rbxassetid://1572410332" | |
713 | Mouth.Texture = "rbxassetid://1572411867" | |
714 | local rng2 = Instance.new("Part",Character) | |
715 | rng2.Anchored = true | |
716 | rng2.Color = Color3.new(0,0,0) | |
717 | rng2.CanCollide = false | |
718 | rng2.Material = "Neon" | |
719 | rng2.FormFactor = 3 | |
720 | rng2.Name = "Shockwave" | |
721 | rng2.Size = Vector3.new(1, 1, 1) | |
722 | rng2.Transparency = 0.35 | |
723 | rng2.TopSurface = 0 | |
724 | rng2.BottomSurface = 0 | |
725 | rng2.CFrame = rootPart.CFrame | |
726 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
727 | rngm2.Scale = Vector3.new(1, 0, 1) | |
728 | rngm2.Offset = Vector3.new(0,0.5,0) | |
729 | rngm2.MeshType = "Sphere" | |
730 | ||
731 | local rng = Instance.new("Part",Character) | |
732 | rng.Anchored = true | |
733 | rng.Color = Color3.new(0,0,0) | |
734 | rng.CanCollide = false | |
735 | rng.Material = "Neon" | |
736 | rng.FormFactor = 3 | |
737 | rng.Name = "Shockwave" | |
738 | rng.Size = Vector3.new(1, 1, 1) | |
739 | rng.Transparency = 0.35 | |
740 | rng.TopSurface = 0 | |
741 | rng.BottomSurface = 0 | |
742 | rng.CFrame = rootPart.CFrame | |
743 | local rngm = Instance.new("SpecialMesh", rng) | |
744 | rngm.Scale = Vector3.new(0, 0, 0) | |
745 | rngm.Offset = Vector3.new(0,0.5,0) | |
746 | rngm.MeshType = "Sphere" | |
747 | ||
748 | local rng3 = Instance.new("Part",Character) | |
749 | rng3.Anchored = true | |
750 | rng3.Color = Color3.new(0,0,0) | |
751 | rng3.CanCollide = false | |
752 | rng3.Material = "Neon" | |
753 | rng3.FormFactor = 3 | |
754 | rng3.Name = "Shockwave" | |
755 | rng3.Size = Vector3.new(1, 1, 1) | |
756 | rng3.Transparency = 0.35 | |
757 | rng3.TopSurface = 0 | |
758 | rng3.BottomSurface = 0 | |
759 | rng3.CFrame = rootPart.CFrame | |
760 | local rngm3 = Instance.new("SpecialMesh", rng3) | |
761 | rngm3.Scale = Vector3.new(0, 0, 0) | |
762 | rngm3.Offset = Vector3.new(0,0.5,0) | |
763 | rngm3.MeshType = "Sphere" | |
764 | S = Instance.new("Sound") | |
765 | S.Parent = Torso | |
766 | S.SoundId = "rbxassetid://1913279584" | |
767 | S.Volume = 8 | |
768 | S.Looped = false | |
769 | S.Pitch = 1 | |
770 | S:Play() | |
771 | ||
772 | spawn(function() | |
773 | for i = 1, 60, 2 do | |
774 | rng2.Color = Color3.new(i/60,0,0) | |
775 | rngm2.Scale = Vector3.new(5 + i*0.5, 5 + i*0.5 ,5 + i*0.5) | |
776 | rng2.Transparency = i/60 | |
777 | rngm.Scale = Vector3.new(2.5 + i*0.25, 2.5 + i*0.25 ,2.5 + i*0.25) | |
778 | rng.Transparency = i/60 | |
779 | rngm3.Scale = Vector3.new(1.25 + i*0.125, 1.25 + i*0.125 ,1.25 + i*0.125) | |
780 | rng3.Transparency = i/60 | |
781 | swait() | |
782 | end | |
783 | wait() | |
784 | rng3:Destroy() | |
785 | rng2:Destroy() | |
786 | rng:Destroy() | |
787 | end) | |
788 | ||
789 | coroutine.wrap(function() | |
790 | for i = 1,360 do | |
791 | local fx = Instance.new("Part",Effects) | |
792 | fx.Anchored = true | |
793 | fx.Color = Color3.new(0,0,0) | |
794 | fx.CanCollide = false | |
795 | fx.FormFactor = 3 | |
796 | fx.Name = "Shockwave" | |
797 | fx.Material = "Neon" | |
798 | fx.Size = Vector3.new(1, 1, 1) | |
799 | fx.Transparency = 0.35 | |
800 | fx.TopSurface = 0 | |
801 | fx.BottomSurface = 0 | |
802 | fx.CFrame = rootPart.CFrame | |
803 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
804 | local fxm = Instance.new("SpecialMesh", fx) | |
805 | fxm.Scale = Vector3.new(0,0,0) | |
806 | fxm.Offset = Vector3.new(0,0,0) | |
807 | fxm.MeshType = "Sphere" | |
808 | spawn(function() | |
809 | for i = 1, 60, 2 do | |
810 | fx.Color = Color3.new(i/30,0,0) | |
811 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
812 | fx.CFrame = fx.CFrame * CFrame.new(0,2.5,0) | |
813 | fx.Transparency = i/30 | |
814 | swait() | |
815 | end | |
816 | wait() | |
817 | fx:Destroy() | |
818 | end) | |
819 | end | |
820 | end)() | |
821 | ||
822 | coroutine.wrap(function() | |
823 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do | |
824 | if v:FindFirstChild('HumanoidRootPart') then | |
825 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,55) | |
826 | S = Instance.new("Sound") | |
827 | S.Parent = v:FindFirstChild('HumanoidRootPart') | |
828 | S.SoundId = "rbxassetid://884538090" | |
829 | S.Volume = 10 | |
830 | S.Looped = false | |
831 | S.Pitch = 1 | |
832 | S:Play() | |
833 | coroutine.wrap(function() | |
834 | for i = 1,20 do | |
835 | v:FindFirstChild('Torso').Velocity=(v:FindFirstChild('Torso').CFrame.lookVector*150)+Vector3.new(0,1,0)*80 | |
836 | swait() | |
837 | end | |
838 | end)() | |
839 | end | |
840 | end | |
841 | end)() | |
842 | for i = 0,0.7,0.01 do | |
843 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
844 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
845 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
846 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
847 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
848 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15) | |
849 | ||
850 | swait() | |
851 | end | |
852 | Normal_Face() | |
853 | target = nil | |
854 | Animations = false | |
855 | attack2 = false | |
856 | attack = false | |
857 | end | |
858 | ||
859 | ||
860 | function nooutline(part) | |
861 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
862 | end | |
863 | function perts(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
864 | local fp=it("Part") | |
865 | fp.formFactor=formfactor | |
866 | fp.Parent=parent | |
867 | fp.Reflectance=reflectance | |
868 | fp.Transparency=transparency | |
869 | fp.CanCollide=false | |
870 | fp.Locked=true | |
871 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
872 | fp.Name=name | |
873 | fp.Size=size | |
874 | fp.Position=Character.Torso.Position | |
875 | nooutline(fp) | |
876 | fp.Material=material | |
877 | fp:BreakJoints() | |
878 | return fp | |
879 | end | |
880 | ||
881 | function mush(Mesh,part,meshtype,meshid,offset,scale) | |
882 | local mush=it(Mesh) | |
883 | mush.Parent=part | |
884 | if Mesh=="SpecialMesh" then | |
885 | mush.MeshType=meshtype | |
886 | mush.MeshId=meshid | |
887 | end | |
888 | mush.Offset=offset | |
889 | mush.Scale=scale | |
890 | return mush | |
891 | end | |
892 | ||
893 | function wald2(parent,part0,part1,c0,c1) | |
894 | local wald2=it("Weld") | |
895 | wald2.Parent=parent | |
896 | wald2.Part0=part0 | |
897 | wald2.Part1=part1 | |
898 | wald2.C0=c0 | |
899 | wald2.C1=c1 | |
900 | return wald2 | |
901 | end | |
902 | ||
903 | Damagefunc2=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
904 | if hit.Parent==nil then | |
905 | return | |
906 | end | |
907 | h=hit.Parent:FindFirstChild("Humanoid") | |
908 | for _,v in pairs(hit.Parent:children()) do | |
909 | if v:IsA("Humanoid") then | |
910 | h=v | |
911 | end | |
912 | end | |
913 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
914 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
915 | end | |
916 | if hit.Parent.className=="Hat" then | |
917 | hit=hit.Parent.Parent:findFirstChild("Head") | |
918 | end | |
919 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
920 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
921 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
922 | return | |
923 | end]] | |
924 | -- hs(hit,1.2) | |
925 | c=Instance.new("ObjectValue") | |
926 | c.Name="creator" | |
927 | - | c.Value=game:service("Players").g9est_666 |
927 | + | c.Value=game:service("Players").julio_7779 |
928 | c.Parent=h | |
929 | game:GetService("Debris"):AddItem(c,.5) | |
930 | Damage=math.random(minim,maxim) | |
931 | -- h:TakeDamage(Damage) | |
932 | blocked=false | |
933 | block=hit.Parent:findFirstChild("Block") | |
934 | if block~=nil then | |
935 | print(block.className) | |
936 | if block.className=="NumberValue" then | |
937 | if block.Value>0 then | |
938 | blocked=true | |
939 | if decreaseblock==nil then | |
940 | block.Value=block.Value-1 | |
941 | end | |
942 | end | |
943 | end | |
944 | if block.className=="IntValue" then | |
945 | if block.Value>0 then | |
946 | blocked=true | |
947 | if decreaseblock~=nil then | |
948 | block.Value=block.Value-1 | |
949 | end | |
950 | end | |
951 | end | |
952 | end | |
953 | if blocked==false then | |
954 | -- h:TakeDamage(Damage) | |
955 | h.Health=h.Health-Damage | |
956 | else | |
957 | h.Health=h.Health-(Damage/2) | |
958 | end | |
959 | if Type=="Knockdown" then | |
960 | hum=hit.Parent.Humanoid | |
961 | hum.PlatformStand=true | |
962 | coroutine.resume(coroutine.create(function(HHumanoid) | |
963 | swait(1) | |
964 | HHumanoid.PlatformStand=false | |
965 | end),hum) | |
966 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
967 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
968 | local bodvol=Instance.new("BodyVelocity") | |
969 | bodvol.velocity=angle*knockback | |
970 | bodvol.P=5000 | |
971 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
972 | bodvol.Parent=hit | |
973 | rl=Instance.new("BodyAngularVelocity") | |
974 | rl.P=3000 | |
975 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
976 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
977 | rl.Parent=hit | |
978 | game:GetService("Debris"):AddItem(bodvol,.5) | |
979 | game:GetService("Debris"):AddItem(rl,.5) | |
980 | elseif Type=="Normal" then | |
981 | vp=Instance.new("BodyVelocity") | |
982 | vp.P=500 | |
983 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
984 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
985 | if KnockbackType==1 then | |
986 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
987 | elseif KnockbackType==2 then | |
988 | vp.velocity=Property.CFrame.lookVector*knockback | |
989 | end | |
990 | if knockback>0 then | |
991 | vp.Parent=hit.Parent.Torso | |
992 | end | |
993 | game:GetService("Debris"):AddItem(vp,.5) | |
994 | elseif Type=="Up" then | |
995 | local bodyVelocity=Instance.new("BodyVelocity") | |
996 | bodyVelocity.velocity=vt(0,60,0) | |
997 | bodyVelocity.P=5000 | |
998 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
999 | bodyVelocity.Parent=hit | |
1000 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1001 | rl=Instance.new("BodyAngularVelocity") | |
1002 | rl.P=3000 | |
1003 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1004 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1005 | rl.Parent=hit | |
1006 | game:GetService("Debris"):AddItem(rl,.5) | |
1007 | elseif Type=="Snare" then | |
1008 | bp=Instance.new("BodyPosition") | |
1009 | bp.P=2000 | |
1010 | bp.D=100 | |
1011 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1012 | bp.position=hit.Parent.Torso.Position | |
1013 | bp.Parent=hit.Parent.Torso | |
1014 | game:GetService("Debris"):AddItem(bp,1) | |
1015 | elseif Type=="Target" then | |
1016 | if Targetting==false then | |
1017 | ZTarget=hit.Parent.Torso | |
1018 | coroutine.resume(coroutine.create(function(Part) | |
1019 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1020 | swait(5) | |
1021 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1022 | end),ZTarget) | |
1023 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1024 | targetgui=Instance.new("BillboardGui") | |
1025 | targetgui.Parent=ZTarget | |
1026 | targetgui.Size=UDim2.new(10,100,10,100) | |
1027 | targ=Instance.new("ImageLabel") | |
1028 | targ.Parent=targetgui | |
1029 | targ.BackgroundTransparency=1 | |
1030 | targ.Image="rbxassetid://4834067" | |
1031 | targ.Size=UDim2.new(1,0,1,0) | |
1032 | cam.CameraType="Scriptable" | |
1033 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1034 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1035 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1036 | Targetting=true | |
1037 | RocketTarget=ZTarget | |
1038 | for i=1,Property do | |
1039 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1040 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1041 | swait() | |
1042 | end | |
1043 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1044 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1045 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1046 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*CFrame.new(0,5,10)*CFrame.fromEulerAnglesXYZ(-0.3,0,0) | |
1047 | end | |
1048 | Targetting=false | |
1049 | RocketTarget=nil | |
1050 | targetgui.Parent=nil | |
1051 | cam.CameraType="Custom" | |
1052 | end | |
1053 | end | |
1054 | debounce=Instance.new("BoolValue") | |
1055 | debounce.Name="DebounceHit" | |
1056 | debounce.Parent=hit.Parent | |
1057 | debounce.Value=true | |
1058 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1059 | c=Instance.new("ObjectValue") | |
1060 | c.Name="creator" | |
1061 | c.Value=Player | |
1062 | c.Parent=h | |
1063 | game:GetService("Debris"):AddItem(c,.5) | |
1064 | CRIT=false | |
1065 | hitDeb=true | |
1066 | AttackPos=6 | |
1067 | end | |
1068 | end | |
1069 | ||
1070 | function rayCast2(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1071 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1072 | end | |
1073 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1074 | local pat2 = perts(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1075 | pat2.Anchored = true | |
1076 | pat2.CFrame = cframe | |
1077 | pat2.Material = "Neon" | |
1078 | local mash2 = mush("CylinderMesh", pat2, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1079 | game:GetService("Debris"):AddItem(pat2, 2) | |
1080 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1081 | for i = 0, 1, delay do | |
1082 | swait() | |
1083 | Part.CFrame = Part.CFrame | |
1084 | Part.Transparency = i | |
1085 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1086 | end | |
1087 | Part.Parent = nil | |
1088 | end), pat2, mash2) | |
1089 | end | |
1090 | ||
1091 | function Shockwave2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1092 | local pat2 = perts(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1093 | pat2.Anchored = true | |
1094 | pat2.CFrame = cframe | |
1095 | pat2.Material = "Neon" | |
1096 | local mash2 = mush("SpecialMesh", pat2, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1097 | game:GetService("Debris"):AddItem(pat2, 2) | |
1098 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1099 | for i = 0, 1, delay do | |
1100 | swait() | |
1101 | Part.CFrame = Part.CFrame | |
1102 | Part.Transparency = i * 2 | |
1103 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1104 | end | |
1105 | Part.Parent = nil | |
1106 | end), pat2, mash2) | |
1107 | end | |
1108 | --brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay | |
1109 | ||
1110 | Firem = Instance.new("Part",Character) | |
1111 | Firem.Anchored = false | |
1112 | Firem.CanCollide = false | |
1113 | Firem.Size = Vector3.new(0.1,0.1,0.1) | |
1114 | Firem.Transparency = 1 | |
1115 | Weld = Instance.new("Weld",Firem) | |
1116 | Weld.Part0 = Head | |
1117 | Weld.Part1 = Firem | |
1118 | Weld.C1 = CFrame.new(0,-1.5,0) | |
1119 | Fire = Instance.new("Fire",Firem) | |
1120 | Fire.Color = Color3.new(1,0,0) | |
1121 | Fire.Size = 0 | |
1122 | Fire.SecondaryColor = Color3.new(1,0,0) | |
1123 | Fire.Enabled = false | |
1124 | ||
1125 | atk = 1 | |
1126 | function LaserBlaster() | |
1127 | attack = true | |
1128 | Animations = true | |
1129 | Point= Instance.new("BodyGyro") | |
1130 | Point.Parent = rootPart | |
1131 | Point.D = 175 | |
1132 | Point.P = 20000 | |
1133 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1134 | Eyes.Texture = "rbxassetid://1572409968" | |
1135 | Mouth.Texture = "rbxassetid://1572410439" | |
1136 | if atk == 1 then | |
1137 | for i = 0,0.08,0.01 do | |
1138 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1139 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(60)), 0.15) | |
1140 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1141 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1142 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1143 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.15) | |
1144 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(-60), math.rad(0)), 0.15) | |
1145 | swait() | |
1146 | end | |
1147 | S = Instance.new("Sound") | |
1148 | S.Parent = Character.Torso | |
1149 | S.SoundId = "rbxassetid://1336753255" | |
1150 | S.Volume = 10 | |
1151 | S.Looped = false | |
1152 | S.Pitch = 1 | |
1153 | S:Play() | |
1154 | local MouseLook=CFrame.new((Right_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1155 | local hit,pos = rayCast2(Right_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1156 | local mag=(Right_Arm.Position-pos).magnitude | |
1157 | Laser(BrickColor.new("Really black"),CFrame.new((Right_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1158 | if hit~=nil then | |
1159 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",Vector3.new()) | |
1160 | refa.Anchored=true | |
1161 | refa.CFrame=CFrame.new(pos) | |
1162 | game:GetService("Debris"):AddItem(refa,1) | |
1163 | Shockwave2(BrickColor.new("Really black"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1164 | Damagefunc2(hit,5,10,0,"Normal",rootPart,0) | |
1165 | Eyes.Texture = "rbxassetid://1572409968" | |
1166 | Mouth.Texture = "rbxassetid://1572411867" | |
1167 | for i = 0,0.1,0.01 do | |
1168 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1169 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.8) * c_angles(math.rad(90),math.rad(0),math.rad(-45)), 0.15) | |
1170 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1171 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1172 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1173 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-45),math.rad(0)), 0.15) | |
1174 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(45), math.rad(0)), 0.15) | |
1175 | swait() | |
1176 | end | |
1177 | for i = 0,0.25,0.01 do | |
1178 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1179 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(0)), 0.15) | |
1180 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
1181 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1182 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1183 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1184 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0), math.rad(0)), 0.15) | |
1185 | swait() | |
1186 | end | |
1187 | end | |
1188 | Point:Destroy() | |
1189 | atk = atk + 1 | |
1190 | elseif atk == 2 then | |
1191 | ||
1192 | for i = 0,0.08,0.01 do | |
1193 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1194 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1195 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(-60)), 0.15) | |
1196 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1197 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1198 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.15) | |
1199 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(60), math.rad(0)), 0.15) | |
1200 | swait() | |
1201 | end | |
1202 | S = Instance.new("Sound") | |
1203 | S.Parent = Character.Torso | |
1204 | S.SoundId = "rbxassetid://1336753453" | |
1205 | S.Volume = 10 | |
1206 | S.Looped = false | |
1207 | S.Pitch = 1 | |
1208 | S:Play() | |
1209 | local MouseLook=CFrame.new((Left_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1210 | local hit,pos = rayCast2(Left_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1211 | local mag=(Left_Arm.Position-pos).magnitude | |
1212 | Laser(BrickColor.new("Really black"),CFrame.new((Left_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1213 | if hit~=nil then | |
1214 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",Vector3.new()) | |
1215 | refa.Anchored=true | |
1216 | refa.CFrame=CFrame.new(pos) | |
1217 | game:GetService("Debris"):AddItem(refa,1) | |
1218 | Shockwave2(BrickColor.new("Really black"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1219 | Damagefunc2(hit,5,10,0,"Normal",rootPart,0) | |
1220 | Eyes.Texture = "rbxassetid://1572409968" | |
1221 | Mouth.Texture = "rbxassetid://1572411867" | |
1222 | for i = 0,0.1,0.01 do | |
1223 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1224 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1225 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.8) * c_angles(math.rad(90),math.rad(0),math.rad(45)), 0.15) | |
1226 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1227 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1228 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(45),math.rad(0)), 0.15) | |
1229 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(-45), math.rad(0)), 0.15) | |
1230 | swait() | |
1231 | end | |
1232 | for i = 0,0.25,0.01 do | |
1233 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1234 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.15) | |
1235 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(0)), 0.15) | |
1236 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0), math.rad(5) + math.sin(sine/7.5)/15), 0.15) | |
1237 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/15), 0.15) | |
1238 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1239 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0), math.rad(0)), 0.15) | |
1240 | swait() | |
1241 | end | |
1242 | end | |
1243 | Point:Destroy() | |
1244 | atk = 1 | |
1245 | end | |
1246 | Normal_Face() | |
1247 | Animations = false | |
1248 | attack = false | |
1249 | end | |
1250 | ||
1251 | ||
1252 | function LaserBarrage() | |
1253 | attack = true | |
1254 | Animations = true | |
1255 | Eyes.Texture = "rbxassetid://1572409968" | |
1256 | Mouth.Texture = "rbxassetid://1572410439" | |
1257 | if atk == 1 then | |
1258 | for i = 0,0.04,0.01 do | |
1259 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(60)), 0.5) | |
1260 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.5) | |
1261 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.5) | |
1262 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5) | |
1263 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.5) | |
1264 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(-60), math.rad(0)), 0.5) | |
1265 | swait() | |
1266 | end | |
1267 | S = Instance.new("Sound") | |
1268 | S.Parent = Character.Torso | |
1269 | S.SoundId = "rbxassetid://1336753255" | |
1270 | S.Volume = 10 | |
1271 | S.Looped = false | |
1272 | S.Pitch = 1 | |
1273 | S:Play() | |
1274 | local MouseLook=CFrame.new((Right_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1275 | local hit,pos = rayCast2(Right_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1276 | local mag=(Right_Arm.Position-pos).magnitude | |
1277 | Laser(BrickColor.new("Really red"),CFrame.new((Right_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1278 | if hit~=nil then | |
1279 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Effect",Vector3.new()) | |
1280 | refa.Anchored=true | |
1281 | refa.CFrame=CFrame.new(pos) | |
1282 | game:GetService("Debris"):AddItem(refa,1) | |
1283 | Shockwave2(BrickColor.new("Really red"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1284 | coroutine.wrap(function() | |
1285 | ||
1286 | ||
1287 | spawn(function() | |
1288 | for i = 1, 60, 2 do | |
1289 | ||
1290 | swait() | |
1291 | end | |
1292 | wait() | |
1293 | ||
1294 | end) | |
1295 | ||
1296 | end)() | |
1297 | Damagefunc2(hit,20,40,0,"Normal",rootPart,0) | |
1298 | Eyes.Texture = "rbxassetid://1572409968" | |
1299 | Mouth.Texture = "rbxassetid://1572411867" | |
1300 | end | |
1301 | atk = atk + 1 | |
1302 | elseif atk == 2 then | |
1303 | ||
1304 | for i = 0,0.04,0.01 do | |
1305 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(25)), 0.5) | |
1306 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(-60)), 0.5) | |
1307 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.5) | |
1308 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5) | |
1309 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(-60),math.rad(0)), 0.5) | |
1310 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(60), math.rad(0)), 0.5) | |
1311 | swait() | |
1312 | end | |
1313 | S = Instance.new("Sound") | |
1314 | S.Parent = Character.Torso | |
1315 | S.SoundId = "rbxassetid://1336753453" | |
1316 | S.Volume = 10 | |
1317 | S.Looped = false | |
1318 | S.Pitch = 1 | |
1319 | S:Play() | |
1320 | local MouseLook=CFrame.new((Left_Arm.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
1321 | local hit,pos = rayCast2(Left_Arm.Position,MouseLook.lookVector,999,rootPart.Parent) | |
1322 | local mag=(Left_Arm.Position-pos).magnitude | |
1323 | Laser(BrickColor.new("Really red"),CFrame.new((Left_Arm.Position+pos)/2,pos)*CFrame.Angles(1.57,0,0),1,mag*2,1,2.5,0,0.005,0.05) | |
1324 | if hit~=nil then | |
1325 | local refa=perts(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Effect",Vector3.new()) | |
1326 | refa.Anchored=true | |
1327 | refa.CFrame=CFrame.new(pos) | |
1328 | game:GetService("Debris"):AddItem(refa,1) | |
1329 | Shockwave2(BrickColor.new("Really red"),CFrame.new(pos),0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.25*2,0.01*2) | |
1330 | coroutine.wrap(function() | |
1331 | ||
1332 | ||
1333 | local fxm = Instance.new("SpecialMesh", fx) | |
1334 | fxm.Scale = Vector3.new(0,0,0) | |
1335 | fxm.Offset = Vector3.new(0,0,0) | |
1336 | fxm.MeshType = "Sphere" | |
1337 | spawn(function() | |
1338 | for i = 1, 60, 2 do | |
1339 | fxm.Scale = Vector3.new(0.25 - i*0.00416,2.5 - i*0.0416 ,0.25 - i*0.00416) | |
1340 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
1341 | fx.Transparency = i/30 | |
1342 | swait() | |
1343 | end | |
1344 | wait() | |
1345 | fx:Destroy() | |
1346 | end) | |
1347 | ||
1348 | end)() | |
1349 | Damagefunc2(hit,20,40,0,"Normal",rootPart,0) | |
1350 | Eyes.Texture = "rbxassetid://1572409968" | |
1351 | Mouth.Texture = "rbxassetid://1572411867" | |
1352 | end | |
1353 | atk = 1 | |
1354 | end | |
1355 | Normal_Face() | |
1356 | Animations = false | |
1357 | attack = false | |
1358 | end | |
1359 | ||
1360 | function Shrug() | |
1361 | attack = true | |
1362 | attack2 = true | |
1363 | Animations = true | |
1364 | Eyes.Texture = "rbxassetid://1572409670" | |
1365 | Mouth.Texture = "rbxassetid://1572410439" | |
1366 | for i = 0,0.2,0.01 do | |
1367 | angleSpeed = 1 | |
1368 | axisSpeed = 1 | |
1369 | change = 0.5 | |
1370 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
1371 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.15) | |
1372 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1373 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1374 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1375 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-5)), 0.15) | |
1376 | swait() | |
1377 | end | |
1378 | ||
1379 | for i = 0,0.1,0.01 do | |
1380 | angleSpeed = 1 | |
1381 | axisSpeed = 1 | |
1382 | change = 0.5 | |
1383 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(25) + math.sin(sine/7.5)/15), 0.15) | |
1384 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-25) - math.sin(sine/7.5)/15), 0.15) | |
1385 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1386 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1387 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1388 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-20)), 0.15) | |
1389 | swait() | |
1390 | end | |
1391 | ||
1392 | for i = 0,0.2,0.01 do | |
1393 | angleSpeed = 1 | |
1394 | axisSpeed = 1 | |
1395 | change = 0.5 | |
1396 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
1397 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.15) | |
1398 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(2) + math.sin(sine/7.5)/66), 0.15) | |
1399 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-2) - math.sin(sine/7.5)/66), 0.15) | |
1400 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1401 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(-5)), 0.15) | |
1402 | swait() | |
1403 | end | |
1404 | Normal_Face() | |
1405 | Animations = false | |
1406 | attack2 = false | |
1407 | attack = false | |
1408 | end | |
1409 | ||
1410 | function Surprised() | |
1411 | attack = true | |
1412 | attack2 = true | |
1413 | Animations = true | |
1414 | Eyes.Texture = "rbxassetid://1572411695" | |
1415 | Mouth.Texture = "rbxassetid://1572410763" | |
1416 | ||
1417 | for i = 0,0.05,0.01 do | |
1418 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15), 0.15) | |
1419 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15) | |
1420 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
1421 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
1422 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1423 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1424 | swait() | |
1425 | end | |
1426 | S = Instance.new("Sound") | |
1427 | S.Parent = Character.Torso | |
1428 | S.SoundId = "rbxassetid://2019251766" | |
1429 | S.Volume = 10 | |
1430 | S.Looped = false | |
1431 | S.Pitch = 1 | |
1432 | S:Play() | |
1433 | for i = 0,0.05,0.01 do | |
1434 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
1435 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
1436 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
1437 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
1438 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0.1) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1439 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1440 | swait() | |
1441 | end | |
1442 | ||
1443 | for i = 0,0.7,0.01 do | |
1444 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15), 0.15) | |
1445 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15) | |
1446 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
1447 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
1448 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
1449 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
1450 | swait() | |
1451 | end | |
1452 | ||
1453 | Normal_Face() | |
1454 | Animations = false | |
1455 | attack2 = false | |
1456 | attack = false | |
1457 | end | |
1458 | ||
1459 | function No() | |
1460 | attack = true | |
1461 | attack2 = true | |
1462 | Animations = true | |
1463 | Eyes.Texture = "rbxassetid://1572409830" | |
1464 | Mouth.Texture = "rbxassetid://1572410763" | |
1465 | ||
1466 | for i = 1,3 do | |
1467 | for i = 0,0.2,0.01 do | |
1468 | angleSpeed = 1 | |
1469 | axisSpeed = 1 | |
1470 | change = 0.5 | |
1471 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1472 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1473 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1474 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1475 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1476 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1477 | swait() | |
1478 | end | |
1479 | ||
1480 | for i = 0,0.2,0.01 do | |
1481 | angleSpeed = 1 | |
1482 | axisSpeed = 1 | |
1483 | change = 0.5 | |
1484 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1485 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1486 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1487 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1488 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1489 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(-25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1490 | swait() | |
1491 | end | |
1492 | end | |
1493 | ||
1494 | for i = 0,0.2,0.01 do | |
1495 | angleSpeed = 1 | |
1496 | axisSpeed = 1 | |
1497 | change = 0.5 | |
1498 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1499 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1500 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1501 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1502 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1503 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1504 | swait() | |
1505 | end | |
1506 | ||
1507 | Normal_Face() | |
1508 | Animations = false | |
1509 | attack2 = false | |
1510 | attack = false | |
1511 | end | |
1512 | ||
1513 | function Nuh_Uh() | |
1514 | attack = true | |
1515 | attack2 = true | |
1516 | Animations = true | |
1517 | Eyes.Texture = "rbxassetid://1572409830" | |
1518 | Mouth.Texture = "rbxassetid://1572410439" | |
1519 | ||
1520 | for i = 1,3 do | |
1521 | for i = 0,0.2,0.01 do | |
1522 | angleSpeed = 1 | |
1523 | axisSpeed = 1 | |
1524 | change = 0.5 | |
1525 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1526 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1527 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1528 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1529 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1530 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1531 | swait() | |
1532 | end | |
1533 | ||
1534 | for i = 0,0.2,0.01 do | |
1535 | angleSpeed = 1 | |
1536 | axisSpeed = 1 | |
1537 | change = 0.5 | |
1538 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1539 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1540 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1541 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1542 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1543 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(-25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1544 | swait() | |
1545 | end | |
1546 | end | |
1547 | ||
1548 | for i = 0,0.2,0.01 do | |
1549 | angleSpeed = 1 | |
1550 | axisSpeed = 1 | |
1551 | change = 0.5 | |
1552 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1553 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1554 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
1555 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
1556 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1557 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20),math.rad(25), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1558 | swait() | |
1559 | end | |
1560 | ||
1561 | Normal_Face() | |
1562 | Animations = false | |
1563 | attack2 = false | |
1564 | attack = false | |
1565 | end | |
1566 | ||
1567 | function Wave() | |
1568 | attack = true | |
1569 | attack2 = true | |
1570 | Animations = true | |
1571 | Eyes.Texture = "rbxassetid://1572409210" | |
1572 | Mouth.Texture = "rbxassetid://1572410439" | |
1573 | ||
1574 | for i = 1,2 do | |
1575 | for i = 0,0.2,0.01 do | |
1576 | angleSpeed = 1 | |
1577 | axisSpeed = 1 | |
1578 | change = 0.5 | |
1579 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(150) + math.sin(sine/7.5)/15), 0.15) | |
1580 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1581 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1582 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1583 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1584 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1585 | swait() | |
1586 | end | |
1587 | ||
1588 | for i = 0,0.2,0.01 do | |
1589 | angleSpeed = 1 | |
1590 | axisSpeed = 1 | |
1591 | change = 0.5 | |
1592 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(100) + math.sin(sine/7.5)/15), 0.15) | |
1593 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1594 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1595 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1596 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1597 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1598 | swait() | |
1599 | end | |
1600 | end | |
1601 | ||
1602 | for i = 0,0.2,0.01 do | |
1603 | angleSpeed = 1 | |
1604 | axisSpeed = 1 | |
1605 | change = 0.5 | |
1606 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(150) + math.sin(sine/7.5)/15), 0.15) | |
1607 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
1608 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1609 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1610 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1611 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(10) + math.sin(sine/15)/15), 0.15) | |
1612 | swait() | |
1613 | end | |
1614 | ||
1615 | ||
1616 | Normal_Face() | |
1617 | Animations = false | |
1618 | attack2 = false | |
1619 | attack = false | |
1620 | end | |
1621 | ||
1622 | ||
1623 | function Nod() | |
1624 | attack = true | |
1625 | attack2 = true | |
1626 | Animations = true | |
1627 | Eyes.Texture = "rbxassetid://1572409210" | |
1628 | Mouth.Texture = "rbxassetid://1572410439" | |
1629 | ||
1630 | for i = 0,0.15,0.01 do | |
1631 | angleSpeed = 1 | |
1632 | axisSpeed = 1 | |
1633 | change = 0.5 | |
1634 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1635 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1636 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1637 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1638 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1639 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1640 | swait() | |
1641 | end | |
1642 | ||
1643 | for i = 0,0.15,0.01 do | |
1644 | angleSpeed = 1 | |
1645 | axisSpeed = 1 | |
1646 | change = 0.5 | |
1647 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1648 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1649 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1650 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1651 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1652 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1653 | swait() | |
1654 | end | |
1655 | ||
1656 | for i = 0,0.15,0.01 do | |
1657 | angleSpeed = 1 | |
1658 | axisSpeed = 1 | |
1659 | change = 0.5 | |
1660 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
1661 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
1662 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
1663 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
1664 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
1665 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1666 | swait() | |
1667 | end | |
1668 | ||
1669 | Normal_Face() | |
1670 | Animations = false | |
1671 | attack2 = false | |
1672 | attack = false | |
1673 | end | |
1674 | ||
1675 | ||
1676 | TimePerSpike = 2 | |
1677 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
1678 | function Ink_Spikes() | |
1679 | attack = true | |
1680 | attack2 = true | |
1681 | Animations = true | |
1682 | Point= Instance.new("BodyGyro") | |
1683 | Point.Parent = rootPart | |
1684 | Point.D = 175 | |
1685 | Point.P = 20000 | |
1686 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1687 | Eyes.Texture = "rbxassetid://1572409968" | |
1688 | Mouth.Texture = "rbxassetid://1572411867" | |
1689 | for i = 0,0.15,0.01 do | |
1690 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1691 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/15,math.rad(0),math.rad(40) + math.sin(sine/7.5)/15), 0.15) | |
1692 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(-10) - math.sin(sine/7.5)/15), 0.15) | |
1693 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/15, math.rad(50), math.rad(-2) + math.sin(sine/7.5)/66), 0.15) | |
1694 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(50), math.rad(2) - math.sin(sine/7.5)/66), 0.15) | |
1695 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(-50),math.rad(0)), 0.15) | |
1696 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(45), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1697 | swait() | |
1698 | end | |
1699 | coroutine.wrap(function() | |
1700 | getroot = rootPart.CFrame | |
1701 | for i = 1,math.random(10,12) do | |
1702 | TimePerSpike = TimePerSpike + math.random(4,6) | |
1703 | local rng2 = Instance.new("Part",Character) | |
1704 | rng2.Anchored = true | |
1705 | rng2.Color = Color3.new(0,0,0) | |
1706 | rng2.CanCollide = true | |
1707 | rng2.Material = "Neon" | |
1708 | rng2.FormFactor = 3 | |
1709 | rng2.Name = "Shockwave" | |
1710 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1711 | rng2.Transparency = 0 | |
1712 | rng2.TopSurface = 0 | |
1713 | rng2.BottomSurface = 0 | |
1714 | rng2.CFrame = getroot | |
1715 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-20,20)/10,-10,-TimePerSpike) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1716 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1717 | rngm2.Scale = Vector3.new(1,5,1) | |
1718 | rngm2.Offset = Vector3.new(0,0,0) | |
1719 | rngm2.MeshType = "FileMesh" | |
1720 | rngm2.MeshId = "rbxassetid://1873091214" | |
1721 | local HIT = rng2.Touched:Connect(function(hit) | |
1722 | if hit.Parent ~= Character then | |
1723 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1724 | end | |
1725 | end) | |
1726 | S = Instance.new("Sound",rng2) | |
1727 | S.Volume = 2 | |
1728 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1729 | S:Play() | |
1730 | spawn(function() | |
1731 | for i = 1,5 do | |
1732 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1733 | swait() | |
1734 | end | |
1735 | HIT:disconnect() | |
1736 | wait(0.05) | |
1737 | for i = 1,15 do | |
1738 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1739 | swait() | |
1740 | end | |
1741 | rng2:Destroy() | |
1742 | end) | |
1743 | wait(0.02) | |
1744 | end | |
1745 | TimePerSpike = 2 | |
1746 | end)() | |
1747 | for i = 0,0.3,0.01 do | |
1748 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(120) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-10) + math.sin(sine/7.5)/15), 0.2) | |
1749 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.2) | |
1750 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0), math.rad(-2) + math.sin(sine/7.5)/66), 0.2) | |
1751 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(2) - math.sin(sine/7.5)/66), 0.2) | |
1752 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(10),math.rad(0)), 0.2) | |
1753 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.2) | |
1754 | swait() | |
1755 | end | |
1756 | Normal_Face() | |
1757 | Point:Destroy() | |
1758 | Animations = false | |
1759 | attack2 = false | |
1760 | attack = false | |
1761 | end | |
1762 | ||
1763 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
1764 | function Ink_Spikes2() | |
1765 | attack = true | |
1766 | attack2 = true | |
1767 | Animations = true | |
1768 | Point= Instance.new("BodyGyro") | |
1769 | Point.Parent = rootPart | |
1770 | Point.D = 175 | |
1771 | Point.P = 20000 | |
1772 | Point.MaxTorque = Vector3.new(0,4000000,0) | |
1773 | Eyes.Texture = "rbxassetid://1572409968" | |
1774 | Mouth.Texture = "rbxassetid://1572411867" | |
1775 | for i = 0,0.15,0.01 do | |
1776 | Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position) | |
1777 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/15,math.rad(0),math.rad(40) + math.sin(sine/7.5)/15), 0.15) | |
1778 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20), math.rad(0),math.rad(-10) - math.sin(sine/7.5)/15), 0.15) | |
1779 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/15, math.rad(50), math.rad(-2) + math.sin(sine/7.5)/66), 0.15) | |
1780 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(50), math.rad(2) - math.sin(sine/7.5)/66), 0.15) | |
1781 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(-50),math.rad(0)), 0.15) | |
1782 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(45), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
1783 | swait() | |
1784 | end | |
1785 | coroutine.wrap(function() | |
1786 | getroot = rootPart.CFrame | |
1787 | for i = 1,math.random(10,12) do | |
1788 | TimePerSpike = TimePerSpike + math.random(4,6) | |
1789 | local rng2 = Instance.new("Part",Effects) | |
1790 | rng2.Anchored = true | |
1791 | rng2.Color = Color3.new(0,0,0) | |
1792 | rng2.CanCollide = true | |
1793 | rng2.Material = "Neon" | |
1794 | rng2.FormFactor = 3 | |
1795 | rng2.Name = "Shockwave" | |
1796 | rng2.Size = Vector3.new(0.5, 14, 0.5) | |
1797 | rng2.Transparency = 0 | |
1798 | rng2.TopSurface = 0 | |
1799 | rng2.BottomSurface = 0 | |
1800 | rng2.CFrame = getroot | |
1801 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-20,20)/10,-10,-TimePerSpike) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1802 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1803 | rngm2.Scale = Vector3.new(1,8,1) | |
1804 | rngm2.Offset = Vector3.new(0,0,0) | |
1805 | rngm2.MeshType = "FileMesh" | |
1806 | rngm2.MeshId = "rbxassetid://1873091214" | |
1807 | local HIT = rng2.Touched:Connect(function(hit) | |
1808 | if hit.Parent ~= Character then | |
1809 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 4 | |
1810 | end | |
1811 | end) | |
1812 | S = Instance.new("Sound",rng2) | |
1813 | S.Volume = 2 | |
1814 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1815 | S:Play() | |
1816 | spawn(function() | |
1817 | for i = 1,5 do | |
1818 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1819 | swait() | |
1820 | end | |
1821 | HIT:disconnect() | |
1822 | wait(1) | |
1823 | for i = 1,15 do | |
1824 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1825 | swait() | |
1826 | end | |
1827 | rng2:Destroy() | |
1828 | end) | |
1829 | wait(0.02) | |
1830 | end | |
1831 | TimePerSpike = 2 | |
1832 | end) | |
1833 | coroutine.wrap(function() | |
1834 | getroot = rootPart.CFrame | |
1835 | for i = 1,math.random(10,25) do | |
1836 | TimePerSpike2 = TimePerSpike2 + math.random(2,4) | |
1837 | local rng2 = Instance.new("Part",Effects) | |
1838 | rng2.Anchored = true | |
1839 | rng2.Color = Color3.new(0,0,0) | |
1840 | rng2.CanCollide = true | |
1841 | rng2.Material = "Neon" | |
1842 | rng2.FormFactor = 3 | |
1843 | rng2.Name = "Shockwave" | |
1844 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1845 | rng2.Transparency = 0 | |
1846 | rng2.TopSurface = 0 | |
1847 | rng2.BottomSurface = 0 | |
1848 | rng2.CFrame = getroot | |
1849 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-200,200)/10,-10,-TimePerSpike2) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1850 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1851 | rngm2.Scale = Vector3.new(1,5,1) | |
1852 | rngm2.Offset = Vector3.new(0,0,0) | |
1853 | rngm2.MeshType = "FileMesh" | |
1854 | rngm2.MeshId = "rbxassetid://1873091214" | |
1855 | local HIT = rng2.Touched:Connect(function(hit) | |
1856 | if hit.Parent ~= Character then | |
1857 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1858 | end | |
1859 | end) | |
1860 | S = Instance.new("Sound",rng2) | |
1861 | S.Volume = 2 | |
1862 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1863 | S:Play() | |
1864 | spawn(function() | |
1865 | for i = 1,5 do | |
1866 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1867 | swait() | |
1868 | end | |
1869 | HIT:disconnect() | |
1870 | swait() | |
1871 | for i = 1,15 do | |
1872 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1873 | swait() | |
1874 | end | |
1875 | rng2:Destroy() | |
1876 | end) | |
1877 | local rng2 = Instance.new("Part",Effects) | |
1878 | rng2.Anchored = true | |
1879 | rng2.Color = Color3.new(0,0,0) | |
1880 | rng2.CanCollide = true | |
1881 | rng2.Material = "Neon" | |
1882 | rng2.FormFactor = 3 | |
1883 | rng2.Name = "Shockwave" | |
1884 | rng2.Size = Vector3.new(0.5, 8, 0.5) | |
1885 | rng2.Transparency = 0 | |
1886 | rng2.TopSurface = 0 | |
1887 | rng2.BottomSurface = 0 | |
1888 | rng2.CFrame = getroot | |
1889 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-200,200)/10,-10,-TimePerSpike2) * CFrame.Angles(math.rad(math.random(-20,20)/10),math.rad(math.random(-3600,3600)/10),math.rad(math.random(-200,200)/10)) | |
1890 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1891 | rngm2.Scale = Vector3.new(1,5,1) | |
1892 | rngm2.Offset = Vector3.new(0,0,0) | |
1893 | rngm2.MeshType = "FileMesh" | |
1894 | rngm2.MeshId = "rbxassetid://1873091214" | |
1895 | local HIT = rng2.Touched:Connect(function(hit) | |
1896 | if hit.Parent ~= Character then | |
1897 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2 | |
1898 | end | |
1899 | end) | |
1900 | S = Instance.new("Sound",rng2) | |
1901 | S.Volume = 2 | |
1902 | S.SoundId = "rbxassetid://"..HITWEAPONSOUNDS[math.random(1,#HITWEAPONSOUNDS)] | |
1903 | S:Play() | |
1904 | spawn(function() | |
1905 | for i = 1,5 do | |
1906 | rng2.CFrame = rng2.CFrame * CFrame.new(0,2,0) | |
1907 | swait() | |
1908 | end | |
1909 | HIT:disconnect() | |
1910 | swait() | |
1911 | for i = 1,15 do | |
1912 | rng2.CFrame = rng2.CFrame * CFrame.new(0,-0.6,0) | |
1913 | swait() | |
1914 | end | |
1915 | rng2:Destroy() | |
1916 | end) | |
1917 | wait(math.random(10,20)/-100) | |
1918 | end | |
1919 | TimePerSpike2 = 2 | |
1920 | end)() | |
1921 | for i = 0,0.3,0.01 do | |
1922 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(120) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-10) + math.sin(sine/7.5)/15), 0.2) | |
1923 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10), math.rad(0),math.rad(-20) - math.sin(sine/7.5)/15), 0.2) | |
1924 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0), math.rad(-2) + math.sin(sine/7.5)/66), 0.2) | |
1925 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(2) - math.sin(sine/7.5)/66), 0.2) | |
1926 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(10),math.rad(0)), 0.2) | |
1927 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.2) | |
1928 | swait() | |
1929 | end | |
1930 | Normal_Face() | |
1931 | Point:Destroy() | |
1932 | Animations = false | |
1933 | attack2 = false | |
1934 | attack = false | |
1935 | end | |
1936 | ||
1937 | function Attacksix() | |
1938 | attack = true | |
1939 | Animations = true | |
1940 | Eyes.Texture = "rbxassetid://1572409968" | |
1941 | Mouth.Texture = "rbxassetid://1572411867" | |
1942 | sfx = Instance.new("Sound",Left_Arm) | |
1943 | sfx.Volume = 2 | |
1944 | sfx.SoundId = "rbxassetid://1180449290" | |
1945 | sfx:Play() | |
1946 | for i = 0,0.4,0.01 do | |
1947 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
1948 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(130 + math.random(-50,50)),math.rad(0),math.rad(-35) + math.random(-10,10)/10), 0.2) | |
1949 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(0)), 0.2) | |
1950 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.2) | |
1951 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.2) | |
1952 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(0),math.rad(-60), math.rad(0)), 0.2) | |
1953 | coroutine.wrap(function() | |
1954 | for i = 1,2 do | |
1955 | local fx = Instance.new("Part",Effects) | |
1956 | fx.Anchored = true | |
1957 | fx.Color = Color3.fromRGB(159, 243, 233) | |
1958 | fx.CanCollide = false | |
1959 | fx.FormFactor = 3 | |
1960 | fx.Name = "Shockwave" | |
1961 | fx.Material = "Neon" | |
1962 | fx.Size = Vector3.new(1, 1, 1) | |
1963 | fx.Transparency = 0.35 | |
1964 | fx.TopSurface = 0 | |
1965 | fx.BottomSurface = 0 | |
1966 | fx.CFrame = Left_Arm.CFrame | |
1967 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
1968 | local fxm = Instance.new("SpecialMesh", fx) | |
1969 | fxm.Scale = Vector3.new(0,0,0) | |
1970 | fxm.Offset = Vector3.new(0,0,0) | |
1971 | fxm.MeshType = "Sphere" | |
1972 | spawn(function() | |
1973 | for i = 1, 60, 2 do | |
1974 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
1975 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
1976 | fx.Transparency = i/15 | |
1977 | swait() | |
1978 | end | |
1979 | wait() | |
1980 | fx:Destroy() | |
1981 | end) | |
1982 | end | |
1983 | end)() | |
1984 | swait() | |
1985 | end | |
1986 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
1987 | if v:FindFirstChild('HumanoidRootPart') and v:FindFirstChild('Humanoid') then | |
1988 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,52) | |
1989 | v:FindFirstChild('Torso').Velocity=(v:FindFirstChild('Torso').CFrame.lookVector*150)+Vector3.new(0,1,0)*20 | |
1990 | coroutine.wrap(function() | |
1991 | for i = 1,25 do | |
1992 | local fx = Instance.new("Part",Effects) | |
1993 | fx.Anchored = true | |
1994 | fx.Color = Color3.new(1,0,0) | |
1995 | fx.CanCollide = false | |
1996 | fx.FormFactor = 3 | |
1997 | fx.Name = "Shockwave" | |
1998 | fx.Material = "Neon" | |
1999 | fx.Size = Vector3.new(1, 1, 1) | |
2000 | fx.Transparency = 0.35 | |
2001 | fx.TopSurface = 0 | |
2002 | fx.BottomSurface = 0 | |
2003 | fx.CFrame = v:FindFirstChild('HumanoidRootPart').CFrame | |
2004 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) | |
2005 | local fxm = Instance.new("SpecialMesh", fx) | |
2006 | fxm.Scale = Vector3.new(0,-1,0) | |
2007 | fxm.Offset = Vector3.new(0,0,0) | |
2008 | fxm.MeshType = "Sphere" | |
2009 | spawn(function() | |
2010 | for i = 1, 60, 2 do | |
2011 | fx.Color = Color3.new(i/15,0,0) | |
2012 | fxm.Scale = Vector3.new(.25 + i/10,.25 + i/10,.25 + i/10) | |
2013 | fx.CFrame = fx.CFrame * CFrame.new(0,math.random(-10,10)/10,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2014 | fx.Transparency = i/15 | |
2015 | swait() | |
2016 | end | |
2017 | wait() | |
2018 | fx:Destroy() | |
2019 | end) | |
2020 | end | |
2021 | end)() | |
2022 | else | |
2023 | ||
2024 | end | |
2025 | end | |
2026 | sfx:Destroy() | |
2027 | S = Instance.new("Sound") | |
2028 | S.Parent = Character.Torso | |
2029 | S.SoundId = "rbxassetid://1236459264" | |
2030 | S.Volume = 8 | |
2031 | S.TimePosition = 0.2 | |
2032 | S.Looped = false | |
2033 | S.Pitch = 1 | |
2034 | S:Play() | |
2035 | coroutine.wrap(function() | |
2036 | wait(0.1) | |
2037 | for i = 1,25 do | |
2038 | local fx = Instance.new("Part",Effects) | |
2039 | fx.Anchored = true | |
2040 | fx.Color = Color3.new(1,0,0) | |
2041 | fx.CanCollide = false | |
2042 | fx.FormFactor = 3 | |
2043 | fx.Name = "Shockwave" | |
2044 | fx.Material = "Neon" | |
2045 | fx.Size = Vector3.new(1, 1, 1) | |
2046 | fx.Transparency = 0.35 | |
2047 | fx.TopSurface = 0 | |
2048 | fx.BottomSurface = 0 | |
2049 | fx.CFrame = Left_Arm.CFrame | |
2050 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2051 | local fxm = Instance.new("SpecialMesh", fx) | |
2052 | fxm.Scale = Vector3.new(0,0,0) | |
2053 | fxm.Offset = Vector3.new(0,0,0) | |
2054 | fxm.MeshType = "Sphere" | |
2055 | spawn(function() | |
2056 | for i = 1, 60, 2 do | |
2057 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2058 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2059 | fx.Transparency = i/7.5 | |
2060 | swait() | |
2061 | end | |
2062 | wait() | |
2063 | fx:Destroy() | |
2064 | end) | |
2065 | end | |
2066 | end)() | |
2067 | for i = 0,0.15,0.01 do | |
2068 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(15)), 0.15) | |
2069 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(30),math.rad(-25)), 0.15) | |
2070 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5),math.rad(0),math.rad(0)), 0.15) | |
2071 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15) | |
2072 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-90),math.rad(0)), 0.15) | |
2073 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2, 1.5, 0) * c_angles(math.rad(-20),math.rad(90), math.rad(0)), 0.15) | |
2074 | coroutine.wrap(function() | |
2075 | for i = 1,2 do | |
2076 | local fx = Instance.new("Part",Effects) | |
2077 | fx.Anchored = true | |
2078 | fx.Color = Color3.new(0,0,0) | |
2079 | fx.CanCollide = false | |
2080 | fx.FormFactor = 3 | |
2081 | fx.Name = "Shockwave" | |
2082 | fx.Material = "Neon" | |
2083 | fx.Size = Vector3.new(1, 1, 1) | |
2084 | fx.Transparency = 0.35 | |
2085 | fx.TopSurface = 0 | |
2086 | fx.BottomSurface = 0 | |
2087 | fx.CFrame = Left_Arm.CFrame | |
2088 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) | |
2089 | local fxm = Instance.new("SpecialMesh", fx) | |
2090 | fxm.Scale = Vector3.new(0,-1,0) | |
2091 | fxm.Offset = Vector3.new(0,0,0) | |
2092 | fxm.MeshType = "Sphere" | |
2093 | spawn(function() | |
2094 | for i = 1, 60, 2 do | |
2095 | fx.Color = Color3.new(i/15,0,0) | |
2096 | fxm.Scale = Vector3.new(.25 + i/10,.25 + i/10,.25 + i/10) | |
2097 | fx.CFrame = fx.CFrame * CFrame.new(0,math.random(-10,10)/10,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2098 | fx.Transparency = i/15 | |
2099 | swait() | |
2100 | end | |
2101 | wait() | |
2102 | fx:Destroy() | |
2103 | end) | |
2104 | end | |
2105 | end)() | |
2106 | swait() | |
2107 | end | |
2108 | Normal_Face() | |
2109 | target = nil | |
2110 | Animations = false | |
2111 | attack = false | |
2112 | end | |
2113 | ||
2114 | function ShadowBallBarrage() | |
2115 | attack = true | |
2116 | Animations = true | |
2117 | local SB = Instance.new("Part",Effects) | |
2118 | SB.Name = "ShadowBallz" | |
2119 | SB.Shape = Enum.PartType.Block | |
2120 | SB.CanCollide = false | |
2121 | SB.BrickColor = BrickColor.new("Really red") | |
2122 | SB.Transparency = 0 | |
2123 | SB.Material = "Neon" | |
2124 | SB.Size = Vector3.new(0.25, 0.25, 0.25) | |
2125 | SB.TopSurface = Enum.SurfaceType.Smooth | |
2126 | SB.BottomSurface = Enum.SurfaceType.Smooth local SBWeld = Instance.new("Weld", SB) | |
2127 | SBWeld.Part0 = Right_Arm | |
2128 | SBWeld.Part1 = SB | |
2129 | SBWeld.C1 = CFrame.new(0,1,0) | |
2130 | boom = Instance.new("SpecialMesh",SB) | |
2131 | boom.MeshType = "Sphere" | |
2132 | boom.Scale = Vector3.new(3,3,3) | |
2133 | S = Instance.new("Sound") | |
2134 | S.Parent = SB | |
2135 | S.SoundId = "rbxassetid://315746833" | |
2136 | S.Volume = 5 | |
2137 | S.Looped = false | |
2138 | S.Pitch = 2 | |
2139 | S:Play() | |
2140 | ||
2141 | S = Instance.new("Sound") | |
2142 | S.Parent = SB | |
2143 | S.SoundId = "rbxassetid://203691653" | |
2144 | S.Volume = 8 | |
2145 | S.Looped = false | |
2146 | S.Pitch = 1 | |
2147 | S.PlayOnRemove = true | |
2148 | for i = 0,0.15,0.01 do | |
2149 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(120),math.rad(0),math.rad(0)), 0.2) | |
2150 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-25)), 0.2) | |
2151 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.2) | |
2152 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.2) | |
2153 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-50),math.rad(0)), 0.2) | |
2154 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-15),math.rad(50), math.rad(0)), 0.2) | |
2155 | coroutine.wrap(function() | |
2156 | for i = 1,2 do | |
2157 | local fx = Instance.new("Part",Effects) | |
2158 | fx.Anchored = true | |
2159 | fx.Color = Color3.new(1,0,0) | |
2160 | fx.CanCollide = false | |
2161 | fx.FormFactor = 3 | |
2162 | fx.Name = "Shockwave" | |
2163 | fx.Material = "Neon" | |
2164 | fx.Size = Vector3.new(1, 1, 1) | |
2165 | fx.Transparency = 0.35 | |
2166 | fx.TopSurface = 0 | |
2167 | fx.BottomSurface = 0 | |
2168 | fx.CFrame = Right_Arm.CFrame | |
2169 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2170 | local fxm = Instance.new("SpecialMesh", fx) | |
2171 | fxm.Scale = Vector3.new(0,0,0) | |
2172 | fxm.Offset = Vector3.new(0,0,0) | |
2173 | fxm.MeshType = "Sphere" | |
2174 | spawn(function() | |
2175 | for i = 1, 60, 2 do | |
2176 | fxm.Scale = Vector3.new(0.2 - i*0.0083,5 - i*0.083 ,0.2 - i*0.0083) | |
2177 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2178 | fx.Transparency = i/15 | |
2179 | swait() | |
2180 | end | |
2181 | wait() | |
2182 | fx:Destroy() | |
2183 | end) | |
2184 | end | |
2185 | end)() | |
2186 | swait() | |
2187 | end | |
2188 | for i = 0,0.05,0.01 do | |
2189 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(75),math.rad(0),math.rad(20)), 0.6) | |
2190 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-25)), 0.6) | |
2191 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.6) | |
2192 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.6) | |
2193 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(55),math.rad(0)), 0.6) | |
2194 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(-55), math.rad(0)), 0.6) | |
2195 | swait() | |
2196 | end | |
2197 | ||
2198 | SBWeld:Destroy() | |
2199 | SB.CanCollide = true | |
2200 | local bodyVelocity2 = LoadLibrary("RbxUtility").Create("BodyVelocity")({ | |
2201 | velocity = (mouse.Hit.p - SB.CFrame.p).unit * 165, | |
2202 | P = 5000, | |
2203 | maxForce = Vector3.new(8000, 8000, 8000), | |
2204 | Parent = SB | |
2205 | }) | |
2206 | ||
2207 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
2208 | SB.Touched:connect(function(hit) | |
2209 | if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then | |
2210 | for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do | |
2211 | if v:FindFirstChild('Humanoid') then | |
2212 | v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(255,666)/10 | |
2213 | end | |
2214 | end | |
2215 | ||
2216 | coroutine.wrap(function() | |
2217 | for i = 1,180 do | |
2218 | local fx = Instance.new("Part",Effects) | |
2219 | fx.Anchored = true | |
2220 | fx.Color = Color3.new(1,0,0) | |
2221 | fx.CanCollide = false | |
2222 | fx.FormFactor = 3 | |
2223 | fx.Name = "Shockwave" | |
2224 | fx.Material = "Neon" | |
2225 | fx.Size = Vector3.new(1, 1, 1) | |
2226 | fx.Transparency = 0.35 | |
2227 | fx.TopSurface = 0 | |
2228 | fx.BottomSurface = 0 | |
2229 | fx.CFrame = SB.CFrame | |
2230 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2231 | local fxm = Instance.new("SpecialMesh", fx) | |
2232 | fxm.Scale = Vector3.new(0,0,0) | |
2233 | fxm.Offset = Vector3.new(0,0,0) | |
2234 | fxm.MeshType = "Sphere" | |
2235 | spawn(function() | |
2236 | for i = 1, 60, 2 do | |
2237 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2238 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2239 | fx.Transparency = i/60 | |
2240 | swait() | |
2241 | end | |
2242 | wait() | |
2243 | fx:Destroy() | |
2244 | end) | |
2245 | end | |
2246 | end)() | |
2247 | ||
2248 | local rng2 = Instance.new("Part",Effects) | |
2249 | rng2.Anchored = true | |
2250 | rng2.BrickColor = BrickColor.new("Really red") | |
2251 | rng2.CanCollide = false | |
2252 | rng2.FormFactor = 3 | |
2253 | rng2.Name = "Shockwave" | |
2254 | rng2.Material = "Neon" | |
2255 | rng2.Size = Vector3.new(1, 1, 1) | |
2256 | rng2.Transparency = 0.35 | |
2257 | rng2.TopSurface = 0 | |
2258 | rng2.BottomSurface = 0 | |
2259 | rng2.CFrame = SB.CFrame | |
2260 | SB:Destroy() | |
2261 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2262 | rngm2.Scale = Vector3.new(1, 0, 1) | |
2263 | rngm2.Offset = Vector3.new(0,0,0) | |
2264 | rngm2.MeshType = "Sphere" | |
2265 | spawn(function() | |
2266 | for i = 1, 60, 2 do | |
2267 | rngm2.Scale = Vector3.new(13 + i*0.3, 13 + i*0.3 ,13 + i*0.3) | |
2268 | rng2.Transparency = i/60 | |
2269 | swait() | |
2270 | end | |
2271 | wait() | |
2272 | rng2:Destroy() | |
2273 | end) | |
2274 | for i = 1,6 do | |
2275 | local rng2 = Instance.new("Part",Character) | |
2276 | rng2.Anchored = true | |
2277 | rng2.BrickColor = BrickColor.new("Really red") | |
2278 | rng2.CanCollide = false | |
2279 | rng2.FormFactor = 3 | |
2280 | rng2.Name = "Shockwave" | |
2281 | rng2.Size = Vector3.new(1, 1, 1) | |
2282 | rng2.Transparency = 0.35 | |
2283 | rng2.TopSurface = 0 | |
2284 | rng2.BottomSurface = 0 | |
2285 | rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2286 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2287 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2288 | rngm2.Scale = Vector3.new(0, 0, 0) | |
2289 | rngm2.Offset = Vector3.new(0,0,-0.5) | |
2290 | spawn(function() | |
2291 | for i = 1, 60, 2 do | |
2292 | rngm2.Scale = Vector3.new(13 + i*1, 13 + i*1 ,2 + i*0.3) | |
2293 | rng2.Transparency = i/30 | |
2294 | rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0) | |
2295 | swait() | |
2296 | end | |
2297 | wait() | |
2298 | rng2:Destroy() | |
2299 | end) | |
2300 | ||
2301 | local rng2 = Instance.new("Part",Character) | |
2302 | rng2.Anchored = true | |
2303 | rng2.BrickColor = BrickColor.new("Really red") | |
2304 | rng2.CanCollide = false | |
2305 | rng2.FormFactor = 3 | |
2306 | rng2.Name = "Shockwave" | |
2307 | rng2.Size = Vector3.new(1, 1, 1) | |
2308 | rng2.Transparency = 0.35 | |
2309 | rng2.TopSurface = 0 | |
2310 | rng2.BottomSurface = 0 | |
2311 | rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2312 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2313 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2314 | rngm2.Scale = Vector3.new(0, 0, 0) | |
2315 | rngm2.Offset = Vector3.new(0,0,-0.5) | |
2316 | spawn(function() | |
2317 | for i = 1, 60, 2 do | |
2318 | rngm2.Scale = Vector3.new(13 + i*1, 13 + i*1 ,2 + i*0.3) | |
2319 | rng2.Transparency = i/30 | |
2320 | rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0) | |
2321 | swait() | |
2322 | end | |
2323 | wait() | |
2324 | rng2:Destroy() | |
2325 | end) | |
2326 | end | |
2327 | ||
2328 | local rng2 = Instance.new("Part",Effects) | |
2329 | rng2.Anchored = true | |
2330 | rng2.BrickColor = BrickColor.new("Really black") | |
2331 | rng2.CanCollide = false | |
2332 | rng2.FormFactor = 3 | |
2333 | rng2.Name = "Shockwave" | |
2334 | rng2.Material = "Neon" | |
2335 | rng2.Size = Vector3.new(1, 1, 1) | |
2336 | rng2.Transparency = 0.35 | |
2337 | rng2.TopSurface = 0 | |
2338 | rng2.BottomSurface = 0 | |
2339 | rng2.CFrame = SB.CFrame | |
2340 | SB:Destroy() | |
2341 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
2342 | rngm2.Scale = Vector3.new(1, 0, 1) | |
2343 | rngm2.Offset = Vector3.new(0,0,0) | |
2344 | rngm2.MeshType = "Sphere" | |
2345 | spawn(function() | |
2346 | for i = 1, 60, 2 do | |
2347 | rngm2.Scale = Vector3.new(5 + i*0.3, 5 + i*0.3 ,5 + i*0.3) | |
2348 | rng2.Transparency = i/60 | |
2349 | swait() | |
2350 | end | |
2351 | wait() | |
2352 | rng2:Destroy() | |
2353 | end) | |
2354 | end | |
2355 | end) | |
2356 | Animations = false | |
2357 | attack = false | |
2358 | end | |
2359 | ||
2360 | ||
2361 | -- Moves -- | |
2362 | ||
2363 | ||
2364 | mouse.KeyDown:connect(function(key) | |
2365 | if key == "y" and attack == false then | |
2366 | if Transformed == false then | |
2367 | Charm() | |
2368 | else | |
2369 | Laugh() | |
2370 | end | |
2371 | end | |
2372 | ||
2373 | sprint = false | |
2374 | ||
2375 | if key == "q" and sprint == false then | |
2376 | Humanoid.WalkSpeed = 8 | |
2377 | Humanoid.JumpPower = 50 | |
2378 | sprint = true | |
2379 | end | |
2380 | ||
2381 | if key == "q" and sprint == true then | |
2382 | Humanoid.WalkSpeed = 25 | |
2383 | Humanoid.JumpPower = 100 | |
2384 | end | |
2385 | ||
2386 | if key == "z" and attack == false then | |
2387 | idle = 2500 | |
2388 | end | |
2389 | ||
2390 | ||
2391 | if key == "u" and attack == false then | |
2392 | if Transformed == false then | |
2393 | Shrug() | |
2394 | end | |
2395 | end | |
2396 | ||
2397 | ||
2398 | if key == "g" and attack == false and Transformed == true then | |
2399 | ShadowBallBarrage() | |
2400 | end | |
2401 | ||
2402 | ||
2403 | ||
2404 | if key == "j" and attack == false then | |
2405 | if Transformed == false then | |
2406 | Surprised() | |
2407 | end | |
2408 | end | |
2409 | ||
2410 | ||
2411 | if key == "k" and attack == false then | |
2412 | if Transformed == false then | |
2413 | Wave() | |
2414 | end | |
2415 | end | |
2416 | ||
2417 | --[[mouse.KeyDown:connect(function(key) | |
2418 | if key == "k" and attack == false then | |
2419 | if Transformed == false then | |
2420 | Nod() | |
2421 | end | |
2422 | end end)]]-- | |
2423 | ||
2424 | ||
2425 | if key == "h" and attack == false then | |
2426 | if Transformed == false then | |
2427 | No() | |
2428 | else | |
2429 | Nuh_Uh() | |
2430 | end | |
2431 | end | |
2432 | ||
2433 | ||
2434 | ||
2435 | ||
2436 | if key == "f" and attack == false and Transformed == false then | |
2437 | LaserBlaster() | |
2438 | end | |
2439 | ||
2440 | ||
2441 | if key == "f" and attack == false and Transformed == true then | |
2442 | LaserBarrage() | |
2443 | end | |
2444 | ||
2445 | ||
2446 | if key == "r" and attack == false and Transformed == false then | |
2447 | Ink_Spikes() | |
2448 | end | |
2449 | ||
2450 | ||
2451 | if key == "r" and attack == false and Transformed == true then | |
2452 | Ink_Spikes2() | |
2453 | end | |
2454 | ||
2455 | ||
2456 | if key == "c" and attack == false and Transformed == true then | |
2457 | Rage() | |
2458 | end | |
2459 | Sanim = 0.15 | |
2460 | ||
2461 | if key == "nine" then | |
2462 | if SansAnim == false then | |
2463 | SansAnim = true | |
2464 | else | |
2465 | SansAnim = false | |
2466 | end | |
2467 | end | |
2468 | ||
2469 | ||
2470 | ||
2471 | ||
2472 | tp = true | |
2473 | ||
2474 | if key == "t" and attack == false and Transformed == false then | |
2475 | if tp == true then | |
2476 | tp = false | |
2477 | Trace() | |
2478 | coroutine.wrap(function() | |
2479 | for i = 1,50 do | |
2480 | local fx = Instance.new("Part",Effects) | |
2481 | fx.Anchored = true | |
2482 | fx.Color = Color3.new(0,0,0) | |
2483 | fx.CanCollide = false | |
2484 | fx.FormFactor = 3 | |
2485 | fx.Name = "Shockwave" | |
2486 | fx.Material = "Neon" | |
2487 | fx.Size = Vector3.new(1, 1, 1) | |
2488 | fx.Transparency = 0.35 | |
2489 | fx.TopSurface = 0 | |
2490 | fx.BottomSurface = 0 | |
2491 | fx.CFrame = rootPart.CFrame | |
2492 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2493 | local fxm = Instance.new("SpecialMesh", fx) | |
2494 | fxm.Scale = Vector3.new(0,0,0) | |
2495 | fxm.Offset = Vector3.new(0,0,0) | |
2496 | fxm.MeshType = "Sphere" | |
2497 | spawn(function() | |
2498 | for i = 1, 60, 2 do | |
2499 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2500 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2501 | fx.Transparency = i/15 | |
2502 | swait() | |
2503 | end | |
2504 | wait() | |
2505 | fx:Destroy() | |
2506 | end) | |
2507 | end | |
2508 | end)() | |
2509 | Character.Head.face.Parent = game.Lighting | |
2510 | Character.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3.5, 0) | |
2511 | game.Lighting.face.Parent = Character.Head | |
2512 | coroutine.wrap(function() | |
2513 | for i = 1,50 do | |
2514 | local fx = Instance.new("Part",Effects) | |
2515 | fx.Anchored = true | |
2516 | fx.Color = Color3.new(0,0,0) | |
2517 | fx.CanCollide = false | |
2518 | fx.FormFactor = 3 | |
2519 | fx.Name = "Shockwave" | |
2520 | fx.Material = "Neon" | |
2521 | fx.Size = Vector3.new(1, 1, 1) | |
2522 | fx.Transparency = 0.35 | |
2523 | fx.TopSurface = 0 | |
2524 | fx.BottomSurface = 0 | |
2525 | fx.CFrame = rootPart.CFrame | |
2526 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
2527 | local fxm = Instance.new("SpecialMesh", fx) | |
2528 | fxm.Scale = Vector3.new(0,0,0) | |
2529 | fxm.Offset = Vector3.new(0,0,0) | |
2530 | fxm.MeshType = "Sphere" | |
2531 | spawn(function() | |
2532 | for i = 1, 60, 2 do | |
2533 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
2534 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
2535 | fx.Transparency = i/15 | |
2536 | swait() | |
2537 | end | |
2538 | wait() | |
2539 | fx:Destroy() | |
2540 | end) | |
2541 | end | |
2542 | end)() | |
2543 | tp = true | |
2544 | end | |
2545 | end | |
2546 | ||
2547 | if key == "one" and attack == false then | |
2548 | Transform() | |
2549 | end | |
2550 | if key == "two" and Transformed == true then | |
2551 | Revert() | |
2552 | end | |
2553 | ||
2554 | ||
2555 | ||
2556 | if key == "p" then | |
2557 | if Theme.MaxDistance == 0 then | |
2558 | Theme.MaxDistance=1000 | |
2559 | else | |
2560 | Theme.MaxDistance=0 | |
2561 | end | |
2562 | end | |
2563 | end) | |
2564 | ||
2565 | ||
2566 | -- End of Moves -- | |
2567 | ||
2568 | ||
2569 | -- Clothes -- | |
2570 | ||
2571 | Clothes = Instance.new("Model",Character) | |
2572 | Clothes.Name = "Clothing" | |
2573 | ||
2574 | local _Head = Instance.new("Part",Head) | |
2575 | _Head.Name = "_Head" | |
2576 | _Head.Shape = Enum.PartType.Block | |
2577 | _Head.CanCollide = false | |
2578 | _Head.Color = Color3.new(0,0,0) | |
2579 | _Head.Transparency = 0 | |
2580 | _Head.Material = "Metal" | |
2581 | _Head.Size = Vector3.new(1.6, 1.5, 1.4) | |
2582 | _Head.TopSurface = Enum.SurfaceType.Smooth | |
2583 | _Head.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Head) | |
2584 | Weld.Part0 = Head | |
2585 | Weld.Part1 = _Head | |
2586 | Weld.C1 = CFrame.new(0,-0.3,0) | |
2587 | _HeadMesh = Instance.new("SpecialMesh",_Head) | |
2588 | _HeadMesh.MeshType = "Sphere" | |
2589 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2590 | ||
2591 | local _Head2 = Instance.new("Part",Head) | |
2592 | _Head2.Name = "_Head2" | |
2593 | _Head2.Shape = Enum.PartType.Block | |
2594 | _Head2.CanCollide = false | |
2595 | _Head2.Color = Color3.new(0,0,0) | |
2596 | _Head2.Transparency = 0 | |
2597 | _Head2.Material = "Metal" | |
2598 | _Head2.Size = Vector3.new(1.4, 1.2, 1) | |
2599 | _Head2.TopSurface = Enum.SurfaceType.Smooth | |
2600 | _Head2.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", _Head2) | |
2601 | Weld.Part0 = Head | |
2602 | Weld.Part1 = _Head2 | |
2603 | Weld.C1 = CFrame.new(0,-0.2,0.2) | |
2604 | _HeadMesh = Instance.new("SpecialMesh",_Head2) | |
2605 | _HeadMesh.MeshType = "Sphere" | |
2606 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2607 | ||
2608 | local Horn = Instance.new("Part",Head) | |
2609 | Horn.Name = "Horn" | |
2610 | Horn.Shape = Enum.PartType.Ball | |
2611 | Horn.CanCollide = false | |
2612 | Horn.Color = Color3.new(0,0,0) | |
2613 | Horn.Transparency = 0 | |
2614 | Horn.Material = "SmoothPlastic" | |
2615 | Horn.Size = Vector3.new(0.1, 0.1, 0.1) | |
2616 | Horn.TopSurface = Enum.SurfaceType.Smooth | |
2617 | Horn.BottomSurface = Enum.SurfaceType.Smooth | |
2618 | local Weld = Instance.new("Weld", Horn) | |
2619 | Weld.Part0 = Head | |
2620 | Weld.Part1 = Horn | |
2621 | Weld.C1 = CFrame.new(-1.05,-0.6,0.1)*CFrame.fromEulerAnglesXYZ(math.rad(-5),math.rad(5),math.rad(-15)) | |
2622 | HornMesh = Instance.new("FileMesh",Horn) | |
2623 | HornMesh.MeshId = "http://www.roblox.com/asset/?id=1474286922" | |
2624 | HornMesh.Scale = Vector3.new(1,0.8,0.8) | |
2625 | ||
2626 | local Horn = Instance.new("Part",Head) | |
2627 | Horn.Name = "Horn" | |
2628 | Horn.Shape = Enum.PartType.Ball | |
2629 | Horn.CanCollide = false | |
2630 | Horn.Color = Color3.new(0,0,0) | |
2631 | Horn.Transparency = 0 | |
2632 | Horn.Material = "SmoothPlastic" | |
2633 | Horn.Size = Vector3.new(0.1, 0.1, 0.1) | |
2634 | Horn.TopSurface = Enum.SurfaceType.Smooth | |
2635 | Horn.BottomSurface = Enum.SurfaceType.Smooth | |
2636 | local Weld = Instance.new("Weld", Horn) | |
2637 | Weld.Part0 = Head | |
2638 | Weld.Part1 = Horn | |
2639 | Weld.C1 = CFrame.new(-1.05,-0.6,-0.1)*CFrame.fromEulerAnglesXYZ(math.rad(5),math.rad(175),math.rad(15)) | |
2640 | HornMesh = Instance.new("FileMesh",Horn) | |
2641 | HornMesh.MeshId = "http://www.roblox.com/asset/?id=1474286922" | |
2642 | HornMesh.Scale = Vector3.new(1,0.8,0.8) | |
2643 | ||
2644 | local Boob = Instance.new("Part",Torso) | |
2645 | Boob.Name = "Boob" | |
2646 | Boob.Shape = Enum.PartType.Block | |
2647 | Boob.CanCollide = false | |
2648 | Boob.Color = Color3.new(0,0,0) | |
2649 | Boob.Transparency = 0 | |
2650 | Boob.Material = "Metal" | |
2651 | Boob.Size = Vector3.new(1.34, 1.1, 1) | |
2652 | Boob.TopSurface = Enum.SurfaceType.Smooth | |
2653 | Boob.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boob) | |
2654 | Weld.Part0 = Torso | |
2655 | Weld.Part1 = Boob | |
2656 | Weld.C1 = CFrame.new(0.4,-0.5,0.5) | |
2657 | _HeadMesh = Instance.new("SpecialMesh",Boob) | |
2658 | _HeadMesh.MeshType = "Sphere" | |
2659 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2660 | ||
2661 | mec=Instance.new('CharacterMesh',Character) | |
2662 | mec.BodyPart='Torso' | |
2663 | mec.MeshId='48112070' | |
2664 | Torso.Material = "Metal" | |
2665 | ||
2666 | local Boob2 = Instance.new("Part",Torso) | |
2667 | Boob2.Name = "Boob2" | |
2668 | Boob2.Shape = Enum.PartType.Block | |
2669 | Boob2.CanCollide = false | |
2670 | Boob2.Color = Color3.new(0,0,0) | |
2671 | Boob2.Transparency = 0 | |
2672 | Boob2.Material = "Metal" | |
2673 | Boob2.Size = Vector3.new(1.34, 1.1, 1) | |
2674 | Boob2.TopSurface = Enum.SurfaceType.Smooth | |
2675 | Boob2.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boob2) | |
2676 | Weld.Part0 = Torso | |
2677 | Weld.Part1 = Boob2 | |
2678 | Weld.C1 = CFrame.new(-0.4,-0.5,0.5) | |
2679 | _HeadMesh = Instance.new("SpecialMesh",Boob2) | |
2680 | _HeadMesh.MeshType = "Sphere" | |
2681 | _HeadMesh.Scale = Vector3.new(1,1,1) | |
2682 | ||
2683 | local Jacket = Instance.new("WedgePart",Clothes) | |
2684 | Jacket.Name = "Jacket" | |
2685 | Jacket.CanCollide = false | |
2686 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2687 | Jacket.Transparency = 0 | |
2688 | Jacket.Material = "Sand" | |
2689 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2690 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2691 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2692 | Weld.Part0 = Torso | |
2693 | Weld.Part1 = Jacket | |
2694 | Weld.C1 = CFrame.new(0,0.6,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0)) | |
2695 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2696 | _HeadMesh.MeshType = "Wedge" | |
2697 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2698 | local Jacket = Instance.new("WedgePart",Clothes) | |
2699 | Jacket.Name = "Jacket" | |
2700 | Jacket.CanCollide = false | |
2701 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2702 | Jacket.Transparency = 0 | |
2703 | Jacket.Material = "Sand" | |
2704 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2705 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2706 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2707 | Weld.Part0 = Torso | |
2708 | Weld.Part1 = Jacket | |
2709 | Weld.C1 = CFrame.new(0,0.2,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(180)) | |
2710 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2711 | _HeadMesh.MeshType = "Wedge" | |
2712 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2713 | ||
2714 | local Jacket = Instance.new("WedgePart",Clothes) | |
2715 | Jacket.Name = "Jacket" | |
2716 | Jacket.CanCollide = false | |
2717 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2718 | Jacket.Transparency = 0 | |
2719 | Jacket.Material = "Sand" | |
2720 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2721 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2722 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2723 | Weld.Part0 = Torso | |
2724 | Weld.Part1 = Jacket | |
2725 | Weld.C1 = CFrame.new(0,0.6,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0)) | |
2726 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2727 | _HeadMesh.MeshType = "Wedge" | |
2728 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2729 | local Jacket = Instance.new("WedgePart",Clothes) | |
2730 | Jacket.Name = "Jacket" | |
2731 | Jacket.CanCollide = false | |
2732 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2733 | Jacket.Transparency = 0 | |
2734 | Jacket.Material = "Sand" | |
2735 | Jacket.Size = Vector3.new(1.01/4, 0.87/4, 0.45/4) | |
2736 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2737 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2738 | Weld.Part0 = Torso | |
2739 | Weld.Part1 = Jacket | |
2740 | Weld.C1 = CFrame.new(0,0.2,0.92)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(180)) | |
2741 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2742 | _HeadMesh.MeshType = "Wedge" | |
2743 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2744 | ||
2745 | local Jacket = Instance.new("Part",Clothes) | |
2746 | Jacket.Name = "Jacket" | |
2747 | Jacket.Shape = Enum.PartType.Block | |
2748 | Jacket.CanCollide = false | |
2749 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2750 | Jacket.Transparency = 0 | |
2751 | Jacket.Material = "Sand" | |
2752 | Jacket.Size = Vector3.new(2.3/4, 0.45/4, 1/4) | |
2753 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2754 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2755 | Weld.Part0 = Torso | |
2756 | Weld.Part1 = Jacket | |
2757 | Weld.C1 = CFrame.new(0,-0.8,0) | |
2758 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2759 | _HeadMesh.MeshType = "Brick" | |
2760 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2761 | ||
2762 | local Jacket = Instance.new("Part",Clothes) | |
2763 | Jacket.Name = "Jacket" | |
2764 | Jacket.Shape = Enum.PartType.Block | |
2765 | Jacket.CanCollide = false | |
2766 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2767 | Jacket.Transparency = 0 | |
2768 | Jacket.Material = "Sand" | |
2769 | Jacket.Size = Vector3.new(1.4/4, 1.7/4, 0.51/4) | |
2770 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2771 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2772 | Weld.Part0 = Torso | |
2773 | Weld.Part1 = Jacket | |
2774 | Weld.C1 = CFrame.new(0,0.21,-0.25) | |
2775 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2776 | _HeadMesh.MeshType = "Brick" | |
2777 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2778 | ||
2779 | local Jacket = Instance.new("Part",Clothes) | |
2780 | Jacket.Name = "Jacket" | |
2781 | Jacket.Shape = Enum.PartType.Block | |
2782 | Jacket.CanCollide = false | |
2783 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2784 | Jacket.Transparency = 0 | |
2785 | Jacket.Material = "Sand" | |
2786 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.51/4) | |
2787 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2788 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2789 | Weld.Part0 = Torso | |
2790 | Weld.Part1 = Jacket | |
2791 | Weld.C1 = CFrame.new(0.45,0.21,0.26) | |
2792 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2793 | _HeadMesh.MeshType = "Brick" | |
2794 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2795 | ||
2796 | local Jacket = Instance.new("Part",Clothes) | |
2797 | Jacket.Name = "Jacket" | |
2798 | Jacket.Shape = Enum.PartType.Block | |
2799 | Jacket.CanCollide = false | |
2800 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2801 | Jacket.Transparency = 0 | |
2802 | Jacket.Material = "DiamondPlate" | |
2803 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.49/4) | |
2804 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2805 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2806 | Weld.Part0 = Torso | |
2807 | Weld.Part1 = Jacket | |
2808 | Weld.C1 = CFrame.new(0.4,0.21,0.255) | |
2809 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2810 | _HeadMesh.MeshType = "Brick" | |
2811 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2812 | ||
2813 | local Jacket = Instance.new("Part",Clothes) | |
2814 | Jacket.Name = "Jacket" | |
2815 | Jacket.Shape = Enum.PartType.Block | |
2816 | Jacket.CanCollide = false | |
2817 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2818 | Jacket.Transparency = 0 | |
2819 | Jacket.Material = "Sand" | |
2820 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.51/4) | |
2821 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2822 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2823 | Weld.Part0 = Torso | |
2824 | Weld.Part1 = Jacket | |
2825 | Weld.C1 = CFrame.new(-0.45,0.21,0.26) | |
2826 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2827 | _HeadMesh.MeshType = "Brick" | |
2828 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2829 | ||
2830 | local Jacket = Instance.new("Part",Clothes) | |
2831 | Jacket.Name = "Jacket" | |
2832 | Jacket.Shape = Enum.PartType.Block | |
2833 | Jacket.CanCollide = false | |
2834 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2835 | Jacket.Transparency = 0 | |
2836 | Jacket.Material = "DiamondPlate" | |
2837 | Jacket.Size = Vector3.new(0.6/4, 1.7/4, 0.49/4) | |
2838 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2839 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2840 | Weld.Part0 = Torso | |
2841 | Weld.Part1 = Jacket | |
2842 | Weld.C1 = CFrame.new(-0.4,0.21,0.255) | |
2843 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2844 | _HeadMesh.MeshType = "Brick" | |
2845 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2846 | ||
2847 | local Jacket = Instance.new("Part",Clothes) | |
2848 | Jacket.Name = "Jacket" | |
2849 | Jacket.Shape = Enum.PartType.Block | |
2850 | Jacket.CanCollide = false | |
2851 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2852 | Jacket.Transparency = 0 | |
2853 | Jacket.Material = "Sand" | |
2854 | Jacket.Size = Vector3.new(1/4, 0.15/4, 1.08/4) | |
2855 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2856 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2857 | Weld.Part0 = Torso | |
2858 | Weld.Part1 = Jacket | |
2859 | Weld.C1 = CFrame.new(0.65,1,0) | |
2860 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2861 | _HeadMesh.MeshType = "Brick" | |
2862 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2863 | ||
2864 | local Jacket = Instance.new("Part",Clothes) | |
2865 | Jacket.Name = "Jacket" | |
2866 | Jacket.Shape = Enum.PartType.Block | |
2867 | Jacket.CanCollide = false | |
2868 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2869 | Jacket.Transparency = 0 | |
2870 | Jacket.Material = "Sand" | |
2871 | Jacket.Size = Vector3.new(2.3/4, 0.15/4, 0.5/4) | |
2872 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2873 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2874 | Weld.Part0 = Torso | |
2875 | Weld.Part1 = Jacket | |
2876 | Weld.C1 = CFrame.new(0,1,-0.3) | |
2877 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2878 | _HeadMesh.MeshType = "Brick" | |
2879 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2880 | ||
2881 | local Jacket = Instance.new("Part",Clothes) | |
2882 | Jacket.Name = "Jacket" | |
2883 | Jacket.Shape = Enum.PartType.Block | |
2884 | Jacket.CanCollide = false | |
2885 | Jacket.BrickColor = BrickColor.new("Cocoa") | |
2886 | Jacket.Transparency = 0 | |
2887 | Jacket.Material = "Sand" | |
2888 | Jacket.Size = Vector3.new(1/4, 0.15/4, 1.08/4) | |
2889 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2890 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2891 | Weld.Part0 = Torso | |
2892 | Weld.Part1 = Jacket | |
2893 | Weld.C1 = CFrame.new(-0.65,1,0) | |
2894 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2895 | _HeadMesh.MeshType = "Brick" | |
2896 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2897 | ||
2898 | local Jacket = Instance.new("Part",Clothes) | |
2899 | Jacket.Name = "Jacket" | |
2900 | Jacket.Shape = Enum.PartType.Block | |
2901 | Jacket.CanCollide = false | |
2902 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2903 | Jacket.Transparency = 0 | |
2904 | Jacket.Material = "Sand" | |
2905 | Jacket.Size = Vector3.new(1.1/4, 1.1/4, 1.1/4) | |
2906 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2907 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2908 | Weld.Part0 = Torso | |
2909 | Weld.Part1 = Jacket | |
2910 | Weld.C1 = CFrame.new(-0.6,-0.5,0.5) | |
2911 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2912 | _HeadMesh.MeshType = "Sphere" | |
2913 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2914 | ||
2915 | local Jacket = Instance.new("Part",Clothes) | |
2916 | Jacket.Name = "Jacket" | |
2917 | Jacket.Shape = Enum.PartType.Block | |
2918 | Jacket.CanCollide = false | |
2919 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2920 | Jacket.Transparency = 0 | |
2921 | Jacket.Material = "Sand" | |
2922 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
2923 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2924 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2925 | Weld.Part0 = Torso | |
2926 | Weld.Part1 = Jacket | |
2927 | Weld.C1 = CFrame.new(-0.5,-0.5,0.5) | |
2928 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2929 | _HeadMesh.MeshType = "Cylinder" | |
2930 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2931 | ||
2932 | local Jacket = Instance.new("Part",Clothes) | |
2933 | Jacket.Name = "Jacket" | |
2934 | Jacket.Shape = Enum.PartType.Block | |
2935 | Jacket.CanCollide = false | |
2936 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2937 | Jacket.Transparency = 0 | |
2938 | Jacket.Material = "Sand" | |
2939 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
2940 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2941 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2942 | Weld.Part0 = Torso | |
2943 | Weld.Part1 = Jacket | |
2944 | Weld.C1 = CFrame.new(-0.3,-0.53,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(5)) | |
2945 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2946 | _HeadMesh.MeshType = "Cylinder" | |
2947 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2948 | ||
2949 | local Jacket = Instance.new("Part",Clothes) | |
2950 | Jacket.Name = "Jacket" | |
2951 | Jacket.Shape = Enum.PartType.Block | |
2952 | Jacket.CanCollide = false | |
2953 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2954 | Jacket.Transparency = 0 | |
2955 | Jacket.Material = "Sand" | |
2956 | Jacket.Size = Vector3.new(0.01/4, 1.1/4, 1.1/4) | |
2957 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2958 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2959 | Weld.Part0 = Torso | |
2960 | Weld.Part1 = Jacket | |
2961 | Weld.C1 = CFrame.new(-0.23,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10)) | |
2962 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2963 | _HeadMesh.MeshType = "Cylinder" | |
2964 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
2965 | ||
2966 | local Jacket = Instance.new("Part",Clothes) | |
2967 | Jacket.Name = "Jacket" | |
2968 | Jacket.Shape = Enum.PartType.Block | |
2969 | Jacket.CanCollide = false | |
2970 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
2971 | Jacket.Transparency = 0 | |
2972 | Jacket.Material = "DiamondPlate" | |
2973 | Jacket.Size = Vector3.new(0.01, 1.08/4, 1.05/4) | |
2974 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2975 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2976 | Weld.Part0 = Torso | |
2977 | Weld.Part1 = Jacket | |
2978 | Weld.C1 = CFrame.new(-0.12,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10)) | |
2979 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2980 | _HeadMesh.MeshType = "Cylinder" | |
2981 | _HeadMesh.Scale = Vector3.new(1,4,4) | |
2982 | ||
2983 | -- | |
2984 | ||
2985 | local Jacket = Instance.new("Part",Clothes) | |
2986 | Jacket.Name = "Jacket" | |
2987 | Jacket.Shape = Enum.PartType.Block | |
2988 | Jacket.CanCollide = false | |
2989 | Jacket.BrickColor = BrickColor.new("Crimson") | |
2990 | Jacket.Transparency = 0 | |
2991 | Jacket.Material = "Sand" | |
2992 | Jacket.Size = Vector3.new(1.1/4, 1.1/4, 1.1/4) | |
2993 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
2994 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
2995 | Weld.Part0 = Torso | |
2996 | Weld.Part1 = Jacket | |
2997 | Weld.C1 = CFrame.new(0.6,-0.5,0.5) | |
2998 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
2999 | _HeadMesh.MeshType = "Sphere" | |
3000 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3001 | ||
3002 | local Jacket = Instance.new("Part",Clothes) | |
3003 | Jacket.Name = "Jacket" | |
3004 | Jacket.Shape = Enum.PartType.Block | |
3005 | Jacket.CanCollide = false | |
3006 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3007 | Jacket.Transparency = 0 | |
3008 | Jacket.Material = "Sand" | |
3009 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
3010 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3011 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3012 | Weld.Part0 = Torso | |
3013 | Weld.Part1 = Jacket | |
3014 | Weld.C1 = CFrame.new(0.5,-0.5,0.5) | |
3015 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3016 | _HeadMesh.MeshType = "Cylinder" | |
3017 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3018 | ||
3019 | local Jacket = Instance.new("Part",Clothes) | |
3020 | Jacket.Name = "Jacket" | |
3021 | Jacket.Shape = Enum.PartType.Block | |
3022 | Jacket.CanCollide = false | |
3023 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3024 | Jacket.Transparency = 0 | |
3025 | Jacket.Material = "Sand" | |
3026 | Jacket.Size = Vector3.new(0.05/4, 1.1/4, 1.1/4) | |
3027 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3028 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3029 | Weld.Part0 = Torso | |
3030 | Weld.Part1 = Jacket | |
3031 | Weld.C1 = CFrame.new(0.3,-0.53,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-5)) | |
3032 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3033 | _HeadMesh.MeshType = "Cylinder" | |
3034 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3035 | ||
3036 | local Jacket = Instance.new("Part",Clothes) | |
3037 | Jacket.Name = "Jacket" | |
3038 | Jacket.Shape = Enum.PartType.Block | |
3039 | Jacket.CanCollide = false | |
3040 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3041 | Jacket.Transparency = 0 | |
3042 | Jacket.Material = "Sand" | |
3043 | Jacket.Size = Vector3.new(0.01/4, 1.1/4, 1.1/4) | |
3044 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3045 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3046 | Weld.Part0 = Torso | |
3047 | Weld.Part1 = Jacket | |
3048 | Weld.C1 = CFrame.new(0.22,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-10)) | |
3049 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3050 | _HeadMesh.MeshType = "Cylinder" | |
3051 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3052 | ||
3053 | local Jacket = Instance.new("Part",Clothes) | |
3054 | Jacket.Name = "Jacket" | |
3055 | Jacket.Shape = Enum.PartType.Block | |
3056 | Jacket.CanCollide = false | |
3057 | Jacket.BrickColor = BrickColor.new("Medium stone grey") | |
3058 | Jacket.Transparency = 0 | |
3059 | Jacket.Material = "DiamondPlate" | |
3060 | Jacket.Size = Vector3.new(0.01, 1.08/4, 1.05/4) | |
3061 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3062 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3063 | Weld.Part0 = Torso | |
3064 | Weld.Part1 = Jacket | |
3065 | Weld.C1 = CFrame.new(0.12,-0.54,0.5) *CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-10)) | |
3066 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3067 | _HeadMesh.MeshType = "Cylinder" | |
3068 | _HeadMesh.Scale = Vector3.new(1,4,4) | |
3069 | ||
3070 | --Torso finished | |
3071 | ||
3072 | Right_Arm.Transparency = 1 | |
3073 | Left_Arm.Transparency = 1 | |
3074 | ||
3075 | local Jacket = Instance.new("Part",Clothes) | |
3076 | Jacket.Name = "Jacket" | |
3077 | Jacket.Shape = Enum.PartType.Block | |
3078 | Jacket.CanCollide = false | |
3079 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3080 | Jacket.Transparency = 0 | |
3081 | Jacket.Material = "Sand" | |
3082 | Jacket.Size = Vector3.new(1.054/4, 1.514/4, 0.94/4) | |
3083 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3084 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3085 | Weld.Part0 = Left_Arm | |
3086 | Weld.Part1 = Jacket | |
3087 | Weld.C1 = CFrame.new(0,-0.266,0) | |
3088 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3089 | _HeadMesh.MeshType = "Brick" | |
3090 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3091 | ||
3092 | local Jacket = Instance.new("Part",Clothes) | |
3093 | Jacket.Name = "Jacket" | |
3094 | Jacket.Shape = Enum.PartType.Block | |
3095 | Jacket.CanCollide = false | |
3096 | Jacket.BrickColor = BrickColor.new("Maroon") | |
3097 | Jacket.Transparency = 0 | |
3098 | Jacket.Material = "Sand" | |
3099 | Jacket.Size = Vector3.new(1.1/4, 0.244/4, 1/4) | |
3100 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3101 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3102 | Weld.Part0 = Left_Arm | |
3103 | Weld.Part1 = Jacket | |
3104 | Weld.C1 = CFrame.new(0,0.4,0) | |
3105 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3106 | _HeadMesh.MeshType = "Brick" | |
3107 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3108 | ||
3109 | local Jacket = Instance.new("Part",Clothes) | |
3110 | Jacket.Name = "Jacket" | |
3111 | Jacket.Shape = Enum.PartType.Block | |
3112 | Jacket.CanCollide = false | |
3113 | Jacket.Color = Color3.new(0,0,0) | |
3114 | Jacket.Transparency = 0 | |
3115 | Jacket.Material = "Metal" | |
3116 | Jacket.Size = Vector3.new(1.054/4, 0.1/4, 0.94/4) | |
3117 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3118 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3119 | Weld.Part0 = Left_Arm | |
3120 | Weld.Part1 = Jacket | |
3121 | Weld.C1 = CFrame.new(0,0.45,0) | |
3122 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3123 | _HeadMesh.MeshType = "Brick" | |
3124 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3125 | ||
3126 | local Jacket = Instance.new("Part",Clothes) | |
3127 | Jacket.Name = "Jacket" | |
3128 | Jacket.Shape = Enum.PartType.Block | |
3129 | Jacket.CanCollide = false | |
3130 | Jacket.Color = Color3.new(0,0,0) | |
3131 | Jacket.Transparency = 0 | |
3132 | Jacket.Material = "Metal" | |
3133 | Jacket.Size = Vector3.new(1.054/4, 0.414/4, 0.94/4) | |
3134 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3135 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3136 | Weld.Part0 = Left_Arm | |
3137 | Weld.Part1 = Jacket | |
3138 | Weld.C1 = CFrame.new(0,1,0) | |
3139 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3140 | _HeadMesh.MeshType = "Brick" | |
3141 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3142 | ||
3143 | local Jacket = Instance.new("Part",Clothes) | |
3144 | Jacket.Name = "Jacket" | |
3145 | Jacket.Shape = Enum.PartType.Block | |
3146 | Jacket.CanCollide = false | |
3147 | Jacket.BrickColor = BrickColor.new("Crimson") | |
3148 | Jacket.Transparency = 0 | |
3149 | Jacket.Material = "Sand" | |
3150 | Jacket.Size = Vector3.new(1.054/4, 1.514/4, 0.94/4) | |
3151 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3152 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3153 | Weld.Part0 = Right_Arm | |
3154 | Weld.Part1 = Jacket | |
3155 | Weld.C1 = CFrame.new(0,-0.266,0) | |
3156 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3157 | _HeadMesh.MeshType = "Brick" | |
3158 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3159 | ||
3160 | local Jacket = Instance.new("Part",Clothes) | |
3161 | Jacket.Name = "Jacket" | |
3162 | Jacket.Shape = Enum.PartType.Block | |
3163 | Jacket.CanCollide = false | |
3164 | Jacket.BrickColor = BrickColor.new("Maroon") | |
3165 | Jacket.Transparency = 0 | |
3166 | Jacket.Material = "Sand" | |
3167 | Jacket.Size = Vector3.new(1.1/4, 0.244/4, 1/4) | |
3168 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3169 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3170 | Weld.Part0 = Right_Arm | |
3171 | Weld.Part1 = Jacket | |
3172 | Weld.C1 = CFrame.new(0,0.4,0) | |
3173 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3174 | _HeadMesh.MeshType = "Brick" | |
3175 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3176 | ||
3177 | local Jacket = Instance.new("Part",Clothes) | |
3178 | Jacket.Name = "Jacket" | |
3179 | Jacket.Shape = Enum.PartType.Block | |
3180 | Jacket.CanCollide = false | |
3181 | Jacket.Color = Color3.new(0,0,0) | |
3182 | Jacket.Transparency = 0 | |
3183 | Jacket.Material = "Metal" | |
3184 | Jacket.Size = Vector3.new(1.054/4, 0.1/4, 0.94/4) | |
3185 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3186 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3187 | Weld.Part0 = Right_Arm | |
3188 | Weld.Part1 = Jacket | |
3189 | Weld.C1 = CFrame.new(0,0.45,0) | |
3190 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3191 | _HeadMesh.MeshType = "Brick" | |
3192 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3193 | ||
3194 | local Jacket = Instance.new("Part",Clothes) | |
3195 | Jacket.Name = "Jacket" | |
3196 | Jacket.Shape = Enum.PartType.Block | |
3197 | Jacket.CanCollide = false | |
3198 | Jacket.Color = Color3.new(0,0,0) | |
3199 | Jacket.Transparency = 0 | |
3200 | Jacket.Material = "Metal" | |
3201 | Jacket.Size = Vector3.new(1.054/4, 0.414/4, 0.94/4) | |
3202 | Jacket.TopSurface = Enum.SurfaceType.Smooth | |
3203 | Jacket.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jacket) | |
3204 | Weld.Part0 = Right_Arm | |
3205 | Weld.Part1 = Jacket | |
3206 | Weld.C1 = CFrame.new(0,1,0) | |
3207 | _HeadMesh = Instance.new("SpecialMesh",Jacket) | |
3208 | _HeadMesh.MeshType = "Brick" | |
3209 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3210 | ||
3211 | local Hoodie = Instance.new("Part",Clothes) | |
3212 | Hoodie.Name = "Hoodie" | |
3213 | Hoodie.Shape = Enum.PartType.Block | |
3214 | Hoodie.CanCollide = false | |
3215 | Hoodie.BrickColor = BrickColor.new("Maroon") | |
3216 | Hoodie.Transparency = 0 | |
3217 | Hoodie.Material = "Slate" | |
3218 | Hoodie.Size = Vector3.new(1.6, 0.05, 1.4) | |
3219 | Hoodie.TopSurface = Enum.SurfaceType.Smooth | |
3220 | Hoodie.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Hoodie) | |
3221 | Weld.Part0 = Torso | |
3222 | Weld.Part1 = Hoodie | |
3223 | Weld.C1 = CFrame.new(0,-0.6,-0.4) | |
3224 | HoodieMesh = Instance.new("SpecialMesh",Hoodie) | |
3225 | HoodieMesh.MeshType = "Sphere" | |
3226 | HoodieMesh.Scale = Vector3.new(1,1,1) | |
3227 | ||
3228 | local Hoodie = Instance.new("Part",Clothes) | |
3229 | Hoodie.Name = "Hoodie" | |
3230 | Hoodie.Shape = Enum.PartType.Block | |
3231 | Hoodie.CanCollide = false | |
3232 | Hoodie.Color = Color3.new(0,0,0) | |
3233 | Hoodie.Transparency = 0 | |
3234 | Hoodie.Material = "Metal" | |
3235 | Hoodie.Size = Vector3.new(1.5, 0.5, 1) | |
3236 | Hoodie.TopSurface = Enum.SurfaceType.Smooth | |
3237 | Hoodie.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Hoodie) | |
3238 | Weld.Part0 = Torso | |
3239 | Weld.Part1 = Hoodie | |
3240 | Weld.C1 = CFrame.new(0,-0.9,0.2) | |
3241 | HoodieMesh = Instance.new("SpecialMesh",Hoodie) | |
3242 | HoodieMesh.MeshType = "Sphere" | |
3243 | HoodieMesh.Scale = Vector3.new(1,1,1) | |
3244 | ||
3245 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3246 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.94452858, -1, -0.135944366, 0.866025388, 6.9388815e-018, 0.5, -1.36697535e-017, 0.999998212, 0, -0.5, 1.3877763e-017, 0.866025388)) | |
3247 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3248 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3249 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09449005, -1, -0.229496002, 0.939692557, -6.9388815e-018, -0.342020363, -1.36697535e-017, 0.999998212, 0, 0.342020363, -1.3877763e-017, 0.939692557)) | |
3250 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3251 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3252 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2899704, -1, 0.0504355431, -0.000345305598, -3.01991037e-007, -0.99999994, -5.21397127e-011, 0.999998212, -3.01991577e-007, 0.99999994, -5.21396225e-011, -0.000345305598)) | |
3253 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3254 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3255 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.950009823, -1, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
3256 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3257 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3258 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04999018, -1, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
3259 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3260 | handle=part(Enum.FormFactor.Brick,Clothes,Enum.Material.Slate,0,0,"Maroon","Handle",Vector3.new(0.900000036, 1, 2)) | |
3261 | handleweld=weld(Clothes,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02066422, -1, -0.317581177, 0.98480773, -6.9388815e-018, 0.173648179, -1.36697535e-017, 0.999998212, 0, -0.173648179, 1.3877763e-017, 0.98480773)) | |
3262 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3263 | ||
3264 | -- Pants | |
3265 | ||
3266 | Right_Leg.Transparency = 1 | |
3267 | Left_Leg.Transparency = 1 | |
3268 | ||
3269 | local Jeans = Instance.new("Part",Clothes) | |
3270 | Jeans.Name = "Jeans" | |
3271 | Jeans.Shape = Enum.PartType.Block | |
3272 | Jeans.CanCollide = false | |
3273 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3274 | Jeans.Transparency = 0 | |
3275 | Jeans.Material = "Sand" | |
3276 | Jeans.Size = Vector3.new(2.1/4, 0.1/4, 0.995/4) | |
3277 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3278 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3279 | Weld.Part0 = Torso | |
3280 | Weld.Part1 = Jeans | |
3281 | Weld.C1 = CFrame.new(0,1.05,0) | |
3282 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3283 | _HeadMesh.MeshType = "Brick" | |
3284 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3285 | ||
3286 | ||
3287 | local Jeans = Instance.new("Part",Clothes) | |
3288 | Jeans.Name = "Jeans" | |
3289 | Jeans.Shape = Enum.PartType.Block | |
3290 | Jeans.CanCollide = false | |
3291 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3292 | Jeans.Transparency = 0 | |
3293 | Jeans.Material = "Sand" | |
3294 | Jeans.Size = Vector3.new(1.094/4, 1.114/4, 0.934/4) | |
3295 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3296 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3297 | Weld.Part0 = Left_Leg | |
3298 | Weld.Part1 = Jeans | |
3299 | Weld.C1 = CFrame.new(0,-0.5,0) | |
3300 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3301 | _HeadMesh.MeshType = "Brick" | |
3302 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3303 | ||
3304 | local Jeans = Instance.new("Part",Clothes) | |
3305 | Jeans.Name = "Jeans" | |
3306 | Jeans.Shape = Enum.PartType.Block | |
3307 | Jeans.CanCollide = false | |
3308 | Jeans.Color = Color3.fromRGB(113, 116, 131) | |
3309 | Jeans.Transparency = 0 | |
3310 | Jeans.Material = "Sand" | |
3311 | Jeans.Size = Vector3.new(1.1/4, 0.24/4, 0.95/4) | |
3312 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3313 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3314 | Weld.Part0 = Left_Leg | |
3315 | Weld.Part1 = Jeans | |
3316 | Weld.C1 = CFrame.new(0,0,0) | |
3317 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3318 | _HeadMesh.MeshType = "Brick" | |
3319 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3320 | ||
3321 | local Boot = Instance.new("Part",Clothes) | |
3322 | Boot.Name = "Boot" | |
3323 | Boot.Shape = Enum.PartType.Block | |
3324 | Boot.CanCollide = false | |
3325 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3326 | Boot.Transparency = 0 | |
3327 | Boot.Material = "Slate" | |
3328 | Boot.Size = Vector3.new(1.1/4, 0.15/4, 0.95/4) | |
3329 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3330 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3331 | Weld.Part0 = Left_Leg | |
3332 | Weld.Part1 = Boot | |
3333 | Weld.C1 = CFrame.new(0,0.22,0) | |
3334 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3335 | _HeadMesh.MeshType = "Brick" | |
3336 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3337 | ||
3338 | local Boot = Instance.new("Part",Clothes) | |
3339 | Boot.Name = "Boot" | |
3340 | Boot.Shape = Enum.PartType.Block | |
3341 | Boot.CanCollide = false | |
3342 | Boot.BrickColor = BrickColor.new("Rust") | |
3343 | Boot.Transparency = 0 | |
3344 | Boot.Material = "Slate" | |
3345 | Boot.Size = Vector3.new(1.064/4, 0.463/4, 0.94/4) | |
3346 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3347 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3348 | Weld.Part0 = Left_Leg | |
3349 | Weld.Part1 = Boot | |
3350 | Weld.C1 = CFrame.new(0,0.35,0) | |
3351 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3352 | _HeadMesh.MeshType = "Brick" | |
3353 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3354 | ||
3355 | local Boot = Instance.new("Part",Clothes) | |
3356 | Boot.Name = "Boot" | |
3357 | Boot.Shape = Enum.PartType.Block | |
3358 | Boot.CanCollide = false | |
3359 | Boot.BrickColor = BrickColor.new("Rust") | |
3360 | Boot.Transparency = 0 | |
3361 | Boot.Material = "Slate" | |
3362 | Boot.Size = Vector3.new(1.064/4, 0.2/4, 0.98/4) | |
3363 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3364 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3365 | Weld.Part0 = Left_Leg | |
3366 | Weld.Part1 = Boot | |
3367 | Weld.C1 = CFrame.new(0,0.66,0.02) | |
3368 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3369 | _HeadMesh.MeshType = "Brick" | |
3370 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3371 | ||
3372 | local Boot = Instance.new("Part",Clothes) | |
3373 | Boot.Name = "Boot" | |
3374 | Boot.Shape = Enum.PartType.Block | |
3375 | Boot.CanCollide = false | |
3376 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3377 | Boot.Transparency = 0 | |
3378 | Boot.Material = "Slate" | |
3379 | Boot.Size = Vector3.new(1.1/4, 0.25/4, 0.98/4) | |
3380 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3381 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3382 | Weld.Part0 = Left_Leg | |
3383 | Weld.Part1 = Boot | |
3384 | Weld.C1 = CFrame.new(0,0.86,0.02) | |
3385 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3386 | _HeadMesh.MeshType = "Brick" | |
3387 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3388 | ||
3389 | local Jeans = Instance.new("Part",Clothes) | |
3390 | Jeans.Name = "Jeans" | |
3391 | Jeans.Shape = Enum.PartType.Block | |
3392 | Jeans.CanCollide = false | |
3393 | Jeans.BrickColor = BrickColor.new("Smoky grey") | |
3394 | Jeans.Transparency = 0 | |
3395 | Jeans.Material = "Sand" | |
3396 | Jeans.Size = Vector3.new(1.094/4, 1.114/4, 0.934/4) | |
3397 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3398 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3399 | Weld.Part0 = Right_Leg | |
3400 | Weld.Part1 = Jeans | |
3401 | Weld.C1 = CFrame.new(0,-0.5,0) | |
3402 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3403 | _HeadMesh.MeshType = "Brick" | |
3404 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3405 | ||
3406 | local Jeans = Instance.new("Part",Clothes) | |
3407 | Jeans.Name = "Jeans" | |
3408 | Jeans.Shape = Enum.PartType.Block | |
3409 | Jeans.CanCollide = false | |
3410 | Jeans.Color = Color3.fromRGB(113, 116, 131) | |
3411 | Jeans.Transparency = 0 | |
3412 | Jeans.Material = "Sand" | |
3413 | Jeans.Size = Vector3.new(1.1/4, 0.24/4, 0.95/4) | |
3414 | Jeans.TopSurface = Enum.SurfaceType.Smooth | |
3415 | Jeans.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Jeans) | |
3416 | Weld.Part0 = Right_Leg | |
3417 | Weld.Part1 = Jeans | |
3418 | Weld.C1 = CFrame.new(0,0,0) | |
3419 | _HeadMesh = Instance.new("SpecialMesh",Jeans) | |
3420 | _HeadMesh.MeshType = "Brick" | |
3421 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3422 | ||
3423 | local Boot = Instance.new("Part",Clothes) | |
3424 | Boot.Name = "Boot" | |
3425 | Boot.Shape = Enum.PartType.Block | |
3426 | Boot.CanCollide = false | |
3427 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3428 | Boot.Transparency = 0 | |
3429 | Boot.Material = "Slate" | |
3430 | Boot.Size = Vector3.new(1.1/4, 0.15/4, 0.95/4) | |
3431 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3432 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3433 | Weld.Part0 = Right_Leg | |
3434 | Weld.Part1 = Boot | |
3435 | Weld.C1 = CFrame.new(0,0.22,0) | |
3436 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3437 | _HeadMesh.MeshType = "Brick" | |
3438 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3439 | ||
3440 | local Boot = Instance.new("Part",Clothes) | |
3441 | Boot.Name = "Boot" | |
3442 | Boot.Shape = Enum.PartType.Block | |
3443 | Boot.CanCollide = false | |
3444 | Boot.BrickColor = BrickColor.new("Rust") | |
3445 | Boot.Transparency = 0 | |
3446 | Boot.Material = "Slate" | |
3447 | Boot.Size = Vector3.new(1.064/4, 0.463/4, 0.94/4) | |
3448 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3449 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3450 | Weld.Part0 = Right_Leg | |
3451 | Weld.Part1 = Boot | |
3452 | Weld.C1 = CFrame.new(0,0.35,0) | |
3453 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3454 | _HeadMesh.MeshType = "Brick" | |
3455 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3456 | ||
3457 | local Boot = Instance.new("Part",Clothes) | |
3458 | Boot.Name = "Boot" | |
3459 | Boot.Shape = Enum.PartType.Block | |
3460 | Boot.CanCollide = false | |
3461 | Boot.BrickColor = BrickColor.new("Rust") | |
3462 | Boot.Transparency = 0 | |
3463 | Boot.Material = "Slate" | |
3464 | Boot.Size = Vector3.new(1.064/4, 0.2/4, 0.98/4) | |
3465 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3466 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3467 | Weld.Part0 = Right_Leg | |
3468 | Weld.Part1 = Boot | |
3469 | Weld.C1 = CFrame.new(0,0.66,0.02) | |
3470 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3471 | _HeadMesh.MeshType = "Brick" | |
3472 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3473 | ||
3474 | local Boot = Instance.new("Part",Clothes) | |
3475 | Boot.Name = "Boot" | |
3476 | Boot.Shape = Enum.PartType.Block | |
3477 | Boot.CanCollide = false | |
3478 | Boot.BrickColor = BrickColor.new("Burnt Sienna") | |
3479 | Boot.Transparency = 0 | |
3480 | Boot.Material = "Slate" | |
3481 | Boot.Size = Vector3.new(1.1/4, 0.25/4, 0.98/4) | |
3482 | Boot.TopSurface = Enum.SurfaceType.Smooth | |
3483 | Boot.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", Boot) | |
3484 | Weld.Part0 = Right_Leg | |
3485 | Weld.Part1 = Boot | |
3486 | Weld.C1 = CFrame.new(0,0.86,0.02) | |
3487 | _HeadMesh = Instance.new("SpecialMesh",Boot) | |
3488 | _HeadMesh.MeshType = "Brick" | |
3489 | _HeadMesh.Scale = Vector3.new(4,4,4) | |
3490 | ||
3491 | almostdead = false | |
3492 | Transformed = false | |
3493 | ||
3494 | ||
3495 | Shirt = Instance.new("Shirt",Character) | |
3496 | Pants = Instance.new("Pants",Character) | |
3497 | Shirt.ShirtTemplate = "" | |
3498 | Pants.PantsTemplate = "" | |
3499 | ||
3500 | Deku = Instance.new("Decal",Boob) | |
3501 | Deku.Face = "Front" | |
3502 | Deku.Texture = "rbxassetid://7634756" | |
3503 | Deku = Instance.new("Decal",Boob) | |
3504 | Deku.Face = "Left" | |
3505 | Deku.Texture = "rbxassetid://7634756" | |
3506 | Deku = Instance.new("Decal",Boob2) | |
3507 | Deku.Face = "Front" | |
3508 | Deku.Texture = "rbxassetid://7634756" | |
3509 | Deku = Instance.new("Decal",Boob2) | |
3510 | Deku.Face = "Right" | |
3511 | Deku.Texture = "rbxassetid://7634756" | |
3512 | ||
3513 | for i,v in pairs(Clothes:GetChildren()) do | |
3514 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3515 | noOutline(v) | |
3516 | end | |
3517 | end | |
3518 | ||
3519 | for i,v in pairs(Boob:GetChildren()) do | |
3520 | if v:IsA('Decal') then | |
3521 | v.Texture = "rbxassetid://" | |
3522 | end | |
3523 | end | |
3524 | ||
3525 | for i,v in pairs(Boob2:GetChildren()) do | |
3526 | if v:IsA('Decal') then | |
3527 | v.Texture = "rbxassetid://" | |
3528 | end | |
3529 | end | |
3530 | ||
3531 | function Transform() | |
3532 | Humanoid.MaxHealth = 500 | |
3533 | Humanoid.Health = 500 | |
3534 | attack = true | |
3535 | attack2 = true | |
3536 | Transformed = true | |
3537 | Animations = true | |
3538 | local rng2 = Instance.new("Part",Character) | |
3539 | rng2.Anchored = true | |
3540 | rng2.Color = Color3.new(0,0,0) | |
3541 | rng2.CanCollide = false | |
3542 | rng2.Material = "Neon" | |
3543 | rng2.FormFactor = 3 | |
3544 | rng2.Name = "Shockwave" | |
3545 | rng2.Size = Vector3.new(1, 1, 1) | |
3546 | rng2.Transparency = 0 | |
3547 | rng2.TopSurface = 0 | |
3548 | rng2.BottomSurface = 0 | |
3549 | rng2.CFrame = rootPart.CFrame | |
3550 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
3551 | rngm2.Scale = Vector3.new(0,0,0) | |
3552 | rngm2.Offset = Vector3.new(0,0.5,0) | |
3553 | rngm2.MeshType = "Sphere" | |
3554 | ||
3555 | spawn(function() | |
3556 | for i = 1, 60, 2 do | |
3557 | rng2.Color = Color3.new(i/60,0,0) | |
3558 | rngm2.Scale = rngm2.Scale + Vector3.new(0.4,0.4,0.4) | |
3559 | swait() | |
3560 | end | |
3561 | wait(1) | |
3562 | rng2.Transparency = 0.35 | |
3563 | coroutine.wrap(function() | |
3564 | for i = 1,180 do | |
3565 | local fx = Instance.new("Part",Effects) | |
3566 | fx.Anchored = true | |
3567 | fx.Color = Color3.new(1,0,0) | |
3568 | fx.CanCollide = false | |
3569 | fx.FormFactor = 3 | |
3570 | fx.Name = "Shockwave" | |
3571 | fx.Material = "Neon" | |
3572 | fx.Size = Vector3.new(1, 1, 1) | |
3573 | fx.Transparency = 0.35 | |
3574 | fx.TopSurface = 0 | |
3575 | fx.BottomSurface = 0 | |
3576 | fx.CFrame = rootPart.CFrame | |
3577 | fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10)) | |
3578 | local fxm = Instance.new("SpecialMesh", fx) | |
3579 | fxm.Scale = Vector3.new(0,0,0) | |
3580 | fxm.Offset = Vector3.new(0,0,0) | |
3581 | fxm.MeshType = "Sphere" | |
3582 | spawn(function() | |
3583 | for i = 1, 60, 2 do | |
3584 | fxm.Scale = Vector3.new(0.5 - i*0.0083,5 - i*0.083 ,0.5 - i*0.0083) | |
3585 | fx.CFrame = fx.CFrame * CFrame.new(0,1.5,0) | |
3586 | fx.Transparency = i/60 | |
3587 | swait() | |
3588 | end | |
3589 | wait() | |
3590 | fx:Destroy() | |
3591 | end) | |
3592 | end | |
3593 | end)() | |
3594 | for i = 1, 60, 2 do | |
3595 | rngm2.Scale = rngm2.Scale + Vector3.new(2,2,2) | |
3596 | rng2.Transparency = i/30 | |
3597 | swait() | |
3598 | end | |
3599 | wait() | |
3600 | rng2:Destroy() | |
3601 | end) | |
3602 | ||
3603 | S = Instance.new("Sound") | |
3604 | S.Parent = Character.Torso | |
3605 | S.SoundId = "rbxassetid://268008984" | |
3606 | S.Volume = 10 | |
3607 | S.Looped = false | |
3608 | S.Pitch = 1 | |
3609 | S:Play() | |
3610 | Eyes.Texture = "rbxassetid://1572409968" | |
3611 | Mouth.Texture = "rbxassetid://1572410763" | |
3612 | Theme.SoundId = "rbxassetid://969583926" | |
3613 | Theme:Play() | |
3614 | for i = 0,1,0.01 do | |
3615 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3616 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3617 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3618 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3619 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, -2 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3620 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 + math.sin(sine/0.2)/2, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3621 | swait() | |
3622 | end | |
3623 | text.TextColor3 = Color3.new(1,0,0) | |
3624 | text.Text = "Evelyn\n ~Demon Form~" | |
3625 | Fire.Enabled = true | |
3626 | Eyes.Color3 = Color3.new(1,0,0) | |
3627 | Mouth.Color3 = Color3.new(1,0,0) | |
3628 | for i,v in pairs(Boob:GetChildren()) do | |
3629 | if v:IsA('Decal') then | |
3630 | v.Texture = "rbxassetid://7634756" | |
3631 | end | |
3632 | end | |
3633 | ||
3634 | for i,v in pairs(Boob2:GetChildren()) do | |
3635 | if v:IsA('Decal') then | |
3636 | v.Texture = "rbxassetid://7634756" | |
3637 | end | |
3638 | end | |
3639 | Right_Arm.Transparency = 0 | |
3640 | Left_Arm.Transparency = 0 | |
3641 | Right_Leg.Transparency = 0 | |
3642 | Left_Leg.Transparency = 0 | |
3643 | for i,v in pairs (Clothes:GetChildren()) do | |
3644 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3645 | v.Transparency = 1 | |
3646 | end | |
3647 | end | |
3648 | Shirt.ShirtTemplate = "rbxassetid://787990331" | |
3649 | Pants.PantsTemplate = "rbxassetid://983141459" | |
3650 | S = Instance.new("Sound") | |
3651 | S.Parent = Character.Torso | |
3652 | S.SoundId = "rbxassetid://178452221" | |
3653 | S.Volume = 5 | |
3654 | S.Looped = false | |
3655 | S.Pitch = 1 | |
3656 | S:Play() | |
3657 | for i = 0,0.7,0.01 do | |
3658 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
3659 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
3660 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
3661 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
3662 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3663 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(-25),math.rad(0), math.rad(0)), 0.15) | |
3664 | swait() | |
3665 | end | |
3666 | Normal_Face() | |
3667 | Animations = false | |
3668 | attack2 = false | |
3669 | attack = false | |
3670 | end | |
3671 | dedebounce = false | |
3672 | ||
3673 | function Revert() | |
3674 | Humanoid.MaxHealth = 150 | |
3675 | Humanoid.Health = 150 | |
3676 | attack = true | |
3677 | attack2 = true | |
3678 | Animations = true | |
3679 | Transformed = false | |
3680 | Fire.Enabled = false | |
3681 | for i = 0,0.15,0.01 do | |
3682 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3683 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3684 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3685 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3686 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3687 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3688 | swait() | |
3689 | end | |
3690 | Theme.SoundId = "rbxassetid://1825836370" | |
3691 | Theme:Play() | |
3692 | local rng2 = Instance.new("Part",Character.Effects) | |
3693 | rng2.Anchored = true | |
3694 | rng2.Color = Color3.new(0,0,0) | |
3695 | rng2.CanCollide = false | |
3696 | rng2.Material = "Neon" | |
3697 | rng2.FormFactor = 3 | |
3698 | rng2.Name = "Shockwave" | |
3699 | rng2.Size = Vector3.new(1, 1, 1) | |
3700 | rng2.Transparency = 0 | |
3701 | rng2.TopSurface = 0 | |
3702 | rng2.BottomSurface = 0 | |
3703 | rng2.CFrame = rootPart.CFrame | |
3704 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
3705 | rngm2.Scale = Vector3.new(0,0,0) | |
3706 | rngm2.Offset = Vector3.new(0,0.5,0) | |
3707 | rngm2.MeshType = "Sphere" | |
3708 | ||
3709 | spawn(function() | |
3710 | for i = 1, 60, 2 do | |
3711 | rngm2.Scale = rngm2.Scale + Vector3.new(0.4,0.4,0.4) | |
3712 | swait() | |
3713 | end | |
3714 | wait(0.5) | |
3715 | rng2.Transparency = 0.35 | |
3716 | for i = 1, 60, 2 do | |
3717 | rngm2.Scale = rngm2.Scale + Vector3.new(2,2,2) | |
3718 | rng2.Transparency = i/60 | |
3719 | swait() | |
3720 | end | |
3721 | wait() | |
3722 | rng2:Destroy() | |
3723 | end) | |
3724 | ||
3725 | for i = 0,0.08,0.01 do | |
3726 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15) | |
3727 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15) | |
3728 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15) | |
3729 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15) | |
3730 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
3731 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15) | |
3732 | swait() | |
3733 | end | |
3734 | text.TextColor3 = Color3.new(1,1,1) | |
3735 | text.Text = "Evelyn" | |
3736 | Eyes.Color3 = Color3.new(1,1,1) | |
3737 | Mouth.Color3 = Color3.new(1,1,1) | |
3738 | Shirt.ShirtTemplate = "" | |
3739 | Pants.PantsTemplate = "" | |
3740 | for i,v in pairs(Boob:GetChildren()) do | |
3741 | if v:IsA('Decal') then | |
3742 | v.Texture = "rbxassetid://" | |
3743 | end | |
3744 | end | |
3745 | ||
3746 | for i,v in pairs(Boob2:GetChildren()) do | |
3747 | if v:IsA('Decal') then | |
3748 | v.Texture = "rbxassetid://" | |
3749 | end | |
3750 | end | |
3751 | Right_Arm.Transparency = 1 | |
3752 | Left_Arm.Transparency = 1 | |
3753 | Right_Leg.Transparency = 1 | |
3754 | Left_Leg.Transparency = 1 | |
3755 | for i,v in pairs (Clothes:GetChildren()) do | |
3756 | if v:IsA('Part') or v:IsA('WedgePart') then | |
3757 | v.Transparency = 0 | |
3758 | end | |
3759 | end | |
3760 | Eyes.Texture = "rbxassetid://1572409210" | |
3761 | Mouth.Texture = "rbxassetid://1572409375" | |
3762 | ||
3763 | for i = 0,0.7,0.01 do | |
3764 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15) | |
3765 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15) | |
3766 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.15) | |
3767 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(10)), 0.15) | |
3768 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3769 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(-5),math.rad(0), math.rad(0)), 0.15) | |
3770 | swait() | |
3771 | end | |
3772 | S = Instance.new("Sound") | |
3773 | S.Parent = Character.Torso | |
3774 | S.SoundId = "rbxassetid://178452221" | |
3775 | S.Volume = 8 | |
3776 | S.Looped = false | |
3777 | S.Pitch = 1 | |
3778 | S:Play() | |
3779 | Animations = false | |
3780 | attack2 = false | |
3781 | attack = false | |
3782 | end | |
3783 | ||
3784 | ||
3785 | local attk = 1 | |
3786 | mouse.Button1Down:Connect(function(key) | |
3787 | ||
3788 | if attack == false then | |
3789 | if attk == 1 then | |
3790 | attk = 2 | |
3791 | Attackone() | |
3792 | elseif attk == 2 then | |
3793 | attk = 3 | |
3794 | Attacktwo() | |
3795 | elseif attk == 3 then | |
3796 | attk = 4 | |
3797 | Attackthree() | |
3798 | elseif attk == 4 then | |
3799 | attk = 5 | |
3800 | Attackfour() | |
3801 | elseif attk == 5 then | |
3802 | attk = 6 | |
3803 | Attackfive() | |
3804 | elseif attk == 6 then | |
3805 | attk = 1 | |
3806 | Attacksix() | |
3807 | end | |
3808 | end | |
3809 | end) | |
3810 | ||
3811 | ||
3812 | ||
3813 | ||
3814 | function sound(id,position,vol,pitch,start,finish) | |
3815 | coroutine.resume(coroutine.create(function() | |
3816 | ||
3817 | local part = Instance.new("Part",workspace) | |
3818 | part.Position = position | |
3819 | part.Size = Vector3.new(0,0,0) | |
3820 | part.CanCollide = false | |
3821 | part.Transparency = 1 | |
3822 | ||
3823 | local sound = Instance.new("Sound",part) | |
3824 | ||
3825 | sound.SoundId = "rbxassetid://"..id | |
3826 | ||
3827 | repeat ArtificialHB.Event:wait() until sound.IsLoaded | |
3828 | ||
3829 | if vol ~= nil then | |
3830 | sound.Volume = vol | |
3831 | end | |
3832 | ||
3833 | if pitch ~= nil then | |
3834 | sound.PlaybackSpeed = pitch | |
3835 | end | |
3836 | ||
3837 | if start ~= nil then | |
3838 | sound.TimePosition = start | |
3839 | end | |
3840 | ||
3841 | if finish ~= nil then | |
3842 | game:GetService("Debris"):AddItem(part,finish-start) | |
3843 | else | |
3844 | game:GetService("Debris"):AddItem(part,sound.TimeLength) | |
3845 | end | |
3846 | ||
3847 | sound:Play() | |
3848 | ||
3849 | return sound | |
3850 | ||
3851 | end)) | |
3852 | end | |
3853 | ||
3854 | function Dead() | |
3855 | attack = true | |
3856 | attack2 = true | |
3857 | Animations = true | |
3858 | Eyes.Texture = "rbxassetid://1572410332" | |
3859 | Mouth.Texture = "rbxassetid://1572410763" | |
3860 | Dizz = Instance.new("Sound") | |
3861 | Dizz.Parent = Character.Torso | |
3862 | Dizz.SoundId = "rbxassetid://266278159" | |
3863 | Dizz.Volume = 10 | |
3864 | Dizz.Looped = false | |
3865 | Dizz.Pitch = 1 | |
3866 | Dizz:Play() | |
3867 | ||
3868 | text.Text = "" | |
3869 | for i = 0,1,0.01 do | |
3870 | Theme.Pitch = Theme.Pitch - 0.01 | |
3871 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
3872 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
3873 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15) | |
3874 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15) | |
3875 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15) | |
3876 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(20),math.rad(0) + i*10, math.rad(0) + math.sin(sine/15)/5), 0.15) | |
3877 | swait() | |
3878 | end | |
3879 | local Soul1 = Instance.new("Part", Character) | |
3880 | Soul1.Name = "Soul" | |
3881 | Soul1.Anchored = true | |
3882 | Soul1.Shape = Enum.PartType.Block | |
3883 | Soul1.CanCollide = false | |
3884 | Soul1.BrickColor = BrickColor.new("Institutional white") | |
3885 | Soul1.Transparency = 0 | |
3886 | Soul1.Material = "Neon" | |
3887 | Soul1.Size = Vector3.new(0.26, 0.5, 0.21) | |
3888 | Soul1.TopSurface = Enum.SurfaceType.Smooth | |
3889 | Soul1.BottomSurface = Enum.SurfaceType.Smooth | |
3890 | ||
3891 | ||
3892 | local M1 = Instance.new("SpecialMesh") | |
3893 | M1.Parent = Soul1 | |
3894 | M1.MeshType = "Sphere" | |
3895 | M1.Scale = Vector3.new(1,1,1) | |
3896 | ||
3897 | local Soul2 = Instance.new("Part", Character) | |
3898 | Soul2.Name = "Soul" | |
3899 | Soul2.Anchored = true | |
3900 | Soul2.Shape = Enum.PartType.Block | |
3901 | Soul2.CanCollide = false | |
3902 | Soul2.BrickColor = BrickColor.new("Institutional white") | |
3903 | Soul2.Transparency = 0 | |
3904 | Soul2.Material = "Neon" | |
3905 | Soul2.Size = Vector3.new(0.26, 0.5, 0.21) | |
3906 | Soul2.TopSurface = Enum.SurfaceType.Smooth | |
3907 | Soul2.BottomSurface = Enum.SurfaceType.Smooth | |
3908 | ||
3909 | ||
3910 | local M1 = Instance.new("SpecialMesh") | |
3911 | M1.Parent = Soul2 | |
3912 | M1.MeshType = "Sphere" | |
3913 | M1.Scale = Vector3.new(1,1,1) | |
3914 | Dizz:Destroy() | |
3915 | Torso.Transparency = 1 | |
3916 | Theme.Volume = 0 | |
3917 | Eyes.Texture = "rbxassetid://1572409830" | |
3918 | Mouth.Texture = "rbxassetid://1572410763" | |
3919 | S = Instance.new("Sound") | |
3920 | S.Parent = Character.Torso | |
3921 | S.SoundId = "rbxassetid://1292392651" | |
3922 | S.Volume = 10 | |
3923 | S.Looped = false | |
3924 | S.Pitch = 1 | |
3925 | S:Play() | |
3926 | ||
3927 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3928 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3929 | ||
3930 | for i = 0,1.7,0.01 do | |
3931 | Soul1.CFrame = rootPart.CFrame * CFrame.new(math.random(5,15)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3932 | Soul2.CFrame = rootPart.CFrame * CFrame.new(math.random(-15,-5)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3933 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(-25),math.rad(66)), 0.2) | |
3934 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(16),math.rad(-50)), 0.2) | |
3935 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
3936 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
3937 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.5, 0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.2) | |
3938 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 2, -0.3) * c_angles(math.rad(50),math.rad(0), math.rad(45)), 0.2) | |
3939 | swait() | |
3940 | end | |
3941 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3942 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3943 | wait(1) | |
3944 | S = Instance.new("Sound") | |
3945 | S.Parent = Character.Torso | |
3946 | S.SoundId = "rbxassetid://973028066" | |
3947 | S.Volume = 10 | |
3948 | S.Looped = false | |
3949 | S.Pitch = 1 | |
3950 | S:Play() | |
3951 | Soul1.CFrame = rootPart.CFrame * CFrame.new(0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)) | |
3952 | Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)) | |
3953 | wait(1) | |
3954 | Soul1.Anchored = false | |
3955 | Soul2.Anchored = false | |
3956 | Soul1.Velocity = ((Soul1.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Soul1.CFrame.p)*5 | |
3957 | Soul2.Velocity = ((Soul2.CFrame*CFrame.new(-5,0,math.random(-2,2))).p-Soul2.CFrame.p)*5 | |
3958 | for i = 1,60,2 do | |
3959 | Soul1.Transparency = i/30 | |
3960 | Soul2.Transparency = i/30 | |
3961 | swait() | |
3962 | end | |
3963 | wait(2) | |
3964 | Humanoid:SetStateEnabled("Dead",true) | |
3965 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, true) | |
3966 | ||
3967 | ||
3968 | Character.Archivable = true | |
3969 | Character.Head:ClearAllChildren() | |
3970 | Character.Head.Size = Vector3.new(1,1,1) | |
3971 | Character.Clothing:Destroy() | |
3972 | Character.Torso.Boob:Destroy() | |
3973 | Character.Torso.Boob2:Destroy() | |
3974 | local clone = Character:Clone() | |
3975 | clone.Parent = workspace | |
3976 | clone.Name = "DED" | |
3977 | local emitters={} | |
3978 | for i,v in pairs(clone:GetChildren()) do | |
3979 | if v:IsA("Accoutrement") then | |
3980 | v:Destroy() | |
3981 | end | |
3982 | if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("WedgePart") then | |
3983 | v.Anchored = true | |
3984 | v.CanCollide = false | |
3985 | v.Color = Color3.new(1,1,1) | |
3986 | v.Material = "Neon" | |
3987 | local emitter = Instance.new("ParticleEmitter",v) | |
3988 | emitter.LightEmission = 1 | |
3989 | emitter.Transparency = NumberSequence.new(0,1) | |
3990 | emitter.Size = NumberSequence.new(0,0.2) | |
3991 | emitter.SpreadAngle = Vector2.new(360,360) | |
3992 | emitter.Speed = NumberRange.new(0.5) | |
3993 | emitter.Lifetime = NumberRange.new(0.75) | |
3994 | emitter.Texture = "rbxassetid://241812810" | |
3995 | emitter.Rate = 1000 | |
3996 | emitter.Color = ColorSequence.new(Color3.new(1,1,1)) | |
3997 | emitter.LockedToPart = false | |
3998 | table.insert(emitters,emitter) | |
3999 | end | |
4000 | end | |
4001 | coroutine.wrap(function() | |
4002 | for i,v in pairs(clone:GetChildren()) do | |
4003 | if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("WedgePart") or v:IsA("Decal") then | |
4004 | coroutine.wrap(function() | |
4005 | for i = 1,20 do | |
4006 | v.Transparency = v.Transparency + 0.05 | |
4007 | wait() | |
4008 | end | |
4009 | end)() | |
4010 | end | |
4011 | end | |
4012 | end)() | |
4013 | delay(1, function() | |
4014 | S = Instance.new("Sound") | |
4015 | S.Parent = clone.Torso | |
4016 | S.SoundId = "rbxassetid://427025525" | |
4017 | S.Volume = 10 | |
4018 | S.Looped = false | |
4019 | S.Pitch = 1 | |
4020 | S:Play() | |
4021 | for i,v in pairs(emitters) do | |
4022 | v.Speed = NumberRange.new(8) | |
4023 | v.Acceleration = Vector3.new(0,10,0) | |
4024 | delay(0.5, function() | |
4025 | v.Enabled = false | |
4026 | game:GetService("Debris"):AddItem(clone,0.75) | |
4027 | end) | |
4028 | end | |
4029 | end) | |
4030 | ||
4031 | end | |
4032 | ||
4033 | Humanoid:SetStateEnabled("Dead",false) | |
4034 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
4035 | ||
4036 | coroutine.wrap(function() | |
4037 | while true do | |
4038 | if dedebounce == false then | |
4039 | if Humanoid.Health <= 0 and Transformed == false then | |
4040 | dedebounce = true | |
4041 | Humanoid.MaxHealth = 800 | |
4042 | Humanoid.Health = 800 | |
4043 | Dead() | |
4044 | return | |
4045 | end | |
4046 | else | |
4047 | swait() | |
4048 | return | |
4049 | end | |
4050 | swait() | |
4051 | end | |
4052 | end)() | |
4053 | ||
4054 | coroutine.wrap(function() | |
4055 | while true and wait() do | |
4056 | if Humanoid.Health <= 20 and Transformed == true then | |
4057 | Revert() | |
4058 | end | |
4059 | end | |
4060 | end)() | |
4061 | ||
4062 | ||
4063 | ||
4064 | function findCloseHumanoid(centre, distance) | |
4065 | local tab = {} | |
4066 | for _, child in pairs(game.Workspace:GetChildren()) do | |
4067 | if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then | |
4068 | local vtors = child.Torso | |
4069 | local mag = math.abs((vtors.Position - centre).magnitude) | |
4070 | if distance >= mag then | |
4071 | table.insert(tab, child.Humanoid) | |
4072 | end | |
4073 | end | |
4074 | end | |
4075 | return tab | |
4076 | end | |
4077 | ||
4078 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants | |
4079 | return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
4080 | end | |
4081 | ||
4082 | function QuaternionFromCFrame(cf) | |
4083 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
4084 | local trace = m00 + m11 + m22 | |
4085 | if trace > 0 then | |
4086 | local s = math.sqrt(1 + trace) | |
4087 | local recip = 0.5/s | |
4088 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
4089 | else | |
4090 | local i = 0 | |
4091 | if m11 > m00 then | |
4092 | i = 1 | |
4093 | end | |
4094 | if m22 > (i == 0 and m00 or m11) then | |
4095 | i = 2 | |
4096 | end | |
4097 | if i == 0 then | |
4098 | local s = math.sqrt(m00-m11-m22+1) | |
4099 | local recip = 0.5/s | |
4100 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
4101 | elseif i == 1 then | |
4102 | local s = math.sqrt(m11-m22-m00+1) | |
4103 | local recip = 0.5/s | |
4104 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
4105 | elseif i == 2 then | |
4106 | local s = math.sqrt(m22-m00-m11+1) | |
4107 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
4108 | end | |
4109 | end | |
4110 | end | |
4111 | ||
4112 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
4113 | local xs, ys, zs = x + x, y + y, z + z | |
4114 | local wx, wy, wz = w*xs, w*ys, w*zs | |
4115 | local xx = x*xs | |
4116 | local xy = x*ys | |
4117 | local xz = x*zs | |
4118 | local yy = y*ys | |
4119 | local yz = y*zs | |
4120 | local zz = z*zs | |
4121 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
4122 | end | |
4123 | ||
4124 | function QuaternionSlerp(a, b, t) | |
4125 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
4126 | local startInterp, finishInterp; | |
4127 | if cosTheta >= 0.0001 then | |
4128 | if (1 - cosTheta) > 0.0001 then | |
4129 | local theta = math.acos(cosTheta) | |
4130 | local invSinTheta = 1/math.sin(theta) | |
4131 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
4132 | finishInterp = math.sin(t*theta)*invSinTheta | |
4133 | else | |
4134 | startInterp = 1-t | |
4135 | finishInterp = t | |
4136 | end | |
4137 | else | |
4138 | if (1+cosTheta) > 0.0001 then | |
4139 | local theta = math.acos(-cosTheta) | |
4140 | local invSinTheta = 1/math.sin(theta) | |
4141 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
4142 | finishInterp = math.sin(t*theta)*invSinTheta | |
4143 | else | |
4144 | startInterp = t-1 | |
4145 | finishInterp = t | |
4146 | end | |
4147 | end | |
4148 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
4149 | end | |
4150 | ||
4151 | function clerp(a, b, t) | |
4152 | local qa = {QuaternionFromCFrame(a)} | |
4153 | local qb = {QuaternionFromCFrame(b)} | |
4154 | local ax, ay, az = a.x, a.y, a.z | |
4155 | local bx, by, bz = b.x, b.y, b.z | |
4156 | local _t = 1-t | |
4157 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
4158 | end | |
4159 | ||
4160 | swait() | |
4161 | LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0) | |
4162 | Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4163 | RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0) | |
4164 | Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4165 | LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0) | |
4166 | Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) | |
4167 | RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0) | |
4168 | Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) | |
4169 | Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0) | |
4170 | Torso.Weld.C1 = CFrame.new(0, -1, 0) | |
4171 | Head_Weld = newWeld(Torso, Head, 0, 1.5, 0) | |
4172 | ||
4173 | for i,v in pairs(Character:GetChildren()) do | |
4174 | if v:IsA('Accoutrement') then | |
4175 | v:Destroy() | |
4176 | elseif v:IsA('Part') and v.Name=='Head' then | |
4177 | v.face.Transparency = 1 | |
4178 | end | |
4179 | end | |
4180 | ||
4181 | Character['Body Colors'].HeadColor3=Color3.new(0,0,0) | |
4182 | Character['Body Colors'].TorsoColor3=Color3.new(0,0,0) | |
4183 | Character['Body Colors'].RightArmColor3=Color3.new(0,0,0) | |
4184 | Character['Body Colors'].LeftArmColor3=Color3.new(0,0,0) | |
4185 | Character['Body Colors'].RightLegColor3=Color3.new(0,0,0) | |
4186 | Character['Body Colors'].LeftLegColor3=Color3.new(0,0,0) | |
4187 | ||
4188 | Humanoid.DisplayDistanceType='None' | |
4189 | ||
4190 | sine = 0 | |
4191 | change = 1 | |
4192 | sprint=false | |
4193 | local punches={ | |
4194 | a=false, | |
4195 | b=false, | |
4196 | c=false | |
4197 | } | |
4198 | ||
4199 | ||
4200 | ||
4201 | UIService.InputBegan:connect(function(Input,GUIProcessed) | |
4202 | if not GUIProcessed and Input.UserInputType==Enum.UserInputType.MouseButton1 then | |
4203 | if punches.a==false then | |
4204 | punches.a=true wait(.4) punches.a=false | |
4205 | else | |
4206 | punches.a=true | |
4207 | if punches.b==false then | |
4208 | punches.b=true wait(.4) punches.b=false | |
4209 | else | |
4210 | punches.b=true | |
4211 | if punches.c==false then | |
4212 | punches.c=true wait(.4) punches.c=false | |
4213 | else | |
4214 | punches.c=true | |
4215 | end | |
4216 | end | |
4217 | end | |
4218 | elseif not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then | |
4219 | sprint=true | |
4220 | end | |
4221 | end) | |
4222 | ||
4223 | UIService.InputEnded:connect(function(Input,GUIProcessed) | |
4224 | if not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then | |
4225 | sprint=false | |
4226 | end | |
4227 | end) | |
4228 | ||
4229 | --[[ Base Animation | |
4230 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4231 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4232 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4233 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4234 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4235 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
4236 | --]] | |
4237 | ||
4238 | --[[ Idle Anim | |
4239 | angleSpeed = 1 | |
4240 | axisSpeed = 1 | |
4241 | change = 0.5 | |
4242 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-20) + math.sin(sine/7.5)/15), 0.15) | |
4243 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4244 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
4245 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
4246 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4247 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
4248 | --]] | |
4249 | coroutine.wrap(function() | |
4250 | while true do | |
4251 | if sprint == false then | |
4252 | if attack2 == false then | |
4253 | Humanoid.WalkSpeed = 8 | |
4254 | Humanoid.JumpPower = 50 | |
4255 | elseif attack2 == true then | |
4256 | Humanoid.WalkSpeed = 0 | |
4257 | Humanoid.JumpPower = 0 | |
4258 | end | |
4259 | elseif sprint == true then | |
4260 | if attack2 == false then | |
4261 | Humanoid.WalkSpeed = 25 | |
4262 | Humanoid.JumpPower = 100 | |
4263 | elseif attack2 == true then | |
4264 | Humanoid.WalkSpeed = 0 | |
4265 | Humanoid.JumpPower = 0 | |
4266 | end | |
4267 | end | |
4268 | wait() | |
4269 | end | |
4270 | end)() | |
4271 | ||
4272 | coroutine.wrap(function() | |
4273 | while true do | |
4274 | if currentAnim == "Idling" and attack == false and attack2 == false then | |
4275 | idle=idle+1 | |
4276 | swait() | |
4277 | else | |
4278 | idle=idly | |
4279 | swait() | |
4280 | end | |
4281 | end | |
4282 | end)() | |
4283 | ||
4284 | local Zzz = Instance.new("ParticleEmitter",Head) | |
4285 | Zzz.EmissionDirection = "Left" | |
4286 | Zzz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
4287 | Zzz.LightEmission = 1 | |
4288 | Zzz.Rate = 1 | |
4289 | Zzz.ZOffset = 1 | |
4290 | Zzz.Lifetime = NumberRange.new(2) | |
4291 | Zzz.Speed = NumberRange.new(2) | |
4292 | Zzz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6, 0.3), NumberSequenceKeypoint.new(1, 0.2, 0.1)}) | |
4293 | Zzz.Rotation = NumberRange.new(0, 0) | |
4294 | Zzz.RotSpeed = NumberRange.new(30, 30) | |
4295 | Zzz.Texture = "http://www.roblox.com/asset/?id=386098098" | |
4296 | Zzz.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1)) | |
4297 | Zzz.VelocitySpread = 360 | |
4298 | Zzz.LockedToPart = false | |
4299 | Zzz.Acceleration = Vector3.new(0,5,0) | |
4300 | Zzz.Enabled = false | |
4301 | ||
4302 | coroutine.wrap(function() | |
4303 | while true and wait() do | |
4304 | if Transformed == false and dedebounce == false and attack == false then | |
4305 | if idle >= 2500 then | |
4306 | Sanim = 0.01 | |
4307 | Theme.Volume = 0 | |
4308 | Zzz.Enabled = true | |
4309 | Eyes.Texture = "rbxassetid://1572409830" | |
4310 | Mouth.Texture = "rbxassetid://1572410763" | |
4311 | elseif idle >= 1500 and idle < 2500 then | |
4312 | Sanim = 0.025 | |
4313 | Eyes.Texture = "rbxassetid://1572408983" | |
4314 | Mouth.Texture = "rbxassetid://1572410439" | |
4315 | elseif idle == idly then | |
4316 | Zzz.Enabled = false | |
4317 | Sanim = 0.15 | |
4318 | Theme.Volume = 10 | |
4319 | Normal_Face() | |
4320 | end | |
4321 | end | |
4322 | end | |
4323 | end)() | |
4324 | ||
4325 | coroutine.wrap(function() | |
4326 | while true and wait() do | |
4327 | if Transformed == true and dedebounce == false and attack == false then | |
4328 | if idle >= 2200 then | |
4329 | Zzz.Enabled = true | |
4330 | Theme.Volume = 0 | |
4331 | Eyes.Texture = "rbxassetid://1572409830" | |
4332 | Mouth.Texture = "rbxassetid://1572410439" | |
4333 | elseif idle >= 1500 and idle < 2000 then | |
4334 | Eyes.Texture = "rbxassetid://1572408983" | |
4335 | Mouth.Texture = "rbxassetid://1572409375" | |
4336 | elseif idle == idly then | |
4337 | Zzz.Enabled = false | |
4338 | Theme.Volume = 10 | |
4339 | Normal_Face() | |
4340 | end | |
4341 | end | |
4342 | end | |
4343 | end)() | |
4344 | ||
4345 | ||
4346 | ||
4347 | NoClipCons = {} | |
4348 | if #NoClipCons == 0 then | |
4349 | local con = game:service("RunService").Stepped:connect(function() | |
4350 | pcall(function() | |
4351 | Player.Character.Head.CanCollide = false | |
4352 | end) | |
4353 | end) | |
4354 | table.insert(NoClipCons, con) | |
4355 | else | |
4356 | for i, v in pairs(NoClipCons) do | |
4357 | v:disconnect() | |
4358 | table.remove(NoClipCons, i) | |
4359 | end | |
4360 | end | |
4361 | ||
4362 | game:GetService("RunService").Stepped:connect(function() | |
4363 | Angle = (Angle % 100) + angleSpeed/10 | |
4364 | Axis = (Axis % 100) + axisSpeed/10 | |
4365 | walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude | |
4366 | jumpVel = Torso.Velocity.Y | |
4367 | sine = change + sine | |
4368 | ||
4369 | if Transformed == true then | |
4370 | if not(idle >= 2000) then | |
4371 | local rng2 = Instance.new("Part",Effects) | |
4372 | rng2.Anchored = true | |
4373 | rng2.Color = Color3.new(1,0,0) | |
4374 | rng2.CanCollide = false | |
4375 | rng2.FormFactor = 3 | |
4376 | rng2.Name = "Shockwave" | |
4377 | rng2.Material = "Neon" | |
4378 | rng2.Size = Vector3.new(1, 1, 1) | |
4379 | rng2.Transparency = 0.35 | |
4380 | rng2.TopSurface = 0 | |
4381 | rng2.BottomSurface = 0 | |
4382 | rng2.CFrame = rootPart.CFrame | |
4383 | rng2.CFrame = rng2.CFrame * CFrame.new(math.random(-80,80)/10,math.random(-90,80)/10,math.random(-80,80)/10) * CFrame.Angles(math.rad(math.random(-350,350)/10),math.rad(math.random(-350,-350)/10),math.rad(math.random(-350,350)/10)) | |
4384 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
4385 | rngm2.Scale = Vector3.new(0,0,0) | |
4386 | rngm2.Offset = Vector3.new(0,0,0) | |
4387 | rngm2.MeshType = "Sphere" | |
4388 | spawn(function() | |
4389 | for i = 1, 60, 1 do | |
4390 | rngm2.Scale = Vector3.new(0.5 - i*0.0083,1 - i*0.016 ,0.5 - i*0.0083) | |
4391 | rng2.CFrame = rng2.CFrame * CFrame.new(0,0.8,0) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))) | |
4392 | rng2.Transparency = i/30 | |
4393 | swait() | |
4394 | end | |
4395 | wait() | |
4396 | rng2:Destroy() | |
4397 | end) | |
4398 | twitch = math.random(1,25) | |
4399 | if twitch == 20 then | |
4400 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(math.random(-200,350)/10),math.rad(math.random(-200,200)/10), math.rad(math.random(-200,200)/10)), 1) | |
4401 | end | |
4402 | swait() | |
4403 | end | |
4404 | end | |
4405 | ||
4406 | if jumpVel > 1 then | |
4407 | currentAnim = "Jumping" | |
4408 | elseif Humanoid.Sit == true then | |
4409 | currentAnim = "Seated" | |
4410 | elseif jumpVel < -1 then | |
4411 | currentAnim = "Falling" | |
4412 | elseif walkingMagnitude < 2 then | |
4413 | currentAnim = "Idling" | |
4414 | elseif isSprinting == true then | |
4415 | currentAnim = "Sprinting" | |
4416 | elseif walkingMagnitude > 2 then | |
4417 | currentAnim = "Walking" | |
4418 | elseif isAttacking == true then | |
4419 | currentAnim = "Attacking" | |
4420 | end | |
4421 | ||
4422 | if currentAnim == "Jumping" and Animations == false then | |
4423 | angleSpeed = 2 | |
4424 | axisSpeed = 2 | |
4425 | change = 0.5 | |
4426 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(15),math.rad(0),math.rad(20)), 0.15) | |
4427 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(-20)), 0.15) | |
4428 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
4429 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4430 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4431 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15) | |
4432 | elseif currentAnim == "Falling" and Animations == false then | |
4433 | angleSpeed = 2 | |
4434 | axisSpeed = 2 | |
4435 | change = 0.5 | |
4436 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(80)), 0.15) | |
4437 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-80)), 0.15) | |
4438 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.15) | |
4439 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15),math.rad(0),math.rad(0)), 0.15) | |
4440 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0),math.rad(0)), 0.15) | |
4441 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15) | |
4442 | elseif currentAnim == "Seated" and Animations == false then | |
4443 | if Transformed == false then | |
4444 | angleSpeed = 2 | |
4445 | axisSpeed = 2 | |
4446 | change = 0.5 | |
4447 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
4448 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
4449 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30,math.rad(30)), 0.15) | |
4450 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0),math.rad(-20)), 0.15) | |
4451 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4452 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(25) + math.sin(sine/7.5)/30), 0.15) | |
4453 | elseif Transformed == true then | |
4454 | angleSpeed = 2 | |
4455 | axisSpeed = 2 | |
4456 | change = 0.5 | |
4457 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.6) * c_angles(math.rad(50) + math.sin(sine/7.5)/25,math.rad(-5) + math.sin(sine/7.5)/30,math.rad(-76) + math.sin(sine/7.5)/35), 0.15) | |
4458 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.6) * c_angles(math.rad(45) + math.sin(sine/7.5)/25,math.rad(-10) + math.sin(sine/7.5)/30,math.rad(76) + math.sin(sine/7.5)/35), 0.15) | |
4459 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(60) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30,math.rad(30)), 0.15) | |
4460 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0),math.rad(-20)), 0.15) | |
4461 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4462 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0)), 0.15) | |
4463 | elseif Transformed == true then | |
4464 | end | |
4465 | elseif currentAnim == "Idling" and Animations == false then | |
4466 | if Transformed == false then | |
4467 | if SansAnim == false then | |
4468 | if idle >= 1200 and idle < 2650 then -- Resting | |
4469 | angleSpeed = 1 | |
4470 | axisSpeed = 1 | |
4471 | change = 0.5 | |
4472 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.4, 0) * c_angles(math.rad(-20),math.rad(0) - math.sin(sine/7.5)/15,math.rad(-20)), 0.15) | |
4473 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1 + math.sin(sine/7.5)/15, 1 , -0.3) * c_angles(math.rad(190),math.rad(0),math.rad(45) - math.sin(sine/7.5)/30), 0.15) | |
4474 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(5) - math.sin(sine/7.5)/30), 0.15) | |
4475 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/7.5)/30), 0.15) | |
4476 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(1, -2, 0) * c_angles(math.rad(0), math.rad(0),math.rad(80) + math.sin(sine/7.5)/30), 0.15) | |
4477 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0.2 + math.sin(sine/7.5)/15 - math.sin(sine/7.5)/30, 2.5, -0.3) * c_angles(math.rad(0),math.rad(-15), math.rad(-45) + math.sin(sine/7.5)/30), 0.15) | |
4478 | elseif idle >= 2650 then | |
4479 | angleSpeed = 1 | |
4480 | axisSpeed = 1 | |
4481 | change = 0.5 | |
4482 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.4, 0) * c_angles(math.rad(-20),math.rad(0) - math.sin(sine/7.5)/15,math.rad(-20)), 0.15) | |
4483 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1 + math.sin(sine/7.5)/15, 1 , -0.3) * c_angles(math.rad(190),math.rad(0),math.rad(-10) - math.sin(sine/7.5)/30), 0.15) | |
4484 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(5) - math.sin(sine/7.5)/30), 0.15) | |
4485 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/7.5)/30), 0.15) | |
4486 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(1, -2, 0) * c_angles(math.rad(0), math.rad(0),math.rad(80) + math.sin(sine/7.5)/30), 0.15) | |
4487 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-1.3 + math.sin(sine/7.5)/5, 4, -0.3) * c_angles(math.rad(0),math.rad(-90), math.rad(0)), 0.15) | |
4488 | elseif idle >= 500 and idle < 1200 then | |
4489 | angleSpeed = 1 | |
4490 | axisSpeed = 1 | |
4491 | change = 0.5 | |
4492 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(20) + math.sin(sine/7.5)/15), 0.15) | |
4493 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-150), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4494 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.625, -0.85 - math.sin(sine/7.5)/15, -0.3) * c_angles(math.rad(-20), math.rad(20) + math.sin(sine/7.5)/15, math.rad(5)), 0.15) | |
4495 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5)), 0.15) | |
4496 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4497 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-0.2 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(20) + math.sin(sine/15)/15), 0.15) | |
4498 | else -- Neutral Idle | |
4499 | angleSpeed = 1 | |
4500 | axisSpeed = 1 | |
4501 | change = 0.5 | |
4502 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15,math.rad(0),math.rad(-20) + math.sin(sine/7.5)/15), 0.15) | |
4503 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-5), math.rad(0),math.rad(20) - math.sin(sine/7.5)/15), 0.15) | |
4504 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(10) - math.sin(sine/7.5)/15, math.rad(0), math.rad(5) + math.sin(sine/7.5)/66), 0.15) | |
4505 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5) - math.sin(sine/7.5)/66), 0.15) | |
4506 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15) | |
4507 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/15)/15), 0.15) | |
4508 | end | |
4509 | elseif SansAnim == true then | |
4510 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(-15)), Sanim) | |
4511 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(15)), Sanim) | |
4512 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim) | |
4513 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim) | |
4514 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/6, -0.95 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0),math.rad(0)), Sanim) | |
4515 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(0), math.rad(0) + math.sin(sine/15)/4), Sanim) | |
4516 | end | |
4517 | else | |
4518 | if idle >= 1000 and idle < 2000 then -- Resting Demon | |
4519 | angleSpeed = 1 | |
4520 | axisSpeed = 1 | |
4521 | change = 0.5 | |
4522 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(60) - math.sin(sine/15)/25,math.rad(-35) + math.sin(sine/15)/25,math.rad(-10)), 0.15) | |
4523 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0 + math.sin(sine/7.5)/15, 0.5) * c_angles(math.rad(-30),math.rad(0),math.rad(20)), 0.15) | |
4524 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(80) - math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15,math.rad(0)), 0.15) | |
4525 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.8, 0 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(40) - math.sin(sine/7.5)/15,math.rad(-20),math.rad(20)), 0.15) | |
4526 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -2.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-1) + math.sin(sine/7.5)/5, math.rad(80),math.rad(-1) - math.sin(sine/7.5)/5), 0.15) | |
4527 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(-70) + math.sin(sine/7.5)/15, math.rad(0)), 0.15) | |
4528 | elseif idle >= 2000 then | |
4529 | angleSpeed = 1 | |
4530 | axisSpeed = 1 | |
4531 | change = 0.5 | |
4532 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(40) - math.sin(sine/15)/25,math.rad(-35) + math.sin(sine/15)/25,math.rad(-10)), 0.15) | |
4533 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.4 + math.sin(sine/7.5)/15, 0.5) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) | |
4534 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15,math.rad(0)), 0.15) | |
4535 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.6, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(40) - math.sin(sine/7.5)/15,math.rad(-20),math.rad(20)), 0.15) | |
4536 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(-1) + math.sin(sine/7.5)/5, math.rad(80),math.rad(-1) - math.sin(sine/7.5)/5), 0.15) | |
4537 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.8 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(-70) + math.sin(sine/7.5)/15, math.rad(0)), 0.15) | |
4538 | else -- Demon Idle | |
4539 | angleSpeed = 1 | |
4540 | axisSpeed = 1 | |
4541 | change = 0.5 | |
4542 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(30) - math.sin(sine/7.5)/15,math.rad(25) - math.sin(sine/7.5)/15), 0.15) | |
4543 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15,math.rad(-25) + math.sin(sine/7.5)/15), 0.15) | |
4544 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/30,math.rad(0),math.rad(0)), 0.15) | |
4545 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15) - math.sin(sine/7.5)/15,math.rad(0),math.rad(0)), 0.15) | |
4546 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15) | |
4547 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10) - math.sin(sine/7.5)/30,math.rad(0), math.rad(0) + math.sin(sine/7.5)/15), 0.15) | |
4548 | end | |
4549 | end | |
4550 | elseif currentAnim == "Walking" and Animations == false then | |
4551 | if sprint==false then | |
4552 | if Transformed == false then | |
4553 | angleSpeed = 1 | |
4554 | axisSpeed = 1 | |
4555 | Humanoid.WalkSpeed = 6 | |
4556 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + 0.5 * math.cos(sine/7.5)/15, 0) * c_angles(math.rad(0) +math.sin(sine/4)/3, math.rad(0), math.rad(10)), 0.15) | |
4557 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + 0.5 * math.cos(sine/7.5)/15, 0) * c_angles(math.rad(0) -math.sin(sine/4)/3,math.rad(0), math.rad(-10)), 0.15) | |
4558 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.15 + 0.5 * math.cos(sine/4)/3, -0.6 * math.cos(sine / 4) / 3) * c_angles(math.rad(-1 - 5 * math.cos(sine / 4)) + Left_Leg.RotVelocity.Y / 75 + math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(5)), 0.15) | |
4559 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.15 - 0.5 * math.cos(sine/4)/3, 0.6 * math.cos(sine / 4) / 3) * c_angles( math.rad(-1 + 5 * math.cos(sine / 4)) - Right_Leg.RotVelocity.Y / 75 + -math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(-5)), 0.15) | |
4560 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0 - 2.5 * math.sin(sine / 8)), math.rad(0) + math.sin(sine/4)/6 , math.sin((rootPart.RotVelocity.Y/15))/4), 0.15) | |
4561 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/7.5)/15,math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4562 | else | |
4563 | Humanoid.WalkSpeed = 18 | |
4564 | angleSpeed = 1 | |
4565 | axisSpeed = 1 | |
4566 | change = 0.5 | |
4567 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(30),math.rad(25)), 0.15) | |
4568 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-25)), 0.15) | |
4569 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.15) | |
4570 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-25),math.rad(0),math.rad(0)), 0.15) | |
4571 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-10), math.rad(0),math.rad(0)), 0.15) | |
4572 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15) | |
4573 | end | |
4574 | else | |
4575 | if Transformed == false then | |
4576 | angleSpeed = 10 | |
4577 | axisSpeed = 10 | |
4578 | Humanoid.WalkSpeed = 18 | |
4579 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/15)/15, 0) * c_angles(math.sin(sine/3)/1, math.rad(0),math.rad(20) - math.sin(sine/1.5)/5), 0.15) | |
4580 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/15)/15, 0) * c_angles(-math.sin(sine/3)/1, math.rad(0),math.rad(-20) + math.sin(sine/1.5)/5), 0.15) | |
4581 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.9 + math.cos(sine/3)/1, -1 * math.cos(sine / 3) / 1) * c_angles(math.rad(-3)+math.sin(sine/3)/1, math.rad(0) + math.sin(sine/3)/15, math.rad(0)), 0.15) | |
4582 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.9 - math.cos(sine/3)/1, 1 * math.cos(sine / 3) / 1) * c_angles( math.rad(3)-math.sin(sine/3)/1, math.rad(0) + math.sin(sine/3)/15, math.rad(0)), 0.15) | |
4583 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/1.5)/5, 0) * c_angles(math.rad(-20) + math.sin(sine/1.5)/5, math.rad(0) + math.sin(sine/3)/15, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4584 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/15, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/15)/15) * c_angles(math.rad(20) + math.sin(sine/7.5)/15,math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4585 | else | |
4586 | Trace() | |
4587 | angleSpeed = 10 | |
4588 | axisSpeed = 10 | |
4589 | Humanoid.WalkSpeed = 200 | |
4590 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(30),math.rad(45)), 0.15) | |
4591 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.25, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(0),math.rad(-30),math.rad(-45)), 0.15) | |
4592 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15) | |
4593 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4 - math.sin(sine/15)/15, -0.3) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15) | |
4594 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(-45), math.rad(0),math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4595 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(30),math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15) | |
4596 | end | |
4597 | end | |
4598 | end | |
4599 | end) |