SHOW:
|
|
- or go back to the newest paste.
| 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("Love Bot Edit by Penien23")
| |
| 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()}
| |
| 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 | 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 Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 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 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) 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 self[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 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | g.RunService = FakeService({
| |
| 124 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 125 | BindToRenderStep = function(self,name,_,fun) | |
| 126 | ||
| 127 | end, | |
| 128 | UnbindFromRenderStep = function(self,name) | |
| 129 | self._btrs[name]:Disconnect() | |
| 130 | end, | |
| 131 | },"RunService") | |
| 132 | ||
| 133 | setmetatable(g,{
| |
| 134 | __index=function(self,s) | |
| 135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 137 | end, | |
| 138 | __newindex = fsmt.__newindex, | |
| 139 | __call = fsmt.__call | |
| 140 | }) | |
| 141 | --Changing owner to fake player object to support owner:GetMouse() | |
| 142 | game,owner = g,g.Players.LocalPlayer | |
| 143 | end | |
| 144 | ||
| 145 | --[[ | |
| 146 | Jump in the CAAC | |
| 147 | by EthanHong0407 | |
| 148 | ||
| 149 | why the hell did i make this | |
| 150 | i dont even know anymore | |
| 151 | ]] | |
| 152 | ||
| 153 | local plr = game.Players.LocalPlayer | |
| 154 | local char = plr.Character | |
| 155 | local hum = char:FindFirstChildOfClass("Humanoid")
| |
| 156 | local t = tick() | |
| 157 | local action = "" | |
| 158 | local torsorot = 0 | |
| 159 | if hum:FindFirstChild("Animator") then
| |
| 160 | hum.Animator:Destroy() | |
| 161 | end | |
| 162 | ||
| 163 | hum.WalkSpeed = 0 | |
| 164 | ||
| 165 | ||
| 166 | local song = Instance.new("Sound", char)
| |
| 167 | song.SoundId = "rbxassetid://1883633498" | |
| 168 | song.Volume = 1 | |
| 169 | song.TimePosition = 3 | |
| 170 | song:Play() | |
| 171 | function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name) | |
| 172 | local joint = Instance.new("Motor6D", wp0)
| |
| 173 | joint.Part0 = wp0 | |
| 174 | joint.Part1 = wp1 | |
| 175 | joint.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 176 | joint.C1 = CFrame.new(wc1x, wc1y, wc1z) | |
| 177 | joint.Name = name | |
| 178 | return joint | |
| 179 | end | |
| 180 | ||
| 181 | local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder") | |
| 182 | local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint") | |
| 183 | local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder") | |
| 184 | local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip") | |
| 185 | local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip") | |
| 186 | local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck") | |
| 187 | ||
| 188 | local rsc0 = RS.C0 | |
| 189 | local lsc0 = LS.C0 | |
| 190 | local tsc0 = TS.C0 | |
| 191 | local rhc0 = RH.C0 | |
| 192 | local lhc0 = LH.C0 | |
| 193 | local nkc0 = NK.C0 | |
| 194 | ||
| 195 | local gun = Instance.new("Part", char)
| |
| 196 | gun.Size = Vector3.new(1, 1, 1) | |
| 197 | gun.Anchored = false | |
| 198 | gun.CFrame = CFrame.new(0, 10, 0) | |
| 199 | gun.BrickColor = BrickColor.new("Black")
| |
| 200 | gun:BreakJoints() | |
| 201 | local gunMesh = Instance.new("SpecialMesh", gun)
| |
| 202 | gunMesh.MeshId = "rbxassetid://430697201" | |
| 203 | gunMesh.Scale = Vector3.new(1, 1, 1) | |
| 204 | ||
| 205 | local gunWeld = Instance.new("Weld", gun)
| |
| 206 | gunWeld.Part0 = char["Right Arm"] | |
| 207 | gunWeld.Part1 = gun | |
| 208 | gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90)) | |
| 209 | * CFrame.Angles(math.rad(-90), 0, 0) | |
| 210 | * CFrame.Angles(0, math.rad(180), 0) | |
| 211 | ||
| 212 | ||
| 213 | TS.C0 = CFrame.new(0, 10000, 0) | |
| 214 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 215 | t = t + 0.5 | |
| 216 | if action == "IGotAGun" then | |
| 217 | local speed = 0.3 | |
| 218 | torsorot = torsorot + 45 | |
| 219 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 220 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0) | |
| 221 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 222 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 223 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 224 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 225 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
| 226 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 227 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 228 | elseif action == "IGotAGun2" then | |
| 229 | local speed = 0.3 | |
| 230 | ||
| 231 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 232 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
| 233 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 234 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 235 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 236 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 237 | * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed) | |
| 238 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 239 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 240 | elseif action == "CoufCouf" then | |
| 241 | local speed = 1 | |
| 242 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 243 | math.rad(math.random(-360, 360)), | |
| 244 | math.rad(math.random(-360, 360))), speed) | |
| 245 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 246 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 247 | math.rad(math.random(-360, 360)), | |
| 248 | math.rad(math.random(-360, 360))), speed) | |
| 249 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 250 | math.rad(math.random(-360, 360)), | |
| 251 | math.rad(math.random(-360, 360))), speed) | |
| 252 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 253 | math.rad(math.random(-360, 360)), | |
| 254 | math.rad(math.random(-360, 360))), speed) | |
| 255 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 256 | math.rad(math.random(-360, 360)), | |
| 257 | math.rad(math.random(-360, 360))), speed) | |
| 258 | elseif action == "Sleep" then | |
| 259 | local speed = 1 | |
| 260 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed) | |
| 261 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1) | |
| 262 | * CFrame.Angles(math.rad(90), 0, 0), speed) | |
| 263 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed) | |
| 264 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed) | |
| 265 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
| 266 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed) | |
| 267 | elseif action == "WakeUp" then | |
| 268 | local speed = 0.3 | |
| 269 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed) | |
| 270 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
| 271 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed) | |
| 272 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed) | |
| 273 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 274 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
| 275 | elseif action == "Whehw" then | |
| 276 | local speed = 1 | |
| 277 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 278 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed) | |
| 279 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 280 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 281 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 282 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed) | |
| 283 | elseif action == "Julioliolio" then | |
| 284 | local speed = 1 | |
| 285 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 286 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 287 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 288 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 289 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 290 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed) | |
| 291 | elseif action == "ICan" then | |
| 292 | local speed = 1 | |
| 293 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
| 294 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
| 295 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 296 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 297 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
| 298 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 299 | * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed) | |
| 300 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 301 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 302 | elseif action == "ICan2" then | |
| 303 | local speed = 0.4 | |
| 304 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
| 305 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
| 306 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 307 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 308 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
| 309 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 310 | * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed) | |
| 311 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 312 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 313 | elseif action == "ICant" then | |
| 314 | local speed = 0.4 | |
| 315 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed) | |
| 316 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0) | |
| 317 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 318 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 319 | * CFrame.Angles(math.rad(-5), 0, 0), speed) | |
| 320 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 321 | * CFrame.Angles(math.rad(90), 0, math.rad(-70)), speed) | |
| 322 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 323 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 324 | elseif action == "BabyJeans" then | |
| 325 | NK.C0 = nkc0 | |
| 326 | TS.C0 = tsc0 * CFrame.new(0, 8, 0) | |
| 327 | LS.C0 = lsc0 | |
| 328 | RS.C0 = rsc0 | |
| 329 | LH.C0 = lhc0 | |
| 330 | RH.C0 = rhc0 | |
| 331 | elseif action == "YouAndYour" then | |
| 332 | local speed = 1 | |
| 333 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed) | |
| 334 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0) | |
| 335 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 336 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0) | |
| 337 | * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed) | |
| 338 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed) | |
| 339 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 340 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 341 | elseif action == "Painis" then | |
| 342 | local speed = 0.4 | |
| 343 | NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed) | |
| 344 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0) | |
| 345 | * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed) | |
| 346 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0) | |
| 347 | * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed) | |
| 348 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0) | |
| 349 | * CFrame.Angles(math.rad(10), 0, math.rad(45)), speed) | |
| 350 | RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 351 | LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed) | |
| 352 | elseif action == "Impoopments" then | |
| 353 | local speed = 1 | |
| 354 | NK.C0 = NK.C0:lerp(nkc0, speed) | |
| 355 | TS.C0 = TS.C0:lerp(tsc0, speed) | |
| 356 | RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 357 | math.rad(math.random(-360, 360)), | |
| 358 | math.rad(math.random(-360, 360))), speed) | |
| 359 | LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)), | |
| 360 | math.rad(math.random(-360, 360)), | |
| 361 | math.rad(math.random(-360, 360))), speed) | |
| 362 | RH.C0 = RH.C0:lerp(rhc0, speed) | |
| 363 | LH.C0 = LH.C0:lerp(lhc0, speed) | |
| 364 | elseif action == "Normal" then | |
| 365 | local speed = 1 | |
| 366 | NK.C0 = nkc0 | |
| 367 | TS.C0 = tsc0 | |
| 368 | LS.C0 = lsc0 | |
| 369 | RS.C0 = rsc0 | |
| 370 | LH.C0 = lhc0 | |
| 371 | RH.C0 = rhc0 | |
| 372 | elseif action == "Jooj" then | |
| 373 | NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 374 | TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 375 | LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 376 | LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 377 | RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 378 | RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10) | |
| 379 | elseif action == "Upsidedown" then | |
| 380 | local speed = 1 | |
| 381 | NK.C0 = nkc0 | |
| 382 | TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180)) | |
| 383 | LS.C0 = lsc0 | |
| 384 | RS.C0 = rsc0 | |
| 385 | LH.C0 = lhc0 | |
| 386 | RH.C0 = rhc0 | |
| 387 | elseif action == "CAAC" then | |
| 388 | local speed = 0.1 | |
| 389 | NK.C0 = nkc0 | |
| 390 | TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed) | |
| 391 | LS.C0 = lsc0 | |
| 392 | RS.C0 = rsc0 | |
| 393 | LH.C0 = lhc0 | |
| 394 | RH.C0 = rhc0 | |
| 395 | end | |
| 396 | end) | |
| 397 | ||
| 398 | ||
| 399 | action = "IGotAGun" | |
| 400 | wait(0.5) | |
| 401 | action = "IGotAGun2" | |
| 402 | wait(2.9) | |
| 403 | action = "CoufCouf" | |
| 404 | local part = Instance.new("Part", char)
| |
| 405 | part.Anchored = true | |
| 406 | part.Material = "Neon" | |
| 407 | part.BrickColor = BrickColor.new("New Yeller")
| |
| 408 | part.CanCollide = false | |
| 409 | part.Size = Vector3.new(0.1, 0.1, 10000) | |
| 410 | for i = 1, 16 do | |
| 411 | ||
| 412 | ||
| 413 | part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100))) | |
| 414 | wait(0.5/16) | |
| 415 | ||
| 416 | end | |
| 417 | part:Destroy() | |
| 418 | gun:Destroy() | |
| 419 | local bed = Instance.new("Part", char)
| |
| 420 | bed.Anchored = false | |
| 421 | bed.CanCollide = false | |
| 422 | bed.Size = Vector3.new(4, 8, 2) | |
| 423 | bed:BreakJoints() | |
| 424 | local bedmesh = Instance.new("SpecialMesh", bed)
| |
| 425 | bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4) | |
| 426 | bedmesh.MeshId = "rbxassetid://473508427" | |
| 427 | bedmesh.TextureId = "rbxassetid://473508936" | |
| 428 | local bedweld = Instance.new("Weld", bed)
| |
| 429 | bedweld.Part0 = char.HumanoidRootPart | |
| 430 | bedweld.Part1 = bed | |
| 431 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
| 432 | * CFrame.Angles(math.rad(-90), 0, 0) | |
| 433 | action = "Sleep" | |
| 434 | wait(0.25) | |
| 435 | action = "WakeUp" | |
| 436 | wait(0.5) | |
| 437 | action = "Whehw" | |
| 438 | wait(0.7) | |
| 439 | action = "Julioliolio" | |
| 440 | for i = 1, 16 do | |
| 441 | bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0) | |
| 442 | * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)) | |
| 443 | wait(1/16) | |
| 444 | end | |
| 445 | bed:Destroy() | |
| 446 | action = "ICan" | |
| 447 | wait(0.2) | |
| 448 | action = "ICant" | |
| 449 | wait(0.25) | |
| 450 | action = "ICan2" | |
| 451 | wait(0.2) | |
| 452 | action = "ICant" | |
| 453 | wait(0.35) | |
| 454 | action = "BabyJeans" | |
| 455 | local baby = Instance.new("Part", char)
| |
| 456 | baby.Size = Vector3.new(2, 2, 1) | |
| 457 | baby.Anchored = false | |
| 458 | baby.CanCollide = false | |
| 459 | baby:BreakJoints() | |
| 460 | ||
| 461 | local baby2 = Instance.new("SpecialMesh", baby)
| |
| 462 | baby2.MeshId = "rbxassetid://430300723" | |
| 463 | baby2.Scale = Vector3.new(5, 5, 5) | |
| 464 | baby2.TextureId = "rbxassetid://430300725" | |
| 465 | ||
| 466 | local babyweld = Instance.new("Weld", baby)
| |
| 467 | babyweld.Part0 = char.Torso | |
| 468 | babyweld.Part1 = baby | |
| 469 | babyweld.C0 = CFrame.new(0, -1, 0) | |
| 470 | * CFrame.Angles(0, math.rad(180), 0) | |
| 471 | wait(0.5) | |
| 472 | baby2.TextureId = "rbxassetid://140688857" | |
| 473 | wait(1.1) | |
| 474 | baby:Destroy() | |
| 475 | action = "YouAndYour" | |
| 476 | wait(0.5) | |
| 477 | action = "Painis" | |
| 478 | wait(0.4) | |
| 479 | action = "Impoopments" | |
| 480 | wait(1) | |
| 481 | ||
| 482 | local pp = Instance.new("Part", char)
| |
| 483 | pp.Size = Vector3.new(1, 1, 1) | |
| 484 | pp.Anchored = true | |
| 485 | pp.CanCollide = false | |
| 486 | pp.BrickColor = char.Torso.BrickColor | |
| 487 | pp:BreakJoints() | |
| 488 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
| 489 | ||
| 490 | for i = 1, 20 do | |
| 491 | pp.Size = pp.Size + Vector3.new(0, 0, 2) | |
| 492 | pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i) | |
| 493 | wait(0.5/20) | |
| 494 | end | |
| 495 | pp:Destroy() | |
| 496 | action = "Jooj" | |
| 497 | wait(1.7) | |
| 498 | action = "Normal" | |
| 499 | wait(0.5) | |
| 500 | action = "Upsidedown" | |
| 501 | wait(0.5) | |
| 502 | action = "Normal" | |
| 503 | TS.C0 = tsc0 * CFrame.new(0, 10, 0) | |
| 504 | local caac = Instance.new("Part", char)
| |
| 505 | caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0) | |
| 506 | caac.Anchored = true | |
| 507 | caac.CanCollide = true | |
| 508 | caac.Size = Vector3.new(8, 4, 1) | |
| 509 | caac:BreakJoints() | |
| 510 | local caactext = Instance.new("SurfaceGui", caac)
| |
| 511 | caactext.Adornee = caac | |
| 512 | local caactext2 = Instance.new("TextLabel", caactext)
| |
| 513 | caactext2.Size = UDim2.new(1, 0, 1, 0) | |
| 514 | caactext2.TextScaled = true | |
| 515 | caactext2.Text = "CAAC" | |
| 516 | caactext2.Font = "Legacy" | |
| 517 | action = "CAAC" | |
| 518 | wait(1.7) | |
| 519 | coroutine.resume(coroutine.create(function() | |
| 520 | for i = 1, 100 do | |
| 521 | if char.Head ~= nil then | |
| 522 | char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1) | |
| 523 | end | |
| 524 | wait(0.5/100) | |
| 525 | end | |
| 526 | end)) | |
| 527 | wait(1) | |
| 528 | caac.Anchored = false | |
| 529 | char.Head:Destroy() | |
| 530 | local sound = Instance.new("Sound", char.Torso)
| |
| 531 | sound.SoundId = "rbxassetid://440431180" | |
| 532 | sound.Volume = 1 | |
| 533 | sound:Play() | |
| 534 | ||
| 535 | local explosion = Instance.new("Explosion", char)
| |
| 536 | explosion.BlastRadius = 1 | |
| 537 | explosion.BlastPressure = 9000 | |
| 538 | explosion.Position = char.Torso.Position |