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