SHOW:
|
|
- or go back to the newest paste.
| 1 | - | - This script has been converted to FE by pizzacruster |
| 1 | + | -- This script has been converted to FE by pizzacruster |
| 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 pizzacruster!")
| |
| 8 | script.Parent = Player.Character | |
| 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 | ||
| 88 | ||
| 89 | -----Decompiled And Stolen Of Dahnoob, Leaked By Shelter---- | |
| 90 | ||
| 91 | plr = owner | |
| 92 | repeat | |
| 93 | wait(0.4) | |
| 94 | until plr.Character | |
| 95 | chr = plr.Character | |
| 96 | human = chr:FindFirstChild("Humanoid")
| |
| 97 | mouse = Mouse | |
| 98 | cam = workspace.CurrentCamera | |
| 99 | selected = false | |
| 100 | equipd = false | |
| 101 | tors = chr.Torso | |
| 102 | rarm = chr["Right Arm"] | |
| 103 | larm = chr["Left Arm"] | |
| 104 | rleg = chr["Right Leg"] | |
| 105 | lleg = chr["Left Leg"] | |
| 106 | hrp = chr.HumanoidRootPart | |
| 107 | hed = chr.Head | |
| 108 | anim = human:FindFirstChild("Animator")
| |
| 109 | activu = false | |
| 110 | ragged = false | |
| 111 | batting = false | |
| 112 | memeing = false | |
| 113 | Heartbeat = Instance.new("BindableEvent")
| |
| 114 | Heartbeat.Name = "Heartbeat" | |
| 115 | Heartbeat.Parent = script | |
| 116 | frame = 0.03333333333333333 | |
| 117 | tf = 0 | |
| 118 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 119 | tf = tf + s | |
| 120 | if tf >= frame then | |
| 121 | for i = 1, math.floor(tf / frame) do | |
| 122 | Heartbeat:Fire() | |
| 123 | end | |
| 124 | tf = tf - frame * math.floor(tf / frame) | |
| 125 | end | |
| 126 | end) | |
| 127 | function swait(num) | |
| 128 | if num == 0 or num == nil then | |
| 129 | Heartbeat.Event:wait() | |
| 130 | else | |
| 131 | for i = 1, num do | |
| 132 | Heartbeat.Event:wait() | |
| 133 | end | |
| 134 | end | |
| 135 | end | |
| 136 | tool = Instance.new("Tool")
| |
| 137 | tool.CanBeDropped = false | |
| 138 | tool.RequiresHandle = false | |
| 139 | tool.TextureId = "rbxassetid://291302154" | |
| 140 | tool.ToolTip = "NANI" | |
| 141 | tool.Name = "AAAAAAAAAAAAAA" | |
| 142 | tool.Parent = plr.Backpack | |
| 143 | modz = Instance.new("Model")
| |
| 144 | modz.Name = "efx" | |
| 145 | modz.Parent = chr | |
| 146 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 147 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 148 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 149 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 150 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 151 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 152 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 153 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 154 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 155 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 156 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 157 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 158 | local nscale = Instance.new("NumberValue")
| |
| 159 | nscale.Value = 1 | |
| 160 | nscale.Parent = nil | |
| 161 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 162 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 163 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 164 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 165 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 166 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 167 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 168 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 169 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 170 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 171 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 172 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 173 | nscale.Changed:connect(function() | |
| 174 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 175 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 176 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 177 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 178 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 179 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 180 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 181 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 182 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 183 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 184 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 185 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 186 | end) | |
| 187 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 188 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 189 | RH = tors:FindFirstChild("Right Hip")
| |
| 190 | LH = tors:FindFirstChild("Left Hip")
| |
| 191 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 192 | N = tors:FindFirstChild("Neck")
| |
| 193 | cf = CFrame.new | |
| 194 | ang = CFrame.Angles | |
| 195 | rd = math.rad | |
| 196 | rd2 = math.random | |
| 197 | function nooutline(p) | |
| 198 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 199 | end | |
| 200 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
| 201 | local port = Instance.new("Part")
| |
| 202 | port.BrickColor = BrickColor.new(color) | |
| 203 | port.Name = name | |
| 204 | port.Transparency = trans | |
| 205 | nooutline(port) | |
| 206 | port.Reflectance = reflec | |
| 207 | port.Material = mater | |
| 208 | port.Anchored = false | |
| 209 | port.CanCollide = false | |
| 210 | port.Locked = true | |
| 211 | port.CFrame = cfram | |
| 212 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 213 | port.Parent = parnt | |
| 214 | return port | |
| 215 | end | |
| 216 | function makemesh(meshtype, scale, meshid, parent) | |
| 217 | local mes = Instance.new("SpecialMesh")
| |
| 218 | mes.MeshType = meshtype | |
| 219 | mes.Scale = scale | |
| 220 | if meshtype == "FileMesh" then | |
| 221 | mes.MeshId = meshid | |
| 222 | end | |
| 223 | mes.Parent = parent | |
| 224 | return mes | |
| 225 | end | |
| 226 | function makeweld(parent, p0, p1, c0, c1) | |
| 227 | local wel = Instance.new("Weld")
| |
| 228 | wel.Part0 = p0 | |
| 229 | wel.Part1 = p1 | |
| 230 | wel.C0 = c0 | |
| 231 | if c1 ~= nil then | |
| 232 | wel.C1 = c1 | |
| 233 | end | |
| 234 | wel.Parent = parent | |
| 235 | return wel | |
| 236 | end | |
| 237 | local lauf1 = Instance.new("Sound")
| |
| 238 | lauf1.SoundId = "rbxassetid://725969678" | |
| 239 | lauf1.Volume = 1.5 | |
| 240 | lauf1.Pitch = 1 | |
| 241 | lauf1.Parent = hrp | |
| 242 | function lerpz(joint, prop, cfrmz, alp) | |
| 243 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 244 | end | |
| 245 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 246 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 247 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 248 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 249 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 250 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 251 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 252 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 253 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 254 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 255 | function resetlerp() | |
| 256 | RJ.C0 = RJC0 | |
| 257 | RJ.C1 = RJC1 | |
| 258 | N.C0 = NC0 | |
| 259 | N.C1 = NC1 | |
| 260 | RS.C0 = RSC0 | |
| 261 | RS.C1 = RSC1 | |
| 262 | LS.C0 = LSC0 | |
| 263 | LS.C1 = LSC1 | |
| 264 | RH.C0 = RHC0 | |
| 265 | RH.C1 = RHC1 | |
| 266 | LH.C0 = LHC0 | |
| 267 | LH.C1 = LHC1 | |
| 268 | end | |
| 269 | function test() | |
| 270 | if selected == false or activu == true then | |
| 271 | return | |
| 272 | end | |
| 273 | if ragged == false then | |
| 274 | ragged = true | |
| 275 | human.PlatformStand = true | |
| 276 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 277 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 278 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
| 279 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
| 280 | end | |
| 281 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 282 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 283 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
| 284 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
| 285 | end | |
| 286 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 287 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 288 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
| 289 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
| 290 | end | |
| 291 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 292 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 293 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
| 294 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
| 295 | end | |
| 296 | elseif ragged == true then | |
| 297 | ragged = false | |
| 298 | human.Jump = true | |
| 299 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 300 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 301 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
| 302 | rarm:FindFirstChild("touchy"):Destroy()
| |
| 303 | end | |
| 304 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 305 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 306 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
| 307 | larm:FindFirstChild("touchy"):Destroy()
| |
| 308 | end | |
| 309 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 310 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 311 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
| 312 | rleg:FindFirstChild("touchy"):Destroy()
| |
| 313 | end | |
| 314 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 315 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 316 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
| 317 | lleg:FindFirstChild("touchy"):Destroy()
| |
| 318 | end | |
| 319 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 320 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 321 | RH = tors:FindFirstChild("Right Hip")
| |
| 322 | LH = tors:FindFirstChild("Left Hip")
| |
| 323 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 324 | N = tors:FindFirstChild("Neck")
| |
| 325 | end | |
| 326 | end | |
| 327 | - | function makegloo(paren, co, ci, parto, parti, nam) |
| 327 | + | |
| 328 | - | local gloo = Instance.new("Glue")
|
| 328 | + | |
| 329 | - | gloo.Name = nam |
| 329 | + | |
| 330 | - | gloo.C0 = co |
| 330 | + | |
| 331 | - | gloo.C1 = ci |
| 331 | + | |
| 332 | - | gloo.Part0 = parto |
| 332 | + | |
| 333 | - | gloo.Part1 = parti |
| 333 | + | |
| 334 | - | gloo.Parent = paren |
| 334 | + | |
| 335 | if selected == false or activu == true or ragged == true then | |
| 336 | - | function makejoint(paren, co, ci, parto, parti, nam) |
| 336 | + | |
| 337 | - | local gloo = Instance.new("Motor6D")
|
| 337 | + | |
| 338 | - | gloo.Name = nam |
| 338 | + | |
| 339 | - | gloo.C0 = co |
| 339 | + | |
| 340 | - | gloo.C1 = ci |
| 340 | + | |
| 341 | - | gloo.Part0 = parto |
| 341 | + | |
| 342 | - | gloo.Part1 = parti |
| 342 | + | |
| 343 | - | gloo.Parent = paren |
| 343 | + | |
| 344 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 345 | - | function maketouchy(parent, limb, cframe) |
| 345 | + | |
| 346 | - | local pr = Instance.new("Part")
|
| 346 | + | |
| 347 | - | pr.Name = "touchy" |
| 347 | + | |
| 348 | - | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) |
| 348 | + | |
| 349 | - | pr.Transparency = 1 |
| 349 | + | |
| 350 | - | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) |
| 350 | + | |
| 351 | - | pr.CanCollide = true |
| 351 | + | |
| 352 | - | pr.Anchored = false |
| 352 | + | |
| 353 | - | pr.Parent = parent |
| 353 | + | |
| 354 | - | local w = Instance.new("Weld")
|
| 354 | + | |
| 355 | - | w.Part0 = pr |
| 355 | + | |
| 356 | - | w.Part1 = limb |
| 356 | + | |
| 357 | - | w.C0 = cframe |
| 357 | + | |
| 358 | - | w.Parent = pr |
| 358 | + | |
| 359 | swingwoo:Play() | |
| 360 | - | local clibat, spec, dipperrot |
| 360 | + | |
| 361 | - | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
|
| 361 | + | |
| 362 | - | if dipperhat then |
| 362 | + | |
| 363 | - | dipperrot = dipperhat.Handle.HatAttachment.Rotation |
| 363 | + | |
| 364 | end | |
| 365 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 366 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 367 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 368 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 369 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 370 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 371 | - | dipperhat = chr:FindFirstChild("DXD_DipperHat")
|
| 371 | + | |
| 372 | - | if dipperhat then |
| 372 | + | |
| 373 | - | dipperrot = dipperhat.Handle.HatAttachment.Rotation |
| 373 | + | |
| 374 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 375 | - | dipperhat = nil |
| 375 | + | |
| 376 | activu = false | |
| 377 | end) | |
| 378 | spec = mouse.KeyDown:connect(function(keya) | |
| 379 | if selected == false or activu == true or ragged == true then | |
| 380 | return | |
| 381 | - | local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
|
| 381 | + | |
| 382 | - | local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd)
|
| 382 | + | |
| 383 | activu = true | |
| 384 | - | local pt1 = makepart("Bright yellow", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
|
| 384 | + | |
| 385 | - | local p1m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt1)
|
| 385 | + | |
| 386 | - | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) |
| 386 | + | |
| 387 | - | local pt2 = makepart("Bright yellow", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
|
| 387 | + | |
| 388 | - | local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
|
| 388 | + | |
| 389 | - | p2m.TextureId = "rbxassetid://250639536" |
| 389 | + | |
| 390 | - | local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil) |
| 390 | + | |
| 391 | - | local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
|
| 391 | + | |
| 392 | - | local p3m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt3)
|
| 392 | + | |
| 393 | - | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) |
| 393 | + | |
| 394 | sond:Play() | |
| 395 | - | local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
|
| 395 | + | |
| 396 | - | local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil) |
| 396 | + | |
| 397 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
| 398 | - | local p5m = makemesh("Cylinder", Vector3.new(21.5, 6.25, 6.25), nil, pt5)
|
| 398 | + | |
| 399 | - | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) |
| 399 | + | |
| 400 | - | local pt6 = makepart("Bright yellow", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
|
| 400 | + | |
| 401 | - | local p6m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt6)
|
| 401 | + | |
| 402 | - | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil) |
| 402 | + | |
| 403 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
| 404 | - | local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
|
| 404 | + | |
| 405 | - | p7m.TextureId = "rbxassetid://272942750" |
| 405 | + | |
| 406 | - | local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil) |
| 406 | + | |
| 407 | - | local swingwoo = Instance.new("Sound")
|
| 407 | + | |
| 408 | - | swingwoo.SoundId = "rbxassetid://138709133" |
| 408 | + | |
| 409 | - | swingwoo.Pitch = rd2(10, 11) / 10 |
| 409 | + | |
| 410 | - | swingwoo.Name = "sweae" |
| 410 | + | |
| 411 | - | swingwoo.Volume = 1 |
| 411 | + | |
| 412 | - | swingwoo.Parent = hrp |
| 412 | + | |
| 413 | - | clibat = tool.Activated:connect(function() |
| 413 | + | |
| 414 | swait() | |
| 415 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
| 416 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 417 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
| 418 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7) | |
| 419 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7) | |
| 420 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 421 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
| 422 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
| 423 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
| 424 | p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7) | |
| 425 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
| 426 | p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7) | |
| 427 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7) | |
| 428 | p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7) | |
| 429 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7) | |
| 430 | end | |
| 431 | sond.Pitch = 0.75 | |
| 432 | sond:Play() | |
| 433 | for _ = 1, 3 do | |
| 434 | swait() | |
| 435 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
| 436 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 437 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
| 438 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7) | |
| 439 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7) | |
| 440 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 441 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
| 442 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
| 443 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
| 444 | p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7) | |
| 445 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
| 446 | p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7) | |
| 447 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7) | |
| 448 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7) | |
| 449 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7) | |
| 450 | end | |
| 451 | for _ = 1, 5 do | |
| 452 | swait() | |
| 453 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 454 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 455 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 456 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
| 457 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
| 458 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 459 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 460 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 461 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 462 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
| 463 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 464 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
| 465 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
| 466 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
| 467 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
| 468 | end | |
| 469 | sond.Pitch = 0.4 | |
| 470 | sond:Play() | |
| 471 | game.Debris:AddItem(sond, 2) | |
| 472 | for _ = 1, 3 do | |
| 473 | swait() | |
| 474 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
| 475 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 476 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
| 477 | p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7) | |
| 478 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7) | |
| 479 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 480 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
| 481 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
| 482 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
| 483 | p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7) | |
| 484 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
| 485 | p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7) | |
| 486 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7) | |
| 487 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7) | |
| 488 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7) | |
| 489 | end | |
| 490 | for _ = 1, 5 do | |
| 491 | swait() | |
| 492 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7) | |
| 493 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
| 494 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7) | |
| 495 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625, 2.625, 2.625), 0.7) | |
| 496 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001, 0.525), 0.7) | |
| 497 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
| 498 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7) | |
| 499 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7) | |
| 500 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7) | |
| 501 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5, 43.75, 43.75), 0.7) | |
| 502 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004, 0), 0.7) | |
| 503 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5, 45.5, 45.5), 0.7) | |
| 504 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35, 0), 0.7) | |
| 505 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995, 6.6499999999999995, 6.6499999999999995), 0.7) | |
| 506 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4, 0), 0.7) | |
| 507 | end | |
| 508 | end | |
| 509 | for _ = 1, 9 do | |
| 510 | swait() | |
| 511 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 512 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 513 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 514 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 515 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
| 516 | if dipperhat then | |
| 517 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
| 518 | end | |
| 519 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 520 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 521 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 522 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 523 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 524 | end | |
| 525 | for _ = 1, 9 do | |
| 526 | swait() | |
| 527 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 528 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 529 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 530 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 531 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 532 | if dipperhat then | |
| 533 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
| 534 | end | |
| 535 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 536 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 537 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 538 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 539 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 540 | end | |
| 541 | for _ = 1, 30 do | |
| 542 | swait() | |
| 543 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
| 544 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
| 545 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2) | |
| 546 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 547 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
| 548 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 549 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
| 550 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 551 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
| 552 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 553 | end | |
| 554 | expa() | |
| 555 | for O = 1, 10 do | |
| 556 | swait() | |
| 557 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
| 558 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
| 559 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01) | |
| 560 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 561 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
| 562 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 563 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
| 564 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 565 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
| 566 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 567 | end | |
| 568 | local whoooo = Instance.new("Sound")
| |
| 569 | whoooo.Volume = 3 | |
| 570 | whoooo.TimePosition = 0.15 | |
| 571 | whoooo.Pitch = 0.5 | |
| 572 | whoooo.SoundId = "rbxassetid://320557353" | |
| 573 | whoooo.Parent = pt5 | |
| 574 | whoooo:Play() | |
| 575 | game.Debris:AddItem(whoooo, 2) | |
| 576 | for O = 1, 6 do | |
| 577 | swait() | |
| 578 | hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
| 579 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
| 580 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
| 581 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05) | |
| 582 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 583 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
| 584 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 585 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
| 586 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 587 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
| 588 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 589 | end | |
| 590 | for O = 1, 13 do | |
| 591 | swait() | |
| 592 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 593 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 594 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 595 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
| 596 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
| 597 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 598 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 599 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 600 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 601 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
| 602 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 603 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
| 604 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
| 605 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
| 606 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
| 607 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
| 608 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
| 609 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
| 610 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 611 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
| 612 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 613 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
| 614 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 615 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
| 616 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 617 | end | |
| 618 | if dipperhat then | |
| 619 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 620 | end | |
| 621 | human.WalkSpeed = speed | |
| 622 | human:SetStateEnabled(3, true) | |
| 623 | activu = false | |
| 624 | end | |
| 625 | if keya == "q" then | |
| 626 | activu = true | |
| 627 | do | |
| 628 | local checkkey = true | |
| 629 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 630 | if xzx == "q" then | |
| 631 | checkkey = false | |
| 632 | end | |
| 633 | end) | |
| 634 | repeat | |
| 635 | for _ = 1, 2 do | |
| 636 | swait() | |
| 637 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 638 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 639 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 640 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 641 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 642 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 643 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 644 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 645 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 646 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 647 | end | |
| 648 | swingwoo:Play() | |
| 649 | for T = 1, 2 do | |
| 650 | swait() | |
| 651 | if T == 2 then | |
| 652 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
| 653 | end | |
| 654 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 655 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 656 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 657 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 658 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 659 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 660 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 661 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 662 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 663 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 664 | end | |
| 665 | for _ = 1, 2 do | |
| 666 | swait() | |
| 667 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
| 668 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 669 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
| 670 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 671 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
| 672 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 673 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 674 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 675 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
| 676 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 677 | end | |
| 678 | swingwoo:Play() | |
| 679 | for T = 1, 2 do | |
| 680 | swait() | |
| 681 | if T == 2 then | |
| 682 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
| 683 | end | |
| 684 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
| 685 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 686 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
| 687 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 688 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 689 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 690 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 691 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 692 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
| 693 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 694 | end | |
| 695 | until not checkkey | |
| 696 | if keyingup then | |
| 697 | keyingup:disconnect() | |
| 698 | end | |
| 699 | activu = false | |
| 700 | end | |
| 701 | end | |
| 702 | if keya == "f" then | |
| 703 | activu = true | |
| 704 | do | |
| 705 | local speed = human.WalkSpeed | |
| 706 | human.WalkSpeed = 2 | |
| 707 | human:SetStateEnabled(3, false) | |
| 708 | local checkkey = true | |
| 709 | local chargecounter = 0 | |
| 710 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 711 | if xzx == "f" then | |
| 712 | checkkey = false | |
| 713 | end | |
| 714 | end) | |
| 715 | local firederp | |
| 716 | for _ = 1, 8 do | |
| 717 | swait() | |
| 718 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 719 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 720 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 721 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 722 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 723 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 724 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 725 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 726 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 727 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 728 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 729 | end | |
| 730 | repeat | |
| 731 | swait() | |
| 732 | chargecounter = chargecounter + 1 | |
| 733 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019) | |
| 734 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019) | |
| 735 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019) | |
| 736 | if chargecounter > 15 and firederp == nil then | |
| 737 | firederp = Instance.new("Fire")
| |
| 738 | firederp.Parent = pt5 | |
| 739 | end | |
| 740 | until not checkkey or chargecounter > 50 | |
| 741 | swingwoo:Play() | |
| 742 | for U = 1, 10 do | |
| 743 | swait() | |
| 744 | if U < 3 then | |
| 745 | hito(pt5, 5, 10 + chargecounter / 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25))) | |
| 746 | if chargecounter > 15 then | |
| 747 | tagexplode(pt5, 5, 0.65) | |
| 748 | end | |
| 749 | end | |
| 750 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 751 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 752 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 753 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 754 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 755 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 756 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 757 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 758 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 759 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 760 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 761 | end | |
| 762 | if firederp then | |
| 763 | firederp:Destroy() | |
| 764 | end | |
| 765 | swait(10) | |
| 766 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 767 | if keyingup then | |
| 768 | keyingup:Disconnect() | |
| 769 | end | |
| 770 | human.WalkSpeed = speed | |
| 771 | human:SetStateEnabled(3, true) | |
| 772 | activu = false | |
| 773 | end | |
| 774 | end | |
| 775 | end) | |
| 776 | end | |
| 777 | elseif batting == true then | |
| 778 | batting = false | |
| 779 | clibat:Disconnect() | |
| 780 | spec:Disconnect() | |
| 781 | hrp.sweae:Destroy() | |
| 782 | local batmod = chr:FindFirstChild("bmodel")
| |
| 783 | batmod.hnd.Weld:Destroy() | |
| 784 | batmod.PrimaryPart = batmod.hnd | |
| 785 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 786 | for _, A in pairs(batmod:GetChildren()) do | |
| 787 | if A.ClassName == "Part" then | |
| 788 | A.CanCollide = true | |
| 789 | A.Anchored = false | |
| 790 | end | |
| 791 | end | |
| 792 | batmod.Parent = workspace | |
| 793 | game.Debris:AddItem(batmod, 8) | |
| 794 | end | |
| 795 | end | |
| 796 | local movin = false | |
| 797 | local cliham, hamspec | |
| 798 | function ham() | |
| 799 | if batting == false then | |
| 800 | batting = true | |
| 801 | do | |
| 802 | local bmod = Instance.new("Model")
| |
| 803 | bmod.Name = "bmodel" | |
| 804 | bmod.Parent = chr | |
| 805 | local makemotor = function(parent, p0, p1, c0, c1) | |
| 806 | local wel = Instance.new("Motor6D")
| |
| 807 | wel.Part0 = p0 | |
| 808 | wel.Part1 = p1 | |
| 809 | wel.C0 = c0 | |
| 810 | if c1 ~= nil then | |
| 811 | wel.C1 = c1 | |
| 812 | end | |
| 813 | wel.Parent = parent | |
| 814 | return wel | |
| 815 | end | |
| 816 | local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 817 | hnd.Anchored = true | |
| 818 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
| |
| 819 | movin = true | |
| 820 | hnd.CFrame = hrp.CFrame | |
| 821 | coroutine.resume(coroutine.create(function() | |
| 822 | while hnd.Anchored == true do | |
| 823 | swait() | |
| 824 | if movin then | |
| 825 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
| 826 | end | |
| 827 | end | |
| 828 | end)) | |
| 829 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 830 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
| |
| 831 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
| 832 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 833 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
| |
| 834 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
| 835 | local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 836 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
| |
| 837 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
| 838 | local pt4 = makepart("Br. yellowish green", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 839 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
| |
| 840 | p4m.TextureId = "rbxassetid://250639536" | |
| 841 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
| 842 | local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 843 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
| |
| 844 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
| 845 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 846 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
| |
| 847 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
| 848 | local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 849 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
| |
| 850 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
| 851 | local hdec1 = Instance.new("Decal")
| |
| 852 | hdec1.Texture = "rbxasset://textures/face.png" | |
| 853 | hdec1.Face = "Front" | |
| 854 | hdec1.Parent = pt7 | |
| 855 | local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 856 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
| |
| 857 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
| 858 | local hdec2 = Instance.new("Decal")
| |
| 859 | hdec2.Texture = "rbxasset://textures/face.png" | |
| 860 | hdec2.Face = "Front" | |
| 861 | hdec2.Parent = pt8 | |
| 862 | local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 863 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
| |
| 864 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
| 865 | p9m.TextureId = "rbxassetid://272942750" | |
| 866 | local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 867 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
| |
| 868 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
| 869 | local hdec3 = Instance.new("Decal")
| |
| 870 | hdec3.Texture = "rbxasset://textures/face.png" | |
| 871 | hdec3.Face = "Front" | |
| 872 | hdec3.Parent = pt10 | |
| 873 | local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 874 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
| |
| 875 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
| 876 | local hdec4 = Instance.new("Decal")
| |
| 877 | hdec4.Texture = "rbxasset://textures/face.png" | |
| 878 | hdec4.Face = "Front" | |
| 879 | hdec4.Parent = pt11 | |
| 880 | local pt12 = makepart("Bright yellow", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 881 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
| |
| 882 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
| 883 | local hdec5 = Instance.new("Decal")
| |
| 884 | hdec5.Texture = "rbxasset://textures/face.png" | |
| 885 | hdec5.Face = "Front" | |
| 886 | hdec5.Parent = pt12 | |
| 887 | local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 888 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
| |
| 889 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
| 890 | local hdec6 = Instance.new("Decal")
| |
| 891 | hdec6.Texture = "rbxasset://textures/face.png" | |
| 892 | hdec6.Face = "Front" | |
| 893 | hdec6.Parent = pt13 | |
| 894 | cliham = tool.Activated:connect(function() | |
| 895 | if selected == false or activu == true or ragged == true then | |
| 896 | return | |
| 897 | end | |
| 898 | activu = true | |
| 899 | movin = false | |
| 900 | for B = 1, 20 do | |
| 901 | swait() | |
| 902 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
| 903 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
| 904 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
| 905 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 906 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
| 907 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 908 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
| 909 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 910 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
| 911 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 912 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
| 913 | end | |
| 914 | for B = 1, 30 do | |
| 915 | swait() | |
| 916 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
| 917 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
| 918 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
| 919 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 920 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
| 921 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 922 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
| 923 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 924 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
| 925 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 926 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 927 | end | |
| 928 | for B = 1, 7 do | |
| 929 | swait() | |
| 930 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
| 931 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
| 932 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
| 933 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 934 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
| 935 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 936 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
| 937 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 938 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
| 939 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 940 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 941 | end | |
| 942 | for B = 1, 4 do | |
| 943 | swait() | |
| 944 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
| 945 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
| 946 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
| 947 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 948 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
| 949 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 950 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
| 951 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 952 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
| 953 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 954 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 955 | end | |
| 956 | swait(15) | |
| 957 | movin = true | |
| 958 | activu = false | |
| 959 | end) | |
| 960 | end | |
| 961 | elseif batting == true then | |
| 962 | batting = false | |
| 963 | cliham:Disconnect() | |
| 964 | local badevz = chr:FindFirstChild("bmodel")
| |
| 965 | badevz.PrimaryPart = badevz.hnd | |
| 966 | for _, A in pairs(badevz:GetChildren()) do | |
| 967 | if A.ClassName == "Part" then | |
| 968 | A.CanCollide = true | |
| 969 | A.Anchored = false | |
| 970 | end | |
| 971 | end | |
| 972 | movin = false | |
| 973 | badevz.Parent = workspace | |
| 974 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
| 975 | game.Debris:AddItem(badevz, 8) | |
| 976 | end | |
| 977 | end | |
| 978 | local ehhh = false | |
| 979 | local ymmu, kabomobepo | |
| 980 | local memedonlist = {}
| |
| 981 | local noobcharge = 0 | |
| 982 | function nommy() | |
| 983 | if selected == false or activu == true then | |
| 984 | return | |
| 985 | end | |
| 986 | if batting == false then | |
| 987 | batting = true | |
| 988 | do | |
| 989 | local bmod = Instance.new("Model")
| |
| 990 | bmod.Name = "bmodel" | |
| 991 | bmod.Parent = chr | |
| 992 | local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 993 | local hmes = makemesh("Head", Vector3.new(1, 1, 1), nil, hnd)
| |
| 994 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 995 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 996 | local p1m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftleg.mesh", pt1)
| |
| 997 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0.5, -1, 0), nil) | |
| 998 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 999 | local p2m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightleg.mesh", pt2)
| |
| 1000 | local p2w = makeweld(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(-0.5, -1, 0), nil) | |
| 1001 | local pt3 = makepart("Bright blue", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1002 | local p3m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/torso.mesh", pt3)
| |
| 1003 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
| 1004 | local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1005 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightarm.mesh", pt4)
| |
| 1006 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(0), rd(0), rd(0)) * cf(-1.5, -3, 0), nil) | |
| 1007 | local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1008 | local p5m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftarm.mesh", pt5)
| |
| 1009 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(1.5, -3, 0), nil) | |
| 1010 | local pt6 = makepart("Bright yellow", "pt6", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1011 | local p6m = makemesh("Brick", Vector3.new(5.5, 5.5, 5.5), nil, pt6)
| |
| 1012 | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), nil) | |
| 1013 | local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1014 | local p7m = makemesh("Brick", Vector3.new(5.5, 5.5, 1), nil, pt7)
| |
| 1015 | local p7w = makeweld(pt7, pt7, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), nil) | |
| 1016 | local pt8 = makepart("Bright yellow", "pt8", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1017 | local p8m = makemesh("Brick", Vector3.new(5.5, 2.5, 4.25), nil, pt8)
| |
| 1018 | local p8w = makeweld(pt8, pt8, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), nil) | |
| 1019 | local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1020 | local p9m = makemesh("Brick", Vector3.new(5.5, 0.5, 4.25), nil, pt9)
| |
| 1021 | local p9w = makeweld(pt9, pt9, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), nil) | |
| 1022 | local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1023 | local p10m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt10)
| |
| 1024 | local p10w = makeweld(pt10, pt10, pt6, ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), nil) | |
| 1025 | local pt11 = makepart("Bright yellow", "pt11", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1026 | local p11m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt11)
| |
| 1027 | local p11w = makeweld(pt11, pt11, pt6, ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), nil) | |
| 1028 | local pt12 = makepart("Really black", "pt12", 0, 0.1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1029 | local p12m = makemesh("Brick", Vector3.new(4.25, 3.25, 2.5), nil, pt12)
| |
| 1030 | local p12w = makeweld(pt12, pt12, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), nil) | |
| 1031 | local pt13 = makepart("Really black", "pt13", 0, 0.2, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1032 | local p13m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt13)
| |
| 1033 | local p13w = makeweld(pt13, pt13, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), nil) | |
| 1034 | local pt14 = makepart("Really black", "pt14", 0, 0.3, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1035 | local p14m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt14)
| |
| 1036 | local p14w = makeweld(pt14, pt14, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), nil) | |
| 1037 | local pt15 = makepart("Really black", "pt15", 0, 0.4, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1038 | local p15m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt15)
| |
| 1039 | local p15w = makeweld(pt15, pt15, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), nil) | |
| 1040 | local pt16 = makepart("Bright yellow", "pt16", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1041 | local p16m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt16)
| |
| 1042 | local p16w = makeweld(pt16, pt16, pt6, ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), nil) | |
| 1043 | local pt17 = makepart("Bright yellow", "pt17", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1044 | local p17m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt17)
| |
| 1045 | local p17w = makeweld(pt17, pt17, pt6, ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), nil) | |
| 1046 | local pt420 = makepart("Bright yellow", "pt420", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 1047 | local p420m = makemesh("Brick", Vector3.new(5.5, 5.25, 0), nil, pt420)
| |
| 1048 | local p420w = makeweld(pt420, pt420, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), nil) | |
| 1049 | local hd1 = Instance.new("Decal")
| |
| 1050 | hd1.Name = "face1" | |
| 1051 | hd1.Texture = "rbxasset://textures/face.png" | |
| 1052 | hd1.Face = "Front" | |
| 1053 | hd1.Transparency = 0 | |
| 1054 | hd1.Parent = pt420 | |
| 1055 | local hd2 = Instance.new("Decal")
| |
| 1056 | hd2.Name = "face2" | |
| 1057 | hd2.Texture = "rbxassetid://14175189" | |
| 1058 | hd2.Face = "Front" | |
| 1059 | hd2.Transparency = 1 | |
| 1060 | hd2.Parent = pt420 | |
| 1061 | local souno1 = Instance.new("Sound")
| |
| 1062 | souno1.SoundId = "rbxassetid://189505649" | |
| 1063 | souno1.Volume = 1.5 | |
| 1064 | souno1.Parent = hnd | |
| 1065 | local souno2 = Instance.new("Sound")
| |
| 1066 | souno2.SoundId = "rbxassetid://189652112" | |
| 1067 | souno2.Volume = 1.5 | |
| 1068 | souno2.Parent = hnd | |
| 1069 | local souno3 = Instance.new("Sound")
| |
| 1070 | souno3.SoundId = "rbxassetid://90869127" | |
| 1071 | souno3.Pitch = 1.15 | |
| 1072 | souno3.Volume = 1.5 | |
| 1073 | souno3.Parent = hnd | |
| 1074 | local haseaten = false | |
| 1075 | local function squarehito(partoz) | |
| 1076 | for _, huh in pairs(workspace:GetChildren()) do | |
| 1077 | if huh:IsA("BasePart") then
| |
| 1078 | local objs = partoz.CFrame:pointToObjectSpace(huh.Position) | |
| 1079 | if huh:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then | |
| 1080 | if math.ceil(huh:GetMass() * 1.5) < 25 then | |
| 1081 | noobcharge = noobcharge + math.ceil(huh:GetMass() * 3) | |
| 1082 | else | |
| 1083 | noobcharge = noobcharge + 25 | |
| 1084 | end | |
| 1085 | huh:Destroy() | |
| 1086 | haseaten = true | |
| 1087 | end | |
| 1088 | elseif huh:IsA("Model") and huh ~= chr then
| |
| 1089 | for _, WOP in pairs(huh:GetChildren()) do | |
| 1090 | if WOP:IsA("BasePart") then
| |
| 1091 | local objs = partoz.CFrame:pointToObjectSpace(WOP.Position) | |
| 1092 | if WOP:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then | |
| 1093 | if math.ceil(WOP:GetMass() * 1.5) < 25 then | |
| 1094 | noobcharge = noobcharge + math.ceil(WOP:GetMass() * 3) | |
| 1095 | else | |
| 1096 | noobcharge = noobcharge + 25 | |
| 1097 | end | |
| 1098 | WOP:Destroy() | |
| 1099 | haseaten = true | |
| 1100 | end | |
| 1101 | end | |
| 1102 | end | |
| 1103 | end | |
| 1104 | end | |
| 1105 | end | |
| 1106 | local asplohito = function(poso, magn, dmg, debtim, bodyfdire, bodyrot) | |
| 1107 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1108 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and magn > (guy:FindFirstChild("HumanoidRootPart").Position - poso).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1109 | do | |
| 1110 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1111 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1112 | humz.Health = humz.Health - humz.MaxHealth / 100 * dmg | |
| 1113 | humz:SetStateEnabled(16, true) | |
| 1114 | delay(debtim, function() | |
| 1115 | humz:SetStateEnabled(16, true) | |
| 1116 | end) | |
| 1117 | local db = Instance.new("StringValue")
| |
| 1118 | db.Name = "alabo" | |
| 1119 | db.Parent = horp | |
| 1120 | delay(debtim, function() | |
| 1121 | db:Destroy() | |
| 1122 | end) | |
| 1123 | local damageind = Instance.new("Model")
| |
| 1124 | damageind.Name = dmg | |
| 1125 | damageind.Parent = workspace | |
| 1126 | game.Debris:AddItem(damageind, 0.5 + dmg / 75) | |
| 1127 | local awawaa = Instance.new("Humanoid")
| |
| 1128 | awawaa.MaxHealth = 0 | |
| 1129 | awawaa.Parent = damageind | |
| 1130 | local dhed = Instance.new("Part")
| |
| 1131 | dhed.Name = "Head" | |
| 1132 | dhed.Locked = true | |
| 1133 | dhed.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1134 | dhed.Position = horp.Position | |
| 1135 | dhed.BrickColor = BrickColor.new("Bright red")
| |
| 1136 | dhed.CanCollide = false | |
| 1137 | dhed.Parent = damageind | |
| 1138 | local flo = Instance.new("BodyPosition")
| |
| 1139 | flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1140 | flo.P = 20000 | |
| 1141 | flo.D = 300 | |
| 1142 | flo.Position = dhed.Position + Vector3.new(0, 5, 0) | |
| 1143 | flo.Parent = dhed | |
| 1144 | local dasdada = Instance.new("CylinderMesh")
| |
| 1145 | dasdada.Parent = dhed | |
| 1146 | coroutine.resume(coroutine.create(function() | |
| 1147 | while dasdada do | |
| 1148 | swait() | |
| 1149 | dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4) | |
| 1150 | end | |
| 1151 | end)) | |
| 1152 | if bodyfdire then | |
| 1153 | local boopyve = Instance.new("BodyVelocity")
| |
| 1154 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 1155 | boopyve.P = 9999999999 | |
| 1156 | boopyve.Velocity = bodyfdire | |
| 1157 | boopyve.Parent = horp | |
| 1158 | game.Debris:AddItem(boopyve, debtim) | |
| 1159 | end | |
| 1160 | if bodyrot then | |
| 1161 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 1162 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
| 1163 | boopyro.P = math.huge | |
| 1164 | boopyro.AngularVelocity = bodyrot | |
| 1165 | boopyro.Parent = horp | |
| 1166 | game.Debris:AddItem(boopyro, debtim) | |
| 1167 | end | |
| 1168 | end | |
| 1169 | end | |
| 1170 | end | |
| 1171 | end | |
| 1172 | local awawarafasa = false | |
| 1173 | local customactive = false | |
| 1174 | ymmu = tool.Activated:connect(function() | |
| 1175 | if activu == true or customactive == true or ragged == true then | |
| 1176 | return | |
| 1177 | end | |
| 1178 | customactive = true | |
| 1179 | awawarafasa = true | |
| 1180 | coroutine.resume(coroutine.create(function() | |
| 1181 | tool.Deactivated:wait() | |
| 1182 | awawarafasa = false | |
| 1183 | end)) | |
| 1184 | for _ = 1, 5 do | |
| 1185 | wait() | |
| 1186 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.25) | |
| 1187 | hwel.C0 = hwel.C0:lerp(ang(rd(80), rd(0), rd(0)) * cf(0, 1, 0), 0.25) | |
| 1188 | end | |
| 1189 | hd1.Transparency = 1 | |
| 1190 | hd2.Transparency = 0 | |
| 1191 | local chargecountaPOOOOO = 0 | |
| 1192 | if awawarafasa then | |
| 1193 | souno3.TimePosition = 0.15 | |
| 1194 | souno3:Play() | |
| 1195 | local oz = 20 | |
| 1196 | local dz = 10 | |
| 1197 | local az = oz / 6 | |
| 1198 | repeat | |
| 1199 | wait() | |
| 1200 | if chargecountaPOOOOO < 10 then | |
| 1201 | chargecountaPOOOOO = chargecountaPOOOOO + 1 | |
| 1202 | end | |
| 1203 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(190)), 0.5) | |
| 1204 | hwel.C0 = hwel.C0:lerp(ang(rd(160), rd(0), rd(0)) * cf(0, 1, 0), 0.45) | |
| 1205 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5 * az, 0), 0.45) | |
| 1206 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5 * dz, 5.5 * oz, 1), 0.45) | |
| 1207 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
| 1208 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5 * dz, 0.5 * oz, 4.25), 0.45) | |
| 1209 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.5 * oz, 0.1), 0.45) | |
| 1210 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5 * dz, 0.125 * oz, 4.25), 0.45) | |
| 1211 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5375 * oz, 0.1), 0.45) | |
| 1212 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45) | |
| 1213 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.2625 * oz, 0.5, 0.1), 0.45) | |
| 1214 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45) | |
| 1215 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.2625 * oz, 0.5, 0.1), 0.45) | |
| 1216 | p12m.Scale = p12m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 2.5), 0.45) | |
| 1217 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
| 1218 | p13m.Scale = p13m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
| 1219 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
| 1220 | p14m.Scale = p14m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
| 1221 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
| 1222 | p15m.Scale = p15m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
| 1223 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
| 1224 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
| 1225 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45) | |
| 1226 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
| 1227 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45) | |
| 1228 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5 * dz, 5.25 * dz, 0), 0.45) | |
| 1229 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.4 * oz, 0.525), 0.45) | |
| 1230 | until not awawarafasa | |
| 1231 | end | |
| 1232 | if chargecountaPOOOOO > 7 then | |
| 1233 | activu = true | |
| 1234 | souno1:Play() | |
| 1235 | local RIDLEYDIDDLY = hrp.Velocity | |
| 1236 | local AWSHOOTMYPOO = hrp.Position | |
| 1237 | hrp.Velocity = Vector3.new(0, 0, 0) | |
| 1238 | local BAP = Instance.new("BodyPosition")
| |
| 1239 | BAP.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1240 | BAP.D = 500 | |
| 1241 | BAP.P = 5000 | |
| 1242 | BAP.Position = AWSHOOTMYPOO | |
| 1243 | BAP.Parent = hrp | |
| 1244 | game.Debris:AddItem(BAP, 8) | |
| 1245 | local HWOWH = Instance.new("BodyAngularVelocity")
| |
| 1246 | HWOWH.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1247 | HWOWH.AngularVelocity = Vector3.new(0, 0, 0) | |
| 1248 | HWOWH.P = 2000 | |
| 1249 | HWOWH.Parent = hrp | |
| 1250 | game.Debris:AddItem(HWOWH, 8) | |
| 1251 | for _ = 1, 5 do | |
| 1252 | wait() | |
| 1253 | squarehito(pt7) | |
| 1254 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 1255 | hwel.C0 = hwel.C0:lerp(ang(rd(155), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1256 | end | |
| 1257 | if haseaten == true then | |
| 1258 | swait(5) | |
| 1259 | hd1.Transparency = 0 | |
| 1260 | hd2.Transparency = 1 | |
| 1261 | souno2:Play() | |
| 1262 | for _ = 1, 5 do | |
| 1263 | for _ = 1, 5 do | |
| 1264 | wait() | |
| 1265 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1266 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
| 1267 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
| 1268 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 4.125, 1), 0.45) | |
| 1269 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.125, -0.425), 0.45) | |
| 1270 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 1.875, 4.25), 0.45) | |
| 1271 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.1, 0.1), 0.45) | |
| 1272 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
| 1273 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
| 1274 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45) | |
| 1275 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.275, 0.1), 0.45) | |
| 1276 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45) | |
| 1277 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.275, 0.1), 0.45) | |
| 1278 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
| 1279 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
| 1280 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1281 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
| 1282 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1283 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
| 1284 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1285 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
| 1286 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45) | |
| 1287 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.6, 0.1, 0), 0.45) | |
| 1288 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45) | |
| 1289 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.6, 0.1, 0), 0.45) | |
| 1290 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
| 1291 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.15, 0.525), 0.45) | |
| 1292 | end | |
| 1293 | for _ = 1, 5 do | |
| 1294 | wait() | |
| 1295 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1296 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
| 1297 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
| 1298 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45) | |
| 1299 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
| 1300 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45) | |
| 1301 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45) | |
| 1302 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
| 1303 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
| 1304 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
| 1305 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45) | |
| 1306 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
| 1307 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45) | |
| 1308 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
| 1309 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
| 1310 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1311 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
| 1312 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1313 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
| 1314 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1315 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
| 1316 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45) | |
| 1317 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.15, 0), 0.45) | |
| 1318 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45) | |
| 1319 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.15, 0), 0.45) | |
| 1320 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
| 1321 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45) | |
| 1322 | end | |
| 1323 | end | |
| 1324 | print(noobcharge) | |
| 1325 | haseaten = false | |
| 1326 | else | |
| 1327 | swait(10) | |
| 1328 | end | |
| 1329 | BAP:Destroy() | |
| 1330 | HWOWH:Destroy() | |
| 1331 | hrp.Velocity = RIDLEYDIDDLY | |
| 1332 | activu = false | |
| 1333 | end | |
| 1334 | hd1.Transparency = 0 | |
| 1335 | hd2.Transparency = 1 | |
| 1336 | customactive = false | |
| 1337 | end) | |
| 1338 | kabomobepo = mouse.KeyDown:connect(function(thekeyyyy) | |
| 1339 | if activu == true or customactive == true or ragged == true or noobcharge < 100 or thekeyyyy ~= "f" then | |
| 1340 | return | |
| 1341 | end | |
| 1342 | noobcharge = 0 | |
| 1343 | batting = false | |
| 1344 | ymmu:Disconnect() | |
| 1345 | ymmu = nil | |
| 1346 | kabomobepo:Disconnect() | |
| 1347 | kabomobepo = nil | |
| 1348 | local taggedpos = mouse.Hit.p | |
| 1349 | local badevz = chr:FindFirstChild("bmodel")
| |
| 1350 | badevz.PrimaryPart = badevz.hnd | |
| 1351 | if badevz.hnd:FindFirstChildOfClass("Weld") then
| |
| 1352 | badevz.hnd:FindFirstChildOfClass("Weld"):Destroy()
| |
| 1353 | end | |
| 1354 | badevz.Parent = workspace | |
| 1355 | badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 1356 | game.Debris:AddItem(badevz, 40) | |
| 1357 | local bodyrot = Instance.new("BodyAngularVelocity")
| |
| 1358 | bodyrot.MaxTorque = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 1359 | bodyrot.P = 500000 | |
| 1360 | bodyrot.AngularVelocity = Vector3.new(0, 0, 0) | |
| 1361 | bodyrot.Parent = badevz.hnd | |
| 1362 | local bodyfor = Instance.new("BodyForce")
| |
| 1363 | bodyfor.Force = Vector3.new(0, 20, 0) | |
| 1364 | bodyfor.Parent = badevz.hnd | |
| 1365 | coroutine.resume(coroutine.create(function() | |
| 1366 | while bodyrot do | |
| 1367 | swait(3) | |
| 1368 | bodyfor.Force = bodyfor.Force + Vector3.new(0, 1, 0) | |
| 1369 | end | |
| 1370 | end)) | |
| 1371 | local AWDAMN = {}
| |
| 1372 | for _ = 1, 8 do | |
| 1373 | local aw = makepart("Grey", "wot", 0, 0.4, "SmoothPlastic", modz, badevz.hnd.CFrame)
| |
| 1374 | aw.Size = Vector3.new(2, 2, 2) | |
| 1375 | aw.Anchored = true | |
| 1376 | game.Debris:AddItem(aw, 20) | |
| 1377 | table.insert(AWDAMN, aw) | |
| 1378 | end | |
| 1379 | for _ = 1, 35 do | |
| 1380 | for _, ADASD in pairs(AWDAMN) do | |
| 1381 | swait() | |
| 1382 | if 1 < ADASD.Transparency then | |
| 1383 | ADASD.Size = Vector3.new(2, 2, 2) | |
| 1384 | ADASD.Transparency = 0.4 | |
| 1385 | else | |
| 1386 | ADASD.Transparency = ADASD.Transparency + 0.1 | |
| 1387 | ADASD.Size = ADASD.Size + Vector3.new(1, 1, 1) | |
| 1388 | end | |
| 1389 | ADASD.CFrame = badevz.hnd.CFrame * ang(rd(rd2(0, 360)), rd(rd2(0, 360)), rd(rd2(0, 360))) | |
| 1390 | end | |
| 1391 | end | |
| 1392 | bodyfor:Destroy() | |
| 1393 | bodyrot:Destroy() | |
| 1394 | badevz.hnd.Anchored = true | |
| 1395 | badevz:SetPrimaryPartCFrame(CFrame.new(badevz.hnd.Position, taggedpos) * ang(rd(-90), rd(0), 0)) | |
| 1396 | for _ = 1, 40 do | |
| 1397 | wait() | |
| 1398 | local wayy = Ray.new(badevz.hnd.Position, badevz.hnd.CFrame.upVector * 200) | |
| 1399 | local gotdeparto = workspace:FindPartOnRayWithIgnoreList(wayy, {badevz}, true, false)
| |
| 1400 | if gotdeparto then | |
| 1401 | asplohito(taggedpos, 100, 80, 1, Vector3.new(rd2(-40, 40), rd2(160, 180), rd2(-40, 40)), Vector3.new(rd2(-20, 20), rd2(40, 80), rd2(-20, 20))) | |
| 1402 | do | |
| 1403 | local poopys = makepart("White", "WOAH", 0, 0.2, "Neon", modz, cf(taggedpos))
| |
| 1404 | poopys.Anchored = true | |
| 1405 | local loldon = makemesh("Sphere", Vector3.new(30, 30, 30), nil, poopys)
| |
| 1406 | game.Debris:AddItem(poopys, 10) | |
| 1407 | coroutine.resume(coroutine.create(function() | |
| 1408 | for _ = 1, 20 do | |
| 1409 | swait() | |
| 1410 | loldon.Scale = loldon.Scale + Vector3.new(60, 60, 60) | |
| 1411 | poopys.Transparency = poopys.Transparency + 0.05 | |
| 1412 | end | |
| 1413 | poopys:Destroy() | |
| 1414 | end)) | |
| 1415 | badevz:Destroy() | |
| 1416 | break | |
| 1417 | end | |
| 1418 | else | |
| 1419 | badevz:SetPrimaryPartCFrame(badevz.hnd.CFrame * cf(0, 180, 0)) | |
| 1420 | end | |
| 1421 | end | |
| 1422 | end) | |
| 1423 | coroutine.resume(coroutine.create(function() | |
| 1424 | while ymmu do | |
| 1425 | wait() | |
| 1426 | if not customactive then | |
| 1427 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1428 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
| 1429 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
| 1430 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45) | |
| 1431 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
| 1432 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45) | |
| 1433 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45) | |
| 1434 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
| 1435 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
| 1436 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
| 1437 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45) | |
| 1438 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
| 1439 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45) | |
| 1440 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
| 1441 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
| 1442 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1443 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
| 1444 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1445 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
| 1446 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
| 1447 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
| 1448 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
| 1449 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45) | |
| 1450 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
| 1451 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45) | |
| 1452 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
| 1453 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45) | |
| 1454 | end | |
| 1455 | end | |
| 1456 | end)) | |
| 1457 | end | |
| 1458 | elseif batting == true then | |
| 1459 | if customactive == true or activu == true then | |
| 1460 | return | |
| 1461 | end | |
| 1462 | batting = false | |
| 1463 | ymmu:Disconnect() | |
| 1464 | ymmu = nil | |
| 1465 | kabomobepo:Disconnect() | |
| 1466 | kabomobepo = nil | |
| 1467 | noobcharge = 0 | |
| 1468 | for h = 1, #memedonlist do | |
| 1469 | table.remove(memedonlist, h) | |
| 1470 | end | |
| 1471 | local badevz = chr:FindFirstChild("bmodel")
| |
| 1472 | badevz.PrimaryPart = badevz.hnd | |
| 1473 | if badevz.hnd:FindFirstChildOfClass("Weld") then
| |
| 1474 | badevz.hnd:FindFirstChildOfClass("Weld"):Destroy()
| |
| 1475 | end | |
| 1476 | for _, A in pairs(badevz:GetChildren()) do | |
| 1477 | if A.ClassName == "Part" then | |
| 1478 | A.CanCollide = true | |
| 1479 | end | |
| 1480 | end | |
| 1481 | badevz.Parent = workspace | |
| 1482 | badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 1483 | game.Debris:AddItem(badevz, 6) | |
| 1484 | end | |
| 1485 | end | |
| 1486 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
| |
| 1487 | function lauf() | |
| 1488 | if selected == false or activu == true or batting == true or ragged == true then | |
| 1489 | return | |
| 1490 | end | |
| 1491 | activu = true | |
| 1492 | local sped = human.WalkSpeed | |
| 1493 | hrp.Anchored = true | |
| 1494 | human.WalkSpeed = 0 | |
| 1495 | lauf1:Play() | |
| 1496 | cam.CameraType = "Scriptable" | |
| 1497 | cam.CoordinateFrame = hrp.CFrame * ang(rd(0), rd(215), rd(0)) * cf(0, 0, 13) | |
| 1498 | for i = 1, 4 do | |
| 1499 | swait() | |
| 1500 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.4 + i * 0.15) | |
| 1501 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
| 1502 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.4 + i * 0.15) | |
| 1503 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
| 1504 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.4 + i * 0.15) | |
| 1505 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
| 1506 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.4 + i * 0.15) | |
| 1507 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
| 1508 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.4 + i * 0.15) | |
| 1509 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
| 1510 | end | |
| 1511 | local makeglasses = function(whicharm, motorcf) | |
| 1512 | local makemotor = function(parent, p0, p1, c0, c1) | |
| 1513 | local wel = Instance.new("Motor6D")
| |
| 1514 | wel.Part0 = p0 | |
| 1515 | wel.Part1 = p1 | |
| 1516 | wel.C0 = c0 | |
| 1517 | if c1 ~= nil then | |
| 1518 | wel.C1 = c1 | |
| 1519 | end | |
| 1520 | wel.Parent = parent | |
| 1521 | return wel | |
| 1522 | end | |
| 1523 | local glasses = makepart("Black", "glasses", 0, 0, "SmoothPlastic", whicharm, whicharm.CFrame)
| |
| 1524 | local glassesmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://30166087", glasses)
| |
| 1525 | glassesmesh.TextureId = "rbxassetid://30166098" | |
| 1526 | local glassesmotor = makemotor(glasses, glasses, whicharm, motorcf, nil) | |
| 1527 | return glasses, glassesmotor | |
| 1528 | end | |
| 1529 | swait(10) | |
| 1530 | local glasses1, glassesmotor1 = makeglasses(hed, ang(rd(0), rd(0), 0) * cf(0, -0.2, 0.25)) | |
| 1531 | swait(13) | |
| 1532 | cam.CoordinateFrame = hed.CFrame * ang(rd(5), rd(145), rd(-5)) * cf(0, 0, 5) | |
| 1533 | local glasses2, glassesmotor2 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
| 1534 | for i = 1, 4 do | |
| 1535 | swait() | |
| 1536 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1537 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1538 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
| 1539 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1540 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1541 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1542 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1543 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1544 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1545 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1546 | end | |
| 1547 | glassesmotor2.Part1 = hed | |
| 1548 | glassesmotor2.C0 = ang(rd(-25), rd(-2), rd(4)) * cf(0, -0.55, 0.275) | |
| 1549 | swait(3) | |
| 1550 | local glasses3, glassesmotor3 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
| 1551 | for i = 1, 4 do | |
| 1552 | swait() | |
| 1553 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1554 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1555 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14) | |
| 1556 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1557 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
| 1558 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1559 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1560 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1561 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1562 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1563 | end | |
| 1564 | glassesmotor3.Part1 = hed | |
| 1565 | glassesmotor3.C0 = ang(rd(-8), rd(13), rd(-2)) * cf(-0.075, 0, 0.35) | |
| 1566 | swait(3) | |
| 1567 | local glasses4, glassesmotor4 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
| 1568 | for i = 1, 4 do | |
| 1569 | swait() | |
| 1570 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1571 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1572 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
| 1573 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1574 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(40), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1575 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1576 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1577 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1578 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1579 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1580 | end | |
| 1581 | glassesmotor4.Part1 = hed | |
| 1582 | glassesmotor4.C0 = ang(rd(10), rd(-10), rd(16)) * cf(0, 0.1, 0.325) | |
| 1583 | swait(3) | |
| 1584 | local glasses5, glassesmotor5 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
| 1585 | for i = 1, 4 do | |
| 1586 | swait() | |
| 1587 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1588 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1589 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14) | |
| 1590 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1591 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
| 1592 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1593 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1594 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1595 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1596 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1597 | end | |
| 1598 | glassesmotor5.Part1 = hed | |
| 1599 | glassesmotor5.C0 = ang(rd(-37), rd(17), rd(-8)) * cf(0, -0.75, 0.2) | |
| 1600 | swait(3) | |
| 1601 | local glasses6, glassesmotor6 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
| 1602 | for i = 1, 4 do | |
| 1603 | swait() | |
| 1604 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1605 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1606 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
| 1607 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1608 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
| 1609 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1610 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1611 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1612 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1613 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1614 | end | |
| 1615 | glassesmotor6.Part1 = hed | |
| 1616 | glassesmotor6.C0 = ang(rd(37), rd(4), rd(-2)) * cf(0, 0.3, 0.275) | |
| 1617 | for i = 1, 4 do | |
| 1618 | swait() | |
| 1619 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
| 1620 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1621 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
| 1622 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1623 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
| 1624 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1625 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
| 1626 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1627 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
| 1628 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
| 1629 | end | |
| 1630 | swait(1) | |
| 1631 | local scg = Instance.new("ScreenGui")
| |
| 1632 | scg.Parent = plr.PlayerGui | |
| 1633 | local t1 = Instance.new("TextLabel")
| |
| 1634 | t1.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 1635 | t1.BackgroundTransparency = 0 | |
| 1636 | t1.BorderSizePixel = 0 | |
| 1637 | t1.Position = UDim2.new(0.4, 0, 0.78, 0) | |
| 1638 | t1.Rotation = -6 | |
| 1639 | t1.Size = UDim2.new(0, 2, 0, 2) | |
| 1640 | t1.TextSize = 100 | |
| 1641 | t1.Font = "Cartoon" | |
| 1642 | t1.Text = "I.." | |
| 1643 | t1.TextStrokeTransparency = 0 | |
| 1644 | t1.Parent = scg | |
| 1645 | coroutine.resume(coroutine.create(function() | |
| 1646 | while t1 do | |
| 1647 | t1.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1)) | |
| 1648 | for _ = 1, 15 do | |
| 1649 | game:GetService("RunService").Heartbeat:wait()
| |
| 1650 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g + 0.06666666666666667, t1.TextColor3.b) | |
| 1651 | end | |
| 1652 | for _ = 1, 15 do | |
| 1653 | game:GetService("RunService").Heartbeat:wait()
| |
| 1654 | t1.TextColor3 = Color3.new(t1.TextColor3.r - 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b) | |
| 1655 | end | |
| 1656 | for _ = 1, 15 do | |
| 1657 | game:GetService("RunService").Heartbeat:wait()
| |
| 1658 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b + 0.06666666666666667) | |
| 1659 | end | |
| 1660 | for _ = 1, 15 do | |
| 1661 | game:GetService("RunService").Heartbeat:wait()
| |
| 1662 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g - 0.06666666666666667, t1.TextColor3.b) | |
| 1663 | end | |
| 1664 | for _ = 1, 15 do | |
| 1665 | game:GetService("RunService").Heartbeat:wait()
| |
| 1666 | t1.TextColor3 = Color3.new(t1.TextColor3.r + 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b) | |
| 1667 | end | |
| 1668 | for _ = 1, 15 do | |
| 1669 | game:GetService("RunService").Heartbeat:wait()
| |
| 1670 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b - 0.06666666666666667) | |
| 1671 | end | |
| 1672 | end | |
| 1673 | end)) | |
| 1674 | swait(8) | |
| 1675 | local t2 = Instance.new("TextLabel")
| |
| 1676 | t2.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 1677 | t2.BackgroundTransparency = 0 | |
| 1678 | t2.BorderSizePixel = 0 | |
| 1679 | t2.Position = UDim2.new(0.575, 0, 0.84, 0) | |
| 1680 | t2.Rotation = 15 | |
| 1681 | t2.Size = UDim2.new(0, 2, 0, 2) | |
| 1682 | t2.TextSize = 100 | |
| 1683 | t2.Font = "Cartoon" | |
| 1684 | t2.Text = "WIN!!1!!!!" | |
| 1685 | t2.TextStrokeTransparency = 0 | |
| 1686 | t2.Parent = scg | |
| 1687 | coroutine.resume(coroutine.create(function() | |
| 1688 | while t2 do | |
| 1689 | t2.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1)) | |
| 1690 | for _ = 1, 15 do | |
| 1691 | game:GetService("RunService").Heartbeat:wait()
| |
| 1692 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g + 0.06666666666666667, t2.TextColor3.b) | |
| 1693 | end | |
| 1694 | for _ = 1, 15 do | |
| 1695 | game:GetService("RunService").Heartbeat:wait()
| |
| 1696 | t2.TextColor3 = Color3.new(t2.TextColor3.r - 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b) | |
| 1697 | end | |
| 1698 | for _ = 1, 15 do | |
| 1699 | game:GetService("RunService").Heartbeat:wait()
| |
| 1700 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b + 0.06666666666666667) | |
| 1701 | end | |
| 1702 | for _ = 1, 15 do | |
| 1703 | game:GetService("RunService").Heartbeat:wait()
| |
| 1704 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g - 0.06666666666666667, t2.TextColor3.b) | |
| 1705 | end | |
| 1706 | for _ = 1, 15 do | |
| 1707 | game:GetService("RunService").Heartbeat:wait()
| |
| 1708 | t2.TextColor3 = Color3.new(t2.TextColor3.r + 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b) | |
| 1709 | end | |
| 1710 | for _ = 1, 15 do | |
| 1711 | game:GetService("RunService").RHeartbeat:wait()
| |
| 1712 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b - 0.06666666666666667) | |
| 1713 | end | |
| 1714 | end | |
| 1715 | end)) | |
| 1716 | swait(20) | |
| 1717 | scg:Destroy() | |
| 1718 | glasses1:Destroy() | |
| 1719 | glasses2:Destroy() | |
| 1720 | glasses3:Destroy() | |
| 1721 | glasses4:Destroy() | |
| 1722 | glasses5:Destroy() | |
| 1723 | glasses6:Destroy() | |
| 1724 | cam.CameraType = "Custom" | |
| 1725 | hrp.Anchored = false | |
| 1726 | human.WalkSpeed = sped | |
| 1727 | activu = false | |
| 1728 | end | |
| 1729 | function makenoob(cfrem, scalo, rags) | |
| 1730 | nscale.Value = scalo | |
| 1731 | local md = Instance.new("Model")
| |
| 1732 | md.Name = "Noob" | |
| 1733 | md.Parent = workspace | |
| 1734 | local hu = Instance.new("Humanoid")
| |
| 1735 | hu.RigType = "R6" | |
| 1736 | hu.MaxHealth = 100 * scalo | |
| 1737 | hu.Health = 100 * scalo | |
| 1738 | hu.Parent = md | |
| 1739 | local anm = Instance.new("Animator")
| |
| 1740 | anm.Parent = hu | |
| 1741 | hu.PlatformStand = true | |
| 1742 | local light = function(part) | |
| 1743 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 1744 | end | |
| 1745 | local hd = Instance.new("Part")
| |
| 1746 | hd.Name = "Head" | |
| 1747 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 1748 | hd.TopSurface = "Smooth" | |
| 1749 | hd.BottomSurface = "Inlet" | |
| 1750 | hd.Locked = true | |
| 1751 | hd.BrickColor = BrickColor.new("Bright yellow")
| |
| 1752 | hd.CanCollide = true | |
| 1753 | hd.Anchored = false | |
| 1754 | light(hd) | |
| 1755 | hd.Parent = md | |
| 1756 | local hm = Instance.new("SpecialMesh")
| |
| 1757 | hm.MeshType = "Head" | |
| 1758 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1759 | hm.Parent = hd | |
| 1760 | local hf = Instance.new("Decal")
| |
| 1761 | hf.Name = "face" | |
| 1762 | hf.Texture = "rbxasset://textures/face.png" | |
| 1763 | local gen = math.random(1, 40) | |
| 1764 | if gen == 3 then | |
| 1765 | hf.Texture = "rbxassetid://260884109" | |
| 1766 | end | |
| 1767 | if gen == 8 then | |
| 1768 | hf.Texture = "rbxassetid://260569492" | |
| 1769 | end | |
| 1770 | if gen == 12 then | |
| 1771 | hf.Texture = "rbxassetid://259580505" | |
| 1772 | end | |
| 1773 | if gen == 16 then | |
| 1774 | hf.Texture = "rbxassetid://259579232" | |
| 1775 | end | |
| 1776 | if gen == 24 then | |
| 1777 | hf.Texture = "rbxassetid://259571525" | |
| 1778 | end | |
| 1779 | if gen == 28 then | |
| 1780 | hf.Texture = "rbxassetid://258283210" | |
| 1781 | end | |
| 1782 | if gen == 32 then | |
| 1783 | hf.Texture = "rbxassetid://258940032" | |
| 1784 | end | |
| 1785 | if gen == 38 then | |
| 1786 | hf.Texture = "rbxassetid://673220970" | |
| 1787 | hf.Color3 = Color3.new(0, 0, 0) | |
| 1788 | end | |
| 1789 | hf.Face = "Front" | |
| 1790 | hf.Parent = hd | |
| 1791 | local hrpa = Instance.new("Part")
| |
| 1792 | hrpa.Name = "HumanoidRootPart" | |
| 1793 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 1794 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1795 | hrpa.Transparency = 1 | |
| 1796 | hrpa.CanCollide = false | |
| 1797 | hrpa.Locked = true | |
| 1798 | light(hrpa) | |
| 1799 | hrpa.Parent = md | |
| 1800 | local tagbomb = Instance.new("BoolValue")
| |
| 1801 | tagbomb.Name = "tagbomb" | |
| 1802 | tagbomb.Value = false | |
| 1803 | tagbomb.Parent = hrpa | |
| 1804 | local learm = Instance.new("Part")
| |
| 1805 | learm.Name = "Left Arm" | |
| 1806 | learm.BrickColor = BrickColor.new("Bright yellow")
| |
| 1807 | learm.CanCollide = false | |
| 1808 | learm.Locked = true | |
| 1809 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1810 | light(learm) | |
| 1811 | learm.Parent = md | |
| 1812 | local riarm = Instance.new("Part")
| |
| 1813 | riarm.Name = "Right Arm" | |
| 1814 | riarm.BrickColor = BrickColor.new("Bright yellow")
| |
| 1815 | riarm.CanCollide = false | |
| 1816 | riarm.Locked = true | |
| 1817 | light(riarm) | |
| 1818 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1819 | riarm.Parent = md | |
| 1820 | local leleg = Instance.new("Part")
| |
| 1821 | leleg.Name = "Left Leg" | |
| 1822 | leleg.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 1823 | leleg.CanCollide = false | |
| 1824 | leleg.Locked = true | |
| 1825 | light(leleg) | |
| 1826 | leleg.BottomSurface = 0 | |
| 1827 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1828 | leleg.Parent = md | |
| 1829 | local rileg = Instance.new("Part")
| |
| 1830 | rileg.Name = "Right Leg" | |
| 1831 | rileg.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 1832 | rileg.CanCollide = false | |
| 1833 | rileg.Locked = true | |
| 1834 | light(rileg) | |
| 1835 | rileg.BottomSurface = 0 | |
| 1836 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1837 | rileg.Parent = md | |
| 1838 | local tor = Instance.new("Part")
| |
| 1839 | tor.Name = "Torso" | |
| 1840 | tor.BrickColor = BrickColor.new("Bright blue")
| |
| 1841 | tor.Locked = true | |
| 1842 | light(tor) | |
| 1843 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1844 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 1845 | tor.Parent = md | |
| 1846 | md.PrimaryPart = hrpa | |
| 1847 | md:SetPrimaryPartCFrame(cfrem) | |
| 1848 | md:makeJoints() | |
| 1849 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 1850 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 1851 | if rags == true then | |
| 1852 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1853 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1854 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1855 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1856 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1857 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1858 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1859 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1860 | elseif rags == false then | |
| 1861 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1862 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1863 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1864 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1865 | hu.PlatformStand = false | |
| 1866 | end | |
| 1867 | nscale.Value = 1 | |
| 1868 | local whistl = Instance.new("Sound")
| |
| 1869 | whistl.SoundId = "rbxassetid://170297200" | |
| 1870 | whistl.Name = "whistl" | |
| 1871 | whistl.Volume = 1 | |
| 1872 | whistl.TimePosition = 0.6 | |
| 1873 | whistl.Pitch = 1 | |
| 1874 | whistl.Parent = hrpa | |
| 1875 | hu.Touched:connect(function(tpart, uwot) | |
| 1876 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md and tpart.Parent ~= "Noob" then | |
| 1877 | tagbomb.Value = false | |
| 1878 | hu.Health = 0 | |
| 1879 | local derp = Instance.new("Explosion")
| |
| 1880 | derp.BlastPressure = 200 | |
| 1881 | derp.BlastRadius = 16 | |
| 1882 | derp.DestroyJointRadiusPercent = 0 | |
| 1883 | derp.ExplosionType = 2 | |
| 1884 | derp.Visible = true | |
| 1885 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
| 1886 | derp.Parent = workspace | |
| 1887 | game.Debris:AddItem(md, 8) | |
| 1888 | local sound2 = Instance.new("Sound")
| |
| 1889 | sound2.SoundId = "rbxassetid://157878578" | |
| 1890 | sound2.Volume = 0.8 | |
| 1891 | sound2.Pitch = 0.9 | |
| 1892 | sound2.Parent = uwot | |
| 1893 | sound2:Play() | |
| 1894 | whistl:Stop() | |
| 1895 | hito(uwot, 14, 24, 0.3, Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10)), Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10))) | |
| 1896 | end | |
| 1897 | end) | |
| 1898 | return md | |
| 1899 | end | |
| 1900 | local pl, st, gotago | |
| 1901 | function musicnoob() | |
| 1902 | if selected == false or activu == true then | |
| 1903 | return | |
| 1904 | end | |
| 1905 | if memeing == false then | |
| 1906 | activu = true | |
| 1907 | do | |
| 1908 | local nib = spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
| 1909 | nib.Name = "Nooprah" | |
| 1910 | nib.Parent = modz | |
| 1911 | local nHuman = nib:FindFirstChild("Humanoid")
| |
| 1912 | local nhrp = nib:FindFirstChild("HumanoidRootPart")
| |
| 1913 | local nTorso = nib:FindFirstChild("Torso")
| |
| 1914 | local nRS = nTorso:FindFirstChild("Right Shoulder")
| |
| 1915 | local nLS = nTorso:FindFirstChild("Left Shoulder")
| |
| 1916 | local nRH = nTorso:FindFirstChild("Right Hip")
| |
| 1917 | local nLH = nTorso:FindFirstChild("Left Hip")
| |
| 1918 | local nRJ = nhrp:FindFirstChild("RootJoint")
| |
| 1919 | local nN = nTorso:FindFirstChild("Neck")
| |
| 1920 | local nFace = nib:FindFirstChild("Head"):FindFirstChild("face")
| |
| 1921 | nHuman.MaxHealth = math.huge | |
| 1922 | nHuman.Health = math.huge | |
| 1923 | nFace.Texture = "rbxassetid://14175189" | |
| 1924 | local mp = makepart("Black", "mauth", 0, 0, "SmoothPlastic", nib:FindFirstChild("Head"), nhrp.CFrame)
| |
| 1925 | local mm = makemesh("Sphere", Vector3.new(3, 0.25, 0.75), nil, mp)
| |
| 1926 | local mmot = makejoint(mp, cf(0, 0.175, 0.55), cf(0, 0, 0), mp, nib:FindFirstChild("Head"), "derp")
| |
| 1927 | local mosicu = Instance.new("Sound")
| |
| 1928 | mosicu.Name = "moose" | |
| 1929 | mosicu.Volume = 1 | |
| 1930 | mosicu.EmitterSize = 40 | |
| 1931 | mosicu.MaxDistance = 80 | |
| 1932 | mosicu.Looped = true | |
| 1933 | mosicu.Parent = nib:FindFirstChild("Head")
| |
| 1934 | local sg = Instance.new("ScreenGui")
| |
| 1935 | sg.Name = "simpleflips" | |
| 1936 | sg.Parent = plr.PlayerGui | |
| 1937 | local fr = Instance.new("Frame")
| |
| 1938 | fr.AnchorPoint = Vector2.new(1, 0.5) | |
| 1939 | fr.BackgroundColor3 = Color3.new(1, 1, 0.0784313725490196) | |
| 1940 | fr.BorderSizePixel = 2 | |
| 1941 | fr.Position = UDim2.new(0.975, 0, 0.5, 0) | |
| 1942 | fr.Size = UDim2.new(0, 200, 0, 100) | |
| 1943 | fr.Parent = sg | |
| 1944 | local mbox = Instance.new("TextBox")
| |
| 1945 | mbox.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 1946 | mbox.BackgroundColor3 = Color3.new(0.9019607843137255, 0.9019607843137255, 0.0784313725490196) | |
| 1947 | mbox.BorderSizePixel = 2 | |
| 1948 | mbox.Position = UDim2.new(0.5, 0, 0.25, 0) | |
| 1949 | mbox.Size = UDim2.new(0, 150, 0, 40) | |
| 1950 | mbox.Font = "SourceSansBold" | |
| 1951 | mbox.FontSize = "Size24" | |
| 1952 | mbox.Text = "MEME" | |
| 1953 | mbox.TextWrapped = true | |
| 1954 | mbox.Parent = fr | |
| 1955 | local pley = Instance.new("TextButton")
| |
| 1956 | pley.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 1957 | pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784) | |
| 1958 | pley.BorderSizePixel = 2 | |
| 1959 | pley.Position = UDim2.new(0.25, 0, 0.75, 0) | |
| 1960 | pley.Size = UDim2.new(0, 75, 0, 35) | |
| 1961 | pley.Font = "SourceSansBold" | |
| 1962 | pley.FontSize = "Size18" | |
| 1963 | pley.Text = "kappa" | |
| 1964 | pley.Parent = fr | |
| 1965 | local stap = Instance.new("TextButton")
| |
| 1966 | stap.AnchorPoint = Vector2.new(0.5, 0.5) | |
| 1967 | stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941) | |
| 1968 | stap.BorderSizePixel = 2 | |
| 1969 | stap.Position = UDim2.new(0.75, 0, 0.75, 0) | |
| 1970 | stap.Size = UDim2.new(0, 75, 0, 35) | |
| 1971 | stap.Font = "SourceSansBold" | |
| 1972 | stap.FontSize = "Size18" | |
| 1973 | stap.Text = "pride" | |
| 1974 | stap.Parent = fr | |
| 1975 | pl = pley.MouseButton1Click:connect(function() | |
| 1976 | mosicu.SoundId = "rbxassetid://" .. mbox.Text | |
| 1977 | mosicu:Play() | |
| 1978 | end) | |
| 1979 | st = stap.MouseButton1Click:connect(function() | |
| 1980 | mosicu:Stop() | |
| 1981 | end) | |
| 1982 | gotago = tool.Activated:connect(function() | |
| 1983 | if mouse.Hit ~= nil and batting == false then | |
| 1984 | nHuman:MoveTo(mouse.Hit.p) | |
| 1985 | end | |
| 1986 | end) | |
| 1987 | local memevalue, memevalue2, liftvalue | |
| 1988 | coroutine.resume(coroutine.create(function() | |
| 1989 | while nib do | |
| 1990 | swait() | |
| 1991 | memevalue = -90 * (mosicu.PlaybackLoudness / 500) | |
| 1992 | memevalue2 = -20 * (mosicu.PlaybackLoudness / 500) | |
| 1993 | liftvalue = 0.75 * (mosicu.PlaybackLoudness / 500) | |
| 1994 | mm.Scale = mm.Scale:lerp(Vector3.new(3 * (1 - mosicu.PlaybackLoudness / 900), 0.25 * (1 + mosicu.PlaybackLoudness / 30), 0.75 * (1 + mosicu.PlaybackLoudness / 1750)), 0.7) | |
| 1995 | if mosicu.PlaybackLoudness > 1 and mosicu.PlaybackLoudness < 10000000 then | |
| 1996 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
| 1997 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, liftvalue) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1998 | lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
| 1999 | lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
| 2000 | lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5) | |
| 2001 | lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5) | |
| 2002 | else | |
| 2003 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2004 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2005 | lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2006 | lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2007 | lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2008 | lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2009 | end | |
| 2010 | end | |
| 2011 | end)) | |
| 2012 | activu = false | |
| 2013 | memeing = true | |
| 2014 | end | |
| 2015 | elseif memeing == true then | |
| 2016 | gotago:Disconnect() | |
| 2017 | pl:Disconnect() | |
| 2018 | st:Disconnect() | |
| 2019 | if plr.PlayerGui:FindFirstChild("simpleflips") then
| |
| 2020 | plr.PlayerGui:FindFirstChild("simpleflips"):Destroy()
| |
| 2021 | end | |
| 2022 | if modz:FindFirstChild("Nooprah") then
| |
| 2023 | modz:FindFirstChild("Nooprah"):Destroy()
| |
| 2024 | end | |
| 2025 | memeing = false | |
| 2026 | end | |
| 2027 | end | |
| 2028 | function makecircle(cfrem, scalo) | |
| 2029 | local mcir1 = Instance.new("Part")
| |
| 2030 | mcir1.Anchored = true | |
| 2031 | mcir1.CanCollide = false | |
| 2032 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2033 | mcir1.Transparency = 1 | |
| 2034 | mcir1.CFrame = cfrem | |
| 2035 | mcir1.Parent = modz | |
| 2036 | game.Debris:AddItem(mcir1, 8) | |
| 2037 | local d1 = Instance.new("Decal")
| |
| 2038 | d1.Texture = "rbxassetid://602615043" | |
| 2039 | d1.Face = "Front" | |
| 2040 | d1.Parent = mcir1 | |
| 2041 | local d2 = Instance.new("Decal")
| |
| 2042 | d2.Texture = "rbxassetid://602617463" | |
| 2043 | d2.Face = "Back" | |
| 2044 | d2.Parent = mcir1 | |
| 2045 | local bme = Instance.new("BlockMesh")
| |
| 2046 | bme.Parent = mcir1 | |
| 2047 | for _ = 1, 9 do | |
| 2048 | swait() | |
| 2049 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
| 2050 | end | |
| 2051 | coroutine.resume(coroutine.create(function() | |
| 2052 | swait(15) | |
| 2053 | for _ = 1, 12 do | |
| 2054 | swait() | |
| 2055 | d1.Transparency = d1.Transparency + 0.08 | |
| 2056 | d2.Transparency = d2.Transparency + 0.08 | |
| 2057 | end | |
| 2058 | mcir1:Destroy() | |
| 2059 | end)) | |
| 2060 | return mcir1 | |
| 2061 | end | |
| 2062 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 2063 | local aearae = makecircle(circlecf, scalez) | |
| 2064 | local nananb | |
| 2065 | if ragd then | |
| 2066 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
| 2067 | elseif not ragd then | |
| 2068 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 2069 | end | |
| 2070 | return nananb | |
| 2071 | end | |
| 2072 | function tagexplode(partoz, magn, bombdelay) | |
| 2073 | for _, guy in pairs(workspace:GetChildren()) do | |
| 2074 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
| |
| 2075 | coroutine.resume(coroutine.create(function() | |
| 2076 | guy:FindFirstChild("HumanoidRootPart").whistl:Play()
| |
| 2077 | swait(bombdelay * 30) | |
| 2078 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
| |
| 2079 | end)) | |
| 2080 | end | |
| 2081 | end | |
| 2082 | end | |
| 2083 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
| 2084 | for _, guy in pairs(workspace:GetChildren()) do | |
| 2085 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 2086 | do | |
| 2087 | local humz = guy:FindFirstChild("Humanoid")
| |
| 2088 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 2089 | humz:TakeDamage(dmg) | |
| 2090 | if guy:FindFirstChildOfClass("ForceField") then
| |
| 2091 | humz.Health = humz.Health - dmg | |
| 2092 | end | |
| 2093 | humz:SetStateEnabled(16, true) | |
| 2094 | delay(debtim, function() | |
| 2095 | humz:SetStateEnabled(16, true) | |
| 2096 | end) | |
| 2097 | local db = Instance.new("StringValue")
| |
| 2098 | db.Name = "alabo" | |
| 2099 | db.Parent = horp | |
| 2100 | delay(debtim, function() | |
| 2101 | db:Destroy() | |
| 2102 | end) | |
| 2103 | local b = Instance.new("Part")
| |
| 2104 | nooutline(b) | |
| 2105 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2106 | b.Transparency = 0.25 | |
| 2107 | b.Anchored = true | |
| 2108 | b.CanCollide = false | |
| 2109 | b.BrickColor = BrickColor.new("Institutional white")
| |
| 2110 | b.Locked = true | |
| 2111 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 2112 | b.Parent = modz | |
| 2113 | local c = Instance.new("SpecialMesh")
| |
| 2114 | c.MeshType = "Sphere" | |
| 2115 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 2116 | c.Parent = b | |
| 2117 | game.Debris:AddItem(b, 1) | |
| 2118 | local damageind = Instance.new("Model")
| |
| 2119 | damageind.Name = dmg | |
| 2120 | damageind.Parent = workspace | |
| 2121 | game.Debris:AddItem(damageind, 0.5 + dmg / 75) | |
| 2122 | local awawaa = Instance.new("Humanoid")
| |
| 2123 | awawaa.MaxHealth = 0 | |
| 2124 | awawaa.Parent = damageind | |
| 2125 | local dhed = Instance.new("Part")
| |
| 2126 | dhed.Name = "Head" | |
| 2127 | dhed.Locked = true | |
| 2128 | dhed.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2129 | dhed.Position = horp.Position | |
| 2130 | dhed.BrickColor = BrickColor.new("Bright red")
| |
| 2131 | dhed.CanCollide = false | |
| 2132 | dhed.Parent = damageind | |
| 2133 | local flo = Instance.new("BodyPosition")
| |
| 2134 | flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 2135 | flo.P = 20000 | |
| 2136 | flo.D = 300 | |
| 2137 | flo.Position = dhed.Position + Vector3.new(0, 5, 0) | |
| 2138 | flo.Parent = dhed | |
| 2139 | local dasdada = Instance.new("CylinderMesh")
| |
| 2140 | dasdada.Parent = dhed | |
| 2141 | coroutine.resume(coroutine.create(function() | |
| 2142 | while dasdada do | |
| 2143 | swait() | |
| 2144 | dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4) | |
| 2145 | end | |
| 2146 | end)) | |
| 2147 | if bodyfdire then | |
| 2148 | local boopyve = Instance.new("BodyVelocity")
| |
| 2149 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 2150 | boopyve.P = 9999999999 | |
| 2151 | boopyve.Velocity = bodyfdire | |
| 2152 | boopyve.Parent = horp | |
| 2153 | game.Debris:AddItem(boopyve, debtim) | |
| 2154 | end | |
| 2155 | if bodyrot then | |
| 2156 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 2157 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
| 2158 | boopyro.P = math.huge | |
| 2159 | boopyro.AngularVelocity = bodyrot | |
| 2160 | boopyro.Parent = horp | |
| 2161 | game.Debris:AddItem(boopyro, debtim) | |
| 2162 | end | |
| 2163 | local bet = Instance.new("Sound")
| |
| 2164 | bet.Pitch = rd2(9, 11) / 10 | |
| 2165 | bet.Volume = rd2(12, 14) / 10 | |
| 2166 | bet.SoundId = "rbxassetid://305526724" | |
| 2167 | bet.Parent = b | |
| 2168 | bet:Play() | |
| 2169 | coroutine.resume(coroutine.create(function() | |
| 2170 | for _ = 1, 5 do | |
| 2171 | swait() | |
| 2172 | b.Transparency = b.Transparency + 0.175 | |
| 2173 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 2174 | end | |
| 2175 | end)) | |
| 2176 | end | |
| 2177 | end | |
| 2178 | end | |
| 2179 | end | |
| 2180 | function cleannoobs() | |
| 2181 | for _, nib in pairs(workspace:GetChildren()) do | |
| 2182 | coroutine.resume(coroutine.create(function() | |
| 2183 | if nib.Name == "Noob" then | |
| 2184 | if nib:FindFirstChild("HumanoidRootPart") then
| |
| 2185 | local g = Instance.new("Part")
| |
| 2186 | g.CanCollide, g.Anchored = false, true | |
| 2187 | g.Transparency = 1 | |
| 2188 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
| |
| 2189 | g.Parent = workspace | |
| 2190 | game.Debris:AddItem(g, 3.5) | |
| 2191 | local sou = Instance.new("Sound")
| |
| 2192 | sou.Pitch = math.random(7, 11) / 10 | |
| 2193 | sou.Volume = 0.8 | |
| 2194 | sou.SoundId = "rbxassetid://111124523" | |
| 2195 | sou.Parent = g | |
| 2196 | local pe = Instance.new("ParticleEmitter")
| |
| 2197 | pe.Acceleration = Vector3.new(0, 8, 0) | |
| 2198 | pe.Lifetime = NumberRange.new(1, 1.5) | |
| 2199 | pe.Rate = 0.005 | |
| 2200 | pe.RotSpeed = NumberRange.new(-30, 30) | |
| 2201 | pe.Rotation = NumberRange.new(0, 360) | |
| 2202 | pe.Size = NumberSequence.new({
| |
| 2203 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
| 2204 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
| 2205 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
| 2206 | }) | |
| 2207 | pe.Texture = "rbxassetid://244221440" | |
| 2208 | pe.Transparency = NumberSequence.new({
| |
| 2209 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 2210 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
| 2211 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 2212 | }) | |
| 2213 | pe.ZOffset = 5 | |
| 2214 | pe.Enabled = true | |
| 2215 | pe.VelocitySpread = 360 | |
| 2216 | pe.Parent = g | |
| 2217 | swait(5) | |
| 2218 | pe:Emit(6) | |
| 2219 | sou:Play() | |
| 2220 | end | |
| 2221 | nib:Destroy() | |
| 2222 | end | |
| 2223 | end)) | |
| 2224 | end | |
| 2225 | end | |
| 2226 | function animo(yep) | |
| 2227 | if anim then | |
| 2228 | if yep == true then | |
| 2229 | anim.Parent = human | |
| 2230 | chr.Animate.Disabled = false | |
| 2231 | elseif yep == false then | |
| 2232 | chr.Animate.Disabled = true | |
| 2233 | anim.Parent = nil | |
| 2234 | end | |
| 2235 | end | |
| 2236 | end | |
| 2237 | human.Died:connect(function() | |
| 2238 | script:Destroy() | |
| 2239 | end) | |
| 2240 | mouse.KeyDown:connect(function(key) | |
| 2241 | if key == "r" then | |
| 2242 | test() | |
| 2243 | end | |
| 2244 | if key == "m" then | |
| 2245 | lauf() | |
| 2246 | end | |
| 2247 | if key == "c" then | |
| 2248 | ham() | |
| 2249 | end | |
| 2250 | if key == "v" then | |
| 2251 | nommy() | |
| 2252 | end | |
| 2253 | if key == "x" then | |
| 2254 | bat() | |
| 2255 | end | |
| 2256 | if key == "l" and selected == true then | |
| 2257 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-100), 0, 0), 1, true) | |
| 2258 | end | |
| 2259 | if key == ";" and selected == true then | |
| 2260 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
| 2261 | end | |
| 2262 | if key == "k" and selected == true then | |
| 2263 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
| 2264 | end | |
| 2265 | if key == "p" then | |
| 2266 | cleannoobs() | |
| 2267 | end | |
| 2268 | if key == "[" then | |
| 2269 | musicnoob() | |
| 2270 | end | |
| 2271 | if key == "z" then | |
| 2272 | if selected == false or activu == true then | |
| 2273 | return | |
| 2274 | end | |
| 2275 | if human.WalkSpeed == 25 then | |
| 2276 | human.WalkSpeed = 70 | |
| 2277 | human.JumpPower = 75 | |
| 2278 | else | |
| 2279 | human.WalkSpeed = 25 | |
| 2280 | human.JumpPower = 50 | |
| 2281 | end | |
| 2282 | end | |
| 2283 | end) | |
| 2284 | tool.Equipped:connect(function() | |
| 2285 | selected = true | |
| 2286 | end) | |
| 2287 | tool.Unequipped:connect(function() | |
| 2288 | selected = false | |
| 2289 | end) | |
| 2290 | animo(false) | |
| 2291 | human.WalkSpeed = 25 | |
| 2292 | sine = 0 | |
| 2293 | charge = 1 | |
| 2294 | cos = math.cos | |
| 2295 | game:GetService("RunService").Heartbeat:connect(function()
| |
| 2296 | if ragged == false and activu == false then | |
| 2297 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 2298 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 2299 | local checkstate = human:GetState() | |
| 2300 | if checkstate.Value == 13 then | |
| 2301 | animpose = "Sitting" | |
| 2302 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 2303 | animpose = "Jumping" | |
| 2304 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 2305 | animpose = "Falling" | |
| 2306 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 2307 | animpose = "Idle" | |
| 2308 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
| 2309 | animpose = "Walking" | |
| 2310 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
| 2311 | animpose = "TooFast" | |
| 2312 | end | |
| 2313 | if animpose == "Idle" then | |
| 2314 | sine = sine + charge | |
| 2315 | lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2316 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
| 2317 | if not ymmu then | |
| 2318 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 2319 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2320 | end | |
| 2321 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 2322 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2323 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3) | |
| 2324 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2325 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3) | |
| 2326 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2327 | end | |
| 2328 | if animpose == "Walking" then | |
| 2329 | sine = sine + charge | |
| 2330 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3) | |
| 2331 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
| 2332 | if not ymmu then | |
| 2333 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 2334 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2335 | end | |
| 2336 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 2337 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2338 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 2339 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2340 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 2341 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2342 | end | |
| 2343 | if animpose == "Jumping" then | |
| 2344 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
| 2345 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 2346 | if not ymmu then | |
| 2347 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
| 2348 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2349 | end | |
| 2350 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
| 2351 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2352 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
| 2353 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2354 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
| 2355 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2356 | end | |
| 2357 | if animpose == "Falling" then | |
| 2358 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 2359 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 2360 | if not ymmu then | |
| 2361 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
| 2362 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2363 | end | |
| 2364 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
| 2365 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2366 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
| 2367 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2368 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
| 2369 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2370 | end | |
| 2371 | if animpose == "TooFast" then | |
| 2372 | sine = sine + charge | |
| 2373 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
| 2374 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
| 2375 | if not ymmu then | |
| 2376 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 2377 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2378 | end | |
| 2379 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 2380 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2381 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 2382 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2383 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 2384 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2385 | end | |
| 2386 | if animpose == "Sitting" then | |
| 2387 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2388 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2389 | if not ymmu then | |
| 2390 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2391 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2392 | end | |
| 2393 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2394 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2395 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2396 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2397 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2398 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2399 | end | |
| 2400 | end | |
| 2401 | end) |