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