SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | wait(0) |
2 | - | --[[dont u even dare take credit |
2 | + | Player = game.Players.LocalPlayer |
3 | - | cus dis mai law ok and if u break my law i keel u in sb |
3 | + | |
4 | - | |
4 | + | local count = 0 |
5 | - | btw there's no point in re-naming "LocalPlayer" to "YOURNAMEHERE" or whatever, localplayer is the CLIENT itself. |
5 | + | local countspeed = 1 |
6 | - | + i did a small update so you still have your clothes on when small ok? |
6 | + | local sine = 0 |
7 | - | + ok wtf you need to stop using this i have regrets upon using it because it was made in 2014 ok |
7 | + | local sinespeed = 1 |
8 | - | my anims have improved so much that you haven't seen my latest works |
8 | + | local angle = nil |
9 | - | ~AmbientOcclusion (formerly madiik) |
9 | + | local global_wait = 0 |
10 | - | ]]-- |
10 | + | local showtag = false |
11 | - | |
11 | + | |
12 | - | local ran,err = ypcall(function() |
12 | + | |
13 | - | plr = game:service'Players'.LocalPlayer |
13 | + | --dance booleans-- |
14 | - | char = plr.Character |
14 | + | local jerk = false |
15 | - | mouse = plr:GetMouse() |
15 | + | local party = false |
16 | - | humanoid = char:findFirstChild("Humanoid") |
16 | + | local canttouch = false |
17 | - | torso = char:findFirstChild("Torso") |
17 | + | local happy = false |
18 | - | head = char.Head |
18 | + | local spin = false |
19 | - | ra = char:findFirstChild("Right Arm") |
19 | + | local thriller = false |
20 | - | la = char:findFirstChild("Left Arm") |
20 | + | local barrel = false |
21 | - | rl = char:findFirstChild("Right Leg") |
21 | + | local sax = false |
22 | - | ll = char:findFirstChild("Left Leg") |
22 | + | local spooky = false |
23 | - | rs = torso:findFirstChild("Right Shoulder") |
23 | + | local stride = false |
24 | - | ls = torso:findFirstChild("Left Shoulder") |
24 | + | local shuffle = false |
25 | - | rh = torso:findFirstChild("Right Hip") |
25 | + | local rock = false |
26 | - | lh = torso:findFirstChild("Left Hip") |
26 | + | local gagnam = false |
27 | - | neck = torso:findFirstChild("Neck") |
27 | + | local snoop = false |
28 | - | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") |
28 | + | local darude = false |
29 | - | anim = char:findFirstChild("Animate") |
29 | + | local taco = false |
30 | - | rootpart = char:findFirstChild("HumanoidRootPart") |
30 | + | ------------------ |
31 | - | camera = workspace.CurrentCamera |
31 | + | --dance accessory-- |
32 | - | do --Removing ROBLOX's new Looped bug >_> |
32 | + | local barrelbrick = nil |
33 | - | local function rec(x) |
33 | + | local saxtool = nil |
34 | - | for i,v in pairs(x:children()) do |
34 | + | ------------------- |
35 | - | if v:IsA'Animation' then |
35 | + | --custom animate-- |
36 | - | v.AnimationId = 'rbxassetid://28159255' |
36 | + | local walk = false |
37 | - | end |
37 | + | local jump = false |
38 | - | rec(v) |
38 | + | local sit = false |
39 | - | end |
39 | + | local run = false |
40 | - | end |
40 | + | ------------------ |
41 | - | rec(anim) --the Animate script |
41 | + | --walk keys-- |
42 | - | end |
42 | + | local W = false |
43 | local A = false | |
44 | - | humanoid.Jump = true |
44 | + | local S = false |
45 | local D = false | |
46 | - | wait(.4) |
46 | + | ------------- |
47 | local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts" | |
48 | local miniweld = nil | |
49 | - | if anim then |
49 | + | local rootpart = nil |
50 | - | anim:Destroy() |
50 | + | |
51 | - | end |
51 | + | local Mouse = nil |
52 | - | |
52 | + | local Animate = nil |
53 | - | |
53 | + | local Music = nil |
54 | - | rj.C0 = CFrame.new() |
54 | + | local Asset = "http://www.roblox.com/asset/?id=" |
55 | - | rj.C1 = CFrame.new() |
55 | + | local Animating = nil |
56 | - | |
56 | + | local humanoid = nil |
57 | - | |
57 | + | local face = nil |
58 | - | super_annoying = Instance.new("Sound", head) |
58 | + | |
59 | - | super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003" |
59 | + | local head = nil |
60 | - | super_annoying.Volume = 0.6 |
60 | + | local torso = nil |
61 | - | super_annoying.Looped = true |
61 | + | local ra = nil |
62 | - | barrel_roll = Instance.new("Sound", head) |
62 | + | local la = nil |
63 | - | barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919" |
63 | + | local rl = nil |
64 | - | barrel_roll.Volume = 1 |
64 | + | local ll = nil |
65 | - | barrel_roll.Looped = true |
65 | + | local rs = nil |
66 | - | dubstep_gun = Instance.new("Sound", head) |
66 | + | local ls = nil |
67 | - | dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491" |
67 | + | local rh = nil |
68 | - | dubstep_gun.Volume = 0.6 |
68 | + | local lh = nil |
69 | - | dubstep_gun.Looped = true |
69 | + | local neck = nil |
70 | - | you_are_pirate = Instance.new("Sound", head) |
70 | + | local rj = nil |
71 | - | you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577" |
71 | + | |
72 | - | you_are_pirate.Volume = 0.6 |
72 | + | local char = nil |
73 | - | you_are_pirate.Looped = true |
73 | + | local Hat1 = nil |
74 | - | cant_touch = Instance.new("Sound", head) |
74 | + | local Hat2 = nil |
75 | - | cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929" |
75 | + | local a,b = nil |
76 | - | cant_touch.Volume = 1 |
76 | + | |
77 | - | cant_touch.Looped = true |
77 | + | ----------musics----------------- |
78 | - | gangy_style = Instance.new("Sound", head) |
78 | + | local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil |
79 | - | gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430" |
79 | + | --------------------------------- |
80 | - | gangy_style.Volume = 0.6 |
80 | + | |
81 | - | gangy_style.Looped = true |
81 | + | local mesh,meshids,textureids,w |
82 | - | fox_say = Instance.new("Sound", head) |
82 | + | |
83 | - | fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915" |
83 | + | function fm(parent,meshid,x,y,z,meshtexture) |
84 | - | fox_say.Volume = 0.5 |
84 | + | if meshid == "cylinder" then |
85 | - | fox_say.Looped = true |
85 | + | mesh = Instance.new("CylinderMesh",parent) |
86 | - | durk = Instance.new("Sound", head) |
86 | + | mesh.Scale = Vector3.new(x,y,z) |
87 | - | durk.SoundId = "http://www.roblox.com/asset/?id=130776787" |
87 | + | return mesh |
88 | - | durk.Volume = 0.8 |
88 | + | else |
89 | - | durk.Looped = true |
89 | + | mesh = Instance.new("SpecialMesh",parent) |
90 | - | sax_guy = Instance.new("Sound", head) |
90 | + | if meshid ~= "sphere" then |
91 | - | sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684" |
91 | + | if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else |
92 | - | sax_guy.Volume = 0.6 |
92 | + | mesh.MeshId = "rbxassetid://"..meshids[meshid] |
93 | - | sax_guy.Looped = true |
93 | + | end |
94 | - | heman = Instance.new("Sound", head) |
94 | + | else mesh.MeshType = 3 end |
95 | - | heman.SoundId = "http://www.roblox.com/asset/?id=131102548" |
95 | + | mesh.Scale = Vector3.new(x,y,z) |
96 | - | heman.Volume = 1 |
96 | + | if meshtexture ~= nil then |
97 | - | heman.Looped = true |
97 | + | if type(meshtexture) == "number" then |
98 | - | justin = Instance.new("Sound", head) |
98 | + | mesh.TextureId = "rbxassetid://"..meshtexture |
99 | - | justin.SoundId = "http://www.roblox.com/asset/?id=130841252" |
99 | + | else |
100 | - | justin.Volume = 0.8 |
100 | + | mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end |
101 | - | justin.Looped = true |
101 | + | end |
102 | - | brony_music = Instance.new("Sound", head) |
102 | + | return mesh |
103 | - | brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874" |
103 | + | end |
104 | - | brony_music.Volume = 1 |
104 | + | end |
105 | - | brony_music.Looped = true |
105 | + | |
106 | - | spitfire = Instance.new("Sound", head) |
106 | + | function P(x,y,z,color,transparency,cancollide,anchored,parent,typee) |
107 | - | spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596" |
107 | + | if typee ~= nil then |
108 | - | spitfire.Volume = 0.8 |
108 | + | c = Instance.new("WedgePart",m) |
109 | - | spitfire.Looped = true |
109 | + | else |
110 | - | burn_dem = Instance.new("Sound", head) |
110 | + | c = Instance.new("Part",m) |
111 | - | burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469" |
111 | + | end |
112 | - | burn_dem.Volume = 1 |
112 | + | c.TopSurface,c.BottomSurface = 0,0 |
113 | - | burn_dem.Looped = true |
113 | + | c.Locked = true |
114 | - | aj = Instance.new("Sound", head) |
114 | + | c.formFactor = "Custom" |
115 | - | aj.SoundId = "rbxassetid://177732780" |
115 | + | c.Size = Vector3.new(x,y,z) |
116 | - | aj.Volume = 1 |
116 | + | if color ~= "random" then |
117 | - | aj.Looped = true |
117 | + | c.BrickColor = BrickColor.new(color) |
118 | - | |
118 | + | else |
119 | - | Instance.new("HumanoidController", game:service'ControllerService') |
119 | + | c.BrickColor = BrickColor:random() |
120 | - | Instance.new("SkateboardController", game:service'ControllerService') |
120 | + | end |
121 | - | Instance.new("VehicleController", game:service'ControllerService') |
121 | + | c.Transparency = transparency |
122 | - | |
122 | + | c.CanCollide = cancollide |
123 | - | |
123 | + | if anchored ~= nil then |
124 | - | |
124 | + | c.Anchored = anchored |
125 | - | |
125 | + | end |
126 | - | --minimize |
126 | + | if parent ~= nil then |
127 | - | rh.Parent = nil |
127 | + | c.Parent = parent |
128 | - | lh.Parent = nil |
128 | + | end |
129 | - | rs.Parent = nil |
129 | + | return c |
130 | - | ls.Parent = nil |
130 | + | end |
131 | - | neck.Parent = nil |
131 | + | |
132 | - | rj.Parent = nil |
132 | + | function We(part0,part1,x,y,z,rx,ry,rz,parent) |
133 | - | |
133 | + | w = Instance.new("Motor",m) |
134 | - | |
134 | + | if parent ~= nil then w.Parent = parent end |
135 | - | rl.FormFactor = "Custom" |
135 | + | w.Part0,w.Part1 = part0,part1 |
136 | - | ll.FormFactor = "Custom" |
136 | + | w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz) |
137 | - | ra.FormFactor = "Custom" |
137 | + | return w |
138 | - | la.FormFactor = "Custom" |
138 | + | end |
139 | - | torso.FormFactor = "Custom" |
139 | + | |
140 | - | head.FormFactor = "Custom" |
140 | + | function SetAnimation(id,humanoid) |
141 | - | rootpart.FormFactor = "Custom" |
141 | + | if Animating ~= nil then |
142 | - | |
142 | + | Animating:Stop() |
143 | - | |
143 | + | end |
144 | - | |
144 | + | Animate.AnimationId = Asset .. id |
145 | - | |
145 | + | Animating = humanoid:LoadAnimation(Animate) |
146 | - | rootpart.Size = Vector3.new(.4, .4, .2) |
146 | + | Animating:Play() |
147 | - | rl.Size = Vector3.new(.2, .4, .2) |
147 | + | end |
148 | - | ll.Size = Vector3.new(.2, .4, .2) |
148 | + | |
149 | - | ra.Size = Vector3.new(.2, .4, .2) |
149 | + | function AnimationStop() |
150 | - | la.Size = Vector3.new(.2, .4, .2) |
150 | + | jerk = false |
151 | - | torso.Size = Vector3.new(.4, .4, .2) |
151 | + | party = false |
152 | - | head.Size = Vector3.new(.4, .2, .2) |
152 | + | canttouch = false |
153 | - | |
153 | + | happy = false |
154 | - | rh.Parent = torso |
154 | + | spin = false |
155 | - | lh.Parent = torso |
155 | + | thriller = false |
156 | - | rs.Parent = torso |
156 | + | barrel = false |
157 | - | ls.Parent = torso |
157 | + | sax = false |
158 | - | neck.Parent = torso |
158 | + | spooky = false |
159 | - | rj.Parent = rootpart |
159 | + | stride = false |
160 | - | |
160 | + | shuffle = false |
161 | - | |
161 | + | rock = false |
162 | - | if torso:findFirstChild("roblox") then |
162 | + | gagnam = false |
163 | - | local p = Instance.new("Part", char) |
163 | + | snoop = false |
164 | - | p.FormFactor = "Custom" |
164 | + | darude = false |
165 | - | p.Size = torso.Size |
165 | + | taco = false |
166 | - | p.Transparency = 1 |
166 | + | if barrelbrick ~= nil then |
167 | - | p:BreakJoints() |
167 | + | barrelbrick:Remove() |
168 | - | local w = Instance.new("Weld", char) |
168 | + | barrelbrick = nil |
169 | - | w.Part0 = p |
169 | + | end |
170 | - | w.Part1 = torso |
170 | + | if saxtool ~= nil then |
171 | - | torso:findFirstChild("roblox").Parent = p |
171 | + | saxtool:Remove() |
172 | - | end |
172 | + | saxtool = nil |
173 | - | |
173 | + | end |
174 | - | |
174 | + | if sandstorm ~= nil then |
175 | - | --[[mesh1 = Instance.new("SpecialMesh", torso) |
175 | + | sandstorm:Remove() |
176 | - | mesh1.Name = "Mesh" |
176 | + | sandstorm = nil |
177 | - | mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0) |
177 | + | end |
178 | - | mesh1.MeshId = "rbxasset://fonts/torso.mesh" |
178 | + | end |
179 | - | mesh2 = Instance.new("SpecialMesh", la) |
179 | + | |
180 | - | mesh2.Name = "Mesh" |
180 | + | local Musical |
181 | - | mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0) |
181 | + | function SetMusic(id,volume) |
182 | - | mesh2.MeshId = "rbxasset://fonts/leftarm.mesh" |
182 | + | Musical = Instance.new("Sound",char.Head) |
183 | - | mesh3 = Instance.new("SpecialMesh", ra) |
183 | + | if volume == nil then |
184 | - | mesh3.Name = "Mesh" |
184 | + | Musical.Volume = 1 |
185 | - | mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0) |
185 | + | else |
186 | - | mesh3.MeshId = "rbxasset://fonts/rightarm.mesh" |
186 | + | Musical.Volume = volume |
187 | - | mesh4 = Instance.new("SpecialMesh", ll) |
187 | + | end |
188 | - | mesh4.Name = "Mesh" |
188 | + | Musical.Looped = true |
189 | - | mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0) |
189 | + | Musical.SoundId = Asset .. id |
190 | - | mesh4.MeshId = "rbxasset://fonts/leftleg.mesh" |
190 | + | return Musical |
191 | - | mesh5 = Instance.new("SpecialMesh", rl) |
191 | + | end |
192 | - | mesh5.Name = "Mesh" |
192 | + | |
193 | - | mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0) |
193 | + | function GenerateGui() |
194 | - | mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]] |
194 | + | a=Instance.new("ScreenGui") |
195 | - | |
195 | + | a.Name = "KrystalDance By KrystalTeam" |
196 | - | |
196 | + | b=Instance.new("ImageLabel",a) |
197 | - | --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1 |
197 | + | b.BackgroundTransparency = 1 |
198 | - | |
198 | + | b.Size = UDim2.new(0,250,0,100) |
199 | - | ls.C0 = CFrame.new(-.3,.1,0) |
199 | + | b.Position = UDim2.new(0,0,1,0) |
200 | - | ls.C1 = CFrame.new(0,.1,0) |
200 | + | b.Image = Asset .. "269467798" |
201 | - | rs.C0 = CFrame.new(.3,.1,0) |
201 | + | b.Name = "Logo" |
202 | - | rs.C1 = CFrame.new(0,.1,0) |
202 | + | c=Instance.new("Sound",a) |
203 | - | rh.C0 = CFrame.new(.1,-.2,0) |
203 | + | c.Name = "Intro" |
204 | - | rh.C1 = CFrame.new(0, .2, 0) |
204 | + | c.Volume = 1 |
205 | - | lh.C0 = CFrame.new(-.1,-.2,0) |
205 | + | c.SoundId = Asset .. "236146895" |
206 | - | lh.C1 = CFrame.new(0, .2, 0) |
206 | + | c.Looped = false |
207 | - | neck.C0 = CFrame.new(0,.2,0) |
207 | + | return a |
208 | - | neck.C1 = CFrame.new(0,-.1,0) |
208 | + | end |
209 | - | |
209 | + | |
210 | - | bodyc = char:findFirstChild("Body Colors") |
210 | + | function Generate(player) |
211 | - | if bodyc then |
211 | + | char = player.Character |
212 | - | bodyc:Destroy() |
212 | + | Hat1 = P(1,1,1,'Black',0,false,false) |
213 | - | end |
213 | + | Hat2 = P(1,1,1,'Black',0,false,false) |
214 | - | |
214 | + | wait() |
215 | - | wait(1) |
215 | + | a=fm(Hat1,1577360,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1) |
216 | - | |
216 | + | b=fm(Hat2,13640868,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1) |
217 | - | local body = {} |
217 | + | wait() |
218 | - | for i,v in pairs(char:children()) do |
218 | + | if char:FindFirstChild("Head") then |
219 | - | if v:IsA'BasePart' then |
219 | + | We(Hat1,char.Head,0,0.25,-0.135,0,0,0) |
220 | - | print(v.Name) |
220 | + | We(Hat2,char.Head,0,0.8,0,0,0,0) |
221 | - | body[v.Name] = {Color = v.BrickColor} |
221 | + | if char.head:FindFirstChild("face") ~= nil then |
222 | - | end |
222 | + | face = char.head:FindFirstChild("face") |
223 | - | end |
223 | + | face.Texture = "rbxasset://textures/face.png" |
224 | - | |
224 | + | end |
225 | - | print(body.Torso) |
225 | + | c=char.Head:clone() |
226 | - | function restorecolors() |
226 | + | c.Name = "FalseHead" |
227 | - | for _,bp in pairs(char:children()) do |
227 | + | c.CanCollide = false |
228 | - | if bp:IsA("BasePart") then |
228 | + | c.Parent = char |
229 | - | bp.BrickColor = body[bp.Name].Color |
229 | + | We(c,char.Head,0,0,0,0,0,0) |
230 | - | end |
230 | + | char.Head.Transparency = 1 |
231 | - | end |
231 | + | for i,v in pairs(char:GetChildren()) do |
232 | - | end |
232 | + | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then |
233 | - | |
233 | + | v:Remove() |
234 | - | |
234 | + | end |
235 | - | local LightForTorso = Instance.new("PointLight", head) |
235 | + | if v.ClassName == "BodyColors" then |
236 | - | LightForTorso.Color = torso.BrickColor.Color |
236 | + | v.HeadColor = BrickColor.new("White") |
237 | - | LightForTorso.Range = 7 |
237 | + | v.LeftArmColor = BrickColor.new("Really black") |
238 | - | LightForTorso.Brightness = 1.5 |
238 | + | v.LeftLegColor = BrickColor.new("Really black") |
239 | - | |
239 | + | v.RightArmColor = BrickColor.new("Really black") |
240 | - | |
240 | + | v.RightLegColor = BrickColor.new("Really black") |
241 | - | |
241 | + | v.TorsoColor = BrickColor.new("Really black") |
242 | - | |
242 | + | end |
243 | - | local slidecount = 0 |
243 | + | if v.ClassName == "Part" then |
244 | - | local slidecountmax = 0 |
244 | + | if v.Name == "Head" or v.Name == "FalseHead" then |
245 | - | local anim = "" |
245 | + | v.BrickColor = BrickColor.new("White") |
246 | - | local lastanim = anim |
246 | + | else |
247 | - | local speed = 0 |
247 | + | v.BrickColor = BrickColor.new("Really black") |
248 | - | local looking = false |
248 | + | end |
249 | - | local dancing = false |
249 | + | end |
250 | - | local superannoying = false |
250 | + | end |
251 | - | local barrelroll = false |
251 | + | ----------musics--------------- |
252 | - | local dubstepgun = false |
252 | + | M1=SetMusic(168007346) |
253 | - | local foxie = false |
253 | + | M2=SetMusic(144901116) |
254 | - | local durka = false |
254 | + | M3=SetMusic(168570436) |
255 | - | local saxguy = false |
255 | + | M4=SetMusic(142435409) |
256 | - | local heya = false |
256 | + | M5=SetMusic(131525189) |
257 | - | local jb = false |
257 | + | M6=SetMusic(133196268) |
258 | - | local bronymusic = false |
258 | + | M7=SetMusic(130791919) |
259 | - | local sheddy = false |
259 | + | M8=SetMusic(130794684) |
260 | - | local burndem = false |
260 | + | M9=SetMusic(155313239) |
261 | - | local global_wait = 0 |
261 | + | M10=SetMusic(158036870) |
262 | - | |
262 | + | M11=SetMusic(145262991) |
263 | - | count = 0 |
263 | + | M12=SetMusic(151430448) |
264 | - | countspeed = 1 |
264 | + | M13=SetMusic(130844430) |
265 | - | sine = 0 |
265 | + | M14=SetMusic(172388329) |
266 | - | sinespeed = 1 |
266 | + | M15=SetMusic(179534184) |
267 | - | |
267 | + | M16=SetMusic(142295308) |
268 | - | |
268 | + | ------------------------------- |
269 | - | |
269 | + | |
270 | - | humanoid.WalkSpeed = 11 |
270 | + | if char:FindFirstChild("HumanoidRootPart") ~= nil then |
271 | - | |
271 | + | rootpart = char:FindFirstChild("HumanoidRootPart") |
272 | - | |
272 | + | end |
273 | - | local controllerService = game:GetService("ControllerService") |
273 | + | if showtag == true then |
274 | - | local controller = controllerService:GetChildren()[1] |
274 | + | local bbg = Instance.new("BillboardGui",c) |
275 | - | |
275 | + | bbg.Adornee = c |
276 | - | |
276 | + | bbg.Name = "satuttava" |
277 | - | local colors = {"White", "Really black"} |
277 | + | bbg.Size = UDim2.new(6,0,2,0) |
278 | - | |
278 | + | bbg.StudsOffset = Vector3.new(0,2,0) |
279 | - | humanoid.Died:connect(function() |
279 | + | local box = Instance.new("TextLabel",bbg) |
280 | - | for cframe_parts = 0, 100 do |
280 | + | box.Size = UDim2.new(1,0,1,0) |
281 | - | local p = Instance.new("Part") |
281 | + | box.BackgroundColor = BrickColor.new("White") |
282 | - | p.FormFactor = "Custom" |
282 | + | box.TextColor3 = Color3.new(255,0,0) |
283 | - | p.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) |
283 | + | box.TextStrokeTransparency = 0.5 |
284 | - | p.Size = Vector3.new(1, 1, 1) |
284 | + | box.Font = 3 |
285 | - | Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05) |
285 | + | box.Text = Player.Name |
286 | - | p.Locked = true |
286 | + | box.BackgroundTransparency = 1 |
287 | - | p.CanCollide = false |
287 | + | box.Position = UDim2.new(0,0,0,0) |
288 | - | p.Anchored = true |
288 | + | box.TextScaled = true |
289 | - | p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36)) |
289 | + | end |
290 | - | p.Parent = workspace |
290 | + | if char:FindFirstChild("Humanoid") ~= nil then |
291 | - | game:service'Debris':AddItem(p, 5) |
291 | + | char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100 |
292 | - | coroutine.wrap(function() |
292 | + | wait() |
293 | - | while wait() do |
293 | + | char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth |
294 | - | if p ~= nil then |
294 | + | --char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name |
295 | - | p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0) |
295 | + | humanoid = char:FindFirstChild("Humanoid") |
296 | - | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0) |
296 | + | if humanoid:FindFirstChild("Animator") ~= nil then |
297 | - | p.Transparency = p.Transparency + 0.015 |
297 | + | humanoid:FindFirstChild("Animator"):Remove() |
298 | - | else |
298 | + | --Instance.new("Animator",humanoid) |
299 | - | break |
299 | + | end |
300 | - | end |
300 | + | if char:FindFirstChild("Animate") ~= nil then |
301 | - | end |
301 | + | char:FindFirstChild("Animate"):Remove() |
302 | - | end)() |
302 | + | end |
303 | - | end |
303 | + | end |
304 | - | for _,v in pairs(char:children()) do |
304 | + | Mouse = player:GetMouse() |
305 | - | if v:IsA("Part") then |
305 | + | Music = Instance.new("Sound",char.Head) |
306 | - | v:Destroy() |
306 | + | Music.Volume = 1 |
307 | - | end |
307 | + | Music.Looped = true |
308 | - | end |
308 | + | Music.SoundId = Asset |
309 | - | |
309 | + | Animate = Instance.new("Animation",char.Head) |
310 | - | end) |
310 | + | Animate.AnimationId = Asset |
311 | - | |
311 | + | |
312 | - | |
312 | + | |
313 | - | mouse.KeyDown:connect(function(k) |
313 | + | |
314 | - | |
314 | + | head = char:FindFirstChild("Head") |
315 | - | if string.byte(k) == 50 then |
315 | + | torso = char:FindFirstChild("Torso") |
316 | - | |
316 | + | ra = char:findFirstChild("Right Arm") |
317 | - | if dancing then return end |
317 | + | la = char:findFirstChild("Left Arm") |
318 | - | sitting = not sitting |
318 | + | rl = char:findFirstChild("Right Leg") |
319 | - | if sitting then |
319 | + | ll = char:findFirstChild("Left Leg") |
320 | - | local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0)) |
320 | + | rs = torso:findFirstChild("Right Shoulder") |
321 | - | local hitz,enz = workspace:FindPartOnRay(ray, char) |
321 | + | ls = torso:findFirstChild("Left Shoulder") |
322 | - | |
322 | + | rh = torso:findFirstChild("Right Hip") |
323 | - | |
323 | + | lh = torso:findFirstChild("Left Hip") |
324 | - | if hitz then |
324 | + | neck = torso:findFirstChild("Neck") |
325 | - | controller.Parent = nil |
325 | + | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") |
326 | - | humanoid.WalkSpeed = 0 |
326 | + | |
327 | - | coroutine.wrap(function() |
327 | + | state = humanoid:GetState() |
328 | - | while wait() do |
328 | + | local ca = nil |
329 | - | humanoid.PlatformStand = true |
329 | + | ca=GenerateGui() |
330 | - | if sitting == false then humanoid.PlatformStand = false break end |
330 | + | ca.Parent = player.PlayerGui |
331 | - | end |
331 | + | if ca:FindFirstChild("Logo") ~= nil then |
332 | - | end)() |
332 | + | ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true) |
333 | - | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) |
333 | + | if ca:FindFirstChild("Intro") ~= nil then |
334 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) |
334 | + | ca:FindFirstChild("Intro"):Play() |
335 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) |
335 | + | coroutine.resume(coroutine.create(function() |
336 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) |
336 | + | for i=0,30 do |
337 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) |
337 | + | ca:FindFirstChild("Intro").Volume = 1/(i/2) |
338 | - | |
338 | + | wait(0.5) |
339 | - | miniweld = Instance.new("Weld", char) |
339 | + | if i >= 30 then |
340 | - | miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) |
340 | + | break |
341 | - | miniweld.Part0 = hitz |
341 | + | end |
342 | - | miniweld.Part1 = rootpart |
342 | + | end |
343 | - | else |
343 | + | end)) |
344 | - | sitting = false |
344 | + | end |
345 | - | return |
345 | + | end |
346 | - | end |
346 | + | |
347 | - | else |
347 | + | if humanoid ~= nil then |
348 | - | if miniweld then |
348 | + | humanoid.Changed:connect(function(pro) |
349 | - | miniweld:Destroy() |
349 | + | if pro == "MoveDirection" or pro == "Jump" then |
350 | - | end |
350 | + | if Music.IsPlaying == true then |
351 | - | controller.Parent = controllerService |
351 | + | AnimationStop() |
352 | - | humanoid.PlatformStand = false |
352 | + | end |
353 | - | humanoid.WalkSpeed = 11 |
353 | + | end |
354 | - | end |
354 | + | end) |
355 | - | end |
355 | + | humanoid.Died:connect(function() |
356 | - | |
356 | + | AnimationStop() |
357 | - | if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then |
357 | + | end) |
358 | - | superannoying = false |
358 | + | |
359 | - | barrelroll = false |
359 | + | Mouse.KeyUp:connect(function(key) |
360 | - | heya = false |
360 | + | if key == "w" then |
361 | - | dubstepgun = false |
361 | + | W = false |
362 | - | youpirate = false |
362 | + | end |
363 | - | canttouch = false |
363 | + | if key == "a" then |
364 | - | gangnam = false |
364 | + | A = false |
365 | - | sheddy = false |
365 | + | end |
366 | - | durka = false |
366 | + | if key == "s" then |
367 | - | saxguy = false |
367 | + | S = false |
368 | - | foxie = false |
368 | + | end |
369 | - | burndem = false |
369 | + | if key == "d" then |
370 | - | bronymusic = false |
370 | + | D = false |
371 | - | brony_music:stop() |
371 | + | end |
372 | - | fox_say:stop() |
372 | + | if string.byte(key) == 48 then |
373 | - | spitfire:stop() |
373 | + | run = false |
374 | - | heman:stop() |
374 | + | end |
375 | - | justin:stop() |
375 | + | end) |
376 | - | jb = false |
376 | + | |
377 | - | durk:stop() |
377 | + | Mouse.KeyDown:connect(function(key) |
378 | - | restorecolors() |
378 | + | if key == "w" then |
379 | - | burn_dem:stop() |
379 | + | W = true |
380 | - | if hat then |
380 | + | AnimationStop() |
381 | - | hat:Destroy() |
381 | + | end |
382 | - | end |
382 | + | if key == "a" then |
383 | - | sax_guy:stop() |
383 | + | A = true |
384 | - | gangy_style:stop() |
384 | + | AnimationStop() |
385 | - | cant_touch:stop() |
385 | + | end |
386 | - | you_are_pirate:stop() |
386 | + | if key == "s" then |
387 | - | dubstep_gun:stop() |
387 | + | S = true |
388 | - | super_annoying:stop() |
388 | + | AnimationStop() |
389 | - | barrel_roll:stop() |
389 | + | end |
390 | - | dancing = false |
390 | + | if key == "d" then |
391 | - | global_wait = 0 |
391 | + | D = true |
392 | - | LightForTorso.Color = torso.BrickColor.Color |
392 | + | AnimationStop() |
393 | - | end |
393 | + | end |
394 | - | |
394 | + | end) |
395 | - | if k == "z" then |
395 | + | |
396 | - | if dancing then return end |
396 | + | |
397 | - | if not sitting then |
397 | + | |
398 | - | dancing = true |
398 | + | Mouse.KeyDown:connect(function(key) |
399 | - | superannoying = true |
399 | + | KeyUsed(key) |
400 | - | super_annoying:play() |
400 | + | end) |
401 | - | end |
401 | + | end |
402 | - | end |
402 | + | end |
403 | - | if k == "k" then |
403 | + | print'KrystalDance By: KrystalTeam as fully Loaded!' |
404 | - | if dancing then return end |
404 | + | end |
405 | - | if not sitting then |
405 | + | |
406 | - | dancing = true |
406 | + | function KeyUsed(key) |
407 | - | sheddy = true |
407 | + | if humanoid ~= nil then |
408 | - | spitfire:play() |
408 | + | if humanoid.Health > 0 then |
409 | - | end |
409 | + | if string.byte(key) == 32 then |
410 | - | end |
410 | + | jump = true |
411 | - | |
411 | + | AnimationStop() |
412 | - | if k == "n" then |
412 | + | --sit = false |
413 | - | if dancing then return end |
413 | + | end |
414 | - | if not sitting then |
414 | + | if string.byte(key) == 50 then |
415 | - | dancing = true |
415 | + | AnimationStop() |
416 | - | gangnam = true |
416 | + | if sit == true then |
417 | - | gangy_style:play() |
417 | + | sit = false |
418 | - | end |
418 | + | else |
419 | - | end |
419 | + | sit = true |
420 | - | |
420 | + | end |
421 | - | if k == "r" then |
421 | + | end |
422 | - | if dancing then return end |
422 | + | if string.byte(key) == 48 then |
423 | - | if not sitting then |
423 | + | run = true |
424 | - | dancing = true |
424 | + | end |
425 | - | burndem = true |
425 | + | if W == false and A == false and S == false and D == false and jump == false and sit == false then |
426 | - | burn_dem:play() |
426 | + | if key == "Q" or key == "q" then |
427 | - | end |
427 | + | AnimationStop() |
428 | - | end |
428 | + | canttouch = true |
429 | - | |
429 | + | M1:Play() |
430 | - | |
430 | + | end |
431 | - | if k == "x" then |
431 | + | if key == "E" or key == "e" then |
432 | - | if dancing then return end |
432 | + | AnimationStop() |
433 | - | if not sitting then |
433 | + | party = true |
434 | - | dancing = true |
434 | + | M2:Play() |
435 | - | barrelroll = true |
435 | + | end |
436 | - | barrel_roll:play() |
436 | + | if key == "R" or key == "r" then |
437 | - | hat = Instance.new("Part", char) |
437 | + | AnimationStop() |
438 | - | hat.FormFactor = "Custom" |
438 | + | jerk = true |
439 | - | hat.CanCollide = false |
439 | + | M3:Play() |
440 | - | hat.Size = torso.Size |
440 | + | end |
441 | - | hat.Locked = true |
441 | + | if key == "T" or key == "t" then |
442 | - | hat:breakJoints() |
442 | + | AnimationStop() |
443 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
443 | + | happy = true |
444 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142" |
444 | + | M4:Play() |
445 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063" |
445 | + | end |
446 | - | hatmesh.Scale = Vector3.new(.22, .2, .22) |
446 | + | if key == "Y" or key == "y" then |
447 | - | local hatweld = Instance.new("Weld", hat) |
447 | + | AnimationStop() |
448 | - | hatweld.Part0 = hat |
448 | + | spin = true |
449 | - | hatweld.Part1 = torso |
449 | + | M5:Play() |
450 | - | end |
450 | + | end |
451 | - | end |
451 | + | if key == "U" or key == "u" then |
452 | - | if k == "h" then |
452 | + | AnimationStop() |
453 | - | if dancing then return end |
453 | + | thriller = true |
454 | - | if not sitting then |
454 | + | M6:Play() |
455 | - | dancing = true |
455 | + | end |
456 | - | heman:play() |
456 | + | if key == "F" or key == "f" then |
457 | - | heya = true |
457 | + | AnimationStop() |
458 | - | hat = Instance.new("Part", char) |
458 | + | barrel = true |
459 | - | hat.FormFactor = "Custom" |
459 | + | M7:Play() |
460 | - | hat.CanCollide = false |
460 | + | if barrelbrick == nil and barrel == true then |
461 | - | hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01) |
461 | + | barrelbrick = P(2,2,1,'Black',0,false,false) |
462 | - | hat.Locked = true |
462 | + | a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1) |
463 | - | hat.BrickColor = BrickColor.new("Hot pink") |
463 | + | We(barrelbrick,char.Torso,0,-0.2,0,0,0,0) |
464 | - | hat:breakJoints() |
464 | + | end |
465 | - | local hatweld = Instance.new("Weld", hat) |
465 | + | end |
466 | - | hatweld.Part0 = hat |
466 | + | if key == "P" or key == "p" then |
467 | - | hatweld.Part1 = torso |
467 | + | AnimationStop() |
468 | - | end |
468 | + | sax = true |
469 | - | end |
469 | + | M8:Play() |
470 | - | if k == "j" then |
470 | + | if saxtool == nil and sax == true then |
471 | - | if dancing then return end |
471 | + | saxtool = P(1,2,2,'Black',0,false,false) |
472 | - | if not sitting then |
472 | + | a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1) |
473 | - | dancing = true |
473 | + | b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0) |
474 | - | justin:play() |
474 | + | b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8) |
475 | - | jb = true |
475 | + | end |
476 | - | hat = Instance.new("Part", char) |
476 | + | end |
477 | - | hat.FormFactor = "Custom" |
477 | + | if key == "G" or key == "g" then |
478 | - | hat.CanCollide = false |
478 | + | AnimationStop() |
479 | - | hat.Size = head.Size |
479 | + | spooky = true |
480 | - | hat.Locked = true |
480 | + | M9:Play() |
481 | - | hat.BrickColor = BrickColor.new("Hot pink") |
481 | + | end |
482 | - | hat:breakJoints() |
482 | + | if key == "H" or key == "h" then |
483 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
483 | + | AnimationStop() |
484 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424" |
484 | + | stride = true |
485 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982" |
485 | + | M10:Play() |
486 | - | hatmesh.Scale = Vector3.new(.23, .23, .23) |
486 | + | end |
487 | - | local hatweld = Instance.new("Weld", hat) |
487 | + | if key == "J" or key == "j" then |
488 | - | hatweld.Part0 = hat |
488 | + | AnimationStop() |
489 | - | hatweld.Part1 = head |
489 | + | shuffle = true |
490 | - | hatweld.C0 = CFrame.new(0.025, -0.05, 0) |
490 | + | M11:Play() |
491 | - | end |
491 | + | end |
492 | - | end |
492 | + | if key == "K" or key == "k" then |
493 | - | if k == "c" then |
493 | + | AnimationStop() |
494 | - | if dancing then return end |
494 | + | rock = true |
495 | - | if not sitting then |
495 | + | M12:Play() |
496 | - | dancing = true |
496 | + | end |
497 | - | dubstepgun = true |
497 | + | if key == "L" or key == "l" then |
498 | - | dubstep_gun:play() |
498 | + | AnimationStop() |
499 | - | end |
499 | + | gagnam = true |
500 | - | end |
500 | + | M13:Play() |
501 | - | if k == "v" then |
501 | + | end |
502 | - | if dancing then return end |
502 | + | if key == "Z" or key == "z" then |
503 | - | if not sitting then |
503 | + | AnimationStop() |
504 | - | dancing = true |
504 | + | snoop = true |
505 | - | youpirate = true |
505 | + | M14:Play() |
506 | - | you_are_pirate:play() |
506 | + | end |
507 | - | hat = Instance.new("Part", char) |
507 | + | if key == "X" or key == "x" then |
508 | - | hat.FormFactor = "Custom" |
508 | + | AnimationStop() |
509 | - | hat.CanCollide = false |
509 | + | darude = true |
510 | - | hat.Size = head.Size |
510 | + | M15:Play() |
511 | - | hat.Locked = true |
511 | + | if sandstorm == nil and darude == true then |
512 | - | hat:breakJoints() |
512 | + | sandstorm = P(1,1,1,'Black',0,false,false) |
513 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
513 | + | sandstorm.Transparency = 1 |
514 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848" |
514 | + | a=Instance.new("Smoke",sandstorm) |
515 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847" |
515 | + | a.Color = Color3.new(255/255,255/255,175/255) |
516 | - | hatmesh.Scale = Vector3.new(.2, .2, .2) |
516 | + | a.Size = 0.4 |
517 | - | local hatweld = Instance.new("Weld", hat) |
517 | + | a.RiseVelocity = 3 |
518 | - | hatweld.Part0 = hat |
518 | + | a.Opacity = 0.75 |
519 | - | hatweld.Part1 = head |
519 | + | b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0) |
520 | - | hatweld.C0 = CFrame.new(0, -0.15, 0) |
520 | + | b.C1 = CFrame.new(0, -2, 0) |
521 | - | end |
521 | + | end |
522 | - | end |
522 | + | end |
523 | - | if k == "m" then |
523 | + | if key == "C" or key == "c" then |
524 | - | if dancing then return end |
524 | + | AnimationStop() |
525 | - | if not sitting then |
525 | + | taco = true |
526 | - | dancing = true |
526 | + | M16:Play() |
527 | - | canttouch = true |
527 | + | end |
528 | - | cant_touch:play() |
528 | + | end |
529 | - | end |
529 | + | end |
530 | - | end |
530 | + | end |
531 | - | if k == "b" then |
531 | + | end |
532 | - | if dancing then return end |
532 | + | |
533 | - | if not sitting then |
533 | + | Generate(Player) |
534 | - | dancing = true |
534 | + | |
535 | - | bronymusic = true |
535 | + | game:service'RunService'.Stepped:connect(function() |
536 | - | brony_music:play() |
536 | + | count = (count % 100) + countspeed |
537 | - | for _,bp in pairs(char:children()) do |
537 | + | angle = math.pi * math.sin(math.pi*2/100*count) |
538 | - | if bp:IsA("BasePart") then |
538 | + | countspeed = 1 |
539 | - | bp.BrickColor = BrickColor.new("Lavender") |
539 | + | |
540 | - | end |
540 | + | state = humanoid:GetState() |
541 | - | end |
541 | + | if state ~= Enum.HumanoidStateType.Freefall then |
542 | - | hat = Instance.new("Part", char) |
542 | + | jump = false |
543 | - | hat.FormFactor = "Custom" |
543 | + | else |
544 | - | hat.CanCollide = false |
544 | + | jump = true |
545 | - | hat.Size = head.Size |
545 | + | sit = false |
546 | - | hat.Locked = true |
546 | + | AnimationStop() |
547 | - | hat.BrickColor = BrickColor.new("Lavender") |
547 | + | end |
548 | - | hat:breakJoints() |
548 | + | |
549 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
549 | + | local mesh1anan = Instance.new("SpecialMesh") |
550 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643" |
550 | + | mesh1anan.MeshType = Enum.MeshType.FileMesh |
551 | - | hatmesh.Scale = Vector3.new(.1, .2, .1) |
551 | + | mesh1anan.Scale = Vector3.new(3,3,3) |
552 | - | local hatweld = Instance.new("Weld", hat) |
552 | + | mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" |
553 | - | hatweld.Part0 = hat |
553 | + | mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" |
554 | - | hatweld.Part1 = head |
554 | + | if taco == true then |
555 | - | hatweld.C0 = CFrame.new(0, -0.1, 0.05) |
555 | + | if char ~= nil then |
556 | - | end |
556 | + | local locationanan = char:GetModelCFrame() |
557 | - | end |
557 | + | local tacoa = Instance.new("Part") |
558 | - | |
558 | + | tacoa.CanCollide = false |
559 | - | if k == "l" then |
559 | + | tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) |
560 | - | if dancing then return end |
560 | + | local meshanananan = mesh1anan:clone() |
561 | - | if not sitting then |
561 | + | meshanananan.Parent = tacoa |
562 | - | dancing = true |
562 | + | meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) |
563 | - | foxie = true |
563 | + | tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) |
564 | - | fox_say:play() |
564 | + | tacoa.Parent = workspace |
565 | - | hat = Instance.new("Part", char) |
565 | + | game:GetService("Debris"):AddItem(tacoa,4) |
566 | - | hat.FormFactor = "Custom" |
566 | + | end |
567 | - | hat.CanCollide = false |
567 | + | end |
568 | - | hat.Size = head.Size |
568 | + | |
569 | - | hat.Locked = true |
569 | + | |
570 | - | hat:breakJoints() |
570 | + | |
571 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
571 | + | |
572 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225" |
572 | + | if canttouch == false then |
573 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210" |
573 | + | M1:Stop() |
574 | - | hatmesh.Scale = Vector3.new(.2, .2, .2) |
574 | + | end |
575 | - | local hatweld = Instance.new("Weld", hat) |
575 | + | if party == false then |
576 | - | hatweld.Part0 = hat |
576 | + | M2:Stop() |
577 | - | hatweld.Part1 = head |
577 | + | end |
578 | - | hatweld.C0 = CFrame.new(0, -0.1, 0) |
578 | + | if jerk == false then |
579 | - | end |
579 | + | M3:Stop() |
580 | - | |
580 | + | end |
581 | - | end |
581 | + | if happy == false then |
582 | - | if k == "f" then |
582 | + | M4:Stop() |
583 | - | if dancing then return end |
583 | + | end |
584 | - | if not sitting then |
584 | + | if spin == false then |
585 | - | dancing = true |
585 | + | M5:Stop() |
586 | - | durka = true |
586 | + | end |
587 | - | durk:play() |
587 | + | if thriller == false then |
588 | - | end |
588 | + | M6:Stop() |
589 | - | end |
589 | + | end |
590 | - | if k == "g" then |
590 | + | if barrel == false then |
591 | - | if dancing then return end |
591 | + | M7:Stop() |
592 | - | if not sitting then |
592 | + | end |
593 | - | dancing = true |
593 | + | if sax == false then |
594 | - | saxguy = true |
594 | + | M8:Stop() |
595 | - | sax_guy:play() |
595 | + | end |
596 | - | hat = Instance.new("Part", char) |
596 | + | if spooky == false then |
597 | - | hat.FormFactor = "Custom" |
597 | + | M9:Stop() |
598 | - | hat.CanCollide = false |
598 | + | end |
599 | - | hat.Size = head.Size |
599 | + | if stride == false then |
600 | - | hat.Locked = true |
600 | + | M10:Stop() |
601 | - | hat:breakJoints() |
601 | + | end |
602 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
602 | + | if shuffle == false then |
603 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178" |
603 | + | M11:Stop() |
604 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320" |
604 | + | end |
605 | - | hatmesh.Scale = Vector3.new(.25, .25, .25) |
605 | + | if rock == false then |
606 | - | local hatweld = Instance.new("Weld", hat) |
606 | + | M12:Stop() |
607 | - | hatweld.Part0 = hat |
607 | + | end |
608 | - | hatweld.Part1 = la |
608 | + | if gagnam == false then |
609 | - | hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4) |
609 | + | M13:Stop() |
610 | - | end |
610 | + | end |
611 | - | end |
611 | + | if snoop == false then |
612 | - | |
612 | + | M14:Stop() |
613 | - | |
613 | + | end |
614 | - | |
614 | + | if darude == false then |
615 | - | |
615 | + | M15:Stop() |
616 | - | if k == "q" then |
616 | + | end |
617 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end |
617 | + | if taco == false then |
618 | - | if sitting then return end |
618 | + | M16:Stop() |
619 | - | looking = true |
619 | + | end |
620 | - | rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4) |
620 | + | |
621 | - | end |
621 | + | if run == true and sit == false then |
622 | - | if k == "e" then |
622 | + | humanoid.WalkSpeed = 25 |
623 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end |
623 | + | elseif sit == true then |
624 | - | if sitting then return end |
624 | + | humanoid.WalkSpeed = 0 |
625 | - | looking = true |
625 | + | else |
626 | - | rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4) |
626 | + | humanoid.WalkSpeed = 16 |
627 | - | end |
627 | + | end |
628 | - | if k == "t" then |
628 | + | |
629 | - | if dancing then return end |
629 | + | if global_wait == 380 then global_wait = 0 end |
630 | - | if sitting then return end |
630 | + | |
631 | - | dancing = true |
631 | + | if (W == false or A == false or S == false or D == false) and jump == false and sit == false then |
632 | - | aj:play() |
632 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75) |
633 | - | end |
633 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75) |
634 | - | if string.byte(k) == 48 or string.byte(k) == 47 then |
634 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75) |
635 | - | if sitting then return end |
635 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75) |
636 | - | humanoid.WalkSpeed = 18 |
636 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0) |
637 | - | end |
637 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
638 | - | if string.byte(k) == 52 then |
638 | + | end |
639 | - | if sitting then return end |
639 | + | |
640 | - | humanoid.WalkSpeed = 6 |
640 | + | |
641 | - | end |
641 | + | if (W == false or A == false or S == false or D == false) and jump == false and sit == true then |
642 | - | end) |
642 | + | local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0)) |
643 | - | |
643 | + | local hitz,enz = workspace:FindPartOnRay(ray, char) |
644 | - | mouse.KeyUp:connect(function(k) |
644 | + | if hitz then |
645 | - | if string.byte(k) == 48 or string.byte(k) == 47 then |
645 | + | if rootpart:FindFirstChild("Weld") == nil then |
646 | - | if sitting then return end |
646 | + | miniweld = Instance.new("Weld", rootpart) |
647 | - | humanoid.WalkSpeed = 11 |
647 | + | miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) |
648 | - | end |
648 | + | miniweld.Part0 = hitz |
649 | - | if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then |
649 | + | miniweld.Part1 = rootpart |
650 | - | superannoying = false |
650 | + | humanoid.PlatformStand = true |
651 | - | barrelroll = false |
651 | + | end |
652 | - | heya = false |
652 | + | end |
653 | - | dubstepgun = false |
653 | + | else |
654 | - | youpirate = false |
654 | + | if rootpart:FindFirstChild("Weld") ~= nil then |
655 | - | canttouch = false |
655 | + | rootpart:FindFirstChild("Weld"):Destroy() |
656 | - | gangnam = false |
656 | + | humanoid.PlatformStand = false |
657 | - | sheddy = false |
657 | + | end |
658 | - | durka = false |
658 | + | end |
659 | - | saxguy = false |
659 | + | |
660 | - | foxie = false |
660 | + | if (W == false or A == false or S == false or D == false) and jump == false and sit == true then |
661 | - | burndem = false |
661 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15) |
662 | - | bronymusic = false |
662 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15) |
663 | - | aj:stop() |
663 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15) |
664 | - | brony_music:stop() |
664 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15) |
665 | - | fox_say:stop() |
665 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0) |
666 | - | spitfire:stop() |
666 | + | rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0) |
667 | - | heman:stop() |
667 | + | end |
668 | - | justin:stop() |
668 | + | |
669 | - | jb = false |
669 | + | if jump == true and sit == false then |
670 | - | durk:stop() |
670 | + | countspeed = 2 |
671 | - | restorecolors() |
671 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12) |
672 | - | burn_dem:stop() |
672 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12) |
673 | - | if hat then |
673 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12) |
674 | - | hat:Destroy() |
674 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12) |
675 | - | end |
675 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) |
676 | - | sax_guy:stop() |
676 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0) |
677 | - | gangy_style:stop() |
677 | + | end |
678 | - | cant_touch:stop() |
678 | + | |
679 | - | you_are_pirate:stop() |
679 | + | if (W == true or A == true or S == true or D == true) and jump == false and sit == false then |
680 | - | dubstep_gun:stop() |
680 | + | if run == true then |
681 | - | super_annoying:stop() |
681 | + | countspeed = 4 |
682 | - | barrel_roll:stop() |
682 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3) |
683 | - | dancing = false |
683 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3) |
684 | - | global_wait = 0 |
684 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5) |
685 | - | LightForTorso.Color = torso.BrickColor.Color |
685 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5) |
686 | - | end |
686 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0) |
687 | - | |
687 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0) |
688 | - | |
688 | + | else |
689 | - | if k == "q" then |
689 | + | countspeed = 2 |
690 | - | if looking then |
690 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4) |
691 | - | if sitting then return end |
691 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4) |
692 | - | rj.C0 = CFrame.new() |
692 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6) |
693 | - | looking = false |
693 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6) |
694 | - | end |
694 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) |
695 | - | end |
695 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0) |
696 | - | |
696 | + | end |
697 | - | if k == "e" then |
697 | + | end |
698 | - | if looking then |
698 | + | |
699 | - | if sitting then return end |
699 | + | if W == false and A == false and S == false and D == false and jump == false and sit == false then |
700 | - | rj.C0 = CFrame.new() |
700 | + | if jerk == true and jump == false and sit == false then |
701 | - | looking = false |
701 | + | countspeed = 2 |
702 | - | end |
702 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4) |
703 | - | end |
703 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4) |
704 | - | end) |
704 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(angle*0.5, 0, -math.abs(angle*0.15)) |
705 | - | |
705 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(-angle*0.5, 0, math.abs(angle*0.15)) |
706 | - | |
706 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0) |
707 | - | game:service'RunService'.Stepped:connect(function() |
707 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0) |
708 | - | count = (count % 100) + (countspeed/2) |
708 | + | elseif party == true and jump == false and sit == false then |
709 | - | angle = math.pi * math.sin(math.pi*2/100*count) |
709 | + | countspeed = 4 |
710 | - | |
710 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15) |
711 | - | if slidecount < slidecountmax then |
711 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15) |
712 | - | slidecount = slidecount + speed |
712 | + | ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10) |
713 | - | end |
713 | + | rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10) |
714 | - | if slidecount > slidecountmax then |
714 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0) |
715 | - | slidecount = slidecount - speed |
715 | + | rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
716 | - | end |
716 | + | elseif canttouch == true and jump == false and sit == false then |
717 | - | if global_wait == 380 then global_wait = 0 end |
717 | + | countspeed = 2 |
718 | - | |
718 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12) |
719 | - | sine = sine + sinespeed |
719 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12) |
720 | - | if not dancing then |
720 | + | lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8) |
721 | - | if not sitting then |
721 | + | rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8) |
722 | - | local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0)) |
722 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0) |
723 | - | local hitz, enz = workspace:FindPartOnRay(ray, char) |
723 | + | rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
724 | - | if not hitz then |
724 | + | elseif happy == true and jump == false and sit == false then |
725 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0) |
725 | + | countspeed = 4 |
726 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0) |
726 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8) |
727 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0) |
727 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8) |
728 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0) |
728 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10) |
729 | - | if not looking then |
729 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10) |
730 | - | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) |
730 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15) |
731 | - | end |
731 | + | rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
732 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) |
732 | + | elseif spin == true and jump == false and sit == false then |
733 | - | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then |
733 | + | global_wait = (global_wait % 360) + 4 |
734 | - | |
734 | + | countspeed = 4 |
735 | - | -- idle anim |
735 | + | ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10) |
736 | - | |
736 | + | rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10) |
737 | - | anim = "Idle" |
737 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10) |
738 | - | if anim ~= lastanim then |
738 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10) |
739 | - | if lastanim == "Walking" then |
739 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
740 | - | speed = 0.5 |
740 | + | rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4)) |
741 | - | slidecount = 1 |
741 | + | elseif thriller == true and jump == false and sit == false then |
742 | - | slidecountmax = 0 |
742 | + | countspeed = 2 |
743 | - | elseif lastanim == "Running" then |
743 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15) |
744 | - | speed = 2.5 |
744 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15) |
745 | - | slidecount = 5 |
745 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15) |
746 | - | slidecountmax = 0 |
746 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15) |
747 | - | else |
747 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0) |
748 | - | slidecount = 0 |
748 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50) |
749 | - | slidecountmax = 0 |
749 | + | elseif barrel == true and jump == false and sit == false then |
750 | - | end |
750 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi) |
751 | - | end |
751 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi) |
752 | - | countspeed = 1 |
752 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0) |
753 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0) |
753 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0) |
754 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0) |
754 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
755 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0) |
755 | + | rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle) |
756 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0) |
756 | + | elseif sax == true and jump == false and sit == false then |
757 | - | if not looking then |
757 | + | countspeed = 2 |
758 | - | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) |
758 | + | ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30)) |
759 | - | end |
759 | + | rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30)) |
760 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) |
760 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30)) |
761 | - | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then |
761 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30)) |
762 | - | looking = false |
762 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
763 | - | -- walk anim |
763 | + | rj.C0 = CFrame.new(0, -math.abs(angle*0.05), math.abs(angle*0.025)) * CFrame.Angles(math.pi/2 + math.abs(angle/20), math.pi, 0) |
764 | - | anim = "Walking" |
764 | + | elseif spooky == true and jump == false and sit == false then |
765 | - | if anim ~= lastanim then |
765 | + | countspeed = 3 |
766 | - | speed = 0.2 |
766 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5) |
767 | - | slidecount = 0 |
767 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5) |
768 | - | slidecountmax = 1 |
768 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16) |
769 | - | if lastanim == "Running" then |
769 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16) |
770 | - | slidecount = 5 |
770 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/12, math.pi, 0) |
771 | - | end |
771 | + | rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0) |
772 | - | end |
772 | + | elseif stride == true and jump == false and sit == false then |
773 | - | countspeed = 6 |
773 | + | countspeed = 2.5 |
774 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02)) |
774 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8) |
775 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02)) |
775 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8) |
776 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01)) |
776 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16) |
777 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01)) |
777 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16) |
778 | - | rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) |
778 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
779 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) |
779 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0) |
780 | - | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then |
780 | + | elseif shuffle == true and jump == false and sit == false then |
781 | - | --run anim |
781 | + | countspeed = 2 |
782 | - | anim = "Running" |
782 | + | ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5) |
783 | - | if anim ~= lastanim then |
783 | + | rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5) |
784 | - | speed = 1 |
784 | + | lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15) |
785 | - | slidecount = 0 |
785 | + | rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15) |
786 | - | slidecountmax = 5 |
786 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0) |
787 | - | if lastanim == "Walking" then |
787 | + | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0) |
788 | - | slidecount = 1 |
788 | + | elseif rock == true and jump == false and sit == false then |
789 | - | end |
789 | + | countspeed = 4 |
790 | - | end |
790 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2) |
791 | - | |
791 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2) |
792 | - | looking = false |
792 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32) |
793 | - | countspeed = 9 |
793 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32) |
794 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07)) |
794 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
795 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07)) |
795 | + | rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
796 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03)) |
796 | + | elseif gagnam == true and jump == false and sit == false then |
797 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03)) |
797 | + | countspeed = 4 |
798 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) |
798 | + | ls.C1 = CFrame.new(0,0.75,-0.15) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20) |
799 | - | rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0) |
799 | + | rs.C1 = CFrame.new(0,0.75,-0.15) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20) |
800 | - | end |
800 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0) |
801 | - | |
801 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0) |
802 | - | lastanim = anim |
802 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0) |
803 | - | else |
803 | + | rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0) |
804 | - | countspeed = 1 |
804 | + | elseif snoop == true and jump == false and sit == false then |
805 | - | local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0)) |
805 | + | countspeed = 2 |
806 | - | local hitz, enz = workspace:FindPartOnRay(ray, char) |
806 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4) |
807 | - | if not hitz then |
807 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4) |
808 | - | rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0) |
808 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4) |
809 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16) |
809 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4) |
810 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16) |
810 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0) |
811 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10) |
811 | + | rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0) |
812 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10) |
812 | + | elseif darude == true and jump == false and sit == false then |
813 | - | else |
813 | + | countspeed = 3 |
814 | - | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) |
814 | + | ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5) |
815 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) |
815 | + | rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3) |
816 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) |
816 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3) |
817 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) |
817 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5) |
818 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) |
818 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0) |
819 | - | end |
819 | + | rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0) |
820 | - | |
820 | + | elseif taco == true and jump == false and sit == false then |
821 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0) |
821 | + | countspeed = 4 |
822 | - | end |
822 | + | global_wait = (global_wait % 360) + 4 |
823 | - | else |
823 | + | ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi) |
824 | - | if superannoying then |
824 | + | rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi) |
825 | - | countspeed = 5 |
825 | + | lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16) |
826 | - | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) |
826 | + | rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16) |
827 | - | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) |
827 | + | neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0) |
828 | - | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) |
828 | + | rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4)) |
829 | - | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) |
829 | + | end |
830 | - | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) |
830 | + | end |
831 | - | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) |
831 | + | end) |