SHOW:
|
|
- or go back to the newest paste.
1 | local rightarm = Instance.new("Weld", owner.Character.Torso) | |
2 | rightarm.Part0 = owner.Character.Torso | |
3 | rightarm.Part1 = owner.Character["Right Arm"] | |
4 | rightarm.C0 = CFrame.new(1.5, 0.75, 0) | |
5 | rightarm.C1 = CFrame.new(0,0.7,0) | |
6 | rightarm.Name = "RightArmWeld" | |
7 | local leftarm = Instance.new("Weld", owner.Character.Torso) | |
8 | leftarm.Part0 = owner.Character.Torso | |
9 | leftarm.Part1 = owner.Character["Left Arm"] | |
10 | leftarm.C0 = CFrame.new(-1.5, 0.75, 0) | |
11 | leftarm.C1 = CFrame.new(0,0.7,0) | |
12 | leftarm.Name = "LeftArmWeld" | |
13 | local rightleg = Instance.new("Weld", owner.Character.Torso) | |
14 | rightleg.Part0 = owner.Character.Torso | |
15 | rightleg.Part1 = owner.Character["Right Leg"] | |
16 | rightleg.C0 = CFrame.new(0.5,-1,0) | |
17 | rightleg.C1 = CFrame.new(0,1,0) | |
18 | rightleg.Name = "RightLegWeld" | |
19 | local leftleg = Instance.new("Weld", owner.Character.Torso) | |
20 | leftleg.Part0 = owner.Character.Torso | |
21 | leftleg.Part1 = owner.Character["Left Leg"] | |
22 | leftleg.C0 = CFrame.new(-0.5,-1,0) | |
23 | leftleg.C1 = CFrame.new(0,1,0) | |
24 | leftleg.Name = "LeftLegWeld" | |
25 | owner.Character.Humanoid.RequiresNeck = false | |
26 | local head = Instance.new("Weld", owner.Character.Torso) | |
27 | head.Part0 = owner.Character.Torso | |
28 | head.Part1 = owner.Character.Head | |
29 | head.C0 = CFrame.new(0, 1.5, 0) | |
30 | head.C1 = CFrame.new(0,0,0) | |
31 | head.Name = "Head" | |
32 | local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart) | |
33 | humanoidrootpart.Part0 = owner.Character.HumanoidRootPart | |
34 | humanoidrootpart.Part1 = owner.Character.Torso | |
35 | humanoidrootpart.Name = "HumanoidRootPartWeld" | |
36 | local tweenService = game:GetService("TweenService") | |
37 | local timeToFade = 2 | |
38 | local object = leftarm | |
39 | local tweenInfo = TweenInfo.new(timeToFade) | |
40 | local goal = {} | |
41 | goal.C0 = CFrame.new(-1.5,0.85,0) * CFrame.Angles(0,0,math.rad(-5)) | |
42 | ||
43 | local tween = tweenService:Create(object, tweenInfo, goal) | |
44 | local timeToFade2 = 2 | |
45 | local object2 = humanoidrootpart | |
46 | local tweenInfo2 = TweenInfo.new(timeToFade2) | |
47 | local goal2 = {} | |
48 | goal2.C0 = CFrame.new(0, 0.25,0) | |
49 | ||
50 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
51 | ||
52 | local timeToFade3 = 2 | |
53 | local object3 = rightarm | |
54 | local tweenInfo3 = TweenInfo.new(timeToFade3) | |
55 | local goal3 = {} | |
56 | goal3.C0 = CFrame.new(1.5,0.85,0) * CFrame.Angles(0,0,math.rad(5)) | |
57 | ||
58 | local tween3 = tweenService:Create(object3, tweenInfo3, goal3) | |
59 | local timeToFade4 = 2 | |
60 | local object4 = rightleg | |
61 | local tweenInfo4 = TweenInfo.new(timeToFade4) | |
62 | local goal4 = {} | |
63 | goal4.C0 = CFrame.new(0.5,-0.85,0) * CFrame.Angles(0,0,math.rad(5)) | |
64 | local timeToFade5 = 2 | |
65 | local object5 = head | |
66 | local tweenInfo5 = TweenInfo.new(timeToFade5) | |
67 | local goal5 = {} | |
68 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0) | |
69 | local tween4 = tweenService:Create(object4, tweenInfo4, goal4) | |
70 | local timeToFade6 = 2 | |
71 | local object6 = leftleg | |
72 | local tweenInfo6 = TweenInfo.new(timeToFade6) | |
73 | local goal6 = {} | |
74 | goal6.C0 = CFrame.new(-0.5,-0.85,0) * CFrame.Angles(0,0,math.rad(-5)) | |
75 | ||
76 | local tween6 = tweenService:Create(object6, tweenInfo6, goal6) | |
77 | while true do | |
78 | task.wait() | |
79 | if owner.Character.Humanoid.Sit == true then | |
80 | coroutine.wrap(function() | |
81 | local goal5 = {} | |
82 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0) | |
83 | local goal6 = {} | |
84 | goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(-1.5)) | |
85 | local goal4 = {} | |
86 | goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(1.5)) | |
87 | local goal3 = {} | |
88 | goal3.C0 = CFrame.new(1.5,1,0.5) * CFrame.Angles(math.rad(-75),0,math.rad(-72.5)) | |
89 | local goal = {} | |
90 | goal.C0 = CFrame.new(-1.5,1,0.5) * CFrame.Angles(math.rad(-75),0,math.rad(72.5)) | |
91 | local goal2 = {} | |
92 | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),0,0) | |
93 | local tween5 = tweenService:Create(object5, tweenInfo5, goal5) | |
94 | local tween4 = tweenService:Create(object4, tweenInfo4, goal4) | |
95 | local tween3 = tweenService:Create(object3, tweenInfo3, goal3) | |
96 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
97 | local tween6 = tweenService:Create(object6, tweenInfo6, goal6) | |
98 | local tween = tweenService:Create(object, tweenInfo, goal) | |
99 | tween:Play() | |
100 | tween2:Play() | |
101 | tween3:Play() | |
102 | tween4:Play() | |
103 | tween5:Play() | |
104 | tween6:Play() | |
105 | wait(2) | |
106 | local goal5 = {} | |
107 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0.1),0,0) | |
108 | local goal6 = {} | |
109 | goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(-2.5)) | |
110 | local goal4 = {} | |
111 | goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(2.5)) | |
112 | local goal3 = {} | |
113 | goal3.C0 = CFrame.new(1.5,0.9,0.4) * CFrame.Angles(math.rad(-73.5),0,math.rad(-70)) | |
114 | local goal = {} | |
115 | goal.C0 = CFrame.new(-1.5,0.9,0.4) * CFrame.Angles(math.rad(-73.5),0,math.rad(70)) | |
116 | local goal2 = {} | |
117 | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),0,0) | |
118 | local tween5 = tweenService:Create(object5, tweenInfo5, goal5) | |
119 | local tween4 = tweenService:Create(object4, tweenInfo4, goal4) | |
120 | local tween3 = tweenService:Create(object3, tweenInfo3, goal3) | |
121 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
122 | local tween6 = tweenService:Create(object6, tweenInfo6, goal6) | |
123 | local tween = tweenService:Create(object, tweenInfo, goal) | |
124 | tween:Play() | |
125 | tween2:Play() | |
126 | tween3:Play() | |
127 | tween4:Play() | |
128 | tween5:Play() | |
129 | tween6:Play() | |
130 | wait(2) | |
131 | - | if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then |
131 | + | end)() |
132 | elseif owner.Character.Humanoid.Sit == false then | |
133 | coroutine.wrap(function() | |
134 | if owner.Character.HumanoidRootPart.Velocity.x == 0 or owner.Character.HumanoidRootPart.Velocity.z == 0 then | |
135 | local goal5 = {} | |
136 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0) | |
137 | local goal6 = {} | |
138 | goal6.C0 = CFrame.new(-0.5,-1.1,0) * CFrame.Angles(0,0,math.rad(-5)) | |
139 | local goal4 = {} | |
140 | goal4.C0 = CFrame.new(0.5,-1.1,0) * CFrame.Angles(0,0,math.rad(5)) | |
141 | local goal3 = {} | |
142 | goal3.C0 = CFrame.new(1.5,0.85,0) * CFrame.Angles(math.rad(73.5),0,math.rad(55)) | |
143 | local goal = {} | |
144 | goal.C0 = CFrame.new(-1.5,0.85,0) * CFrame.Angles(0,0,math.rad(-5)) | |
145 | local goal2 = {} | |
146 | goal2.C0 = CFrame.new(0,0,0) | |
147 | local tween5 = tweenService:Create(object5, tweenInfo5, goal5) | |
148 | local tween4 = tweenService:Create(object4, tweenInfo4, goal4) | |
149 | local tween3 = tweenService:Create(object3, tweenInfo3, goal3) | |
150 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
151 | local tween6 = tweenService:Create(object6, tweenInfo6, goal6) | |
152 | local tween = tweenService:Create(object, tweenInfo, goal) | |
153 | tween:Play() | |
154 | tween2:Play() | |
155 | tween3:Play() | |
156 | tween4:Play() | |
157 | tween5:Play() | |
158 | tween6:Play() | |
159 | wait(2) | |
160 | local goal5 = {} | |
161 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0.1),0,0) | |
162 | local goal6 = {} | |
163 | goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,math.rad(-2.5)) | |
164 | local goal4 = {} | |
165 | goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,math.rad(2.5)) | |
166 | local goal3 = {} | |
167 | goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(0,0,math.rad(2.5)) | |
168 | local goal = {} | |
169 | goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(0,0,math.rad(-2.5)) | |
170 | local goal2 = {} | |
171 | goal2.C0 = CFrame.new(0,0,0) | |
172 | local tween5 = tweenService:Create(object5, tweenInfo5, goal5) | |
173 | local tween4 = tweenService:Create(object4, tweenInfo4, goal4) | |
174 | local tween3 = tweenService:Create(object3, tweenInfo3, goal3) | |
175 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
176 | local tween6 = tweenService:Create(object6, tweenInfo6, goal6) | |
177 | local tween = tweenService:Create(object, tweenInfo, goal) | |
178 | tween:Play() | |
179 | tween2:Play() | |
180 | tween3:Play() | |
181 | tween4:Play() | |
182 | - | elseif owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then |
182 | + | |
183 | tween6:Play() | |
184 | wait(2) | |
185 | end)() | |
186 | - | goal6.C0 = CFrame.new(-0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-15.5),0,math.rad(-1)) |
186 | + | elseif owner.Character.HumanoidRootPart.Velocity.x ~= 0 or owner.Character.HumanoidRootPart.Velocity.z ~= 0 then |
187 | coroutine.wrap(function() | |
188 | - | goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(-2.5),0,math.rad(5)) |
188 | + | |
189 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-0.5),0,0) | |
190 | - | goal3.C0 = CFrame.new(1.5,0.75,0.2) * CFrame.Angles(math.rad(25.5),0,math.rad(5)) |
190 | + | |
191 | goal6.C0 = CFrame.new(-0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)) | |
192 | - | goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(math.rad(-14.5),0,math.rad(-2.5)) |
192 | + | |
193 | goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(17.5),0,math.rad(5)) | |
194 | - | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-2.5),0,0) |
194 | + | |
195 | goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(math.rad(14.5),0,math.rad(5)) | |
196 | local goal = {} | |
197 | goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(math.rad(-16.5),0,math.rad(-2.5)) | |
198 | local goal2 = {} | |
199 | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),0,0) | |
200 | local tween5 = tweenService:Create(object5, TweenInfo.new(0.25), goal5) | |
201 | local tween4 = tweenService:Create(object4, TweenInfo.new(0.25), goal4) | |
202 | local tween3 = tweenService:Create(object3, TweenInfo.new(0.35), goal3) | |
203 | local tween2 = tweenService:Create(object2, TweenInfo.new(0.25), goal2) | |
204 | local tween6 = tweenService:Create(object6, TweenInfo.new(0.25), goal6) | |
205 | local tween = tweenService:Create(object, TweenInfo.new(0.35), goal) | |
206 | tween:Play() | |
207 | tween2:Play() | |
208 | tween3:Play() | |
209 | tween4:Play() | |
210 | tween5:Play() | |
211 | - | goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(-2.5),0,math.rad(-5)) |
211 | + | |
212 | wait(0.35) | |
213 | - | goal4.C0 = CFrame.new(0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-15.5),0,math.rad(1)) |
213 | + | |
214 | goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-1),0,0) | |
215 | - | goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(math.rad(-14.5),0,math.rad(2.5)) |
215 | + | |
216 | goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(17.5),0,math.rad(-2.5)) | |
217 | - | goal.C0 = CFrame.new(-1.5,0.75,0.2) * CFrame.Angles(math.rad(25.5),0,math.rad(-5)) |
217 | + | |
218 | goal4.C0 = CFrame.new(0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)) | |
219 | - | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-1.5),0,0) |
219 | + | |
220 | goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(math.rad(-16.5),0,math.rad(2.5)) | |
221 | local goal = {} | |
222 | goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(math.rad(14.5),0,math.rad(-2.5)) | |
223 | local goal2 = {} | |
224 | goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4.5),0,0) | |
225 | local tween5 = tweenService:Create(object5, TweenInfo.new(0.25), goal5) | |
226 | local tween4 = tweenService:Create(object4, TweenInfo.new(0.25), goal4) | |
227 | local tween3 = tweenService:Create(object3, TweenInfo.new(0.35), goal3) | |
228 | local tween2 = tweenService:Create(object2, TweenInfo.new(0.25), goal2) | |
229 | local tween6 = tweenService:Create(object6, TweenInfo.new(0.25), goal6) | |
230 | local tween = tweenService:Create(object, TweenInfo.new(0.35), goal) | |
231 | tween:Play() | |
232 | tween2:Play() | |
233 | tween3:Play() | |
234 | tween4:Play() | |
235 | tween5:Play() | |
236 | tween6:Play() | |
237 | wait(0.35) | |
238 | end)() | |
239 | end | |
240 | end | |
241 | end |