SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | ||
153 | --go duck | |
154 | --note. this is a stupid script | |
155 | --lets get moms credit card | |
156 | ||
157 | ||
158 | ||
159 | print ("proceeds to open mouth") | |
160 | print ("fast") | |
161 | print ("GOES AT THE SPEED OF SOUND") | |
162 | print ("and then becomes a blue furry hedgehog thing with shoes and gloves") | |
163 | local s = Instance.new("Sound") | |
164 | ||
165 | s.Name = "Name" | |
166 | s.SoundId = "rbxassetid://0" | |
167 | s.Volume = 4 | |
168 | s.Looped = true | |
169 | s.archivable = false | |
170 | ||
171 | s.Parent = game.Workspace | |
172 | ||
173 | wait(0.2) | |
174 | ||
175 | s:play() | |
176 | local pchar = game.Players.LocalPlayer.Character -- Can change player here -- | |
177 | ||
178 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
179 | if v.ClassName == 'Decal' then | |
180 | v:Destroy() | |
181 | end | |
182 | end | |
183 | for i,v in pairs(pchar:GetChildren()) do | |
184 | if v.ClassName == 'Hat' then | |
185 | v:Destroy() | |
186 | end | |
187 | end | |
188 | ||
189 | for i,v in pairs(pchar.Head:GetChildren()) do | |
190 | if v.ClassName == 'Decal' then | |
191 | v:Destroy() | |
192 | end | |
193 | end | |
194 | ||
195 | local duck = Instance.new('SpecialMesh', pchar.Torso) | |
196 | duck.MeshType = 'FileMesh' | |
197 | - | duck.MeshId = 'rbxassetid://1929105842' |
197 | + | duck.MeshId = 'rbxassetid://4536735058' |
198 | - | duck.TextureId = 'rbxassetid://1929112626' |
198 | + | duck.TextureId = 'rbxassetid://4536839289' |
199 | - | duck.Scale = Vector3.new(0.25, 0.25, 0.25) |
199 | + | duck.Scale = Vector3.new(0.30, 0.30, 0.30) |
200 | pchar.Head.Transparency = 1 | |
201 | pchar['Left Arm'].Transparency = 1 | |
202 | pchar['Right Arm'].Transparency = 1 | |
203 | pchar['Left Leg'].Transparency = 1 | |
204 | pchar['Right Leg'].Transparency = 1 | |
205 | CV="White" | |
206 | ||
207 | p = game.Players.LocalPlayer | |
208 | char = p.Character | |
209 | local txt = Instance.new("BillboardGui", char) | |
210 | txt.Adornee = char .Head | |
211 | txt.Name = "_status" | |
212 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
213 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
214 | local text = Instance.new("TextLabel", txt) | |
215 | text.Size = UDim2.new(10, 0, 7, 0) | |
216 | text.FontSize = "Size24" | |
217 | text.TextScaled = true | |
218 | text.TextTransparency = 0 | |
219 | text.BackgroundTransparency = 1 | |
220 | text.TextTransparency = 0 | |
221 | text.TextStrokeTransparency = 1 | |
222 | text.Font = "Highway" | |
223 | text.TextStrokeColor3 = Color3.fromRGB(255,0,0) | |
224 | ||
225 | v=Instance.new("Part") | |
226 | v.Name = "ColorBrick" | |
227 | v.Parent=p.Character | |
228 | v.FormFactor="Symmetric" | |
229 | v.Anchored=true | |
230 | v.CanCollide=false | |
231 | v.BottomSurface="Smooth" | |
232 | v.TopSurface="Smooth" | |
233 | v.Size=Vector3.new(10,5,3) | |
234 | v.Transparency=1 | |
235 | v.CFrame=char.Torso.CFrame | |
236 | v.BrickColor=BrickColor.new(CV) | |
237 | v.Transparency=1 | |
238 | text.TextColor3 = Color3.fromRGB(255,192,203) | |
239 | v.Shape="Block" | |
240 | text.Text = "hedgehog" | |
241 | wait(1/60) | |
242 | Effects = { } | |
243 | local Player = game:service'Players'.localPlayer | |
244 | local chara = Player.Character | |
245 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
246 | local Mouse = Player:GetMouse() | |
247 | local LeftArm = chara["Left Arm"] | |
248 | local RightArm = chara["Right Arm"] | |
249 | local LeftLeg = chara["Left Leg"] | |
250 | local RightLeg = chara["Right Leg"] | |
251 | local Head = chara.Head | |
252 | local Torso = chara.Torso | |
253 | local Camera = game.Workspace.CurrentCamera | |
254 | local RootPart = chara.HumanoidRootPart | |
255 | local RootJoint = RootPart.RootJoint | |
256 | local attack = false | |
257 | local Anim = 'Idle' | |
258 | local attacktype = 1 | |
259 | local delays = false | |
260 | local play = true | |
261 | local targetted = nil | |
262 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
263 | local velocity = RootPart.Velocity.y | |
264 | local sine = 0 | |
265 | local change = 1 | |
266 | local doe = 0 | |
267 | local Create = LoadLibrary("RbxUtility").Create | |
268 | Humanoid.WalkSpeed = 2 | |
269 | ||
270 | Humanoid.Animator.Parent = nil | |
271 | chara.Animate.Parent = nil | |
272 | ||
273 | local newMotor = function(part0, part1, c0, c1) | |
274 | local w = Create('Motor'){ | |
275 | Parent = part0, | |
276 | Part0 = part0, | |
277 | Part1 = part1, | |
278 | C0 = c0, | |
279 | C1 = c1, | |
280 | } | |
281 | return w | |
282 | end | |
283 | ||
284 | function clerp(a, b, t) | |
285 | return a:lerp(b, t) | |
286 | end | |
287 | ||
288 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
289 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
290 | ||
291 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
292 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
293 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
294 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
295 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
296 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
297 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
298 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
299 | ||
300 | local rarmc1 = RW.C1 | |
301 | local larmc1 = LW.C1 | |
302 | local rlegc1 = RH.C1 | |
303 | local llegc1 = LH.C1 | |
304 | ||
305 | local resetc1 = false | |
306 | ||
307 | function PlayAnimationFromTable(table, speed, bool) | |
308 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
309 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
310 | RW.C0 = clerp(RW.C0, table[3], speed) | |
311 | LW.C0 = clerp(LW.C0, table[4], speed) | |
312 | RH.C0 = clerp(RH.C0, table[5], speed) | |
313 | LH.C0 = clerp(LH.C0, table[6], speed) | |
314 | if bool == true then | |
315 | if resetc1 == false then | |
316 | resetc1 = true | |
317 | RootJoint.C1 = RootJoint.C1 | |
318 | Torso.Neck.C1 = Torso.Neck.C1 | |
319 | RW.C1 = rarmc1 | |
320 | LW.C1 = larmc1 | |
321 | RH.C1 = rlegc1 | |
322 | LH.C1 = llegc1 | |
323 | end | |
324 | end | |
325 | end | |
326 | ||
327 | ArtificialHB = Instance.new("BindableEvent", script) | |
328 | ArtificialHB.Name = "Heartbeat" | |
329 | script:WaitForChild("Heartbeat") | |
330 | frame = 0.03333333333333 | |
331 | tf = 0 | |
332 | allowframeloss = false | |
333 | tossremainder = false | |
334 | lastframe = tick() | |
335 | script.Heartbeat:Fire() | |
336 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
337 | tf = tf + s | |
338 | if tf >= frame then | |
339 | if allowframeloss then | |
340 | script.Heartbeat:Fire() | |
341 | lastframe = tick() | |
342 | else | |
343 | for i = 1, math.floor(tf / frame) do | |
344 | script.Heartbeat:Fire() | |
345 | end | |
346 | lastframe = tick() | |
347 | end | |
348 | if tossremainder then | |
349 | tf = 0 | |
350 | else | |
351 | tf = tf - frame * math.floor(tf / frame) | |
352 | end | |
353 | end | |
354 | end) | |
355 | function swait(num) | |
356 | if num == 0 or num == nil then | |
357 | ArtificialHB.Event:wait() | |
358 | else | |
359 | for i = 0, num do | |
360 | ArtificialHB.Event:wait() | |
361 | end | |
362 | end | |
363 | end | |
364 | ||
365 | function RemoveOutlines(part) | |
366 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
367 | end | |
368 | ||
369 | sndid = "rbxassetid://4164617318" | |
370 | sndpi = 1 | |
371 | saun = Instance.new("Sound",Head) | |
372 | saun.Volume = 0.3 | |
373 | saun.Pitch = sndpi | |
374 | saun.SoundId = sndid | |
375 | saun.Name = "a" | |
376 | saun.Looped = true | |
377 | saun:Play() | |
378 | ||
379 | dant = 0 | |
380 | ||
381 | Mouse.KeyDown:connect(function(key) | |
382 | key=key:lower() | |
383 | if key=="e" then | |
384 | if dant == 0 then | |
385 | dant = 1 | |
386 | sndid = "rbxassetid://890508582" | |
387 | sndpi = 1 | |
388 | elseif dant == 1 then | |
389 | dant = 0 | |
390 | sndid = "rbxassetid://2859948777" | |
391 | sndpi = 1 | |
392 | end | |
393 | saun.Pitch = sndpi | |
394 | saun.SoundId = sndid | |
395 | saun:Play() | |
396 | end | |
397 | end) | |
398 | ||
399 | while true do | |
400 | if Head:FindFirstChild("a")==nil then | |
401 | saun = Instance.new("Sound",Head) | |
402 | saun.Volume = 1 | |
403 | saun.Pitch = sndpi | |
404 | saun.SoundId = sndid | |
405 | saun.Name = "a" | |
406 | saun.Looped = true | |
407 | saun:Play() | |
408 | end | |
409 | if dant == 0 then | |
410 | for i = 0, 1, 0.25 do | |
411 | swait() | |
412 | PlayAnimationFromTable({ | |
413 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
414 | CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
415 | CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758), | |
416 | CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728), | |
417 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
418 | CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
419 | }, .5, false) | |
420 | end | |
421 | for i = 0, 1, 0.25 do | |
422 | swait() | |
423 | PlayAnimationFromTable({ | |
424 | CFrame.new(-0.268402338, -0.187939167, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
425 | CFrame.new(-0.409892142, 1.36144388, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1), | |
426 | CFrame.new(0.535924554, 1.16478181, 3.87430191e-07, -0.431316972, 0.32139343, 0.843013644, 0.185034022, -0.883022308, 0.431316644, 0.883022249, 0.342020333, 0.321393758), | |
427 | CFrame.new(-1.03069234, 0.594579875, -2.38418579e-07, -0.211470842, 0.321393758, -0.923030972, -0.418988168, -0.883022726, -0.211470872, -0.883022726, 0.342019141, 0.321393728), | |
428 | CFrame.new(0.951213062, -1.54518354, 0, 0.866025686, -0.499999642, 0, 0.499999642, 0.866025686, 0, 0, 0, 1), | |
429 | CFrame.new(0.214191973, -1.8503952, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1), | |
430 | }, .5, false) | |
431 | end | |
432 | for i = 0, 1, 0.25 do | |
433 | swait() | |
434 | PlayAnimationFromTable({ | |
435 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
436 | CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
437 | CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758), | |
438 | CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728), | |
439 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
440 | CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
441 | }, .5, false) | |
442 | end | |
443 | for i = 0, 1, 0.25 do | |
444 | swait() | |
445 | PlayAnimationFromTable({ | |
446 | CFrame.new(0.268400908, -0.187940732, 0, 0.939692855, -0.342019945, 0, 0.342019975, 0.939692795, 0, 0, 0, 1), | |
447 | CFrame.new(0.409947664, 1.36144304, 0, 0.766039729, 0.642798781, 0, -0.642787337, 0.766043961, 0, 0, 0, 1), | |
448 | CFrame.new(1.03070939, 0.594575524, -2.2649765e-06, -0.21146287, -0.321413547, 0.923025966, 0.418989599, -0.883016884, -0.21149224, 0.883023918, 0.342015505, 0.321394145), | |
449 | CFrame.new(-0.535904408, 1.16477537, -3.27825546e-07, -0.431322306, -0.321409196, -0.843005002, -0.185032129, -0.883013964, 0.431334615, -0.883019984, 0.342027217, 0.321392536), | |
450 | CFrame.new(-0.214235365, -1.8503921, 0, 0.766041398, 0.64279145, 0, -0.64279151, 0.766041279, 0, 0, 0, 1), | |
451 | CFrame.new(-0.965987146, -1.57677674, 0, 0.866024733, 0.500001609, 0, -0.500001609, 0.866024613, 0, 0, 0, 1), | |
452 | }, .5, false) | |
453 | end | |
454 | elseif dant == 1 then | |
455 | for i = 0, 1, 0.1 do | |
456 | swait() | |
457 | PlayAnimationFromTable({ | |
458 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
459 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
460 | CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0), | |
461 | CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0), | |
462 | CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
463 | CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
464 | }, .2, false) | |
465 | end | |
466 | for i = 0, 1, 0.1 do | |
467 | swait() | |
468 | PlayAnimationFromTable({ | |
469 | CFrame.new(-0.0436433926, 0, -0.113613628, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698), | |
470 | CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
471 | CFrame.new(1.09998989, 1, -0.599998474, 0, 0, 1, 1, 0, 0, 0, 1, 0), | |
472 | CFrame.new(-1.10000229, 1, -0.599998474, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
473 | CFrame.new(0.499988556, -1.99999797, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
474 | CFrame.new(-0.500012398, -1.78038144, -0.819608092, 1, 0, 1.49011612e-08, 0, 0.499999046, -0.866025984, 0, 0.866026044, 0.499999046), | |
475 | }, .2, false) | |
476 | end | |
477 | for i = 0, 1, 0.1 do | |
478 | swait() | |
479 | PlayAnimationFromTable({ | |
480 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
481 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
482 | CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0), | |
483 | CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0), | |
484 | CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
485 | CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
486 | }, .2, false) | |
487 | end | |
488 | for i = 0, 1, 0.1 do | |
489 | swait() | |
490 | PlayAnimationFromTable({ | |
491 | CFrame.new(0.261404335, 0, -0.167939946, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414), | |
492 | CFrame.new(0, 1.49999285, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012), | |
493 | CFrame.new(1.10000622, 0.999999046, -0.599996626, 0, 0, 1.00000012, 1, 0, 0, 0, 1.00000012, 0), | |
494 | CFrame.new(-1.09999859, 0.999999046, -0.59999758, 0, 0, -1.00000012, -1, 0, 0, 0, 1.00000012, 0), | |
495 | CFrame.new(0.500000179, -1.78038287, -0.81961149, 1.00000012, -2.98023224e-08, 2.98023224e-08, 0, 0.499999046, -0.866025925, 0, 0.866025984, 0.499999106), | |
496 | CFrame.new(-0.500003874, -1.99999893, 3.81469772e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012), | |
497 | }, .2, false) | |
498 | end | |
499 | end | |
500 | end |