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 | 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 | Jump in the CAAC | |
| 88 | by EthanHong0407 | |
| 89 | ||
| 90 | why the hell did i make this | |
| 91 | i dont even know anymore | |
| 92 | ]] | |
| 93 | ||
| 94 | local plr = owner | |
| 95 | local char = plr.Character | |
| 96 | local hum = char:FindFirstChildOfClass("Humanoid")
| |
| 97 | local t = tick() | |
| 98 | local action = "" | |
| 99 | local torsorot = 0 | |
| 100 | if hum:FindFirstChild("Animator") then
| |
| 101 | hum.Animator:Destroy() | |
| 102 | end | |
| 103 | ||
| 104 | hum.WalkSpeed = 0 | |
| 105 | ||
| 106 | ||
| 107 | local song = Instance.new("Sound", char)
| |
| 108 | song.SoundId = "rbxassetid://1883633498" | |
| 109 | song.Volume = 1 | |
| 110 | song.TimePosition = 3 | |
| 111 | song:Play() | |
| 112 | function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name) | |
| 113 | local joint = Instance.new("Motor6D", wp0)
| |
| 114 | joint.Part0 = wp0 | |
| 115 | joint.Part1 = wp1 | |
| 116 | joint.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 117 | joint.C1 = CFrame.new(wc1x, wc1y, wc1z) | |
| 118 | joint.Name = name | |
| 119 | return joint | |
| 120 | end | |
| 121 | ||
| 122 | local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder") | |
| 123 | local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint") | |
| 124 | local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder") | |
| 125 | local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip") | |
| 126 | local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip") | |
| 127 | local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck") | |
| 128 | ||
| 129 | local rsc0 = RS.C0 | |
| 130 | local lsc0 = LS.C0 | |
| 131 | local tsc0 = TS.C0 | |
| 132 | local rhc0 = RH.C0 | |
| 133 | local lhc0 = LH.C0 | |
| 134 | local nkc0 = NK.C0 | |
| 135 | ||
| 136 | local gun = Instance.new("Part", char)
| |
| 137 | gun.Size = Vector3.new(1, 1, 1) | |
| 138 | gun.Anchored = false | |
| 139 | gun.CFrame = CFrame.new(0, 10, 0) | |
| 140 | gun.BrickColor = BrickColor.new("Black")
| |
| 141 | gun:BreakJoints() | |
| 142 | local gunMesh = Instance.new("SpecialMesh", gun)
| |
| 143 | gunMesh.MeshId = "rbxassetid://430697201" | |
| 144 | gunMesh.Scale = Vector3.new(1, 1, 1) | |
| 145 | ||
| 146 | local gunWeld = Instance.new("Weld", gun)
| |
| 147 | gunWeld.Part0 = char["Right Arm"] | |
| 148 | gunWeld.Part1 = gun | |
| 149 | gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90)) | |
| 150 | * CFrame.Angles(math.rad(-90), 0, 0) | |
| 151 | * CFrame.Angles(0, math.rad(180), 0) | |
| 152 | ||
| 153 | ||
| 154 | TS.C0 = CFrame.new(0, 10000, 0) | |
| 155 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 156 | t = t + 0.5 | |
| 157 | if action == "IGotAGun" then | |
| 158 | local speed = 0.3 | |
| 159 | torsorot = torsorot + 45 | |
| 160 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 161 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0) | |
| 162 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 163 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 164 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 165 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 166 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
| 167 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 168 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 169 | elseif action == "IGotAGun2" then | |
| 170 | local speed = 0.3 | |
| 171 | ||
| 172 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 173 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
| 174 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 175 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 176 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 177 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 178 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
| 179 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 180 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 181 | elseif action == "CoufCouf" then | |
| 182 | local speed = 1 | |
| 183 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 184 | math.rad(math.random(-360, 360)), | |
| 185 | math.rad(math.random(-360, 360))), speed) | |
| 186 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 187 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 188 | math.rad(math.random(-360, 360)), | |
| 189 | math.rad(math.random(-360, 360))), speed) | |
| 190 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 191 | math.rad(math.random(-360, 360)), | |
| 192 | math.rad(math.random(-360, 360))), speed) | |
| 193 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 194 | math.rad(math.random(-360, 360)), | |
| 195 | math.rad(math.random(-360, 360))), speed) | |
| 196 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 197 | math.rad(math.random(-360, 360)), | |
| 198 | math.rad(math.random(-360, 360))), speed) | |
| 199 | elseif action == "Sleep" then | |
| 200 | local speed = 1 | |
| 201 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed) | |
| 202 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1) | |
| 203 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 204 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed) | |
| 205 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed) | |
| 206 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
| 207 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed) | |
| 208 | elseif action == "WakeUp" then | |
| 209 | local speed = 0.3 | |
| 210 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed) | |
| 211 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
| 212 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed) | |
| 213 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
| 214 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 215 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
| 216 | elseif action == "Whehw" then | |
| 217 | local speed = 1 | |
| 218 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 219 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
| 220 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 221 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 222 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 223 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
| 224 | elseif action == "Julioliolio" then | |
| 225 | local speed = 1 | |
| 226 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 227 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 228 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 229 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 230 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 231 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 232 | elseif action == "ICan" then | |
| 233 | local speed = 1 | |
| 234 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
| 235 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
| 236 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 237 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 238 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
| 239 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 240 | * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed) | |
| 241 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 242 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 243 | elseif action == "ICan2" then | |
| 244 | local speed = 0.4 | |
| 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 == "ICant" 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(-70)), 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 == "BabyJeans" then | |
| 266 | NK.C0 = nkc0 | |
| 267 | TS.C0 = tsc0 * CFrame.new(0, 8, 0) | |
| 268 | LS.C0 = lsc0 | |
| 269 | RS.C0 = rsc0 | |
| 270 | LH.C0 = lhc0 | |
| 271 | RH.C0 = rhc0 | |
| 272 | elseif action == "YouAndYour" then | |
| 273 | local speed = 1 | |
| 274 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed) | |
| 275 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0) | |
| 276 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 277 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 278 | * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 279 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed) | |
| 280 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 281 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 282 | elseif action == "Painis" then | |
| 283 | local speed = 0.4 | |
| 284 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed) | |
| 285 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
| 286 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 287 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0) | |
| 288 | * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed) | |
| 289 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0) | |
| 290 | * CFrame.Angles(math.rad(10), 0, math.rad(45)), 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 == "Impoopments" then | |
| 294 | local speed = 1 | |
| 295 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 296 | TS.C0 = TS.C0:lerp(tsc0, speed) | |
| 297 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 298 | math.rad(math.random(-360, 360)), | |
| 299 | math.rad(math.random(-360, 360))), speed) | |
| 300 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 301 | math.rad(math.random(-360, 360)), | |
| 302 | math.rad(math.random(-360, 360))), speed) | |
| 303 | RH.C0 = RH.C0:lerp(rhc0, speed) | |
| 304 | LH.C0 = LH.C0:lerp(lhc0, speed) | |
| 305 | elseif action == "Normal" then | |
| 306 | local speed = 1 | |
| 307 | NK.C0 = nkc0 | |
| 308 | TS.C0 = tsc0 | |
| 309 | LS.C0 = lsc0 | |
| 310 | RS.C0 = rsc0 | |
| 311 | LH.C0 = lhc0 | |
| 312 | RH.C0 = rhc0 | |
| 313 | elseif action == "Jooj" then | |
| 314 | NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 315 | TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 316 | LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 317 | LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 318 | RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 319 | RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 320 | elseif action == "Upsidedown" then | |
| 321 | local speed = 1 | |
| 322 | NK.C0 = nkc0 | |
| 323 | TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180)) | |
| 324 | LS.C0 = lsc0 | |
| 325 | RS.C0 = rsc0 | |
| 326 | LH.C0 = lhc0 | |
| 327 | RH.C0 = rhc0 | |
| 328 | elseif action == "CAAC" then | |
| 329 | local speed = 0.1 | |
| 330 | NK.C0 = nkc0 | |
| 331 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed) | |
| 332 | LS.C0 = lsc0 | |
| 333 | RS.C0 = rsc0 | |
| 334 | LH.C0 = lhc0 | |
| 335 | RH.C0 = rhc0 | |
| 336 | end | |
| 337 | end) | |
| 338 | ||
| 339 | ||
| 340 | action = "IGotAGun" | |
| 341 | wait(0.5) | |
| 342 | action = "IGotAGun2" | |
| 343 | wait(2.9) | |
| 344 | action = "CoufCouf" | |
| 345 | local part = Instance.new("Part", char)
| |
| 346 | part.Anchored = true | |
| 347 | part.Material = "Neon" | |
| 348 | part.BrickColor = BrickColor.new("New Yeller")
| |
| 349 | part.CanCollide = false | |
| 350 | part.Size = Vector3.new(0.1, 0.1, 10000) | |
| 351 | for i = 1, 16 do | |
| 352 | ||
| 353 | ||
| 354 | part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100))) | |
| 355 | wait(0.5/16) | |
| 356 | ||
| 357 | end | |
| 358 | part:Destroy() | |
| 359 | gun:Destroy() | |
| 360 | local bed = Instance.new("Part", char)
| |
| 361 | bed.Anchored = false | |
| 362 | bed.CanCollide = false | |
| 363 | bed.Size = Vector3.new(4, 8, 2) | |
| 364 | bed:BreakJoints() | |
| 365 | local bedmesh = Instance.new("SpecialMesh", bed)
| |
| 366 | bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4) | |
| 367 | bedmesh.MeshId = "rbxassetid://473508427" | |
| 368 | bedmesh.TextureId = "rbxassetid://473508936" | |
| 369 | local bedweld = Instance.new("Weld", bed)
| |
| 370 | bedweld.Part0 = char.HumanoidRootPart | |
| 371 | bedweld.Part1 = bed | |
| 372 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
| 373 | * CFrame.Angles(math.rad(-90), 0, 0) | |
| 374 | action = "Sleep" | |
| 375 | wait(0.25) | |
| 376 | action = "WakeUp" | |
| 377 | wait(0.5) | |
| 378 | action = "Whehw" | |
| 379 | wait(0.7) | |
| 380 | action = "Julioliolio" | |
| 381 | for i = 1, 16 do | |
| 382 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
| 383 | * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)) | |
| 384 | wait(1/16) | |
| 385 | end | |
| 386 | bed:Destroy() | |
| 387 | action = "ICan" | |
| 388 | wait(0.2) | |
| 389 | action = "ICant" | |
| 390 | wait(0.25) | |
| 391 | action = "ICan2" | |
| 392 | wait(0.2) | |
| 393 | action = "ICant" | |
| 394 | wait(0.35) | |
| 395 | action = "BabyJeans" | |
| 396 | local baby = Instance.new("Part", char)
| |
| 397 | baby.Size = Vector3.new(2, 2, 1) | |
| 398 | baby.Anchored = false | |
| 399 | baby.CanCollide = false | |
| 400 | baby:BreakJoints() | |
| 401 | ||
| 402 | local baby2 = Instance.new("SpecialMesh", baby)
| |
| 403 | baby2.MeshId = "rbxassetid://430300723" | |
| 404 | baby2.Scale = Vector3.new(5, 5, 5) | |
| 405 | baby2.TextureId = "rbxassetid://430300725" | |
| 406 | ||
| 407 | local babyweld = Instance.new("Weld", baby)
| |
| 408 | babyweld.Part0 = char.Torso | |
| 409 | babyweld.Part1 = baby | |
| 410 | babyweld.C0 = CFrame.new(0, -1, 0) | |
| 411 | * CFrame.Angles(0, math.rad(180), 0) | |
| 412 | wait(0.5) | |
| 413 | baby2.TextureId = "rbxassetid://140688857" | |
| 414 | wait(1.1) | |
| 415 | baby:Destroy() | |
| 416 | action = "YouAndYour" | |
| 417 | wait(0.5) | |
| 418 | action = "Painis" | |
| 419 | wait(0.4) | |
| 420 | action = "Impoopments" | |
| 421 | wait(1) | |
| 422 | ||
| 423 | local pp = Instance.new("Part", char)
| |
| 424 | pp.Size = Vector3.new(1, 1, 1) | |
| 425 | pp.Anchored = true | |
| 426 | pp.CanCollide = false | |
| 427 | pp.BrickColor = char.Torso.BrickColor | |
| 428 | pp:BreakJoints() | |
| 429 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
| 430 | ||
| 431 | for i = 1, 20 do | |
| 432 | pp.Size = pp.Size + Vector3.new(0, 0, 2) | |
| 433 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i) | |
| 434 | wait(0.5/20) | |
| 435 | end | |
| 436 | pp:Destroy() | |
| 437 | action = "Jooj" | |
| 438 | wait(1.7) | |
| 439 | action = "Normal" | |
| 440 | wait(0.5) | |
| 441 | action = "Upsidedown" | |
| 442 | wait(0.5) | |
| 443 | action = "Normal" | |
| 444 | TS.C0 = tsc0 * CFrame.new(0, 10, 0) | |
| 445 | local caac = Instance.new("Part", char)
| |
| 446 | caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
| 447 | caac.Anchored = true | |
| 448 | caac.CanCollide = true | |
| 449 | caac.Size = Vector3.new(8, 4, 1) | |
| 450 | caac:BreakJoints() | |
| 451 | local caactext = Instance.new("SurfaceGui", caac)
| |
| 452 | caactext.Adornee = caac | |
| 453 | local caactext2 = Instance.new("TextLabel", caactext)
| |
| 454 | caactext2.Size = UDim2.new(1, 0, 1, 0) | |
| 455 | caactext2.TextScaled = true | |
| 456 | caactext2.Text = "CAAC" | |
| 457 | caactext2.Font = "Legacy" | |
| 458 | action = "CAAC" | |
| 459 | wait(1.7) | |
| 460 | coroutine.resume(coroutine.create(function() | |
| 461 | for i = 1, 100 do | |
| 462 | if char.Head ~= nil then | |
| 463 | char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1) | |
| 464 | end | |
| 465 | wait(0.5/100) | |
| 466 | end | |
| 467 | end)) | |
| 468 | wait(1) | |
| 469 | caac.Anchored = false | |
| 470 | char.Head:Destroy() | |
| 471 | local sound = Instance.new("Sound", char.Torso)
| |
| 472 | sound.SoundId = "rbxassetid://440431180" | |
| 473 | sound.Volume = 1 | |
| 474 | sound:Play() | |
| 475 | ||
| 476 | local explosion = Instance.new("Explosion", char)
| |
| 477 | explosion.BlastRadius = 1 | |
| 478 | explosion.BlastPressure = 9000 | |
| 479 | explosion.Position = char.Torso.Position |