Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
- local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
- local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
- Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
- Wrapper.CreateObject = function(connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
- Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
- Wrapper.Sandbox = function(...)
- local Unwrap = {...};
- for obi = 1,#Unwrap do
- local Object = Unwrap[obi];
- if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
- local Type = typeof(Object);local Replacement = Object;
- if (Type == "function") then
- Replacement = function(...)
- local IsRoblox = not (pcall(function() string.dump(Object) end))
- if IsRoblox then
- return Object(Wrapper.Unsandbox(...))
- end
- return Object(Wrapper.Sandbox(...))
- end
- elseif (Type == "table") then
- Replacement = {};
- setmetatable(Replacement, {
- __index = function(self, i)
- return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
- end,
- __newindex = function(self,i,v)
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
- end;
- })
- elseif (Type == "Instance") then
- Replacement = newproxy(true);
- local Mt = getmetatable(Replacement);
- Mt.__namecall = function(self, ...)
- local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
- local Rest = nil;pcall(function()Rest = Object[Name];end);
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (Name == str) then
- if typeof(v) == "function" then
- return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
- return Wrapper.Sandbox(Object[Name]);
- elseif (typeof(Rest) == "function") then
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- end
- return Wrapper.Sandbox(Object[Name]);
- end
- Mt.__index = function(self, i)
- local Rest = nil;pcall(function()Rest = Object[i];end)
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (i == str) then
- if typeof(v) == "function" then
- return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
- return Wrapper.Sandbox(Object[i]);
- elseif (typeof(Rest) == "function") then
- local isService,Service = pcall(function() return sGame:GetService(i) end)
- if isService and Service then return Wrapper.Sandbox(Service) end
- return function(self, ...)
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
- end
- end
- return Wrapper.Sandbox(Object[i]);
- end
- Mt.__newindex = function(self, i, v)
- for g,x in pairs (Wrapper.InstanceMT["SET"]) do
- if (Object:IsA(g)) then
- for t, v in pairs(x) do
- for str in string.gmatch( t .. ",", "(%w+),") do
- if v(Wrapper.Unsandbox(self, i, v)) == true then
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
- end
- end
- end
- end
- end
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
- end
- Mt.__tostring = function(self) return tostring(Object) end
- --elseif (Type == "") then -- Etc
- end
- Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
- else
- return Wrapper.Fake[Object] or Object;
- end
- end
- return unpack(Unwrap);
- end
- Wrapper.Unsandbox = function(...)
- local Unsandbox = {...};
- for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
- return unpack(Unsandbox)
- end
- Wrapper.Services = {
- ['contextactionservice'] = Wrapper.ContextActionService;
- ["userinputservice"] = Wrapper.UserInputService;
- }
- Wrapper.InstanceMT = {
- ["GET"] = {
- ["Global"] = {
- ["IsFake,isFake"] = function(self)return true;end;
- };
- ["Player"] = {
- ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
- };
- ["Players"] = {
- ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
- };
- ["DataModel"] = {
- ["getService,GetService"] = function(self,service)
- if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
- return Wrapper.Sandbox(sGame:GetService(service))
- end
- };
- ["RunService"] = {
- ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
- }
- };
- ["SET"] = {
- }
- }
- Wrapper.SoundLoudness = {};
- Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= sOwner then return end
- if Input.MouseEvent then
- Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
- elseif Input.Sound then
- if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
- for _,Action in pairs(Wrapper.ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end);
- Wrapper.Event.Parent = NLS([[
- local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end;
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target;while wait(1/30) do
- for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end]],sOwner.Character)
- Instance = {
- ["new"] = function(Type,Parent)
- local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
- if Type:lower() == "sound" then
- if not Parent then
- Parent = sOwner.Character
- end
- Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
- end
- return Wrapper.Sandbox(Real)
- end
- }
- LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type) return function(Data)
- Data = Data or {};local Inst = Instance.new(Type)
- for x,y in pairs(Data) do Inst[x] = y end
- return Inst
- end;end;
- end
- return sLoadLibrary(Library)[Index]
- end})
- end
- return sLoadLibrary(Library)
- end
- owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
- Game= game;Workspace = workspace;
- --//Paste script below this line.
- --[[
- Jump in the CAAC
- by EthanHong0407
- why the hell did i make this
- i dont even know anymore
- ]]
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local t = tick()
- local action = ""
- local torsorot = 0
- if hum:FindFirstChild("Animator") then
- hum.Animator:Destroy()
- end
- hum.WalkSpeed = 0
- local song = Instance.new("Sound", char)
- song.SoundId = "rbxassetid://1883633498"
- song.Volume = 1
- song.TimePosition = 3
- song:Play()
- function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
- local joint = Instance.new("Motor6D", wp0)
- joint.Part0 = wp0
- joint.Part1 = wp1
- joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
- joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
- joint.Name = name
- return joint
- end
- local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
- local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint")
- local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
- local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip")
- local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip")
- local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck")
- local rsc0 = RS.C0
- local lsc0 = LS.C0
- local tsc0 = TS.C0
- local rhc0 = RH.C0
- local lhc0 = LH.C0
- local nkc0 = NK.C0
- local gun = Instance.new("Part", char)
- gun.Size = Vector3.new(1, 1, 1)
- gun.Anchored = false
- gun.CFrame = CFrame.new(0, 10, 0)
- gun.BrickColor = BrickColor.new("Black")
- gun:BreakJoints()
- local gunMesh = Instance.new("SpecialMesh", gun)
- gunMesh.MeshId = "rbxassetid://430697201"
- gunMesh.Scale = Vector3.new(1, 1, 1)
- local gunWeld = Instance.new("Weld", gun)
- gunWeld.Part0 = char["Right Arm"]
- gunWeld.Part1 = gun
- gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90))
- * CFrame.Angles(math.rad(-90), 0, 0)
- * CFrame.Angles(0, math.rad(180), 0)
- TS.C0 = CFrame.new(0, 10000, 0)
- game:GetService("RunService").RenderStepped:connect(function()
- t = t + 0.5
- if action == "IGotAGun" then
- local speed = 0.3
- torsorot = torsorot + 45
- NK.C0 = NK.C0:lerp(nkc0, speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "IGotAGun2" then
- local speed = 0.3
- NK.C0 = NK.C0:lerp(nkc0, speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "CoufCouf" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- elseif action == "Sleep" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1)
- * CFrame.Angles(math.rad(90), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed)
- elseif action == "WakeUp" then
- local speed = 0.3
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
- elseif action == "Whehw" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
- elseif action == "Julioliolio" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
- elseif action == "ICan" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(-5), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "ICan2" then
- local speed = 0.4
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(-5), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "ICant" then
- local speed = 0.4
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(-5), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, math.rad(-70)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "BabyJeans" then
- NK.C0 = nkc0
- TS.C0 = tsc0 * CFrame.new(0, 8, 0)
- LS.C0 = lsc0
- RS.C0 = rsc0
- LH.C0 = lhc0
- RH.C0 = rhc0
- elseif action == "YouAndYour" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
- * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "Painis" then
- local speed = 0.4
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
- * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0)
- * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0)
- * CFrame.Angles(math.rad(10), 0, math.rad(45)), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
- elseif action == "Impoopments" then
- local speed = 1
- NK.C0 = NK.C0:lerp(nkc0, speed)
- TS.C0 = TS.C0:lerp(tsc0, speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360)),
- math.rad(math.random(-360, 360))), speed)
- RH.C0 = RH.C0:lerp(rhc0, speed)
- LH.C0 = LH.C0:lerp(lhc0, speed)
- elseif action == "Normal" then
- local speed = 1
- NK.C0 = nkc0
- TS.C0 = tsc0
- LS.C0 = lsc0
- RS.C0 = rsc0
- LH.C0 = lhc0
- RH.C0 = rhc0
- elseif action == "Jooj" then
- NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
- elseif action == "Upsidedown" then
- local speed = 1
- NK.C0 = nkc0
- TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180))
- LS.C0 = lsc0
- RS.C0 = rsc0
- LH.C0 = lhc0
- RH.C0 = rhc0
- elseif action == "CAAC" then
- local speed = 0.1
- NK.C0 = nkc0
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed)
- LS.C0 = lsc0
- RS.C0 = rsc0
- LH.C0 = lhc0
- RH.C0 = rhc0
- end
- end)
- action = "IGotAGun"
- wait(0.5)
- action = "IGotAGun2"
- wait(2.9)
- action = "CoufCouf"
- local part = Instance.new("Part", char)
- part.Anchored = true
- part.Material = "Neon"
- part.BrickColor = BrickColor.new("New Yeller")
- part.CanCollide = false
- part.Size = Vector3.new(0.1, 0.1, 10000)
- for i = 1, 16 do
- part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100)))
- wait(0.5/16)
- end
- part:Destroy()
- gun:Destroy()
- local bed = Instance.new("Part", char)
- bed.Anchored = false
- bed.CanCollide = false
- bed.Size = Vector3.new(4, 8, 2)
- bed:BreakJoints()
- local bedmesh = Instance.new("SpecialMesh", bed)
- bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4)
- bedmesh.MeshId = "rbxassetid://473508427"
- bedmesh.TextureId = "rbxassetid://473508936"
- local bedweld = Instance.new("Weld", bed)
- bedweld.Part0 = char.HumanoidRootPart
- bedweld.Part1 = bed
- bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
- * CFrame.Angles(math.rad(-90), 0, 0)
- action = "Sleep"
- wait(0.25)
- action = "WakeUp"
- wait(0.5)
- action = "Whehw"
- wait(0.7)
- action = "Julioliolio"
- for i = 1, 16 do
- bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
- * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
- wait(1/16)
- end
- bed:Destroy()
- action = "ICan"
- wait(0.2)
- action = "ICant"
- wait(0.25)
- action = "ICan2"
- wait(0.2)
- action = "ICant"
- wait(0.35)
- action = "BabyJeans"
- local baby = Instance.new("Part", char)
- baby.Size = Vector3.new(2, 2, 1)
- baby.Anchored = false
- baby.CanCollide = false
- baby:BreakJoints()
- local baby2 = Instance.new("SpecialMesh", baby)
- baby2.MeshId = "rbxassetid://430300723"
- baby2.Scale = Vector3.new(5, 5, 5)
- baby2.TextureId = "rbxassetid://430300725"
- local babyweld = Instance.new("Weld", baby)
- babyweld.Part0 = char.Torso
- babyweld.Part1 = baby
- babyweld.C0 = CFrame.new(0, -1, 0)
- * CFrame.Angles(0, math.rad(180), 0)
- wait(0.5)
- baby2.TextureId = "rbxassetid://140688857"
- wait(1.1)
- baby:Destroy()
- action = "YouAndYour"
- wait(0.5)
- action = "Painis"
- wait(0.4)
- action = "Impoopments"
- wait(1)
- local pp = Instance.new("Part", char)
- pp.Size = Vector3.new(1, 1, 1)
- pp.Anchored = true
- pp.CanCollide = false
- pp.BrickColor = char.Torso.BrickColor
- pp:BreakJoints()
- pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
- for i = 1, 20 do
- pp.Size = pp.Size + Vector3.new(0, 0, 2)
- pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i)
- wait(0.5/20)
- end
- pp:Destroy()
- action = "Jooj"
- wait(1.7)
- action = "Normal"
- wait(0.5)
- action = "Upsidedown"
- wait(0.5)
- action = "Normal"
- TS.C0 = tsc0 * CFrame.new(0, 10, 0)
- local caac = Instance.new("Part", char)
- caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
- caac.Anchored = true
- caac.CanCollide = true
- caac.Size = Vector3.new(8, 4, 1)
- caac:BreakJoints()
- local caactext = Instance.new("SurfaceGui", caac)
- caactext.Adornee = caac
- local caactext2 = Instance.new("TextLabel", caactext)
- caactext2.Size = UDim2.new(1, 0, 1, 0)
- caactext2.TextScaled = true
- caactext2.Text = "CAAC"
- caactext2.Font = "Legacy"
- action = "CAAC"
- wait(1.7)
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- if char.Head ~= nil then
- char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1)
- end
- wait(0.5/100)
- end
- end))
- wait(1)
- caac.Anchored = false
- char.Head:Destroy()
- local sound = Instance.new("Sound", char.Torso)
- sound.SoundId = "rbxassetid://440431180"
- sound.Volume = 1
- sound:Play()
- local explosion = Instance.new("Explosion", char)
- explosion.BlastRadius = 1
- explosion.BlastPressure = 9000
- explosion.Position = char.Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement