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