SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[ |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | - | Jump in the CAAC |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | - | by EthanHong0407 |
3 | + | do |
4 | print("FE Compatibility code by Mokiros") | |
5 | - | why the hell did i make this |
5 | + | script.Parent = Player.Character |
6 | - | i dont even know anymore |
6 | + | |
7 | - | ]] |
7 | + | --RemoteEvent for communicating |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | local plr = game.Players.LocalPlayer | |
85 | local char = plr.Character | |
86 | local hum = char:FindFirstChildOfClass("Humanoid") | |
87 | local t = tick() | |
88 | local action = "" | |
89 | local torsorot = 0 | |
90 | if hum:FindFirstChild("Animator") then | |
91 | hum.Animator:Destroy() | |
92 | end | |
93 | ||
94 | hum.WalkSpeed = 0 | |
95 | ||
96 | ||
97 | local song = Instance.new("Sound", char) | |
98 | song.SoundId = "rbxassetid://1883633498" | |
99 | song.Volume = 1 | |
100 | song.TimePosition = 3 | |
101 | song:Play() | |
102 | function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name) | |
103 | local joint = Instance.new("Motor6D", wp0) | |
104 | joint.Part0 = wp0 | |
105 | joint.Part1 = wp1 | |
106 | joint.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
107 | joint.C1 = CFrame.new(wc1x, wc1y, wc1z) | |
108 | joint.Name = name | |
109 | return joint | |
110 | end | |
111 | ||
112 | local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder") | |
113 | local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint") | |
114 | local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder") | |
115 | local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip") | |
116 | local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip") | |
117 | local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck") | |
118 | ||
119 | local rsc0 = RS.C0 | |
120 | local lsc0 = LS.C0 | |
121 | local tsc0 = TS.C0 | |
122 | local rhc0 = RH.C0 | |
123 | local lhc0 = LH.C0 | |
124 | local nkc0 = NK.C0 | |
125 | ||
126 | local gun = Instance.new("Part", char) | |
127 | gun.Size = Vector3.new(1, 1, 1) | |
128 | gun.Anchored = false | |
129 | gun.CFrame = CFrame.new(0, 10, 0) | |
130 | gun.BrickColor = BrickColor.new("Black") | |
131 | gun:BreakJoints() | |
132 | local gunMesh = Instance.new("SpecialMesh", gun) | |
133 | gunMesh.MeshId = "rbxassetid://430697201" | |
134 | gunMesh.Scale = Vector3.new(1, 1, 1) | |
135 | ||
136 | local gunWeld = Instance.new("Weld", gun) | |
137 | gunWeld.Part0 = char["Right Arm"] | |
138 | gunWeld.Part1 = gun | |
139 | gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90)) | |
140 | * CFrame.Angles(math.rad(-90), 0, 0) | |
141 | * CFrame.Angles(0, math.rad(180), 0) | |
142 | ||
143 | ||
144 | TS.C0 = CFrame.new(0, 10000, 0) | |
145 | game:GetService("RunService").RenderStepped:connect(function() | |
146 | t = t + 0.5 | |
147 | if action == "IGotAGun" then | |
148 | local speed = 0.3 | |
149 | torsorot = torsorot + 45 | |
150 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
151 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0) | |
152 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
153 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
154 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
155 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
156 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
157 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
158 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
159 | elseif action == "IGotAGun2" then | |
160 | local speed = 0.3 | |
161 | ||
162 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
163 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
164 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
165 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
166 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
167 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
168 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
169 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
170 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
171 | elseif action == "CoufCouf" then | |
172 | local speed = 1 | |
173 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
174 | math.rad(math.random(-360, 360)), | |
175 | math.rad(math.random(-360, 360))), speed) | |
176 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
177 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
178 | math.rad(math.random(-360, 360)), | |
179 | math.rad(math.random(-360, 360))), speed) | |
180 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
181 | math.rad(math.random(-360, 360)), | |
182 | math.rad(math.random(-360, 360))), speed) | |
183 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
184 | math.rad(math.random(-360, 360)), | |
185 | math.rad(math.random(-360, 360))), speed) | |
186 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
187 | math.rad(math.random(-360, 360)), | |
188 | math.rad(math.random(-360, 360))), speed) | |
189 | elseif action == "Sleep" then | |
190 | local speed = 1 | |
191 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed) | |
192 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1) | |
193 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
194 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed) | |
195 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed) | |
196 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
197 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed) | |
198 | elseif action == "WakeUp" then | |
199 | local speed = 0.3 | |
200 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed) | |
201 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
202 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed) | |
203 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
204 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
205 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
206 | elseif action == "Whehw" then | |
207 | local speed = 1 | |
208 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
209 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
210 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
211 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
212 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
213 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
214 | elseif action == "Julioliolio" then | |
215 | local speed = 1 | |
216 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
217 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
218 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
219 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
220 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
221 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
222 | elseif action == "ICan" then | |
223 | local speed = 1 | |
224 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
225 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
226 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
227 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
228 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
229 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
230 | * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed) | |
231 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
232 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
233 | elseif action == "ICan2" then | |
234 | local speed = 0.4 | |
235 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
236 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
237 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
238 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
239 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
240 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
241 | * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed) | |
242 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
243 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
244 | elseif action == "ICant" then | |
245 | local speed = 0.4 | |
246 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
247 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
248 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
249 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
250 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
251 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
252 | * CFrame.Angles(math.rad(90), 0, math.rad(-70)), speed) | |
253 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
254 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
255 | elseif action == "BabyJeans" then | |
256 | NK.C0 = nkc0 | |
257 | TS.C0 = tsc0 * CFrame.new(0, 8, 0) | |
258 | LS.C0 = lsc0 | |
259 | RS.C0 = rsc0 | |
260 | LH.C0 = lhc0 | |
261 | RH.C0 = rhc0 | |
262 | elseif action == "YouAndYour" then | |
263 | local speed = 1 | |
264 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed) | |
265 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0) | |
266 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
267 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
268 | * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
269 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed) | |
270 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
271 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
272 | elseif action == "Painis" then | |
273 | local speed = 0.4 | |
274 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed) | |
275 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
276 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
277 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0) | |
278 | * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed) | |
279 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0) | |
280 | * CFrame.Angles(math.rad(10), 0, math.rad(45)), speed) | |
281 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
282 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
283 | elseif action == "Impoopments" then | |
284 | local speed = 1 | |
285 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
286 | TS.C0 = TS.C0:lerp(tsc0, speed) | |
287 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
288 | math.rad(math.random(-360, 360)), | |
289 | math.rad(math.random(-360, 360))), speed) | |
290 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
291 | math.rad(math.random(-360, 360)), | |
292 | math.rad(math.random(-360, 360))), speed) | |
293 | RH.C0 = RH.C0:lerp(rhc0, speed) | |
294 | LH.C0 = LH.C0:lerp(lhc0, speed) | |
295 | elseif action == "Normal" then | |
296 | local speed = 1 | |
297 | NK.C0 = nkc0 | |
298 | TS.C0 = tsc0 | |
299 | LS.C0 = lsc0 | |
300 | RS.C0 = rsc0 | |
301 | LH.C0 = lhc0 | |
302 | RH.C0 = rhc0 | |
303 | elseif action == "Jooj" then | |
304 | NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
305 | TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
306 | LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
307 | LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
308 | RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
309 | RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
310 | elseif action == "Upsidedown" then | |
311 | local speed = 1 | |
312 | NK.C0 = nkc0 | |
313 | TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180)) | |
314 | LS.C0 = lsc0 | |
315 | RS.C0 = rsc0 | |
316 | LH.C0 = lhc0 | |
317 | RH.C0 = rhc0 | |
318 | elseif action == "CAAC" then | |
319 | local speed = 0.1 | |
320 | NK.C0 = nkc0 | |
321 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed) | |
322 | LS.C0 = lsc0 | |
323 | RS.C0 = rsc0 | |
324 | LH.C0 = lhc0 | |
325 | RH.C0 = rhc0 | |
326 | end | |
327 | end) | |
328 | ||
329 | ||
330 | action = "IGotAGun" | |
331 | wait(0.5) | |
332 | action = "IGotAGun2" | |
333 | wait(2.9) | |
334 | action = "CoufCouf" | |
335 | local part = Instance.new("Part", char) | |
336 | part.Anchored = true | |
337 | part.Material = "Neon" | |
338 | part.BrickColor = BrickColor.new("New Yeller") | |
339 | part.CanCollide = false | |
340 | part.Size = Vector3.new(0.1, 0.1, 10000) | |
341 | for i = 1, 16 do | |
342 | ||
343 | ||
344 | part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100))) | |
345 | wait(0.5/16) | |
346 | ||
347 | end | |
348 | part:Destroy() | |
349 | gun:Destroy() | |
350 | local bed = Instance.new("Part", char) | |
351 | bed.Anchored = false | |
352 | bed.CanCollide = false | |
353 | bed.Size = Vector3.new(4, 8, 2) | |
354 | bed:BreakJoints() | |
355 | local bedmesh = Instance.new("SpecialMesh", bed) | |
356 | bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4) | |
357 | bedmesh.MeshId = "rbxassetid://473508427" | |
358 | bedmesh.TextureId = "rbxassetid://473508936" | |
359 | local bedweld = Instance.new("Weld", bed) | |
360 | bedweld.Part0 = char.HumanoidRootPart | |
361 | bedweld.Part1 = bed | |
362 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
363 | * CFrame.Angles(math.rad(-90), 0, 0) | |
364 | action = "Sleep" | |
365 | wait(0.25) | |
366 | action = "WakeUp" | |
367 | wait(0.5) | |
368 | action = "Whehw" | |
369 | wait(0.7) | |
370 | action = "Julioliolio" | |
371 | for i = 1, 16 do | |
372 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
373 | * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)) | |
374 | wait(1/16) | |
375 | end | |
376 | bed:Destroy() | |
377 | action = "ICan" | |
378 | wait(0.2) | |
379 | action = "ICant" | |
380 | wait(0.25) | |
381 | action = "ICan2" | |
382 | wait(0.2) | |
383 | action = "ICant" | |
384 | wait(0.35) | |
385 | - | char.Head:Destroy() |
385 | + | |
386 | local baby = Instance.new("Part", char) | |
387 | baby.Size = Vector3.new(2, 2, 1) | |
388 | baby.Anchored = false | |
389 | baby.CanCollide = false | |
390 | baby:BreakJoints() | |
391 | ||
392 | local baby2 = Instance.new("SpecialMesh", baby) | |
393 | baby2.MeshId = "rbxassetid://430300723" | |
394 | baby2.Scale = Vector3.new(5, 5, 5) | |
395 | baby2.TextureId = "rbxassetid://430300725" | |
396 | ||
397 | local babyweld = Instance.new("Weld", baby) | |
398 | babyweld.Part0 = char.Torso | |
399 | babyweld.Part1 = baby | |
400 | babyweld.C0 = CFrame.new(0, -1, 0) | |
401 | * CFrame.Angles(0, math.rad(180), 0) | |
402 | wait(0.5) | |
403 | baby2.TextureId = "rbxassetid://140688857" | |
404 | wait(1.1) | |
405 | baby:Destroy() | |
406 | action = "YouAndYour" | |
407 | wait(0.5) | |
408 | action = "Painis" | |
409 | wait(0.4) | |
410 | action = "Impoopments" | |
411 | wait(1) | |
412 | ||
413 | local pp = Instance.new("Part", char) | |
414 | pp.Size = Vector3.new(1, 1, 1) | |
415 | pp.Anchored = true | |
416 | pp.CanCollide = false | |
417 | pp.Transparency = 1 | |
418 | pp.BrickColor = char.Torso.BrickColor | |
419 | pp:BreakJoints() | |
420 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
421 | ||
422 | for i = 1, 20 do | |
423 | pp.Size = pp.Size + Vector3.new(0, 0, 2) | |
424 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i) | |
425 | wait(0.5/20) | |
426 | end | |
427 | pp:Destroy() | |
428 | action = "Jooj" | |
429 | wait(1.7) | |
430 | action = "Normal" | |
431 | wait(0.5) | |
432 | action = "Upsidedown" | |
433 | wait(0.5) | |
434 | action = "Normal" | |
435 | TS.C0 = tsc0 * CFrame.new(0, 10, 0) | |
436 | local caac = Instance.new("Part", char) | |
437 | caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
438 | caac.Anchored = true | |
439 | caac.CanCollide = true | |
440 | caac.Size = Vector3.new(8, 4, 1) | |
441 | caac:BreakJoints() | |
442 | local caactext = Instance.new("SurfaceGui", caac) | |
443 | caactext.Adornee = caac | |
444 | local caactext2 = Instance.new("TextLabel", caactext) | |
445 | caactext2.Size = UDim2.new(1, 0, 1, 0) | |
446 | caactext2.TextScaled = true | |
447 | caactext2.Text = "CAAC" | |
448 | caactext2.Font = "Legacy" | |
449 | action = "CAAC" | |
450 | wait(1.7) | |
451 | coroutine.resume(coroutine.create(function() | |
452 | for i = 1, 100 do | |
453 | if char.Head ~= nil then | |
454 | char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1) | |
455 | end | |
456 | wait(0.5/100) | |
457 | end | |
458 | end)) | |
459 | wait(1) | |
460 | caac.Anchored = false | |
461 | char.Head:Clone() | |
462 | local sound = Instance.new("Sound", char.Torso) | |
463 | sound.SoundId = "rbxassetid://440431180" | |
464 | sound.Volume = 1 | |
465 | sound:Play() | |
466 | ||
467 | local explosion = Instance.new("Explosion", char) | |
468 | explosion.BlastRadius = 1 | |
469 | explosion.BlastPressure = 9000 | |
470 | explosion.Position = char.Torso.Position |