SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has convert to FE by who i don't know? | |
2 | ||
3 | ----------------------------------------------------- | |
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,game,owner = owner,game | |
6 | local RealPlayer = Player | |
7 | do | |
8 | - | local Player = game.Players.LocalPlayer |
8 | + | print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!") |
9 | local rp = RealPlayer | |
10 | script.Parent = rp.Character | |
11 | ||
12 | --RemoteEvent for communicating | |
13 | local Event = Instance.new("RemoteEvent") | |
14 | Event.Name = "UserInput_Event" | |
15 | ||
16 | --Fake event to make stuff like Mouse.KeyDown work | |
17 | local function fakeEvent() | |
18 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
19 | t.connect = t.Connect | |
20 | return t | |
21 | end | |
22 | ||
23 | --Creating fake input objects with fake variables | |
24 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
25 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
26 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
27 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
28 | end} | |
29 | --Merged 2 functions into one by checking amount of arguments | |
30 | CAS.UnbindAction = CAS.BindAction | |
31 | ||
32 | --This function will trigger the events that have been :Connect()'ed | |
33 | local function te(self,ev,...) | |
34 | local t = m[ev] | |
35 | if t and t._fakeEvent then | |
36 | for _,f in pairs(t.Functions) do | |
37 | f(...) | |
38 | end | |
39 | end | |
40 | end | |
41 | m.TrigEvent = te | |
42 | UIS.TrigEvent = te | |
43 | ||
44 | Event.OnServerEvent:Connect(function(plr,io) | |
45 | if plr~=rp then return end | |
46 | m.Target = io.Target | |
47 | m.Hit = io.Hit | |
48 | if not io.isMouse then | |
49 | local b = io.UserInputState == Enum.UserInputState.Begin | |
50 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
51 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
52 | end | |
53 | for _,t in pairs(CAS.Actions) do | |
54 | for _,k in pairs(t.Keys) do | |
55 | if k==io.KeyCode then | |
56 | t.Function(t.Name,io.UserInputState,io) | |
57 | end | |
58 | end | |
59 | end | |
60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
62 | end | |
63 | end) | |
64 | Event.Parent = NLS([==[ | |
65 | local Player = game:GetService("Players").LocalPlayer | |
66 | local Event = script:WaitForChild("UserInput_Event") | |
67 | ||
68 | local Mouse = Player:GetMouse() | |
69 | local UIS = game:GetService("UserInputService") | |
70 | local input = function(io,a) | |
71 | if a then return end | |
72 | --Since InputObject is a client-side instance, we create and pass table instead | |
73 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
74 | end | |
75 | UIS.InputBegan:Connect(input) | |
76 | UIS.InputEnded:Connect(input) | |
77 | ||
78 | local h,t | |
79 | --Give the server mouse data 30 times every second, but only if the values changed | |
80 | --If player is not moving their mouse, client won't fire events | |
81 | while wait(1/30) do | |
82 | if h~=Mouse.Hit or t~=Mouse.Target then | |
83 | h,t=Mouse.Hit,Mouse.Target | |
84 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
85 | end | |
86 | end]==],Player.Character) | |
87 | ||
88 | ----Sandboxed game object that allows the usage of client-side methods and services | |
89 | --Real game object | |
90 | local _rg = game | |
91 | ||
92 | --Metatable for fake service | |
93 | local fsmt = { | |
94 | __index = function(self,k) | |
95 | local s = rawget(self,"_RealService") | |
96 | if s then return s[k] end | |
97 | end, | |
98 | __newindex = function(self,k,v) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then s[k]=v end | |
101 | end, | |
102 | __call = function(self,...) | |
103 | local s = rawget(self,"_RealService") | |
104 | if s then return s(...) end | |
105 | end | |
106 | } | |
107 | local function FakeService(t,RealService) | |
108 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
109 | return setmetatable(t,fsmt) | |
110 | end | |
111 | ||
112 | --Fake game object | |
113 | local g = { | |
114 | GetService = function(self,s) | |
115 | return self[s] | |
116 | end, | |
117 | Players = FakeService({ | |
118 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
119 | },"Players"), | |
120 | UserInputService = FakeService(UIS,"UserInputService"), | |
121 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
122 | } | |
123 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
124 | g.service = g.GetService | |
125 | ||
126 | g.RunService = FakeService({ | |
127 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
128 | BindToRenderStep = function(self,name,_,fun) | |
129 | ||
130 | end, | |
131 | UnbindFromRenderStep = function(self,name) | |
132 | self._btrs[name]:Disconnect() | |
133 | end, | |
134 | },"RunService") | |
135 | ||
136 | setmetatable(g,{ | |
137 | __index=function(self,s) | |
138 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
139 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
140 | end, | |
141 | __newindex = fsmt.__newindex, | |
142 | __call = fsmt.__call | |
143 | }) | |
144 | --Changing owner to fake player object to support owner:GetMouse() | |
145 | game,owner = g,g.Players.LocalPlayer | |
146 | end | |
147 | ||
148 | ||
149 | ||
150 | ||
151 | ||
152 | local Player = owner | |
153 | local c = Player.Character | |
154 | if not c or not c.Parent then | |
155 | c = Player.CharacterAdded:wait() | |
156 | end | |
157 | ||
158 | local radio = Instance.new("Part",c) | |
159 | radio.Name = "Radio" | |
160 | radio.CanCollide = false | |
161 | radio.Anchored = true | |
162 | radio.FormFactor = "Custom" | |
163 | radio.Size = Vector3.new(2.5, 1, 0.4) | |
164 | radio.CFrame = c.Torso.CFrame * CFrame.new(-3.5,2,.2) | |
165 | radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0) | |
166 | radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,-.1) | |
167 | radio.Transparency = 1 | |
168 | ||
169 | local sound = Instance.new("Sound",radio) | |
170 | sound.Name = "Music" | |
171 | sound.Looped = true | |
172 | sound.Volume = 1 | |
173 | ||
174 | local weld = Instance.new("Weld",radio) | |
175 | weld.Part0 = c.Torso | |
176 | weld.Part1 = radio | |
177 | weld.C0 = c.Torso.CFrame:inverse() | |
178 | weld.C1 = radio.CFrame:inverse() | |
179 | radio.Anchored = false | |
180 | ||
181 | player = game:service("Players").LocalPlayer | |
182 | char2 = player.Character | |
183 | Glow1 = Color3.new(0,0,0) | |
184 | Glow2 = Color3.new(1,0,0) | |
185 | Glow3 = Color3.new(0,1,0) | |
186 | Glow4 = Color3.new(0,0,1) | |
187 | GlowParticle = Instance.new("ParticleEmitter",radio) | |
188 | GlowParticle.LightEmission = 1 | |
189 | GlowParticle.Color = ColorSequence.new(Glow2,Glow1) | |
190 | GlowParticle.Size = NumberSequence.new(0.4) | |
191 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183" | |
192 | GlowParticle.Transparency = NumberSequence.new(1) | |
193 | GlowParticle.LockedToPart = false | |
194 | GlowParticle.Lifetime = NumberRange.new(.5,1) | |
195 | GlowParticle.Rate= 200 | |
196 | GlowParticle.Speed =NumberRange.new(1.5) | |
197 | GlowParticle.Acceleration = Vector3.new(0, 1, 0) | |
198 | GlowParticle.VelocitySpread = 100 | |
199 | ||
200 | GlowParticle2 = Instance.new("ParticleEmitter",radio) | |
201 | GlowParticle2.LightEmission = 1 | |
202 | GlowParticle2.Color = ColorSequence.new(Glow3,Glow1) | |
203 | GlowParticle2.Size = NumberSequence.new(0.4) | |
204 | GlowParticle2.Texture = "http://www.roblox.com/asset/?id=118641183" | |
205 | GlowParticle2.Transparency = NumberSequence.new(1) | |
206 | GlowParticle2.LockedToPart = false | |
207 | GlowParticle2.Lifetime = NumberRange.new(.5,1) | |
208 | GlowParticle2.Rate= 200 | |
209 | GlowParticle2.Speed =NumberRange.new(1.5) | |
210 | GlowParticle2.Acceleration = Vector3.new(0, 1, 0) | |
211 | GlowParticle2.VelocitySpread = 100 | |
212 | ||
213 | GlowParticle3 = Instance.new("ParticleEmitter",radio) | |
214 | GlowParticle3.LightEmission = 1 | |
215 | GlowParticle3.Color = ColorSequence.new(Glow4,Glow1) | |
216 | GlowParticle3.Size = NumberSequence.new(0.4) | |
217 | GlowParticle3.Texture = "http://www.roblox.com/asset/?id=118641183" | |
218 | GlowParticle3.Transparency = NumberSequence.new(1) | |
219 | GlowParticle3.LockedToPart = false | |
220 | GlowParticle3.Lifetime = NumberRange.new(.5,1) | |
221 | GlowParticle3.Rate= 200 | |
222 | GlowParticle3.Speed =NumberRange.new(1.5) | |
223 | GlowParticle3.Acceleration = Vector3.new(0, 1, 0) | |
224 | GlowParticle3.VelocitySpread = 100 | |
225 | ||
226 | wait (0) | |
227 | fat = Instance.new("BindableEvent", script) | |
228 | fat.Name = "Heartbeat" | |
229 | ||
230 | ||
231 | local charge = false | |
232 | ||
233 | P = game.Players.LocalPlayer | |
234 | char = P.Character | |
235 | torso = char.Torso | |
236 | neck = char.Torso.Neck | |
237 | hum = char.Humanoid | |
238 | hum.MaxHealth = 987654321987654321987654321987654321987654321 | |
239 | wait() | |
240 | hum.Health =hum.MaxHealth | |
241 | char.Head.face.Texture = "rbxassetid://176206791" | |
242 | ||
243 | ||
244 | p2 = game.Players.LocalPlayer | |
245 | char049 = p2.Character | |
246 | for i,v in pairs(char049:children()) do | |
247 | if v:IsA("Accessory") then | |
248 | v:Destroy() | |
249 | end | |
250 | end | |
251 | ||
252 | local M69 = Instance.new("SpecialMesh") | |
253 | M69.Parent = torso | |
254 | M69.MeshId = "rbxassetid://456901040" | |
255 | M69.Scale = Vector3.new( 1, 1, 1) | |
256 | ||
257 | ||
258 | ||
259 | char049.Shirt:Remove() | |
260 | for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end | |
261 | wait()shirt = Instance.new("Shirt", char049) | |
262 | shirt.Name = "Shirt" | |
263 | pants = Instance.new("Pants", char049) | |
264 | pants.Name = "Pants" | |
265 | ||
266 | char049.Shirt.ShirtTemplate = "rbxassetid://" | |
267 | char049.Pants.PantsTemplate = "rbxassetid://" | |
268 | ||
269 | ||
270 | ||
271 | local BC = char["Body Colors"] | |
272 | BC.HeadColor = BrickColor.new("Fossil") | |
273 | BC.LeftArmColor = BrickColor.new("Fossil") | |
274 | BC.LeftLegColor = BrickColor.new("Fossil") | |
275 | BC.RightArmColor = BrickColor.new("Fossil") | |
276 | BC.RightLegColor = BrickColor.new("Fossil") | |
277 | BC.TorsoColor = BrickColor.new("Plum") | |
278 | ||
279 | ||
280 | Player=game:GetService("Players").LocalPlayer | |
281 | Character=Player.Character | |
282 | ||
283 | ------------------------------------------------------- | |
284 | local Orbd = Instance.new("Part", Character) | |
285 | Orbd.Name = "Orbd" | |
286 | Orbd.Shape = Enum.PartType.Ball | |
287 | Orbd.CanCollide = false | |
288 | Orbd.BrickColor = BrickColor.new("Really black") | |
289 | Orbd.Transparency = 1 | |
290 | Orbd.Material = "Neon" | |
291 | Orbd.Size = Vector3.new(0.2, 0.2, 0.2) | |
292 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
293 | Orbd.BottomSurface = Enum.SurfaceType.Smooth | |
294 | ||
295 | local Weld = Instance.new("Weld", Orbd) | |
296 | Weld.Part0 = Character.Head | |
297 | Weld.Part1 = Orbd | |
298 | Weld.C1 = CFrame.new(-0.01, 0.2, 0.51) | |
299 | ||
300 | --------------------------------------------------------- | |
301 | local Mask = Instance.new("Part", Character) | |
302 | Mask.Name = "Mask" | |
303 | Mask.CanCollide = false | |
304 | Mask.BrickColor = BrickColor.new("Sunrise") | |
305 | Mask.Transparency = 1 | |
306 | Mask.Material = "Neon" | |
307 | Mask.Size = Vector3.new(0.1, 0.1, 0.1) | |
308 | Mask.TopSurface = Enum.SurfaceType.Smooth | |
309 | Mask.BottomSurface = Enum.SurfaceType.Smooth | |
310 | ||
311 | local Weld = Instance.new("Weld", Mask) | |
312 | Weld.Part0 = Character.Head | |
313 | Weld.Part1 = Mask | |
314 | Weld.C1 = CFrame.new(0, 0.03, 0.5) | |
315 | ||
316 | local M1 = Instance.new("SpecialMesh") | |
317 | M1.Parent = Mask | |
318 | M1.MeshId = "http://www.roblox.com/asset/?id=430736398" | |
319 | M1.Scale = Vector3.new( .3, .03, .099) | |
320 | ---------------------------------------------------------- | |
321 | local Hood = Instance.new("Part", Character) | |
322 | Hood.Name = "Hair" | |
323 | Hood.CanCollide = false | |
324 | Hood.BrickColor = BrickColor.new("Dark indigo") | |
325 | Hood.Transparency = 1 | |
326 | Hood.Material = "Neon" | |
327 | Hood.Size = Vector3.new(0.1, 0.1, 0.1) | |
328 | Hood.TopSurface = Enum.SurfaceType.Smooth | |
329 | Hood.BottomSurface = Enum.SurfaceType.Smooth | |
330 | ||
331 | local Weld = Instance.new("Weld", Hood) | |
332 | Weld.Part0 = Character.Head | |
333 | Weld.Part1 = Hood | |
334 | Weld.C1 = CFrame.new(0, -0.5, 0) | |
335 | ||
336 | local M2 = Instance.new("SpecialMesh") | |
337 | M2.Parent = Hood | |
338 | M2.MeshId = "http://www.roblox.com/asset/?id=362013001" | |
339 | M2.Scale = Vector3.new( 1, 1.06, 1.1) | |
340 | ||
341 | ------------------------------------------------------ | |
342 | local skin = Instance.new("Part", Character) | |
343 | skin.Name = "skin" | |
344 | skin.CanCollide = false | |
345 | skin.BrickColor = BrickColor.new("Fossil") | |
346 | skin.Transparency = 1 | |
347 | skin.Material = "SmoothPlastic" | |
348 | skin.Size = Vector3.new(0.1, 0.1, 0.1) | |
349 | skin.TopSurface = Enum.SurfaceType.Smooth | |
350 | skin.BottomSurface = Enum.SurfaceType.Smooth | |
351 | ||
352 | local Weld = Instance.new("Weld", skin) | |
353 | Weld.Part0 = Character.Torso | |
354 | Weld.Part1 = skin | |
355 | Weld.C1 = CFrame.new(0, -0.83, 0.5) | |
356 | ||
357 | local M3 = Instance.new("SpecialMesh") | |
358 | M3.Parent = skin | |
359 | M3.MeshId = "http://www.roblox.com/asset/?id=518429841" | |
360 | M3.Scale = Vector3.new(0.0054, 0.0014, 0.0001) | |
361 | ||
362 | ------------------------------------------------------ | |
363 | local hair2 = Instance.new("Part", Character) | |
364 | hair2.Name = "Hair2" | |
365 | hair2.CanCollide = false | |
366 | hair2.BrickColor = BrickColor.new("Dark indigo") | |
367 | hair2.Transparency = 1 | |
368 | hair2.Material = "Neon" | |
369 | hair2.Size = Vector3.new(0.1, 0.1, 0.1) | |
370 | hair2.TopSurface = Enum.SurfaceType.Smooth | |
371 | hair2.BottomSurface = Enum.SurfaceType.Smooth | |
372 | ||
373 | local Weld = Instance.new("Weld", hair2) | |
374 | Weld.Part0 = Character.Head | |
375 | Weld.Part1 = hair2 | |
376 | Weld.C1 = CFrame.new(0, 0.65, -0.05) | |
377 | ||
378 | local M2 = Instance.new("SpecialMesh") | |
379 | M2.Parent = hair2 | |
380 | M2.MeshId = "http://www.roblox.com/asset/?id=164382853" | |
381 | M2.Scale = Vector3.new( 1.1, 1.1, 1) | |
382 | ||
383 | ------------------------------------------------------ | |
384 | local hat2 = Instance.new("Part", Character) | |
385 | hat2.Name = "hat2" | |
386 | hat2.CanCollide = false | |
387 | hat2.BrickColor = BrickColor.new("Plum") | |
388 | hat2.Transparency = 1 | |
389 | hat2.Material = "SmoothPlastic" | |
390 | hat2.Size = Vector3.new(0.1, 0.1, 0.1) | |
391 | hat2.TopSurface = Enum.SurfaceType.Smooth | |
392 | hat2.BottomSurface = Enum.SurfaceType.Smooth | |
393 | ||
394 | local Weld = Instance.new("Weld", hat2) | |
395 | Weld.Part0 = Character.Head | |
396 | Weld.Part1 = hat2 | |
397 | Weld.C1 = CFrame.new(0, -1, 0) | |
398 | ||
399 | local M4 = Instance.new("SpecialMesh") | |
400 | M4.Parent = hat2 | |
401 | M4.MeshId = "http://www.roblox.com/asset/?id=110852069" | |
402 | M4.Scale = Vector3.new( 0.8, 1, 1) | |
403 | ||
404 | ||
405 | ------------------------------------------------------ | |
406 | local hat3 = Instance.new("Part", Character) | |
407 | hat3.Name = "SmoothPlastic" | |
408 | hat3.CanCollide = false | |
409 | hat3.BrickColor = BrickColor.new("Plum") | |
410 | hat3.Transparency = 1 | |
411 | hat3.Material = "Neon" | |
412 | hat3.Size = Vector3.new(0.1, 0.1, 0.1) | |
413 | hat3.TopSurface = Enum.SurfaceType.Smooth | |
414 | hat3.BottomSurface = Enum.SurfaceType.Smooth | |
415 | ||
416 | local Weld = Instance.new("Weld", hat3) | |
417 | Weld.Part0 = Character.Head | |
418 | Weld.Part1 = hat3 | |
419 | Weld.C1 = CFrame.new(0, -0.8, 0) | |
420 | ||
421 | local M5 = Instance.new("SpecialMesh") | |
422 | M5.Parent = hat3 | |
423 | M5.MeshId = "http://www.roblox.com/asset/?id=104780903" | |
424 | M5.Scale = Vector3.new( 1.25, 1.1, 1.25) | |
425 | ||
426 | ||
427 | ------------------------------------------------------ | |
428 | local tail2 = Instance.new("Part", Character) | |
429 | tail2.Name = "tail2" | |
430 | tail2.CanCollide = false | |
431 | tail2.BrickColor = BrickColor.new("White") | |
432 | tail2.Transparency = 1 | |
433 | tail2.Material = "SmoothPlastic" | |
434 | tail2.Size = Vector3.new(0.1, 0.1, 0.1) | |
435 | tail2.TopSurface = Enum.SurfaceType.Smooth | |
436 | tail2.BottomSurface = Enum.SurfaceType.Smooth | |
437 | ||
438 | local Weld = Instance.new("Weld", tail2) | |
439 | Weld.Part0 = Character.Torso | |
440 | Weld.Part1 = tail2 | |
441 | Weld.C1 = CFrame.new(0, 0.63, -0.6) | |
442 | ||
443 | local M7 = Instance.new("SpecialMesh") | |
444 | M7.Parent = tail2 | |
445 | M7.MeshId = "http://www.roblox.com/asset/?id=518429841" | |
446 | M7.Scale = Vector3.new(0.0028, 0.0028, 0.0028) | |
447 | ------------------------------------------------------ | |
448 | local tail3 = Instance.new("Part", Character) | |
449 | tail3.Name = "tail3" | |
450 | tail3.CanCollide = false | |
451 | tail3.BrickColor = BrickColor.new("Plum") | |
452 | tail3.Transparency = 1 | |
453 | tail3.Material = "Neon" | |
454 | tail3.Size = Vector3.new(0.1, 0.1, 0.1) | |
455 | tail3.TopSurface = Enum.SurfaceType.Smooth | |
456 | tail3.BottomSurface = Enum.SurfaceType.Smooth | |
457 | ||
458 | local Weld = Instance.new("Weld", tail3) | |
459 | Weld.Part0 = Character.Torso | |
460 | Weld.Part1 = tail3 | |
461 | Weld.C1 = CFrame.new(-0.2, -0.2, -1.8) | |
462 | ||
463 | local M2 = Instance.new("SpecialMesh") | |
464 | M2.Parent = tail3 | |
465 | M2.MeshId = "http://www.roblox.com/asset/?id=170939831" | |
466 | M2.Scale = Vector3.new( 1, 1, 1) | |
467 | ------------------------------------------------------ | |
468 | ||
469 | ||
470 | ||
471 | ||
472 | ||
473 | ||
474 | ||
475 | ||
476 | ||
477 | local Player = game.Players.localPlayer | |
478 | local Character = Player.Character | |
479 | local red = 255 | |
480 | local green = 255 | |
481 | local blue = 255 | |
482 | local Humanoid = Character.Humanoid | |
483 | local m = Instance.new("Model", Character) | |
484 | m.Name = "WeaponModel" | |
485 | local LeftArm = Character["Left Arm"] | |
486 | local RightArm = Character["Right Arm"] | |
487 | local LeftLeg = Character["Left Leg"] | |
488 | local RightLeg = Character["Right Leg"] | |
489 | local Head = Character.Head | |
490 | local Torso = Character.Torso | |
491 | local cam = game.Workspace.CurrentCamera | |
492 | local RootPart = Character.HumanoidRootPart | |
493 | local RootJoint = RootPart.RootJoint | |
494 | local equipped = false | |
495 | local attack = false | |
496 | local Anim = "Idle" | |
497 | local idle = 0 | |
498 | local attacktype = 1 | |
499 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
500 | local velocity = RootPart.Velocity.y | |
501 | local sine = 0 | |
502 | local change = 1 | |
503 | local grabbed = false | |
504 | local cn = CFrame.new | |
505 | local mr = math.rad | |
506 | local angles = CFrame.Angles | |
507 | local ud = UDim2.new | |
508 | local c3 = Color3.new | |
509 | local lim = 0 | |
510 | local st = 0 | |
511 | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
512 | local attacktype = 1 | |
513 | local ZTarget, RocketTarget = nil, nil | |
514 | local euler = CFrame.fromEulerAnglesXYZ | |
515 | function clerp(a,b,t) | |
516 | local qa = {QuaternionFromCFrame(a)} | |
517 | local qb = {QuaternionFromCFrame(b)} | |
518 | local ax, ay, az = a.x, a.y, a.z | |
519 | local bx, by, bz = b.x, b.y, b.z | |
520 | local _t = 1-t | |
521 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
522 | end | |
523 | ||
524 | function QuaternionFromCFrame(cf) | |
525 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
526 | local trace = m00 + m11 + m22 | |
527 | if trace > 0 then | |
528 | local s = math.sqrt(1 + trace) | |
529 | local recip = 0.5/s | |
530 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
531 | else | |
532 | local i = 0 | |
533 | if m11 > m00 then | |
534 | i = 1 | |
535 | end | |
536 | if m22 > (i == 0 and m00 or m11) then | |
537 | i = 2 | |
538 | end | |
539 | if i == 0 then | |
540 | local s = math.sqrt(m00-m11-m22+1) | |
541 | local recip = 0.5/s | |
542 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
543 | elseif i == 1 then | |
544 | local s = math.sqrt(m11-m22-m00+1) | |
545 | local recip = 0.5/s | |
546 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
547 | elseif i == 2 then | |
548 | local s = math.sqrt(m22-m00-m11+1) | |
549 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
550 | end | |
551 | end | |
552 | end | |
553 | ||
554 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
555 | local xs, ys, zs = x + x, y + y, z + z | |
556 | local wx, wy, wz = w*xs, w*ys, w*zs | |
557 | local xx = x*xs | |
558 | local xy = x*ys | |
559 | local xz = x*zs | |
560 | local yy = y*ys | |
561 | local yz = y*zs | |
562 | local zz = z*zs | |
563 | 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)) | |
564 | end | |
565 | ||
566 | function QuaternionSlerp(a, b, t) | |
567 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
568 | local startInterp, finishInterp; | |
569 | if cosTheta >= 0.0001 then | |
570 | if (1 - cosTheta) > 0.0001 then | |
571 | local theta = math.acos(cosTheta) | |
572 | local invSinTheta = 1/math.sin(theta) | |
573 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
574 | finishInterp = math.sin(t*theta)*invSinTheta | |
575 | else | |
576 | startInterp = 1-t | |
577 | finishInterp = t | |
578 | end | |
579 | else | |
580 | if (1+cosTheta) > 0.0001 then | |
581 | local theta = math.acos(-cosTheta) | |
582 | local invSinTheta = 1/math.sin(theta) | |
583 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
584 | finishInterp = math.sin(t*theta)*invSinTheta | |
585 | else | |
586 | startInterp = t-1 | |
587 | finishInterp = t | |
588 | end | |
589 | end | |
590 | 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 | |
591 | end | |
592 | rayCast = function(Position, Direction, Range, Ignore) | |
593 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
594 | end | |
595 | local v = game.Players.localPlayer | |
596 | local torso = v.Character.Torso | |
597 | wait(0) | |
598 | local p = Instance.new("Part", v.Character) | |
599 | p.Name = "kit" | |
600 | p.BrickColor = BrickColor.new("Plum") | |
601 | p.Anchored = true | |
602 | p.Transparency = 1 | |
603 | p.Material = "Plastic" | |
604 | p.CanCollide = false | |
605 | p.TopSurface = 0 | |
606 | p.BottomSurface = 0 | |
607 | p.Size = Vector3.new(0.2, 0.2, 0.2) | |
608 | p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
609 | local msh = Instance.new("SpecialMesh", p) | |
610 | msh.Scale = Vector3.new(0.55, 0.55, 0.55) | |
611 | msh.MeshId = "http://www.roblox.com/asset/?id=430736398" | |
612 | msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
613 | local pn = Instance.new("Part", v.Character.kit) | |
614 | pn.Name = "D" | |
615 | pn.BrickColor = BrickColor.new("Plum") | |
616 | pn.Anchored = true | |
617 | pn.Transparency = 1 | |
618 | pn.Material = "Plastic" | |
619 | pn.CanCollide = false | |
620 | pn.TopSurface = 0 | |
621 | pn.BottomSurface = 0 | |
622 | pn.Size = Vector3.new(0.2, 0.2, 0.2) | |
623 | pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
624 | local mshn = Instance.new("SpecialMesh", pn) | |
625 | mshn.Scale = Vector3.new(0.55, 0.55, 0.55) | |
626 | mshn.MeshId = "http://www.roblox.com/asset/?id=430736398" | |
627 | mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
628 | local pn3 = Instance.new("Part", v.Character.kit) | |
629 | pn3.Name = "B" | |
630 | pn3.BrickColor = BrickColor.new("Fossil") | |
631 | pn3.Anchored = true | |
632 | pn3.Transparency = 1 | |
633 | pn3.Material = "Plastic" | |
634 | pn3.CanCollide = false | |
635 | pn3.TopSurface = 0 | |
636 | pn3.BottomSurface = 0 | |
637 | pn3.Size = Vector3.new(0.2, 0.2, 0.2) | |
638 | pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
639 | local mshn3 = Instance.new("SpecialMesh", pn3) | |
640 | mshn3.Scale = Vector3.new(0.0054, 0.0054, 0.0054) | |
641 | mshn3.MeshId = "http://www.roblox.com/asset/?id=518429841" | |
642 | mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
643 | local pn4 = Instance.new("Part", v.Character.kit) | |
644 | pn4.Name = "B" | |
645 | pn4.BrickColor = BrickColor.new("Fossil") | |
646 | pn4.Anchored = true | |
647 | pn4.Transparency = 1 | |
648 | pn4.Material = "Plastic" | |
649 | pn4.CanCollide = false | |
650 | pn4.TopSurface = 0 | |
651 | pn4.BottomSurface = 0 | |
652 | pn4.Size = Vector3.new(0.2, 0.2, 0.2) | |
653 | pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
654 | local mshn4 = Instance.new("SpecialMesh", pn4) | |
655 | mshn4.Scale = Vector3.new(0.0054, 0.0054, 0.0054) | |
656 | mshn4.MeshId = "http://www.roblox.com/asset/?id=518429841" | |
657 | mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
658 | local pn5 = Instance.new("Part", v.Character.kit) | |
659 | pn5.Name = "tail" | |
660 | pn5.Anchored = true | |
661 | pn5.Transparency = 1 | |
662 | pn5.BrickColor = BrickColor.new("Plum") | |
663 | pn5.Material = "Plastic" | |
664 | pn5.CanCollide = false | |
665 | pn5.TopSurface = 0 | |
666 | pn5.BottomSurface = 0 | |
667 | pn5.Size = Vector3.new(0.2, 0.2, 0.2) | |
668 | pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
669 | local mshn5 = Instance.new("SpecialMesh", pn5) | |
670 | mshn5.Scale = Vector3.new(2, 2, 2) | |
671 | mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159" | |
672 | mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
673 | local pn6 = Instance.new("Part", v.Character.kit) | |
674 | pn6.Name = "B-Hair" | |
675 | pn6.Anchored = true | |
676 | pn6.Transparency = 1 | |
677 | pn6.BrickColor = BrickColor.new("Dark indigo") | |
678 | pn6.Material = "Plastic" | |
679 | pn6.CanCollide = false | |
680 | pn6.TopSurface = 0 | |
681 | pn6.BottomSurface = 0 | |
682 | pn6.Size = Vector3.new(0.2, 0.2, 0.2) | |
683 | pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
684 | local mshn6 = Instance.new("SpecialMesh", pn6) | |
685 | mshn6.Scale = Vector3.new(.015, .03, .001) | |
686 | mshn6.MeshId = "http://www.roblox.com/asset/?id=521338357" | |
687 | local pn7 = Instance.new("Part", v.Character.kit) | |
688 | pn7.Name = "tail" | |
689 | pn7.Anchored = true | |
690 | pn7.Transparency = 1 | |
691 | pn7.BrickColor = BrickColor.new("Plum") | |
692 | pn7.Material = "Plastic" | |
693 | pn7.CanCollide = false | |
694 | pn7.TopSurface = 0 | |
695 | pn7.BottomSurface = 0 | |
696 | pn7.Size = Vector3.new(0.2, 0.2, 0.2) | |
697 | pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
698 | local mshn7 = Instance.new("SpecialMesh", pn7) | |
699 | mshn7.Scale = Vector3.new(2, 2, 2) | |
700 | mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159" | |
701 | mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
702 | local pn8 = Instance.new("Part", v.Character.kit) | |
703 | pn8.Name = "tail" | |
704 | pn8.Anchored = true | |
705 | pn8.Transparency = 1 | |
706 | pn8.BrickColor = BrickColor.new("Plum") | |
707 | pn8.Material = "Plastic" | |
708 | pn8.CanCollide = false | |
709 | pn8.TopSurface = 0 | |
710 | pn8.BottomSurface = 0 | |
711 | pn8.Size = Vector3.new(0.2, 0.2, 0.2) | |
712 | pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
713 | local mshn8 = Instance.new("SpecialMesh", pn8) | |
714 | mshn8.Scale = Vector3.new(2, 2, 2) | |
715 | mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159" | |
716 | mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
717 | local pn9 = Instance.new("Part", v.Character.kit) | |
718 | pn9.Name = "tail" | |
719 | pn9.Anchored = true | |
720 | pn9.Transparency = 1 | |
721 | pn9.BrickColor = BrickColor.new("Plum") | |
722 | pn9.Material = "Plastic" | |
723 | pn9.CanCollide = false | |
724 | pn9.TopSurface = 0 | |
725 | pn9.BottomSurface = 0 | |
726 | pn9.Size = Vector3.new(0.2, 0.2, 0.2) | |
727 | pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
728 | local mshn9 = Instance.new("SpecialMesh", pn9) | |
729 | mshn9.Scale = Vector3.new(2, 2, 2) | |
730 | mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159" | |
731 | mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
732 | local pn0 = Instance.new("Part", v.Character.kit) | |
733 | pn0.Name = "ears" | |
734 | pn0.Anchored = true | |
735 | pn0.Transparency = 1 | |
736 | pn0.BrickColor = BrickColor.new("Plum") | |
737 | pn0.Material = "Plastic" | |
738 | pn0.CanCollide = false | |
739 | pn0.TopSurface = 0 | |
740 | pn0.BottomSurface = 0 | |
741 | pn0.Size = Vector3.new(0.2, 0.2, 0.2) | |
742 | pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0) | |
743 | local mshn0 = Instance.new("SpecialMesh", pn0) | |
744 | mshn0.Scale = Vector3.new(0.5, 0.5, 0.5) | |
745 | mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302" | |
746 | mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b) | |
747 | p.Anchored = false | |
748 | local motor1 = Instance.new("Weld", torso) | |
749 | motor1.Part0 = p | |
750 | motor1.Part1 = torso | |
751 | motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
752 | motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
753 | pn.Anchored = false | |
754 | local motor2 = Instance.new("Weld", torso) | |
755 | motor2.Part0 = pn | |
756 | motor2.Part1 = torso | |
757 | motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
758 | motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
759 | pn3.Anchored = false | |
760 | local motor3 = Instance.new("Weld", torso) | |
761 | motor3.Part0 = pn3 | |
762 | motor3.Part1 = torso | |
763 | motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
764 | motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
765 | pn4.Anchored = false | |
766 | local motor4 = Instance.new("Weld", torso) | |
767 | motor4.Part0 = pn4 | |
768 | motor4.Part1 = torso | |
769 | motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
770 | motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
771 | pn5.Anchored = false | |
772 | local motor5 = Instance.new("Weld", pn5) | |
773 | motor5.Part0 = pn5 | |
774 | motor5.Part1 = torso | |
775 | motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
776 | motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
777 | pn6.Anchored = false | |
778 | local motor6 = Instance.new("Weld", pn6) | |
779 | motor6.Part0 = pn6 | |
780 | motor6.Part1 = Head | |
781 | motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
782 | motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
783 | pn7.Anchored = false | |
784 | local motor7 = Instance.new("Weld", pn7) | |
785 | motor7.Part0 = pn7 | |
786 | motor7.Part1 = torso | |
787 | motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
788 | motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
789 | pn8.Anchored = false | |
790 | local motor8 = Instance.new("Weld", pn8) | |
791 | motor8.Part0 = pn8 | |
792 | motor8.Part1 = torso | |
793 | motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
794 | motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
795 | pn9.Anchored = false | |
796 | local motor9 = Instance.new("Weld", pn9) | |
797 | motor9.Part0 = pn9 | |
798 | motor9.Part1 = torso | |
799 | motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
800 | motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
801 | pn0.Anchored = false | |
802 | local motor0 = Instance.new("Weld", pn0) | |
803 | motor0.Part0 = pn0 | |
804 | motor0.Part1 = v.Character.Head | |
805 | motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
806 | game:GetService("RunService").Stepped:connect(function() | |
807 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
808 | velocity = RootPart.Velocity.y | |
809 | sine = sine + change | |
810 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
811 | if equipped == true or equipped == false then | |
812 | if RootPart.Velocity.y > 1 and hit == nil then | |
813 | Anim = "Jump" | |
814 | if attack == false then | |
815 | motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
816 | motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
817 | motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(2 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
818 | motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
819 | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) | |
820 | motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
821 | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1) | |
822 | motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
823 | motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
824 | end | |
825 | else | |
826 | if RootPart.Velocity.y < -1 and hit == nil then | |
827 | Anim = "Fall" | |
828 | if attack == false then | |
829 | motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
830 | motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
831 | motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-3 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
832 | motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
833 | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) | |
834 | motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
835 | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1) | |
836 | motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
837 | motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
838 | end | |
839 | else | |
840 | if Torsovelocity < 1 and hit ~= nil then | |
841 | Anim = "Idle" | |
842 | if attack == false then | |
843 | change = 1 | |
844 | motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
845 | motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
846 | motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-0 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
847 | motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
848 | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(10 + 0 * math.cos(sine / 25))), 0.1) | |
849 | motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
850 | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1) | |
851 | motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-10 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-150 + 0 * math.cos(sine / 25))), 0.1) | |
852 | motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-20 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(-100 + 0 * math.cos(sine / 25))), 0.1) | |
853 | end | |
854 | else | |
855 | if Torsovelocity > 2 and hit ~= nil then | |
856 | Anim = "Walk" | |
857 | if attack == false then | |
858 | motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1) | |
859 | motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1) | |
860 | motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1) | |
861 | motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1) | |
862 | motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) | |
863 | motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1) | |
864 | motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1) | |
865 | motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
866 | motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1) | |
867 | end | |
868 | end | |
869 | end | |
870 | end | |
871 | end | |
872 | end | |
873 | end) | |
874 | ||
875 | ||
876 | newface = Instance.new("Decal",Head) | |
877 | newface.Texture = "rbxassetid://186681690" | |
878 | ||
879 | ||
880 | ||
881 | ||
882 | --[[NIGHTOWLACE_WEAPONRY]]-- | |
883 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name | |
884 | secondcolor = "Really black" | |
885 | ||
886 | wait(1 / 60) | |
887 | Effects = { } | |
888 | local Player = game.Players.localPlayer | |
889 | local Character = Player.Character | |
890 | local Humanoid = Character.Humanoid | |
891 | local mouse = Player:GetMouse() | |
892 | local LeftArm = Character["Left Arm"] | |
893 | local RightArm = Character["Right Arm"] | |
894 | local LeftLeg = Character["Left Leg"] | |
895 | local RightLeg = Character["Right Leg"] | |
896 | local Head = Character.Head | |
897 | local Torso = Character.Torso | |
898 | local cam = game.Workspace.CurrentCamera | |
899 | local RootPart = Character.HumanoidRootPart | |
900 | local RootJoint = RootPart.RootJoint | |
901 | local equipped = true | |
902 | local attack = false | |
903 | local Anim = 'Idle' | |
904 | local idle = 0 | |
905 | local attacktype = 1 | |
906 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
907 | local velocity = RootPart.Velocity.y | |
908 | local sine = 0 | |
909 | local change = 1 | |
910 | local grabbed = false | |
911 | local cn = CFrame.new | |
912 | local mr = math.rad | |
913 | local angles = CFrame.Angles | |
914 | local ud = UDim2.new | |
915 | local c3 = Color3.new | |
916 | ||
917 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
918 | Humanoid.Animator:Destroy() | |
919 | Character.Animate:Destroy() | |
920 | ||
921 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
922 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
923 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
924 | ||
925 | RSH, LSH = nil, nil | |
926 | ||
927 | RW = Instance.new("Weld") | |
928 | LW = Instance.new("Weld") | |
929 | ||
930 | RH = Torso["Right Hip"] | |
931 | LH = Torso["Left Hip"] | |
932 | ||
933 | RSH = Torso["Right Shoulder"] | |
934 | LSH = Torso["Left Shoulder"] | |
935 | ||
936 | RSH.Parent = nil | |
937 | LSH.Parent = nil | |
938 | ||
939 | RW.Name = "RW" | |
940 | RW.Part0 = Torso | |
941 | RW.C0 = cn(1.5, 0.5, 0) | |
942 | RW.C1 = cn(0, 0.5, 0) | |
943 | RW.Part1 = RightArm | |
944 | RW.Parent = Torso | |
945 | ||
946 | LW.Name = "LW" | |
947 | LW.Part0 = Torso | |
948 | LW.C0 = cn(-1.5, 0.5, 0) | |
949 | LW.C1 = cn(0, 0.5, 0) | |
950 | LW.Part1 = LeftArm | |
951 | LW.Parent = Torso | |
952 | ||
953 | function clerp(a, b, t) | |
954 | local qa = { | |
955 | QuaternionFromCFrame(a) | |
956 | } | |
957 | local qb = { | |
958 | QuaternionFromCFrame(b) | |
959 | } | |
960 | local ax, ay, az = a.x, a.y, a.z | |
961 | local bx, by, bz = b.x, b.y, b.z | |
962 | local _t = 1 - t | |
963 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
964 | end | |
965 | ||
966 | function QuaternionFromCFrame(cf) | |
967 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
968 | local trace = m00 + m11 + m22 | |
969 | if trace > 0 then | |
970 | local s = math.sqrt(1 + trace) | |
971 | local recip = 0.5 / s | |
972 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
973 | else | |
974 | local i = 0 | |
975 | if m11 > m00 then | |
976 | i = 1 | |
977 | end | |
978 | if m22 > (i == 0 and m00 or m11) then | |
979 | i = 2 | |
980 | end | |
981 | if i == 0 then | |
982 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
983 | local recip = 0.5 / s | |
984 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
985 | elseif i == 1 then | |
986 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
987 | local recip = 0.5 / s | |
988 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
989 | elseif i == 2 then | |
990 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
991 | local recip = 0.5 / s | |
992 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
993 | end | |
994 | end | |
995 | end | |
996 | ||
997 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
998 | local xs, ys, zs = x + x, y + y, z + z | |
999 | local wx, wy, wz = w * xs, w * ys, w * zs | |
1000 | local xx = x * xs | |
1001 | local xy = x * ys | |
1002 | local xz = x * zs | |
1003 | local yy = y * ys | |
1004 | local yz = y * zs | |
1005 | local zz = z * zs | |
1006 | 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)) | |
1007 | end | |
1008 | ||
1009 | function QuaternionSlerp(a, b, t) | |
1010 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1011 | local startInterp, finishInterp; | |
1012 | if cosTheta >= 0.0001 then | |
1013 | if (1 - cosTheta) > 0.0001 then | |
1014 | local theta = math.acos(cosTheta) | |
1015 | local invSinTheta = 1 / math.sin(theta) | |
1016 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
1017 | finishInterp = math.sin(t * theta) * invSinTheta | |
1018 | else | |
1019 | startInterp = 1 - t | |
1020 | finishInterp = t | |
1021 | end | |
1022 | else | |
1023 | if (1 + cosTheta) > 0.0001 then | |
1024 | local theta = math.acos(-cosTheta) | |
1025 | local invSinTheta = 1 / math.sin(theta) | |
1026 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
1027 | finishInterp = math.sin(t * theta) * invSinTheta | |
1028 | else | |
1029 | startInterp = t - 1 | |
1030 | finishInterp = t | |
1031 | end | |
1032 | end | |
1033 | 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 | |
1034 | end | |
1035 | ||
1036 | function swait(num) | |
1037 | if num == 0 or num == nil then | |
1038 | game:service'RunService'.RenderStepped:wait(0) | |
1039 | else | |
1040 | for i = 0, num do | |
1041 | game:service'RunService'.RenderStepped:wait(0) | |
1042 | end | |
1043 | end | |
1044 | end | |
1045 | ||
1046 | local RbxUtility = LoadLibrary("RbxUtility") | |
1047 | local Create = RbxUtility.Create | |
1048 | ||
1049 | function RemoveOutlines(part) | |
1050 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1051 | end | |
1052 | ||
1053 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1054 | local Part = Create("Part"){ | |
1055 | formFactor = FormFactor, | |
1056 | Parent = Parent, | |
1057 | Reflectance = Reflectance, | |
1058 | Transparency = Transparency, | |
1059 | CanCollide = false, | |
1060 | Locked = true, | |
1061 | BrickColor = BrickColor.new(tostring(BColor)), | |
1062 | Name = Name, | |
1063 | Size = Size, | |
1064 | Material = Material, | |
1065 | } | |
1066 | RemoveOutlines(Part) | |
1067 | return Part | |
1068 | end | |
1069 | ||
1070 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1071 | local Msh = Create(Mesh){ | |
1072 | Parent = Part, | |
1073 | Offset = OffSet, | |
1074 | Scale = Scale, | |
1075 | } | |
1076 | if Mesh == "SpecialMesh" then | |
1077 | Msh.MeshType = MeshType | |
1078 | Msh.MeshId = MeshId | |
1079 | end | |
1080 | return Msh | |
1081 | end | |
1082 | ||
1083 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1084 | local Weld = Create("Weld"){ | |
1085 | Parent = Parent, | |
1086 | Part0 = Part0, | |
1087 | Part1 = Part1, | |
1088 | C0 = C0, | |
1089 | C1 = C1, | |
1090 | } | |
1091 | return Weld | |
1092 | end | |
1093 | ||
1094 | function rayCast(Position, Direction, Range, Ignore) | |
1095 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1096 | end | |
1097 | ||
1098 | function CreateSound(id, par, vol, pit) | |
1099 | coroutine.resume(coroutine.create(function() | |
1100 | local sou = Instance.new("Sound", par or workspace) | |
1101 | sou.Volume = vol | |
1102 | sou.Pitch = pit or 1 | |
1103 | sou.SoundId = id | |
1104 | wait() | |
1105 | sou:play() | |
1106 | game:GetService("Debris"):AddItem(sou, 6) | |
1107 | end)) | |
1108 | end | |
1109 | ||
1110 | local function getclosest(obj, distance) | |
1111 | local last, lastx = distance + 1 | |
1112 | for i, v in pairs(workspace:GetChildren()) do | |
1113 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
1114 | local t = v.Torso | |
1115 | local dist = (t.Position - obj.Position).magnitude | |
1116 | if dist <= distance then | |
1117 | if dist < last then | |
1118 | last = dist | |
1119 | lastx = v | |
1120 | end | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | return lastx | |
1125 | end | |
1126 | ||
1127 | function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
1128 | for i, v in pairs(hit:GetChildren()) do | |
1129 | if v:IsA("Humanoid") and hit.Name ~= Character.Name then | |
1130 | local find = v:FindFirstChild("Hitz") | |
1131 | if not find then | |
1132 | if v.Parent:findFirstChild("Head") then | |
1133 | local BillG = Create("BillboardGui"){ | |
1134 | Parent = v.Parent.Head, | |
1135 | Size = UDim2.new(1, 0, 1, 0), | |
1136 | Adornee = v.Parent.Head, | |
1137 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), | |
1138 | } | |
1139 | local TL = Create("TextLabel"){ | |
1140 | Parent = BillG, | |
1141 | Size = UDim2.new(3, 3, 3, 3), | |
1142 | BackgroundTransparency = 1, | |
1143 | Text = tostring(damage).."-", | |
1144 | TextColor3 = Color1.Color, | |
1145 | TextStrokeColor3 = Color2.Color, | |
1146 | TextStrokeTransparency = 0, | |
1147 | TextXAlignment = Enum.TextXAlignment.Center, | |
1148 | TextYAlignment = Enum.TextYAlignment.Center, | |
1149 | FontSize = Enum.FontSize.Size18, | |
1150 | Font = "ArialBold", | |
1151 | } | |
1152 | coroutine.resume(coroutine.create(function() | |
1153 | wait(1) | |
1154 | for i = 0, 1, .1 do | |
1155 | wait(.1) | |
1156 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) | |
1157 | end | |
1158 | BillG:Destroy() | |
1159 | end)) | |
1160 | end | |
1161 | v.Health = v.Health - damage | |
1162 | local bool = Create("BoolValue"){ | |
1163 | Parent = v, | |
1164 | Name = 'Hitz', | |
1165 | } | |
1166 | if HSound ~= nil and HPitch ~= nil then | |
1167 | CreateSound(HSound, hit, 1, HPitch) | |
1168 | end | |
1169 | game:GetService("Debris"):AddItem(bool, cooldown) | |
1170 | end | |
1171 | end | |
1172 | end | |
1173 | end | |
1174 | ||
1175 | ||
1176 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1177 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1178 | prt.Anchored = true | |
1179 | prt.CFrame = cframe | |
1180 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1181 | game:GetService("Debris"):AddItem(prt, 10) | |
1182 | if Type == 1 or Type == nil then | |
1183 | table.insert(Effects, { | |
1184 | prt, | |
1185 | "Block1", | |
1186 | delay, | |
1187 | x3, | |
1188 | y3, | |
1189 | z3, | |
1190 | msh | |
1191 | }) | |
1192 | elseif Type == 2 then | |
1193 | table.insert(Effects, { | |
1194 | prt, | |
1195 | "Block2", | |
1196 | delay, | |
1197 | x3, | |
1198 | y3, | |
1199 | z3, | |
1200 | msh | |
1201 | }) | |
1202 | end | |
1203 | end | |
1204 | ||
1205 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1206 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1207 | prt.Anchored = true | |
1208 | prt.CFrame = cframe | |
1209 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1210 | game:GetService("Debris"):AddItem(prt, 10) | |
1211 | table.insert(Effects, { | |
1212 | prt, | |
1213 | "Cylinder", | |
1214 | delay, | |
1215 | x3, | |
1216 | y3, | |
1217 | z3, | |
1218 | msh | |
1219 | }) | |
1220 | end | |
1221 | ||
1222 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1223 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1224 | prt.Anchored = true | |
1225 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
1226 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1227 | game:GetService("Debris"):AddItem(prt, 10) | |
1228 | table.insert(Effects, { | |
1229 | prt, | |
1230 | "Cylinder", | |
1231 | delay, | |
1232 | x3, | |
1233 | y3, | |
1234 | z3, | |
1235 | msh | |
1236 | }) | |
1237 | end | |
1238 | ||
1239 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1240 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1241 | prt.Anchored = true | |
1242 | prt.CFrame = cframe | |
1243 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1244 | game:GetService("Debris"):AddItem(prt, 10) | |
1245 | table.insert(Effects, { | |
1246 | prt, | |
1247 | "Cylinder", | |
1248 | delay, | |
1249 | x3, | |
1250 | y3, | |
1251 | z3, | |
1252 | msh | |
1253 | }) | |
1254 | end | |
1255 | ||
1256 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1257 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1258 | prt.Anchored = true | |
1259 | prt.CFrame = cframe | |
1260 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1261 | game:GetService("Debris"):AddItem(prt, 10) | |
1262 | table.insert(Effects, { | |
1263 | prt, | |
1264 | "Cylinder", | |
1265 | delay, | |
1266 | x3, | |
1267 | y3, | |
1268 | z3, | |
1269 | msh | |
1270 | }) | |
1271 | end | |
1272 | ||
1273 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1274 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1275 | prt.Anchored = true | |
1276 | prt.CFrame = cframe | |
1277 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1278 | game:GetService("Debris"):AddItem(prt, 10) | |
1279 | table.insert(Effects, { | |
1280 | prt, | |
1281 | "Cylinder", | |
1282 | delay, | |
1283 | x3, | |
1284 | y3, | |
1285 | z3, | |
1286 | msh | |
1287 | }) | |
1288 | end | |
1289 | ||
1290 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
1291 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1292 | prt.Anchored = true | |
1293 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1294 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1295 | local num = math.random(10, 50) / 1000 | |
1296 | game:GetService("Debris"):AddItem(prt, 10) | |
1297 | table.insert(Effects, { | |
1298 | prt, | |
1299 | "Shatter", | |
1300 | num, | |
1301 | prt.CFrame, | |
1302 | math.random() - math.random(), | |
1303 | 0, | |
1304 | math.random(50, 100) / 100 | |
1305 | }) | |
1306 | end | |
1307 | ||
1308 | ||
1309 | ||
1310 | ||
1311 | for i = 0, 1, 0.05 do | |
1312 | swait() | |
1313 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1) | |
1314 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1) | |
1315 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
1316 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
1317 | if Torsovelocity > 2 then | |
1318 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2) | |
1319 | RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3) | |
1320 | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3) | |
1321 | elseif Torsovelocity < 1 then | |
1322 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
1323 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
1324 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
1325 | end | |
1326 | end | |
1327 | attack = false | |
1328 | ||
1329 | ||
1330 | ||
1331 | game:GetService'RunService'.Stepped:connect(function() | |
1332 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1333 | velocity = RootPart.Velocity.y | |
1334 | sine = sine + change | |
1335 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1336 | if equipped == true or equipped == false then | |
1337 | if RootPart.Velocity.y > 1 and hit == nil then | |
1338 | Anim = "Jump" | |
1339 | if attack == false and Anim2 == false then | |
1340 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1341 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1342 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1) | |
1343 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1) | |
1344 | RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1) | |
1345 | LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1) | |
1346 | end | |
1347 | ||
1348 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1349 | Anim = "Fall" | |
1350 | if attack == false and Anim2 == false then | |
1351 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1352 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1353 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1) | |
1354 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1) | |
1355 | RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1356 | LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1357 | end | |
1358 | elseif Torsovelocity < 1 and hit ~= nil then | |
1359 | Anim = "Idle" | |
1360 | if attack == false and Anim2 == false then | |
1361 | change = 0.8 | |
1362 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(-5), math.rad(5)), .1) | |
1363 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 50)), math.rad(8), math.rad(-5)), .1) | |
1364 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0.3) * angles(math.rad(30), math.rad(150), math.rad(-200 + 3 * math.cos(sine / 25))), 0.1) | |
1365 | LW.C0 = clerp(LW.C0, CFrame.new(-1.54, 0.5, 0.1) * angles(math.rad(0), math.rad(10), math.rad(0 - 4 * math.cos(sine / 25))), 0.1) | |
1366 | RH.C0 = clerp(RH.C0, cn(1, -.93 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-10 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(6 + 2 * math.cos(sine / 45))), .1) | |
1367 | LH.C0 = clerp(LH.C0, cn(-1, -.93 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(7 + 2 * math.cos(sine / 25))), .1) | |
1368 | ||
1369 | end | |
1370 | ||
1371 | elseif Torsovelocity > 1 and hit ~= nil then | |
1372 | Anim = "Walk" | |
1373 | if attack == false and Anim2 == false then | |
1374 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(7 * math.cos(sine / 5))), .1) | |
1375 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .1) | |
1376 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(-7), math.rad(4 * math.cos(sine / 4))), .1) | |
1377 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(7), math.rad(4 * math.cos(sine / 4))), .1) | |
1378 | RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(7), math.rad(50 * math.cos(sine / 4))), .1) | |
1379 | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(-7), math.rad(50 * math.cos(sine / 4))), .1) | |
1380 | ||
1381 | end | |
1382 | end | |
1383 | end | |
1384 | -------------------------------------------------------------------------ANI-2---------------------------------------------------------------------------------------------- | |
1385 | if equipped == true or equipped == false then | |
1386 | if RootPart.Velocity.y > 1 and hit == nil then | |
1387 | Anim = "Jump" | |
1388 | if attack == false and Anim2 == true then | |
1389 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1390 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1391 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1) | |
1392 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1) | |
1393 | RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1) | |
1394 | LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1) | |
1395 | end | |
1396 | ||
1397 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1398 | Anim = "Fall" | |
1399 | if attack == false and Anim2 == true then | |
1400 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1401 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
1402 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1) | |
1403 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1) | |
1404 | RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1405 | LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
1406 | end | |
1407 | elseif Torsovelocity < 1 and hit ~= nil then | |
1408 | Anim = "Idle" | |
1409 | if attack == false and Anim2 == true then | |
1410 | change = 0.8 | |
1411 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1) | |
1412 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1) | |
1413 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
1414 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1) | |
1415 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
1416 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
1417 | end | |
1418 | ||
1419 | elseif Torsovelocity > 1 and hit ~= nil then | |
1420 | Anim = "Walk" | |
1421 | if attack == false and Anim2 == true then | |
1422 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), .2) | |
1423 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
1424 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1) | |
1425 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1) | |
1426 | RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1) | |
1427 | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1) | |
1428 | ||
1429 | end | |
1430 | end | |
1431 | end | |
1432 | ||
1433 | ||
1434 | if #Effects > 0 then | |
1435 | for e = 1, #Effects do | |
1436 | if Effects[e] ~= nil then | |
1437 | local Thing = Effects[e] | |
1438 | if Thing ~= nil then | |
1439 | local Part = Thing[1] | |
1440 | local Mode = Thing[2] | |
1441 | local Delay = Thing[3] | |
1442 | local IncX = Thing[4] | |
1443 | local IncY = Thing[5] | |
1444 | local IncZ = Thing[6] | |
1445 | if Thing[1].Transparency <= 1 then | |
1446 | if Thing[2] == "Block1" then | |
1447 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1448 | local Mesh = Thing[1].Mesh | |
1449 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1450 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1451 | elseif Thing[2] == "Block2" then | |
1452 | Thing[1].CFrame = Thing[1].CFrame | |
1453 | local Mesh = Thing[7] | |
1454 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1455 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1456 | elseif Thing[2] == "Cylinder" then | |
1457 | local Mesh = Thing[1].Mesh | |
1458 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1459 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1460 | elseif Thing[2] == "Blood" then | |
1461 | local Mesh = Thing[7] | |
1462 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
1463 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1464 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1465 | elseif Thing[2] == "Elec" then | |
1466 | local Mesh = Thing[1].Mesh | |
1467 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1468 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1469 | elseif Thing[2] == "Disappear" then | |
1470 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1471 | elseif Thing[2] == "Shatter" then | |
1472 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1473 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1474 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1475 | Thing[6] = Thing[6] + Thing[5] | |
1476 | end | |
1477 | else | |
1478 | Part.Parent = nil | |
1479 | table.remove(Effects, e) | |
1480 | end | |
1481 | end | |
1482 | end | |
1483 | end | |
1484 | end | |
1485 | end) | |
1486 | ||
1487 | ||
1488 | ||
1489 | ||
1490 | Pressed = false | |
1491 | -------------- | |
1492 | MaskOn = false | |
1493 | MaskOff = true | |
1494 | -------------- | |
1495 | Anim2 = true | |
1496 | -------------- | |
1497 | eye1 = false | |
1498 | eye2 = false | |
1499 | eye3 = true | |
1500 | -------------- | |
1501 | mouth1 = false | |
1502 | mouth2 = true | |
1503 | mouth3 = false | |
1504 | mouth4 = false | |
1505 | mouth5 = false | |
1506 | mouth6 = false | |
1507 | mouth7 = false | |
1508 | -------------- | |
1509 | bkit0 = true | |
1510 | bkit1 = false | |
1511 | bkit2 = false | |
1512 | -------------- | |
1513 | torso1 = false | |
1514 | torso2 = true | |
1515 | -------------- | |
1516 | Tail0 = true | |
1517 | Tail1 = false | |
1518 | Tail2 = false | |
1519 | Tail3 = false | |
1520 | -------------- | |
1521 | Hair0 = true | |
1522 | Hair1 = false | |
1523 | Hair2 = false | |
1524 | Hair3 = false | |
1525 | -------------- | |
1526 | Hat0 = true | |
1527 | Hat1 = false | |
1528 | Hat2 = false | |
1529 | Hat3 = false | |
1530 | local Playing = false | |
1531 | ||
1532 | ---:Mini:-:Menu:--- | |
1533 | char2 = game.Players.LocalPlayer.Character | |
1534 | iPlayer = game.Players.LocalPlayer.Name | |
1535 | local Gui = Instance.new('ScreenGui', game.Players[iPlayer].PlayerGui) | |
1536 | Gui.Name = 'Gui test' | |
1537 | local Pull = Instance.new('Frame', Gui) | |
1538 | Pull.Name = 'Grab' | |
1539 | Pull.Active = true | |
1540 | Pull.BackgroundColor3 = Color3.new(97/255,97/255,97/255) | |
1541 | Pull.BackgroundTransparency = 0 | |
1542 | Pull.BorderSizePixel = 4 | |
1543 | Pull.Position = UDim2.new(0.5,-318,0.5,-92) | |
1544 | Pull.Size = UDim2.new(0,120,0,50) | |
1545 | Pull.Draggable = true | |
1546 | Pull.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1547 | ||
1548 | local Close = Instance.new('TextButton', Pull) | |
1549 | Close.Name = 'Close' | |
1550 | Close.BackgroundTransparency = 1 | |
1551 | Close.Position = UDim2.new(1,-23,0,1) | |
1552 | Close.Size = UDim2.new(0,22,0,22) | |
1553 | Close.Font = 'SourceSans' | |
1554 | Close.FontSize = 'Size24' | |
1555 | Close.TextColor3 = Color3.new(255,255,255) | |
1556 | Close.Text = 'X' | |
1557 | Close.TextStrokeTransparency = 0.8 | |
1558 | ||
1559 | local Body = Instance.new('Frame', Pull) | |
1560 | Body.Name = 'Body' | |
1561 | Body.BackgroundColor3 = Color3.new(60/255,60/255,60/255) | |
1562 | Body.BackgroundTransparency = 0 | |
1563 | Body.BorderSizePixel = 4 | |
1564 | Body.Position = UDim2.new(0,0,0,52) | |
1565 | Body.Size = UDim2.new(0,547,0,212) | |
1566 | Body.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1567 | ||
1568 | ||
1569 | local Line = Instance.new('Frame', Body) | |
1570 | Line.Name = 'Line' | |
1571 | Line.BackgroundColor3 = Color3.new(60/255,60/255,60/255) | |
1572 | Line.BackgroundTransparency = 0 | |
1573 | Line.BorderSizePixel = 2 | |
1574 | Line.Position = UDim2.new(0,152.5,0,0) | |
1575 | Line.Size = UDim2.new(0,0.01,0,212) | |
1576 | Line.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1577 | ||
1578 | local Line2 = Instance.new('Frame', Body) | |
1579 | Line2.Name = 'Line2' | |
1580 | Line2.BackgroundColor3 = Color3.new(60/255,60/255,60/255) | |
1581 | Line2.BackgroundTransparency = 0 | |
1582 | Line2.BorderSizePixel = 2 | |
1583 | Line2.Position = UDim2.new(0,306.5,0,0) | |
1584 | Line2.Size = UDim2.new(0,0.01,0,212) | |
1585 | Line2.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1586 | ||
1587 | ||
1588 | ||
1589 | local Title = Instance.new('TextLabel', Pull) | |
1590 | Title.Name = 'Title' | |
1591 | Title.BackgroundTransparency = 1 | |
1592 | Title.Position = UDim2.new(0,-50,0,0) | |
1593 | Title.Size = UDim2.new(0,200,1,0) | |
1594 | Title.Font = 'SourceSansLight' | |
1595 | Title.FontSize = 'Size48' | |
1596 | Title.Text = "Menu" | |
1597 | Title.TextColor3 = Color3.new(0.5,0,1) | |
1598 | Title.TextStrokeColor3 = Color3.new(74/255,74/255,74/255) | |
1599 | Title.TextStrokeTransparency = 0 | |
1600 | ||
1601 | local PlayerName = Instance.new('TextBox', Body) | |
1602 | PlayerName.Name = 'PlayerName' | |
1603 | PlayerName.BorderSizePixel = 0 | |
1604 | PlayerName.Position = UDim2.new(0,8,0,10) | |
1605 | PlayerName.Size = UDim2.new(0,135,0,30) | |
1606 | PlayerName.Font = 'SourceSans' | |
1607 | PlayerName.FontSize = 'Size18' | |
1608 | PlayerName.Text = 'Name of the color' | |
1609 | PlayerName.BackgroundColor3 = Color3.new(255,255,255) | |
1610 | PlayerName.TextColor3 = Color3.new(0,0,0) | |
1611 | PlayerName.TextWrapped = true | |
1612 | ||
1613 | local ColTex2 = Instance.new('TextBox', Body) | |
1614 | ColTex2.Name = 'ColTex2' | |
1615 | ColTex2.BorderSizePixel = 0 | |
1616 | ColTex2.Position = UDim2.new(0,318.5,0,10) | |
1617 | ColTex2.Size = UDim2.new(0,135,0,30) | |
1618 | ColTex2.Font = 'SourceSans' | |
1619 | ColTex2.FontSize = 'Size18' | |
1620 | ColTex2.Text = 'Song id' | |
1621 | ColTex2.BackgroundColor3 = Color3.new(255,255,255) | |
1622 | ColTex2.TextColor3 = Color3.new(0,0,0) | |
1623 | ColTex2.TextWrapped = true | |
1624 | ||
1625 | local ColTex3 = Instance.new('TextBox', Body) | |
1626 | ColTex3.Name = 'ColTex3' | |
1627 | ColTex3.BorderSizePixel = 2 | |
1628 | ColTex3.Position = UDim2.new(0,10,0,130)-- 72,5 | |
1629 | ColTex3.Size = UDim2.new(0,57.5,0,30) | |
1630 | ColTex3.Font = 'SourceSans' | |
1631 | ColTex3.FontSize = 'Size10' | |
1632 | ColTex3.Text = 'Shirt id' | |
1633 | ColTex3.BackgroundColor3 = Color3.new(255,255,255) | |
1634 | ColTex3.TextColor3 = Color3.new(0,0,0) | |
1635 | ColTex3.TextWrapped = true | |
1636 | ||
1637 | local ColTex4 = Instance.new('TextBox', Body) | |
1638 | ColTex4.Name = 'ColTex4' | |
1639 | ColTex4.BorderSizePixel = 2 | |
1640 | ColTex4.Position = UDim2.new(0,10,0,170)-- 72,5 | |
1641 | ColTex4.Size = UDim2.new(0,57.5,0,30) | |
1642 | ColTex4.Font = 'SourceSans' | |
1643 | ColTex4.FontSize = 'Size10' | |
1644 | ColTex4.Text = 'Pants id' | |
1645 | ColTex4.BackgroundColor3 = Color3.new(255,255,255) | |
1646 | ColTex4.TextColor3 = Color3.new(0,0,0) | |
1647 | ColTex4.TextWrapped = true | |
1648 | ||
1649 | local Chattext = Instance.new('TextBox', Body) | |
1650 | Chattext.Name = 'Chattext' | |
1651 | Chattext.BorderSizePixel = 2 | |
1652 | Chattext.Position = UDim2.new(0,125,0,-45)-- 72,5 | |
1653 | Chattext.Size = UDim2.new(0,157.5,0,40) | |
1654 | Chattext.Font = 'SourceSans' | |
1655 | Chattext.FontSize = 'Size12' | |
1656 | Chattext.Text = 'Beter chat ^-^ ' | |
1657 | Chattext.BackgroundColor3 = Color3.new(255,255,255) | |
1658 | Chattext.TextColor3 = Color3.new(0,0,0) | |
1659 | Chattext.TextWrapped = true | |
1660 | Chattext.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1661 | ||
1662 | local God = Instance.new('TextButton', Body) | |
1663 | God.Name = 'God' | |
1664 | God.BackgroundColor3 = Color3.new(21/255,142/255,255) | |
1665 | God.BackgroundTransparency = 0 | |
1666 | God.BorderSizePixel = 2 | |
1667 | God.Position = UDim2.new(0,10,0,50) | |
1668 | God.Size = UDim2.new(0,57.5,0,30) -- 135/2 = 57,5 | |
1669 | God.Font = 'SourceSansBold' | |
1670 | God.FontSize = 'Size18' | |
1671 | God.Text = 'Skin col' | |
1672 | God.TextColor3 = Color3.new(255,255,255) | |
1673 | God.TextWrapped = true | |
1674 | God.BorderColor3 = Color3.new(97/255,97/255,97/255) | |
1675 | God.TextStrokeTransparency = 1 | |
1676 | -- ===================================================================== | |
1677 | local Saypress = God:Clone() | |
1678 | Saypress.Name = 'Saypress' | |
1679 | Saypress.Parent = Body | |
1680 | Saypress.Position = UDim2.new(0,285.5,0,-35) | |
1681 | Saypress.Text = 'Say' | |
1682 | Saypress.BackgroundColor3 = Color3.new(.5,1,.5) | |
1683 | -- ===================================================================== | |
1684 | local TpTo = God:Clone() | |
1685 | TpTo.Name = 'TpTo' | |
1686 | TpTo.Parent = Body | |
1687 | TpTo.Position = UDim2.new(0,468.5,0,10) | |
1688 | TpTo.Text = 'Play' | |
1689 | TpTo.BackgroundColor3 = Color3.new(.5,1,.5) | |
1690 | -- ===================================================================== | |
1691 | local KillPlr = God:Clone() | |
1692 | KillPlr.Name = 'Shirtcol' | |
1693 | KillPlr.Parent = Body | |
1694 | KillPlr.Position = UDim2.new(0,10,0,90) | |
1695 | KillPlr.Text = 'Shirt col' | |
1696 | KillPlr.Size = UDim2.new(0,130,0,30) | |
1697 | -- ===================================================================== | |
1698 | local Haircol = God:Clone() | |
1699 | Haircol.Name = 'Haircol' | |
1700 | Haircol.Parent = Body | |
1701 | Haircol.Position = UDim2.new(0,82.5,0,50) | |
1702 | Haircol.Text = 'Hair col' | |
1703 | -- ===================================================================== 164 | |
1704 | ||
1705 | local TpMe = God:Clone() | |
1706 | TpMe.Name = 'Hat' | |
1707 | TpMe.Parent = Body | |
1708 | TpMe.Position = UDim2.new(0,164,0,90) | |
1709 | TpMe.Text = 'Hat 1' | |
1710 | TpMe.Size = UDim2.new(0,57.5,0,30) | |
1711 | TpMe.FontSize = 'Size18' | |
1712 | -- ===================================================================== | |
1713 | local TpMe2 = God:Clone() | |
1714 | TpMe2.Name = 'Hair' | |
1715 | TpMe2.Parent = Body | |
1716 | TpMe2.Position = UDim2.new(0,236.5,0,50) | |
1717 | TpMe2.Text = 'Hair 1' | |
1718 | TpMe2.Size = UDim2.new(0,57.5,0,30) | |
1719 | TpMe2.FontSize = 'Size18' | |
1720 | -- ===================================================================== | |
1721 | local G36K = God:Clone() | |
1722 | G36K.Name = 'SpawnG36k' | |
1723 | G36K.Parent = Body | |
1724 | G36K.Position = UDim2.new(0,162,0,10) | |
1725 | G36K.Text = 'Idle Pose' | |
1726 | G36K.Size = UDim2.new(0,135,0,30) | |
1727 | G36K.BackgroundColor3 = Color3.new(1,.5,.5) | |
1728 | G36K.FontSize = 'Size28' | |
1729 | -- ===================================================================== | |
1730 | local Tail = God:Clone() | |
1731 | Tail.Name = 'Tail' | |
1732 | Tail.Parent = Body | |
1733 | Tail.Position = UDim2.new(0,164,0,50) | |
1734 | Tail.Text = 'Tail 0' | |
1735 | -- ===================================================================== | |
1736 | local Torso2 = God:Clone() | |
1737 | Torso2.Name = 'Hair' | |
1738 | Torso2.Parent = Body | |
1739 | Torso2.Position = UDim2.new(0,236.5,0,90) | |
1740 | Torso2.Text = 'Torso 2' | |
1741 | Torso2.Size = UDim2.new(0,57.5,0,30) | |
1742 | Torso2.FontSize = 'Size18' | |
1743 | -- ===================================================================== | |
1744 | local Bkit = God:Clone() | |
1745 | Bkit.Name = 'Bkit' | |
1746 | Bkit.Parent = Body | |
1747 | Bkit.Position = UDim2.new(0,164,0,130) | |
1748 | Bkit.Text = 'Bkit 0' | |
1749 | Bkit.Size = UDim2.new(0,57.5,0,30) | |
1750 | Bkit.FontSize = 'Size18' | |
1751 | -- ===================================================================== | |
1752 | local Mouth = God:Clone() | |
1753 | Mouth.Name = 'Mouth' | |
1754 | Mouth.Parent = Body | |
1755 | Mouth.Position = UDim2.new(0,164,0,170) | |
1756 | Mouth.Text = 'Mouth 2' | |
1757 | Mouth.FontSize = 'Size18' | |
1758 | -- ===================================================================== (0,318.5,0,10) | |
1759 | local Eyes = God:Clone() | |
1760 | Eyes.Name = 'Eyes' | |
1761 | Eyes.Parent = Body | |
1762 | Eyes.Position = UDim2.new(0,236,0,130) | |
1763 | Eyes.Text = 'Eye 3' | |
1764 | Eyes.FontSize = 'Size18' | |
1765 | -- =====================================================================(0,391,0,10) | |
1766 | local mask = God:Clone() | |
1767 | mask.Name = 'mask' | |
1768 | mask.Parent = Body | |
1769 | mask.Position = UDim2.new(0,236,0,170) | |
1770 | mask.Text = 'Shy' | |
1771 | mask.FontSize = 'Size18' | |
1772 | mask.BackgroundColor3 = Color3.new(1,.5,.5) | |
1773 | -- ===================================================================== | |
1774 | local Shirtset = God:Clone() | |
1775 | Shirtset.Name = 'Shirtset' | |
1776 | Shirtset.Parent = Body | |
1777 | Shirtset.Position = UDim2.new(0,82.5,0,130) | |
1778 | Shirtset.Text = 'Set' | |
1779 | -- ===================================================================== | |
1780 | local Pantsset = God:Clone() | |
1781 | Pantsset.Name = 'Pantsset' | |
1782 | Pantsset.Parent = Body | |
1783 | Pantsset.Position = UDim2.new(0,82.5,0,170) | |
1784 | Pantsset.Text = 'Set' | |
1785 | ||
1786 | -- ===================================================================== 81,5 | |
1787 | local Bunny = God:Clone() | |
1788 | Bunny.Name = 'Bunny' | |
1789 | Bunny.Parent = Body | |
1790 | Bunny.Position = UDim2.new(0,318.5,0,50) | |
1791 | Bunny.Text = 'Bunny' | |
1792 | -- ===================================================================== 81,5 | |
1793 | local Noob = God:Clone() | |
1794 | Noob.Name = 'Noob' | |
1795 | Noob.Parent = Body | |
1796 | Noob.Position = UDim2.new(0,318.5,0,90) | |
1797 | Noob.Text = 'Noob' | |
1798 | -- ===================================================================== 81,5 | |
1799 | local Kitty = God:Clone() | |
1800 | Kitty.Name = 'Kitty' | |
1801 | Kitty.Parent = Body | |
1802 | Kitty.Position = UDim2.new(0,318.5,0,130) | |
1803 | Kitty.Text = 'Kitty' | |
1804 | ||
1805 | ||
1806 | ||
1807 | ||
1808 | ||
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | -- ********************************************************************* | |
1818 | ||
1819 | Saypress.MouseButton1Down:connect(function() | |
1820 | local ChatService = game:GetService("Chat") | |
1821 | ChatService:Chat(char.Head, "" .. Chattext.Text) | |
1822 | end) | |
1823 | ||
1824 | ||
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | ||
1830 | ||
1831 | ||
1832 | God.MouseButton1Down:connect(function() | |
1833 | BC.HeadColor = BrickColor.new(PlayerName.Text) | |
1834 | BC.LeftArmColor = BrickColor.new(PlayerName.Text) | |
1835 | BC.LeftLegColor = BrickColor.new(PlayerName.Text) | |
1836 | BC.RightArmColor = BrickColor.new(PlayerName.Text) | |
1837 | BC.RightLegColor = BrickColor.new(PlayerName.Text) | |
1838 | pn3.BrickColor = BrickColor.new(PlayerName.Text) | |
1839 | pn4.BrickColor = BrickColor.new(PlayerName.Text) | |
1840 | skin.BrickColor = BrickColor.new(PlayerName.Text) | |
1841 | end) | |
1842 | -- ===================================================================== | |
1843 | KillPlr.MouseButton1Down:connect(function() | |
1844 | pn.BrickColor = BrickColor.new(PlayerName.Text) | |
1845 | p.BrickColor = BrickColor.new(PlayerName.Text) | |
1846 | pn0.BrickColor = BrickColor.new(PlayerName.Text) | |
1847 | BC.TorsoColor = BrickColor.new(PlayerName.Text) | |
1848 | hat2.BrickColor = BrickColor.new(PlayerName.Text) | |
1849 | hat3.BrickColor = BrickColor.new(PlayerName.Text) | |
1850 | pn5.BrickColor = BrickColor.new(PlayerName.Text) | |
1851 | pn7.BrickColor = BrickColor.new(PlayerName.Text) | |
1852 | pn8.BrickColor = BrickColor.new(PlayerName.Text) | |
1853 | pn9.BrickColor = BrickColor.new(PlayerName.Text) | |
1854 | tail3.BrickColor = BrickColor.new(PlayerName.Text) | |
1855 | end) | |
1856 | -- ===================================================================== | |
1857 | TpTo.MouseButton1Down:connect(function() | |
1858 | if Playing == false and Pressed == false then | |
1859 | TpTo.BackgroundColor3 = Color3.new(1,.5,.5) | |
1860 | TpTo.Text = 'Stop' | |
1861 | Pressed = true | |
1862 | radio.Transparency = 0 | |
1863 | GlowParticle.Transparency = NumberSequence.new(.3,.8) | |
1864 | GlowParticle2.Transparency = NumberSequence.new(.3,.8) | |
1865 | GlowParticle3.Transparency = NumberSequence.new(.3,.8) | |
1866 | wait() | |
1867 | sound:Play() | |
1868 | Playing = true | |
1869 | end | |
1870 | if Playing == true and Pressed == false then | |
1871 | TpTo.BackgroundColor3 = Color3.new(.5,1,.5) | |
1872 | TpTo.Text = 'Play' | |
1873 | Pressed = true | |
1874 | radio.Transparency = 1 | |
1875 | GlowParticle.Transparency = NumberSequence.new(1) | |
1876 | GlowParticle2.Transparency = NumberSequence.new(1) | |
1877 | GlowParticle3.Transparency = NumberSequence.new(1) | |
1878 | wait() | |
1879 | sound:Stop() | |
1880 | Playing = false | |
1881 | end | |
1882 | wait() | |
1883 | Pressed = false | |
1884 | end) | |
1885 | -- ===================================================================== | |
1886 | TpMe.MouseButton1Down:connect(function() | |
1887 | if Hat1 == true and Pressed == false then | |
1888 | TpMe.Text = 'Hat 2' | |
1889 | pn0.Transparency = 1 | |
1890 | hat2.Transparency = 0 | |
1891 | Pressed = true | |
1892 | wait() | |
1893 | Hat1 = false | |
1894 | Hat2 = true | |
1895 | end | |
1896 | if Hat2 == true and Pressed == false then | |
1897 | TpMe.Text = 'Hat 3' | |
1898 | hat2.Transparency = 1 | |
1899 | hat3.Transparency = 0 | |
1900 | Pressed = true | |
1901 | wait() | |
1902 | Hat2 = false | |
1903 | Hat3 = true | |
1904 | end | |
1905 | if Hat3 == true and Pressed == false then | |
1906 | TpMe.Text = 'Hat 0' | |
1907 | hat3.Transparency = 1 | |
1908 | Pressed = true | |
1909 | wait() | |
1910 | Hat3 = false | |
1911 | Hat0 = true | |
1912 | end | |
1913 | if Hat0 == true and Pressed == false then | |
1914 | TpMe.Text = 'Hat 1' | |
1915 | pn0.Transparency = 0 | |
1916 | Pressed = true | |
1917 | wait() | |
1918 | Hat3 = false | |
1919 | Hat1 = true | |
1920 | end | |
1921 | wait() | |
1922 | Pressed = false | |
1923 | end) | |
1924 | -- ===================================================================== | |
1925 | G36K.MouseButton1Down:connect(function() | |
1926 | if Anim2 == false and Pressed == false then | |
1927 | G36K.BackgroundColor3 = Color3.new(1,.5,.5) | |
1928 | Pressed = true | |
1929 | wait() | |
1930 | Anim2 = true | |
1931 | end | |
1932 | if Anim2 == true and Pressed == false then | |
1933 | G36K.BackgroundColor3 = Color3.new(.5,1,.5) | |
1934 | Pressed = true | |
1935 | wait() | |
1936 | Anim2 = false | |
1937 | end | |
1938 | wait() | |
1939 | Pressed = false | |
1940 | end) | |
1941 | -- ===================================================================== | |
1942 | TpMe2.MouseButton1Down:connect(function() | |
1943 | if Hair1 == true and Pressed == false then | |
1944 | TpMe2.Text = 'Hair 2' | |
1945 | Hood.Transparency = 1 | |
1946 | pn6.Transparency = 1 | |
1947 | hair2.Transparency = 0 | |
1948 | Pressed = true | |
1949 | wait() | |
1950 | Hair1 = false | |
1951 | Hair2 = true | |
1952 | end | |
1953 | if Hair2 == true and Pressed == false then | |
1954 | TpMe2.Text = 'Hair 3' | |
1955 | Hood.Transparency = 0 | |
1956 | pn6.Transparency = 1 | |
1957 | hair2.Transparency = 1 | |
1958 | Pressed = true | |
1959 | wait() | |
1960 | Hair2 = false | |
1961 | Hair3 = true | |
1962 | end | |
1963 | if Hair3 == true and Pressed == false then | |
1964 | TpMe2.Text = 'Hair 0' | |
1965 | Hood.Transparency = 1 | |
1966 | pn6.Transparency = 1 | |
1967 | hair2.Transparency = 1 | |
1968 | Pressed = true | |
1969 | wait() | |
1970 | Hair3 = false | |
1971 | Hair0 = true | |
1972 | end | |
1973 | if Hair0 == true and Pressed == false then | |
1974 | TpMe2.Text = 'Hair 1' | |
1975 | Hood.Transparency = 0 | |
1976 | pn6.Transparency = 0 | |
1977 | hair2.Transparency = 0 | |
1978 | Pressed = true | |
1979 | wait() | |
1980 | Hair0 = false | |
1981 | Hair1 = true | |
1982 | end | |
1983 | wait() | |
1984 | Pressed = false | |
1985 | end) | |
1986 | -- ===================================================================== | |
1987 | Haircol.MouseButton1Down:connect(function() | |
1988 | hair2.BrickColor = BrickColor.new(PlayerName.Text) | |
1989 | Hood.BrickColor = BrickColor.new(PlayerName.Text) | |
1990 | pn6.BrickColor = BrickColor.new(PlayerName.Text) | |
1991 | end) | |
1992 | -- ===================================================================== | |
1993 | Tail.MouseButton1Down:connect(function() | |
1994 | if Tail1 == true and Pressed == false then | |
1995 | Tail.Text = 'Tail 2' | |
1996 | pn5.Transparency = 1 | |
1997 | pn7.Transparency = 1 | |
1998 | pn8.Transparency = 1 | |
1999 | pn9.Transparency = 1 | |
2000 | tail2.Transparency = 0 | |
2001 | Pressed = true | |
2002 | wait() | |
2003 | Tail1 = false | |
2004 | Tail2 = true | |
2005 | end | |
2006 | if Tail2 == true and Pressed == false then | |
2007 | Tail.Text = 'Tail 3' | |
2008 | tail2.Transparency = 1 | |
2009 | tail3.Transparency = 0 | |
2010 | Pressed = true | |
2011 | wait() | |
2012 | Tail2 = false | |
2013 | Tail3 = true | |
2014 | end | |
2015 | if Tail3 == true and Pressed == false then | |
2016 | Tail.Text = 'Tail 0' | |
2017 | tail3.Transparency = 1 | |
2018 | Pressed = true | |
2019 | wait() | |
2020 | Tail3 = false | |
2021 | Tail0 = true | |
2022 | end | |
2023 | if Tail0 == true and Pressed == false then | |
2024 | Tail.Text = 'Tail 1' | |
2025 | pn5.Transparency = 0 | |
2026 | pn7.Transparency = 0 | |
2027 | pn8.Transparency = 0 | |
2028 | pn9.Transparency = 0 | |
2029 | Pressed = true | |
2030 | wait() | |
2031 | Tail0 = false | |
2032 | Tail1 = true | |
2033 | end | |
2034 | wait() | |
2035 | Pressed = false | |
2036 | end) | |
2037 | -- ===================================================================== | |
2038 | Torso2.MouseButton1Down:connect(function() | |
2039 | if torso1 == true and Pressed == false then | |
2040 | Pressed = true | |
2041 | M69.MeshId = "rbxassetid://456901040" | |
2042 | M69.Scale = Vector3.new( 1, 1, 1) | |
2043 | Torso2.Text = 'Torso 2' | |
2044 | wait() | |
2045 | torso1 = false | |
2046 | torso2 = true | |
2047 | end | |
2048 | if torso2 == true and Pressed == false then | |
2049 | Pressed = true | |
2050 | M69.MeshId = "rbxassetid://48112070" | |
2051 | M69.Scale = Vector3.new( 1.093, 1, 1) | |
2052 | Torso2.Text = 'Torso 1' | |
2053 | wait() | |
2054 | torso1 = true | |
2055 | torso2 = false | |
2056 | end | |
2057 | wait() | |
2058 | Pressed = false | |
2059 | end) | |
2060 | -- ===================================================================== | |
2061 | Bkit.MouseButton1Down:connect(function() | |
2062 | if bkit1 == true and Pressed == false then | |
2063 | Pressed = true | |
2064 | p.Transparency = 0 | |
2065 | pn.Transparency = 0 | |
2066 | pn3.Transparency = 1 | |
2067 | pn4.Transparency = 1 | |
2068 | skin.Transparency = 1 | |
2069 | Bkit.Text = 'Bkit 2' | |
2070 | wait() | |
2071 | bkit1 = false | |
2072 | bkit2 = true | |
2073 | end | |
2074 | if bkit2 == true and Pressed == false then | |
2075 | Pressed = true | |
2076 | p.Transparency = 1 | |
2077 | pn.Transparency = 1 | |
2078 | pn3.Transparency = 1 | |
2079 | pn4.Transparency = 1 | |
2080 | skin.Transparency = 1 | |
2081 | Bkit.Text = 'Bkit 0' | |
2082 | wait() | |
2083 | bkit2 = false | |
2084 | bkit0 = true | |
2085 | end | |
2086 | if bkit0 == true and Pressed == false then | |
2087 | Pressed = true | |
2088 | p.Transparency = 0 | |
2089 | pn.Transparency = 0 | |
2090 | pn3.Transparency = 0 | |
2091 | pn4.Transparency = 0 | |
2092 | skin.Transparency = 0 | |
2093 | Bkit.Text = 'Bkit 1' | |
2094 | wait() | |
2095 | bkit0 = false | |
2096 | bkit1 = true | |
2097 | end | |
2098 | wait() | |
2099 | Pressed = false | |
2100 | end) | |
2101 | -- ===================================================================== | |
2102 | Mouth.MouseButton1Down:connect(function() | |
2103 | ----2----- | |
2104 | if mouth1 == true and Pressed == false then | |
2105 | Mouth.Text = 'Mouth 2' | |
2106 | newface.Texture = "rbxassetid://186681690" | |
2107 | Orbd.Transparency = 1 | |
2108 | Pressed = true | |
2109 | wait() | |
2110 | mouth1 = false | |
2111 | mouth2 = true | |
2112 | end | |
2113 | ----3----- | |
2114 | if mouth2 == true and Pressed == false then | |
2115 | Mouth.Text = 'Mouth 3' | |
2116 | newface.Texture = "rbxassetid://322781877" | |
2117 | Orbd.Transparency = 1 | |
2118 | Pressed = true | |
2119 | wait() | |
2120 | mouth2 = false | |
2121 | mouth3 = true | |
2122 | end | |
2123 | ----4----- | |
2124 | if mouth3 == true and Pressed == false then | |
2125 | Mouth.Text = 'Mouth 4' | |
2126 | newface.Texture = "rbxassetid://186682603" | |
2127 | Orbd.Transparency = 1 | |
2128 | Pressed = true | |
2129 | wait() | |
2130 | mouth3 = false | |
2131 | mouth4 = true | |
2132 | end | |
2133 | ----5----- | |
2134 | if mouth4 == true and Pressed == false then | |
2135 | Mouth.Text = 'Mouth 5' | |
2136 | newface.Texture = "rbxassetid://133379869" | |
2137 | Orbd.Transparency = 1 | |
2138 | Pressed = true | |
2139 | wait() | |
2140 | mouth4 = false | |
2141 | mouth5 = true | |
2142 | end | |
2143 | ----6----- | |
2144 | if mouth5 == true and Pressed == false then | |
2145 | Mouth.Text = 'Mouth 6' | |
2146 | newface.Texture = "rbxassetid://186683091" | |
2147 | Orbd.Transparency = 1 | |
2148 | Pressed = true | |
2149 | wait() | |
2150 | mouth5 = false | |
2151 | mouth6 = true | |
2152 | end | |
2153 | ----7----- | |
2154 | if mouth6 == true and Pressed == false then | |
2155 | Mouth.Text = 'Mouth 7' | |
2156 | newface.Texture = "rbxassetid://186682277" | |
2157 | Orbd.Transparency = 1 | |
2158 | Pressed = true | |
2159 | wait() | |
2160 | mouth6 = false | |
2161 | mouth7 = true | |
2162 | end | |
2163 | ----1----- | |
2164 | if mouth7 == true and Pressed == false then | |
2165 | Mouth.Text = 'Mouth 1' | |
2166 | newface.Texture = "rbxassetid://" | |
2167 | Orbd.Transparency = 0 | |
2168 | Pressed = true | |
2169 | wait() | |
2170 | mouth6 = false | |
2171 | mouth1 = true | |
2172 | end | |
2173 | ---------- | |
2174 | wait() | |
2175 | Pressed = false | |
2176 | end) | |
2177 | -- ===================================================================== | |
2178 | Eyes.MouseButton1Down:connect(function() | |
2179 | if eye3 == true and Pressed == false then | |
2180 | Pressed = true | |
2181 | char.Head.face.Texture = "rbxassetid://176204308" | |
2182 | Eyes.Text = 'Eye 1' | |
2183 | wait() | |
2184 | eye3 = false | |
2185 | eye1 = true | |
2186 | end | |
2187 | if eye1 == true and Pressed == false then | |
2188 | Pressed = true | |
2189 | char.Head.face.Texture = "rbxassetid://176210835" | |
2190 | Eyes.Text = 'Eye 2' | |
2191 | wait() | |
2192 | eye1 = false | |
2193 | eye2 = true | |
2194 | end | |
2195 | if eye2 == true and Pressed == false then | |
2196 | Pressed = true | |
2197 | char.Head.face.Texture = "rbxassetid://176206791" | |
2198 | Eyes.Text = 'Eye 3' | |
2199 | wait() | |
2200 | eye2 = false | |
2201 | eye3 = true | |
2202 | end | |
2203 | wait() | |
2204 | Pressed = false | |
2205 | end) | |
2206 | -- ===================================================================== | |
2207 | mask.MouseButton1Down:connect(function() | |
2208 | if MaskOn == true and Pressed == false then | |
2209 | Mask.Transparency = 1 | |
2210 | Pressed = true | |
2211 | mask.BackgroundColor3 = Color3.new(1,.5,.5) | |
2212 | wait() | |
2213 | MaskOn = false | |
2214 | MaskOff = true | |
2215 | end | |
2216 | if MaskOff == true and Pressed == false then | |
2217 | Mask.Transparency = 0 | |
2218 | Pressed = true | |
2219 | mask.BackgroundColor3 = Color3.new(.5,1,.5) | |
2220 | wait() | |
2221 | MaskOn = true | |
2222 | MaskOff = false | |
2223 | end | |
2224 | wait() | |
2225 | Pressed = false | |
2226 | end) | |
2227 | -- ===================================================================== | |
2228 | Shirtset.MouseButton1Down:connect(function() | |
2229 | char049.Shirt.ShirtTemplate = "rbxassetid://" .. ColTex3.Text | |
2230 | end) | |
2231 | -- ===================================================================== | |
2232 | Pantsset.MouseButton1Down:connect(function() | |
2233 | char049.Pants.PantsTemplate = "rbxassetid://" .. ColTex4.Text | |
2234 | end) | |
2235 | -- ===================================================================== | |
2236 | Bunny.MouseButton1Down:connect(function() | |
2237 | -------------- | |
2238 | MaskOn = true | |
2239 | MaskOff = false | |
2240 | -------------- | |
2241 | Anim2 = false | |
2242 | -------------- | |
2243 | eye1 = true | |
2244 | eye2 = false | |
2245 | eye3 = false | |
2246 | -------------- | |
2247 | mouth1 = false | |
2248 | mouth2 = false | |
2249 | mouth3 = false | |
2250 | mouth4 = true | |
2251 | mouth5 = false | |
2252 | mouth6 = false | |
2253 | mouth7 = false | |
2254 | -------------- | |
2255 | bkit0 = false | |
2256 | bkit1 = true | |
2257 | bkit2 = false | |
2258 | -------------- | |
2259 | torso1 = true | |
2260 | torso2 = false | |
2261 | -------------- | |
2262 | Tail0 = false | |
2263 | Tail1 = false | |
2264 | Tail2 = true | |
2265 | Tail3 = false | |
2266 | -------------- | |
2267 | Hair0 = false | |
2268 | Hair1 = false | |
2269 | Hair2 = true | |
2270 | Hair3 = false | |
2271 | -------------- | |
2272 | Hat0 = false | |
2273 | Hat1 = false | |
2274 | Hat2 = true | |
2275 | Hat3 = false | |
2276 | -------------- | |
2277 | char.Head.face.Texture = "rbxassetid://176204308" | |
2278 | Eyes.Text = 'Eye 1' | |
2279 | -------------- | |
2280 | Mouth.Text = 'Mouth 4' | |
2281 | newface.Texture = "rbxassetid://186682603" | |
2282 | Orbd.Transparency = 1 | |
2283 | -------------- | |
2284 | p.Transparency = 0 | |
2285 | pn.Transparency = 0 | |
2286 | pn3.Transparency = 0 | |
2287 | pn4.Transparency = 0 | |
2288 | skin.Transparency = 0 | |
2289 | Bkit.Text = 'Bkit 1' | |
2290 | -------------- | |
2291 | M69.MeshId = "rbxassetid://48112070" | |
2292 | M69.Scale = Vector3.new( 1.093, 1, 1) | |
2293 | Torso2.Text = 'Torso 1' | |
2294 | -------------- | |
2295 | Tail.Text = 'Tail 2' | |
2296 | pn5.Transparency = 1 | |
2297 | pn7.Transparency = 1 | |
2298 | pn8.Transparency = 1 | |
2299 | pn9.Transparency = 1 | |
2300 | tail2.Transparency = 0 | |
2301 | tail3.Transparency = 1 | |
2302 | -------------- | |
2303 | hair2.BrickColor = BrickColor.new("Cool yellow") | |
2304 | Hood.BrickColor = BrickColor.new("Cool yellow") | |
2305 | pn6.BrickColor = BrickColor.new("Cool yellow") | |
2306 | -------------- | |
2307 | TpMe2.Text = 'Hair 2' | |
2308 | Hood.Transparency = 1 | |
2309 | pn6.Transparency = 1 | |
2310 | hair2.Transparency = 0 | |
2311 | -------------- | |
2312 | TpMe.Text = 'Hat 2' | |
2313 | pn0.Transparency = 1 | |
2314 | hat2.Transparency = 0 | |
2315 | hat3.Transparency = 1 | |
2316 | -------------- | |
2317 | pn.BrickColor = BrickColor.new("Really black") | |
2318 | p.BrickColor = BrickColor.new("Really black") | |
2319 | pn0.BrickColor = BrickColor.new("Really black") | |
2320 | BC.TorsoColor = BrickColor.new("Really black") | |
2321 | hat2.BrickColor = BrickColor.new("Really black") | |
2322 | hat3.BrickColor = BrickColor.new("Really black") | |
2323 | pn5.BrickColor = BrickColor.new("Really black") | |
2324 | pn7.BrickColor = BrickColor.new("Really black") | |
2325 | pn8.BrickColor = BrickColor.new("Really black") | |
2326 | pn9.BrickColor = BrickColor.new("Really black") | |
2327 | tail3.BrickColor = BrickColor.new("Really black") | |
2328 | -------------- | |
2329 | BC.HeadColor = BrickColor.new("Pastel brown") | |
2330 | BC.LeftArmColor = BrickColor.new("Pastel brown") | |
2331 | BC.LeftLegColor = BrickColor.new("Pastel brown") | |
2332 | BC.RightArmColor = BrickColor.new("Pastel brown") | |
2333 | BC.RightLegColor = BrickColor.new("Pastel brown") | |
2334 | pn3.BrickColor = BrickColor.new("Pastel brown") | |
2335 | pn4.BrickColor = BrickColor.new("Pastel brown") | |
2336 | skin.BrickColor = BrickColor.new("Pastel brown") | |
2337 | -------------- | |
2338 | char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556" | |
2339 | char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=145038586" | |
2340 | -------------- | |
2341 | Mask.Transparency = 0 | |
2342 | mask.BackgroundColor3 = Color3.new(.5,1,.5) | |
2343 | -------------- | |
2344 | G36K.BackgroundColor3 = Color3.new(.5,1,.5) | |
2345 | end) | |
2346 | -- ===================================================================== | |
2347 | ||
2348 | Noob.MouseButton1Down:connect(function() | |
2349 | -------------- | |
2350 | MaskOn = true | |
2351 | MaskOff = false | |
2352 | -------------- | |
2353 | Anim2 = true | |
2354 | -------------- | |
2355 | eye1 = false | |
2356 | eye2 = false | |
2357 | eye3 = true | |
2358 | -------------- | |
2359 | mouth1 = false | |
2360 | mouth2 = true | |
2361 | mouth3 = false | |
2362 | mouth4 = false | |
2363 | mouth5 = false | |
2364 | mouth6 = false | |
2365 | mouth7 = false | |
2366 | -------------- | |
2367 | bkit0 = true | |
2368 | bkit1 = false | |
2369 | bkit2 = false | |
2370 | -------------- | |
2371 | torso1 = false | |
2372 | torso2 = true | |
2373 | -------------- | |
2374 | Tail0 = true | |
2375 | Tail1 = false | |
2376 | Tail2 = false | |
2377 | Tail3 = false | |
2378 | -------------- | |
2379 | Hair0 = true | |
2380 | Hair1 = false | |
2381 | Hair2 = false | |
2382 | Hair3 = false | |
2383 | -------------- | |
2384 | Hat0 = true | |
2385 | Hat1 = false | |
2386 | Hat2 = false | |
2387 | Hat3 = false | |
2388 | -------------- | |
2389 | char.Head.face.Texture = "rbxassetid://176206791" | |
2390 | Eyes.Text = 'Eye 3' | |
2391 | -------------- | |
2392 | Mouth.Text = 'Mouth 2' | |
2393 | newface.Texture = "rbxassetid://186681690" | |
2394 | Orbd.Transparency = 1 | |
2395 | -------------- | |
2396 | p.Transparency = 1 | |
2397 | pn.Transparency = 1 | |
2398 | pn3.Transparency = 1 | |
2399 | pn4.Transparency = 1 | |
2400 | skin.Transparency = 1 | |
2401 | Bkit.Text = 'Bkit 0' | |
2402 | -------------- | |
2403 | M69.MeshId = "rbxassetid://456901040" | |
2404 | M69.Scale = Vector3.new( 1, 1, 1) | |
2405 | Torso2.Text = 'Torso 2' | |
2406 | -------------- | |
2407 | Tail.Text = 'Tail 0' | |
2408 | pn5.Transparency = 1 | |
2409 | pn7.Transparency = 1 | |
2410 | pn8.Transparency = 1 | |
2411 | pn9.Transparency = 1 | |
2412 | tail2.Transparency = 1 | |
2413 | tail3.Transparency = 1 | |
2414 | -------------- | |
2415 | hair2.BrickColor = BrickColor.new("Black") | |
2416 | Hood.BrickColor = BrickColor.new("Black") | |
2417 | pn6.BrickColor = BrickColor.new("Black") | |
2418 | -------------- | |
2419 | TpMe2.Text = 'Hair 0' | |
2420 | Hood.Transparency = 1 | |
2421 | pn6.Transparency = 1 | |
2422 | hair2.Transparency = 1 | |
2423 | -------------- | |
2424 | TpMe.Text = 'Hat 0' | |
2425 | pn0.Transparency = 1 | |
2426 | hat2.Transparency = 1 | |
2427 | hat3.Transparency = 1 | |
2428 | -------------- | |
2429 | pn.BrickColor = BrickColor.new("Deep blue") | |
2430 | p.BrickColor = BrickColor.new("Deep blue") | |
2431 | pn0.BrickColor = BrickColor.new("Deep blue") | |
2432 | BC.TorsoColor = BrickColor.new("Deep blue") | |
2433 | hat2.BrickColor = BrickColor.new("Deep blue") | |
2434 | hat3.BrickColor = BrickColor.new("Deep blue") | |
2435 | pn5.BrickColor = BrickColor.new("Deep blue") | |
2436 | pn7.BrickColor = BrickColor.new("Deep blue") | |
2437 | pn8.BrickColor = BrickColor.new("Deep blue") | |
2438 | pn9.BrickColor = BrickColor.new("Deep blue") | |
2439 | tail3.BrickColor = BrickColor.new("Deep blue") | |
2440 | -------------- | |
2441 | BC.HeadColor = BrickColor.new("Bright yellow") | |
2442 | BC.LeftArmColor = BrickColor.new("Bright yellow") | |
2443 | BC.LeftLegColor = BrickColor.new("Br. yellowish green") | |
2444 | BC.RightArmColor = BrickColor.new("Bright yellow") | |
2445 | BC.RightLegColor = BrickColor.new("Br. yellowish green") | |
2446 | pn3.BrickColor = BrickColor.new("Bright yellow") | |
2447 | pn4.BrickColor = BrickColor.new("Bright yellow") | |
2448 | skin.BrickColor = BrickColor.new("Bright yellow") | |
2449 | -------------- | |
2450 | char049.Shirt.ShirtTemplate = "rbxassetid://" | |
2451 | char049.Pants.PantsTemplate = "rbxassetid://" | |
2452 | -------------- | |
2453 | Mask.Transparency = 1 | |
2454 | mask.BackgroundColor3 = Color3.new(1,.5,.5) | |
2455 | -------------- | |
2456 | G36K.BackgroundColor3 = Color3.new(1,.5,.5) | |
2457 | end) | |
2458 | ||
2459 | -- ===================================================================== | |
2460 | Kitty.MouseButton1Down:connect(function() | |
2461 | ||
2462 | -------------- | |
2463 | MaskOn = true | |
2464 | MaskOff = false | |
2465 | -------------- | |
2466 | Anim2 = false | |
2467 | -------------- | |
2468 | eye1 = false | |
2469 | eye2 = true | |
2470 | eye3 = false | |
2471 | -------------- | |
2472 | mouth1 = false | |
2473 | mouth2 = false | |
2474 | mouth3 = false | |
2475 | mouth4 = true | |
2476 | mouth5 = false | |
2477 | mouth6 = false | |
2478 | mouth7 = false | |
2479 | -------------- | |
2480 | bkit0 = false | |
2481 | bkit1 = true | |
2482 | bkit2 = false | |
2483 | -------------- | |
2484 | torso1 = true | |
2485 | torso2 = false | |
2486 | -------------- | |
2487 | Tail0 = false | |
2488 | Tail1 = false | |
2489 | Tail2 = false | |
2490 | Tail3 = true | |
2491 | -------------- | |
2492 | Hair0 = false | |
2493 | Hair1 = true | |
2494 | Hair2 = false | |
2495 | Hair3 = false | |
2496 | -------------- | |
2497 | Hat0 = false | |
2498 | Hat1 = false | |
2499 | Hat2 = false | |
2500 | Hat3 = true | |
2501 | -------------- | |
2502 | char.Head.face.Texture = "rbxassetid://176210835" | |
2503 | Eyes.Text = 'Eye 2' | |
2504 | -------------- | |
2505 | Mouth.Text = 'Mouth 4' | |
2506 | newface.Texture = "rbxassetid://186682603" | |
2507 | Orbd.Transparency = 1 | |
2508 | -------------- | |
2509 | p.Transparency = 0 | |
2510 | pn.Transparency = 0 | |
2511 | pn3.Transparency = 0 | |
2512 | pn4.Transparency = 0 | |
2513 | skin.Transparency = 0 | |
2514 | Bkit.Text = 'Bkit 1' | |
2515 | -------------- | |
2516 | M69.MeshId = "rbxassetid://48112070" | |
2517 | M69.Scale = Vector3.new( 1.093, 1, 1) | |
2518 | Torso2.Text = 'Torso 1' | |
2519 | -------------- | |
2520 | Tail.Text = 'Tail 3' | |
2521 | pn5.Transparency = 1 | |
2522 | pn7.Transparency = 1 | |
2523 | pn8.Transparency = 1 | |
2524 | pn9.Transparency = 1 | |
2525 | tail2.Transparency = 1 | |
2526 | tail3.Transparency = 0 | |
2527 | -------------- | |
2528 | hair2.BrickColor = BrickColor.new("White") | |
2529 | Hood.BrickColor = BrickColor.new("White") | |
2530 | pn6.BrickColor = BrickColor.new("White") | |
2531 | -------------- | |
2532 | TpMe2.Text = 'Hair 1' | |
2533 | Hood.Transparency = 0 | |
2534 | pn6.Transparency = 0 | |
2535 | hair2.Transparency = 0 | |
2536 | -------------- | |
2537 | TpMe.Text = 'Hat 3' | |
2538 | pn0.Transparency = 1 | |
2539 | hat2.Transparency = 1 | |
2540 | hat3.Transparency = 0 | |
2541 | -------------- | |
2542 | pn.BrickColor = BrickColor.new("Really black") | |
2543 | p.BrickColor = BrickColor.new("Really black") | |
2544 | pn0.BrickColor = BrickColor.new("Really black") | |
2545 | BC.TorsoColor = BrickColor.new("Really black") | |
2546 | hat2.BrickColor = BrickColor.new("Really black") | |
2547 | hat3.BrickColor = BrickColor.new("Really black") | |
2548 | pn5.BrickColor = BrickColor.new("Really black") | |
2549 | pn7.BrickColor = BrickColor.new("Really black") | |
2550 | pn8.BrickColor = BrickColor.new("Really black") | |
2551 | pn9.BrickColor = BrickColor.new("Really black") | |
2552 | tail3.BrickColor = BrickColor.new("Really black") | |
2553 | -------------- | |
2554 | BC.HeadColor = BrickColor.new("Fossil") | |
2555 | BC.LeftArmColor = BrickColor.new("Fossil") | |
2556 | BC.LeftLegColor = BrickColor.new("Fossil") | |
2557 | BC.RightArmColor = BrickColor.new("Fossil") | |
2558 | BC.RightLegColor = BrickColor.new("Fossil") | |
2559 | pn3.BrickColor = BrickColor.new("Fossil") | |
2560 | pn4.BrickColor = BrickColor.new("Fossil") | |
2561 | skin.BrickColor = BrickColor.new("Fossil") | |
2562 | -------------- | |
2563 | char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556" | |
2564 | char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=78589488" | |
2565 | -------------- | |
2566 | Mask.Transparency = 0 | |
2567 | mask.BackgroundColor3 = Color3.new(.5,1,.5) | |
2568 | -------------- | |
2569 | G36K.BackgroundColor3 = Color3.new(.5,1,.5) | |
2570 | end) | |
2571 | ||
2572 | -- ===================================================================== | |
2573 | ||
2574 | ||
2575 | ||
2576 | ||
2577 | ||
2578 | ||
2579 | ||
2580 | ||
2581 | ||
2582 | Close.MouseButton1Down:connect(function() | |
2583 | if Body.Visible == true then | |
2584 | Body.Visible = false | |
2585 | Close.Text = '+' | |
2586 | Title.FontSize = 'Size24' | |
2587 | Pull.Size = UDim2(0,125,0,12.5) | |
2588 | elseif Body.Visible == false then | |
2589 | Body.Visible = true | |
2590 | Close.Text = 'X' | |
2591 | Title.FontSize = 'Size48' | |
2592 | Graf_f.Size = UDim2(0,500,0,50) | |
2593 | end | |
2594 | end) | |
2595 | ||
2596 | ||
2597 | ||
2598 | ||
2599 | ||
2600 | --------------------------------------------------------------------------------- | |
2601 | ||
2602 | ||
2603 | ||
2604 | ||
2605 | ||
2606 | ||
2607 | ||
2608 | ||
2609 | local mesh = Instance.new("SpecialMesh",radio) | |
2610 | mesh.MeshId = "http://www.roblox.com/asset/?id=151760030" | |
2611 | mesh.TextureId = "rbxassetid://151760072" | |
2612 | mesh.Scale = Vector3.new(.7, .7, .7) | |
2613 | ||
2614 | ||
2615 | ||
2616 | ||
2617 | ||
2618 | ||
2619 | ||
2620 | ||
2621 | ||
2622 | ||
2623 | ||
2624 | ||
2625 | ||
2626 | ||
2627 | ||
2628 | ||
2629 | ColTex2.Changed:connect(function() | |
2630 | sound.SoundId = "rbxassetid://" .. ColTex2.Text | |
2631 | end) | |
2632 | ||
2633 | ||
2634 | ||
2635 | while true do | |
2636 | if Playing then | |
2637 | ||
2638 | ||
2639 | ||
2640 | ||
2641 | ||
2642 | ||
2643 | mesh.Scale = Vector3.new(.71, .71, .71) | |
2644 | wait(.000001) | |
2645 | mesh.Scale = Vector3.new(.709, .709, .709) | |
2646 | wait(.000001) | |
2647 | mesh.Scale = Vector3.new(.708, .708, .708) | |
2648 | wait(.000001) | |
2649 | mesh.Scale = Vector3.new(.707, .707, .707) | |
2650 | wait(.000001) | |
2651 | mesh.Scale = Vector3.new(.706, .706, .706) | |
2652 | wait(.000001) | |
2653 | mesh.Scale = Vector3.new(.705, .705, .705) | |
2654 | wait(.000001) | |
2655 | mesh.Scale = Vector3.new(.704, .704, .704) | |
2656 | wait(.000001) | |
2657 | mesh.Scale = Vector3.new(.703, .703, .703) | |
2658 | wait(.000001) | |
2659 | mesh.Scale = Vector3.new(.702, .702, .702) | |
2660 | wait(.000001) | |
2661 | mesh.Scale = Vector3.new(.701, .701, .701) | |
2662 | wait(.000001) | |
2663 | ||
2664 | ||
2665 | ||
2666 | ||
2667 | mesh.Scale = Vector3.new(.7, .7, .7) | |
2668 | end | |
2669 | wait(.2) | |
2670 | ||
2671 | ||
2672 | ||
2673 | ||
2674 | ||
2675 | ||
2676 | end |