SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --BY quuisiYT (aka. quu ;3) |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by retram")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 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 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 51 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local UIS = game:GetService("UserInputService")
| |
| 69 | local input = function(io,a) | |
| 70 | if a then return end | |
| 71 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 72 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 73 | end | |
| 74 | UIS.InputBegan:Connect(input) | |
| 75 | UIS.InputEnded:Connect(input) | |
| 76 | local h,t | |
| 77 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 78 | --If player is not moving their mouse, client won't fire events | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | h,t=Mouse.Hit,Mouse.Target | |
| 82 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 83 | end | |
| 84 | end]==],Player.Character) | |
| 85 | ||
| 86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 87 | --Real game object | |
| 88 | local _rg = game | |
| 89 | ||
| 90 | --Metatable for fake service | |
| 91 | local fsmt = {
| |
| 92 | __index = function(self,k) | |
| 93 | local s = rawget(self,"_RealService") | |
| 94 | if s then | |
| 95 | return typeof(s[k])=="function" | |
| 96 | and function(_,...)return s[k](s,...)end or s[k] | |
| 97 | end | |
| 98 | end, | |
| 99 | __newindex = function(self,k,v) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then s[k]=v end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return rawget(self,s) or _rg:GetService(s) | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | RunService = FakeService({
| |
| 120 | _btrs = {},
| |
| 121 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 122 | BindToRenderStep = function(self,name,_,fun) | |
| 123 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 124 | end, | |
| 125 | UnbindFromRenderStep = function(self,name) | |
| 126 | self._btrs[name]:Disconnect() | |
| 127 | end, | |
| 128 | },"RunService") | |
| 129 | } | |
| 130 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 131 | g.service = g.GetService | |
| 132 | FakeService(g,game) | |
| 133 | --Changing owner to fake player object to support owner:GetMouse() | |
| 134 | game,owner = g,g.Players.LocalPlayer | |
| 135 | end warn("i have problems...") --BY quuisiYT (aka. quu ;3)
| |
| 136 | --RULES: DO NOT COPY OR REUPLOAD AND MODIFY!!!!!! | |
| 137 | wait(2) | |
| 138 | ||
| 139 | local hl1id = "rbxassetid://687964979" | |
| 140 | local hl2id = "rbxassetid://658979528" | |
| 141 | local ger1 = "rbxassetid://1353780582" | |
| 142 | local jl2 = "rbxassetid://1087356234" | |
| 143 | local plr = game.Players.LocalPlayer | |
| 144 | repeat wait(.4) until plr.Character | |
| 145 | local char = plr.Character | |
| 146 | local uis = game:GetService("UserInputService")
| |
| 147 | local runsrv = game:GetService("RunService")
| |
| 148 | char.Animate:Destroy() | |
| 149 | local armright = char.Torso["Right Shoulder"] | |
| 150 | local armleft = char.Torso["Left Shoulder"] | |
| 151 | local legright = char.Torso["Right Hip"] | |
| 152 | local legleft = char.Torso["Left Hip"] | |
| 153 | local legrightold = legright.C0 | |
| 154 | local legleftold = legleft.C0 | |
| 155 | local armrightold = armright.C0 | |
| 156 | local armleftold = armleft.C0 | |
| 157 | local neckold = char.Torso.Neck.C0 | |
| 158 | local roothipold = char.HumanoidRootPart["RootJoint"].C0 | |
| 159 | local cantrigger = false | |
| 160 | local humanoid = char.Humanoid | |
| 161 | humanoid.Name = "Humen" | |
| 162 | local Runningy = false | |
| 163 | local FinishedRunning = false | |
| 164 | local cansay = false | |
| 165 | local mouse = plr:getMouse(); | |
| 166 | local tokeel = nil | |
| 167 | local mode = 0 | |
| 168 | local marcel = nil | |
| 169 | local hing = nil | |
| 170 | local scrin = nil | |
| 171 | if workspace:FindFirstChild("marcel") then else
| |
| 172 | local marcel2 = Instance.new("Sound",workspace)
| |
| 173 | marcel2.SoundId = "rbxassetid://1447435947" | |
| 174 | marcel2.Looped =true | |
| 175 | marcel = marcel2 | |
| 176 | marcel.Volume = 10 | |
| 177 | end | |
| 178 | marcel.Name = "marcel" | |
| 179 | marcel:Play() | |
| 180 | local backup = char.Humen:Clone() | |
| 181 | local backup2 = marcel:Clone() | |
| 182 | runsrv.RenderStepped:Connect(function() | |
| 183 | if marcel then | |
| 184 | backup2.TimePosition = marcel.TimePosition | |
| 185 | end | |
| 186 | if workspace:FindFirstChild("marcel") then else
| |
| 187 | backup2.Parent = workspace | |
| 188 | marcel = backup2 | |
| 189 | marcel:Play() | |
| 190 | backup2 = workspace.marcel:Clone() | |
| 191 | ||
| 192 | end | |
| 193 | ||
| 194 | ||
| 195 | if char:FindFirstChild("Humen") then else
| |
| 196 | backup.Parent = char | |
| 197 | humanoid = backup | |
| 198 | backup = char.Humen:Clone() | |
| 199 | ||
| 200 | end | |
| 201 | for i,v in pairs(char.Humen:GetPlayingAnimationTracks()) do | |
| 202 | v:Stop() | |
| 203 | end | |
| 204 | char.Humen.MaxHealth = 1e35345354345 | |
| 205 | char.Humen.Health = 1e35345354345 | |
| 206 | if char:FindFirstChild("yes") then else
| |
| 207 | local force = Instance.new("ForceField",char)
| |
| 208 | force.Visible = false | |
| 209 | force.Name = "yes" | |
| 210 | end | |
| 211 | end) | |
| 212 | - | decal_5.Texture = "rbxassetid://1447523984" |
| 212 | + | |
| 213 | char.Torso.Anchored = true | |
| 214 | ||
| 215 | runsrv.RenderStepped:Connect(function() | |
| 216 | if workspace:FindFirstChild("Table"..plr.Name) then else
| |
| 217 | local table = Instance.new("Model")
| |
| 218 | local part = Instance.new("Part")
| |
| 219 | local part_2 = Instance.new("Part")
| |
| 220 | local part_3 = Instance.new("Part")
| |
| 221 | local main = Instance.new("Part")
| |
| 222 | local part_4 = Instance.new("Part")
| |
| 223 | local part_5 = Instance.new("Part")
| |
| 224 | local laptop = Instance.new("Model")
| |
| 225 | local keyboard = Instance.new("Part")
| |
| 226 | local decal = Instance.new("Decal")
| |
| 227 | local hinge = Instance.new("Part")
| |
| 228 | local decal_2 = Instance.new("Decal")
| |
| 229 | local part_6 = Instance.new("Part")
| |
| 230 | local decal_3 = Instance.new("Decal")
| |
| 231 | local decal_4 = Instance.new("Decal")
| |
| 232 | local screen = Instance.new("Part")
| |
| 233 | local decal_5 = Instance.new("Decal")
| |
| 234 | local floor = Instance.new("Part")
| |
| 235 | local mesh = Instance.new("BlockMesh")
| |
| 236 | ||
| 237 | table.PrimaryPart = floor | |
| 238 | table.Name = "Table"..plr.Name | |
| 239 | table.Parent = workspace | |
| 240 | part.Anchored = true | |
| 241 | part.Size = Vector3.new(5.819, 0.692, 3.055) | |
| 242 | part.Orientation = Vector3.new(0, -34.32, 0) | |
| 243 | part.Material = Enum.Material.SmoothPlastic | |
| 244 | part.BottomSurface = Enum.SurfaceType.Smooth | |
| 245 | part.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 246 | part.TopSurface = Enum.SurfaceType.Smooth | |
| 247 | part.Color = Color3.new(0.886275, 0.603922, 0.247059) | |
| 248 | part.Parent = table | |
| 249 | part.CFrame = CFrame.new(-4.982, 2.694, 16.191) * CFrame.Angles(0, -0.599, 0) | |
| 250 | part_2.Anchored = true | |
| 251 | part_2.Size = Vector3.new(5.551, 0.692, 3.278) | |
| 252 | part_2.Orientation = Vector3.new(0, 34.32, 0) | |
| 253 | part_2.Material = Enum.Material.SmoothPlastic | |
| 254 | part_2.BottomSurface = Enum.SurfaceType.Smooth | |
| 255 | part_2.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 256 | part_2.TopSurface = Enum.SurfaceType.Smooth | |
| 257 | part_2.Color = Color3.new(0.886275, 0.603922, 0.247059) | |
| 258 | part_2.Parent = table | |
| 259 | part_2.CFrame = CFrame.new(8.587, 2.694, 16.174) * CFrame.Angles(0, 0.599, 0) | |
| 260 | part_3.Anchored = true | |
| 261 | part_3.Size = Vector3.new(5.322, 2.387, 2.57) | |
| 262 | part_3.BottomSurface = Enum.SurfaceType.Smooth | |
| 263 | part_3.Material = Enum.Material.SmoothPlastic | |
| 264 | part_3.TopSurface = Enum.SurfaceType.Smooth | |
| 265 | part_3.Orientation = Vector3.new(0, 34.32, 0) | |
| 266 | part_3.Parent = table | |
| 267 | part_3.CFrame = CFrame.new(8.512, 1.195, 16.046) * CFrame.Angles(0, 0.599, 0) | |
| 268 | main.Anchored = true | |
| 269 | main.Size = Vector3.new(10.357, 2.387, 2.57) | |
| 270 | main.BottomSurface = Enum.SurfaceType.Smooth | |
| 271 | main.Material = Enum.Material.SmoothPlastic | |
| 272 | main.TopSurface = Enum.SurfaceType.Smooth | |
| 273 | main.Name = "main" | |
| 274 | main.Parent = table | |
| 275 | main.CFrame = CFrame.new(1.86, 1.195, 17.322) | |
| 276 | part_4.Anchored = true | |
| 277 | part_4.Size = Vector3.new(5.322, 2.387, 2.57) | |
| 278 | part_4.BottomSurface = Enum.SurfaceType.Smooth | |
| 279 | part_4.Material = Enum.Material.SmoothPlastic | |
| 280 | part_4.TopSurface = Enum.SurfaceType.Smooth | |
| 281 | part_4.Orientation = Vector3.new(0, -34.32, 0) | |
| 282 | part_4.Parent = table | |
| 283 | part_4.CFrame = CFrame.new(-4.792, 1.195, 16.046) * CFrame.Angles(0, -0.599, 0) | |
| 284 | part_5.Anchored = true | |
| 285 | part_5.Size = Vector3.new(10.658, 0.692, 3.055) | |
| 286 | part_5.Material = Enum.Material.SmoothPlastic | |
| 287 | part_5.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 288 | part_5.BottomSurface = Enum.SurfaceType.Smooth | |
| 289 | part_5.TopSurface = Enum.SurfaceType.Smooth | |
| 290 | part_5.Color = Color3.new(0.886275, 0.603922, 0.247059) | |
| 291 | part_5.Parent = table | |
| 292 | part_5.CFrame = CFrame.new(1.889, 2.694, 17.564) | |
| 293 | laptop.PrimaryPart = keyboard | |
| 294 | laptop.Name = "Laptop" | |
| 295 | laptop.Parent = table | |
| 296 | keyboard.Anchored = true | |
| 297 | keyboard.Size = Vector3.new(3.182, 0.143, 2.522) | |
| 298 | keyboard.BottomSurface = Enum.SurfaceType.Smooth | |
| 299 | keyboard.Material = Enum.Material.SmoothPlastic | |
| 300 | keyboard.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 301 | keyboard.Name = "keyboard" | |
| 302 | keyboard.TopSurface = Enum.SurfaceType.Smooth | |
| 303 | keyboard.BrickColor = BrickColor.new("Dark stone grey")
| |
| 304 | keyboard.Parent = laptop | |
| 305 | keyboard.CFrame = CFrame.new(2.524, 3.112, 17.226) | |
| 306 | decal.Texture = "http://www.roblox.com/asset/?id=22020376" | |
| 307 | decal.Face = Enum.NormalId.Top | |
| 308 | decal.Parent = keyboard | |
| 309 | hinge.Anchored = true | |
| 310 | hinge.Size = Vector3.new(3.182, 0.143, 0.175) | |
| 311 | hinge.BottomSurface = Enum.SurfaceType.Smooth | |
| 312 | hinge.Material = Enum.Material.SmoothPlastic | |
| 313 | hinge.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 314 | hinge.Name = "Hinge" | |
| 315 | hinge.BrickColor = BrickColor.new("Dark stone grey")
| |
| 316 | hinge.Transparency = 1 | |
| 317 | hinge.TopSurface = Enum.SurfaceType.Smooth | |
| 318 | hinge.Parent = laptop | |
| 319 | hinge.CFrame = CFrame.new(2.524, 3.112, 18.535) | |
| 320 | decal_2.Texture = "http://www.roblox.com/asset/?id=22020376" | |
| 321 | decal_2.Face = Enum.NormalId.Top | |
| 322 | decal_2.Parent = hinge | |
| 323 | part_6.Anchored = true | |
| 324 | part_6.Size = Vector3.new(3.182, 1.925, 0.183) | |
| 325 | part_6.Orientation = Vector3.new(12.32, 0, 0) | |
| 326 | part_6.Material = Enum.Material.SmoothPlastic | |
| 327 | part_6.BottomSurface = Enum.SurfaceType.Smooth | |
| 328 | part_6.BrickColor = BrickColor.new("Dark stone grey")
| |
| 329 | part_6.TopSurface = Enum.SurfaceType.Smooth | |
| 330 | part_6.Color = Color3.new(0.384314, 0.368627, 0.384314) | |
| 331 | part_6.Parent = laptop | |
| 332 | part_6.CFrame = CFrame.new(2.524, 4.003, 18.706) * CFrame.Angles(0.215, 0, 0) | |
| 333 | decal_3.Texture = "http://www.roblox.com/asset/?id=1010118400" | |
| 334 | decal_3.Parent = part_6 | |
| 335 | decal_4.Texture = "http://www.roblox.com/asset/?id=936197282" | |
| 336 | decal_4.Face = Enum.NormalId.Back | |
| 337 | decal_4.Parent = part_6 | |
| 338 | screen.Anchored = true | |
| 339 | screen.Size = Vector3.new(23.205, 11.679, 2.57) | |
| 340 | screen.BottomSurface = Enum.SurfaceType.Smooth | |
| 341 | screen.Material = Enum.Material.SmoothPlastic | |
| 342 | screen.TopSurface = Enum.SurfaceType.Smooth | |
| 343 | screen.Name = "Screen" | |
| 344 | screen.Parent = table | |
| 345 | screen.CFrame = CFrame.new(1.53, 5.841, 4.935) | |
| 346 | decal_5.Texture = "rbxassetid://2822977994" | |
| 347 | decal_5.Face = Enum.NormalId.Back | |
| 348 | decal_5.Parent = screen | |
| 349 | floor.Anchored = true | |
| 350 | floor.Size = Vector3.new(23.205, 0.067, 16.89) | |
| 351 | floor.BottomSurface = Enum.SurfaceType.Smooth | |
| 352 | floor.Material = Enum.Material.SmoothPlastic | |
| 353 | floor.TopSurface = Enum.SurfaceType.Smooth | |
| 354 | floor.Name = "floor" | |
| 355 | floor.Parent = table | |
| 356 | floor.CFrame = CFrame.new(1.53, 0.021, 12.095) | |
| 357 | mesh.Scale = Vector3.new(1, 0.591, 1) | |
| 358 | mesh.Parent = floor | |
| 359 | hing = hinge | |
| 360 | scrin = part_6 | |
| 361 | workspace.CurrentCamera.CameraSubject = part_6 | |
| 362 | table:SetPrimaryPartCFrame(char.Torso.CFrame * CFrame.new(0,-2.97,2)) | |
| 363 | table:SetPrimaryPartCFrame(floor.CFrame * CFrame.Angles(0,3.6,0)) | |
| 364 | end | |
| 365 | end) | |
| 366 | local root = char.HumanoidRootPart | |
| 367 | local oldroot = nil | |
| 368 | ||
| 369 | for i = 1,15 do | |
| 370 | root.CFrame = root.CFrame * CFrame.new(-.1,.03,-.06) | |
| 371 | root.CFrame = root.CFrame * CFrame.Angles(0,.047,0) | |
| 372 | runsrv.RenderStepped:wait() | |
| 373 | end | |
| 374 | ||
| 375 | oldroot = root.CFrame | |
| 376 | ||
| 377 | wait(2.6) -- - b | |
| 378 | ||
| 379 | ||
| 380 | for i = 1,470 do | |
| 381 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 382 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-.4) | |
| 383 | runsrv.RenderStepped:wait() | |
| 384 | end | |
| 385 | ||
| 386 | ||
| 387 | for i = 1,10 do | |
| 388 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 389 | runsrv.RenderStepped:Wait() | |
| 390 | end | |
| 391 | ||
| 392 | ||
| 393 | wait(3) | |
| 394 | ||
| 395 | ||
| 396 | for i = 1,10 do | |
| 397 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 398 | runsrv.RenderStepped:Wait() | |
| 399 | end | |
| 400 | ||
| 401 | wait(.5) | |
| 402 | ||
| 403 | ||
| 404 | for i = 1,30 do | |
| 405 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 406 | runsrv.RenderStepped:Wait() | |
| 407 | end --a | |
| 408 | function laptopkapputt() | |
| 409 | armright.C0 = armrightold | |
| 410 | armleft.C0 = armleftold | |
| 411 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 412 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-2) | |
| 413 | armleft.C0 = armleft.C0 * CFrame.new(0,-3,0) | |
| 414 | root.CFrame = oldroot | |
| 415 | local hingepos = hing.Position | |
| 416 | ||
| 417 | for i = 1,13 do | |
| 418 | scrin.CFrame = scrin.CFrame * CFrame.Angles(math.rad(-i),0,0) * CFrame.new(0,.01,-.09) | |
| 419 | ||
| 420 | runsrv.RenderStepped:wait() | |
| 421 | armleft.C0 = armleft.C0 * CFrame.new(0,.1,0) | |
| 422 | end | |
| 423 | for i = 1,13 do | |
| 424 | scrin.CFrame = scrin.CFrame * CFrame.Angles(math.rad(i),0,0) * CFrame.new(0,-.01,.09) | |
| 425 | ||
| 426 | runsrv.RenderStepped:wait() | |
| 427 | armleft.C0 = armleft.C0 * CFrame.new(0,-.1,0) | |
| 428 | end | |
| 429 | end | |
| 430 | ||
| 431 | ||
| 432 | function laptopkapputt2() | |
| 433 | armright.C0 = armrightold | |
| 434 | armleft.C0 = armleftold | |
| 435 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 436 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-2) | |
| 437 | armleft.C0 = armleft.C0 * CFrame.new(0,-3,0) | |
| 438 | root.CFrame = oldroot | |
| 439 | local hingepos = hing.Position | |
| 440 | ||
| 441 | for i = 1,4 do | |
| 442 | scrin.CFrame = scrin.CFrame * CFrame.Angles(math.rad(-i * 2 ),0,0) * CFrame.new(0,.01 * 2,-.09 * 2) | |
| 443 | ||
| 444 | runsrv.RenderStepped:wait() | |
| 445 | armleft.C0 = armleft.C0 * CFrame.new(0,.1 * 2,0) | |
| 446 | end | |
| 447 | for i = 1,4 do | |
| 448 | scrin.CFrame = scrin.CFrame * CFrame.Angles(math.rad(i * 2),0,0) * CFrame.new(0,-.01 * 2,.09 * 2) | |
| 449 | ||
| 450 | runsrv.RenderStepped:wait() | |
| 451 | armleft.C0 = armleft.C0 * CFrame.new(0,-.1 * 2,0) | |
| 452 | end | |
| 453 | end | |
| 454 | wait(1) | |
| 455 | laptopkapputt() | |
| 456 | wait(.3) | |
| 457 | laptopkapputt2() | |
| 458 | wait(.3) | |
| 459 | laptopkapputt2() | |
| 460 | for i = 1,50 do | |
| 461 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 462 | runsrv.RenderStepped:Wait() | |
| 463 | end | |
| 464 | wait(1) | |
| 465 | ||
| 466 | laptopkapputt2() | |
| 467 | wait(.3) | |
| 468 | laptopkapputt2() | |
| 469 | wait(5) | |
| 470 | laptopkapputt2() | |
| 471 | wait(.2) | |
| 472 | laptopkapputt2() | |
| 473 | wait(.2) | |
| 474 | laptopkapputt2() | |
| 475 | wait(.3) | |
| 476 | for i = 1,50 do | |
| 477 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 478 | runsrv.RenderStepped:Wait() | |
| 479 | end | |
| 480 | armright.C0 = armrightold | |
| 481 | armleft.C0 = armleftold | |
| 482 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 483 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-2) | |
| 484 | root.CFrame = oldroot | |
| 485 | ||
| 486 | local hingepos = hing.Position | |
| 487 | ||
| 488 | for i = 1,13 do | |
| 489 | scrin.CFrame = scrin.CFrame * CFrame.Angles(math.rad(-i),0,0) * CFrame.new(0,.01,-.09) | |
| 490 | ||
| 491 | runsrv.RenderStepped:wait() | |
| 492 | armleft.C0 = armleft.C0 * CFrame.new(0,.1,0) | |
| 493 | end | |
| 494 | ||
| 495 | wait(.5) | |
| 496 | ||
| 497 | root.CFrame = root.CFrame * CFrame.new(-4,0,0) | |
| 498 | ||
| 499 | for i = 1,90 do | |
| 500 | root.CFrame = root.CFrame * CFrame.Angles(.8,.7,.4) | |
| 501 | runsrv.RenderStepped:Wait() | |
| 502 | end | |
| 503 | ||
| 504 | armright.C0 = armrightold | |
| 505 | armleft.C0 = armleftold | |
| 506 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 507 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-1.5) | |
| 508 | --armleft.C0 = armleft.C0 * CFrame.new(0,-3,0) | |
| 509 | root.CFrame = oldroot | |
| 510 | root.CFrame = root.CFrame * CFrame.new(-4,0,0) | |
| 511 | wait(.7) | |
| 512 | for x=1,9 do | |
| 513 | for i = 1,14 do | |
| 514 | armleft.C0 = armleft.C0 * CFrame.new(0,-.1,0) | |
| 515 | runsrv.RenderStepped:wait() | |
| 516 | end | |
| 517 | wait() | |
| 518 | for i = 1,14 do | |
| 519 | armleft.C0 = armleft.C0 * CFrame.new(0,.1,0) | |
| 520 | runsrv.RenderStepped:wait() | |
| 521 | end | |
| 522 | wait(.1) | |
| 523 | end | |
| 524 | for i = 1,10 do | |
| 525 | for i = 1,4 do | |
| 526 | armleft.C0 = armleft.C0 * CFrame.new(0,-.3,0) | |
| 527 | runsrv.RenderStepped:wait() | |
| 528 | end | |
| 529 | wait() | |
| 530 | for i = 1,4 do | |
| 531 | armleft.C0 = armleft.C0 * CFrame.new(0,.3,0) | |
| 532 | runsrv.RenderStepped:wait() | |
| 533 | end | |
| 534 | wait() | |
| 535 | end | |
| 536 | wait(.5) | |
| 537 | for i = 1,300 do | |
| 538 | root.CFrame = root.CFrame * CFrame.Angles(.9,.8,.5) | |
| 539 | runsrv.RenderStepped:Wait() | |
| 540 | end | |
| 541 | wait(1.4) | |
| 542 | for i = 1,70 do | |
| 543 | root.CFrame = root.CFrame * CFrame.Angles(3,7,6) | |
| 544 | runsrv.RenderStepped:Wait() | |
| 545 | end | |
| 546 | wait(.2) | |
| 547 | laptopkapputt2() | |
| 548 | wait() | |
| 549 | laptopkapputt2() | |
| 550 | wait() | |
| 551 | laptopkapputt2() | |
| 552 | wait() | |
| 553 | laptopkapputt2() | |
| 554 | wait() | |
| 555 | armright.C0 = armrightold | |
| 556 | armleft.C0 = armleftold | |
| 557 | armright.C0 = armright.C0 * CFrame.Angles(0,0,.9) | |
| 558 | armleft.C0 = armleft.C0 * CFrame.Angles(0,0,-1.5) | |
| 559 | --armleft.C0 = armleft.C0 * CFrame.new(0,-3,0) | |
| 560 | root.CFrame = oldroot | |
| 561 | root.CFrame = root.CFrame * CFrame.new(-4,0,0) | |
| 562 | wait(1.7) | |
| 563 | for i = 1,500 do | |
| 564 | root.CFrame = root.CFrame * CFrame.Angles(.9,.8,.5) | |
| 565 | runsrv.RenderStepped:Wait() | |
| 566 | end | |
| 567 | local fish = Instance.new("Part")
| |
| 568 | local mesh = Instance.new("SpecialMesh")
| |
| 569 | ||
| 570 | fish.Anchored = true | |
| 571 | fish.CanCollide = false | |
| 572 | fish.Name = "fish" | |
| 573 | fish.Transparency = 0 | |
| 574 | fish.TopSurface = Enum.SurfaceType.Smooth | |
| 575 | fish.BottomSurface = Enum.SurfaceType.Smooth | |
| 576 | fish.Parent = workspace | |
| 577 | fish.CFrame = char.Torso.CFrame * CFrame.new(4,-2,0) | |
| 578 | mesh.MeshType = Enum.MeshType.FileMesh | |
| 579 | mesh.Scale = Vector3.new(0.03, 0.03, 0.03) | |
| 580 | mesh.MeshId = "rbxassetid://711628355" | |
| 581 | mesh.TextureId = "rbxassetid://711628404" | |
| 582 | mesh.Parent = fish | |
| 583 | for i = 1,15 do | |
| 584 | fish.CFrame = fish.CFrame * CFrame.new(0,.2,0) | |
| 585 | runsrv.RenderStepped:Wait() | |
| 586 | end | |
| 587 | wait(1) | |
| 588 | for i = 1,15 do | |
| 589 | fish.CFrame = fish.CFrame * CFrame.new(0,-.3,0) | |
| 590 | runsrv.RenderStepped:Wait() | |
| 591 | end | |
| 592 | ||
| 593 | for i = 1,620 do | |
| 594 | root.CFrame = root.CFrame * CFrame.Angles(.9,.8,.5) | |
| 595 | runsrv.RenderStepped:Wait() | |
| 596 | end | |
| 597 | for i = 1,40 do | |
| 598 | root.CFrame = root.CFrame * CFrame.new(0,-.5,0) | |
| 599 | runsrv.RenderStepped:wait() | |
| 600 | end | |
| 601 | for i = 1,40 do | |
| 602 | root.CFrame = root.CFrame * CFrame.new(0,.5,0) | |
| 603 | runsrv.RenderStepped:wait() | |
| 604 | end | |
| 605 | ||
| 606 | for i = 1,30 do | |
| 607 | root.CFrame = root.CFrame * CFrame.Angles(33,22,55) | |
| 608 | runsrv.RenderStepped:Wait() | |
| 609 | end |