SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 141 | wait(2) | |
| 142 | ----Made by Ericdesouza, Ericdesouza--- | |
| 143 | ||
| 144 | ----Credit to NextFlame for the derpy animation running sorry Idk how to animate yet </3 | |
| 145 | ---- and Credits to EthanHong0407 for the humping animation, Fixing time stop and hump knife, and MUDA. | |
| 146 | p = owner | |
| 147 | char = p.Character | |
| 148 | local txt = Instance.new("BillboardGui", char)
| |
| 149 | txt.Adornee = char .Head | |
| 150 | txt.Name = "_status" | |
| 151 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 152 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 153 | local text = Instance.new("TextLabel", txt)
| |
| 154 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 155 | text.FontSize = "Size24" | |
| 156 | text.TextScaled = true | |
| 157 | text.TextTransparency = 0 | |
| 158 | text.BackgroundTransparency = 1 | |
| 159 | text.TextTransparency = 0 | |
| 160 | text.TextStrokeTransparency = 0 | |
| 161 | text.Font = "Arcade" | |
| 162 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 163 | ||
| 164 | v=Instance.new("Part")
| |
| 165 | v.Name = "ColorBrick" | |
| 166 | v.Parent=p.Character | |
| 167 | v.FormFactor="Symmetric" | |
| 168 | v.Anchored=true | |
| 169 | v.CanCollide=false | |
| 170 | v.BottomSurface="Smooth" | |
| 171 | v.TopSurface="Smooth" | |
| 172 | v.Size=Vector3.new(10,5,3) | |
| 173 | v.Transparency=1 | |
| 174 | v.CFrame=char.Torso.CFrame | |
| 175 | v.Transparency=1 | |
| 176 | text.TextColor3 = Color3.new(255,32,185) | |
| 177 | v.Shape="Block" | |
| 178 | text.Text = "merry christmas nobs" | |
| 179 | function clerp(c1,c2,al) | |
| 180 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 181 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 182 | for i,v in pairs(com1) do | |
| 183 | com1[i] = v+(com2[i]-v)*al | |
| 184 | end | |
| 185 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 186 | end | |
| 187 | ||
| 188 | local BeeSpeed= 100 | |
| 189 | ||
| 190 | plr = game:service'Players'.LocalPlayer | |
| 191 | plrgui = plr.PlayerGui | |
| 192 | char = plr.Character | |
| 193 | mouse = plr:GetMouse() | |
| 194 | humanoid = char:findFirstChild("Humanoid")
| |
| 195 | torso = char:findFirstChild("Torso")
| |
| 196 | head = char.Head | |
| 197 | ra = char:findFirstChild("Right Arm")
| |
| 198 | la = char:findFirstChild("Left Arm")
| |
| 199 | rl = char:findFirstChild("Right Leg")
| |
| 200 | ll = char:findFirstChild("Left Leg")
| |
| 201 | rs = torso:findFirstChild("Right Shoulder")
| |
| 202 | ls = torso:findFirstChild("Left Shoulder")
| |
| 203 | rh = torso:findFirstChild("Right Hip")
| |
| 204 | lh = torso:findFirstChild("Left Hip")
| |
| 205 | neck = torso:findFirstChild("Neck")
| |
| 206 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
| |
| 207 | rootpart = char:findFirstChild("HumanoidRootPart")
| |
| 208 | camera = workspace.CurrentCamera | |
| 209 | anim = char:findFirstChild("Animate")
| |
| 210 | frozen = false | |
| 211 | timestopcool = false | |
| 212 | humping = false | |
| 213 | mudaing = false | |
| 214 | knifeSpeed = 150 | |
| 215 | stuffFrozen = {}
| |
| 216 | frozenSounds = {}
| |
| 217 | if anim then | |
| 218 | anim:Destroy() | |
| 219 | end | |
| 220 | ||
| 221 | head.face.Texture = "rbxassetid://30395097" | |
| 222 | local KonoDioDa = Instance.new("Part",char)
| |
| 223 | KonoDioDa.Size = Vector3.new(1.67, 2.38, 1.7) | |
| 224 | KonoDioDa.CanCollide = false | |
| 225 | KonoDioDa.BrickColor = BrickColor.new("Fire Yellow")
| |
| 226 | local KonoDioDa2 = Instance.new("SpecialMesh",KonoDioDa)
| |
| 227 | KonoDioDa2.Offset = Vector3.new(0.08, 0, 0.3) | |
| 228 | KonoDioDa2.Scale = Vector3.new(0.04, 0.04, 0.04) | |
| 229 | local KonoDioDa3 = Instance.new("Weld",KonoDioDa)
| |
| 230 | KonoDioDa3.Part0 = head | |
| 231 | KonoDioDa3.Part1 = KonoDioDa | |
| 232 | KonoDioDa3.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 233 | ||
| 234 | function chatfunc(text) | |
| 235 | local chat = coroutine.wrap(function() | |
| 236 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 237 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 238 | end | |
| 239 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 240 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 241 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 242 | naeeym2.Adornee = char.Head | |
| 243 | naeeym2.Name = "TalkingBillBoard" | |
| 244 | tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 245 | tecks2.BackgroundTransparency = 1 | |
| 246 | tecks2.BorderSizePixel = 0 | |
| 247 | tecks2.Text = "" | |
| 248 | tecks2.Font = "Fantasy" | |
| 249 | tecks2.TextSize = 30 | |
| 250 | tecks2.TextStrokeTransparency = 0 | |
| 251 | tecks2.TextColor3 = Color3.new(0,0,0) | |
| 252 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 253 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 254 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 255 | tecks3.BackgroundTransparency = 1 | |
| 256 | tecks3.BorderSizePixel = 0 | |
| 257 | tecks3.Text = "" | |
| 258 | tecks3.Font = "Fantasy" | |
| 259 | tecks3.TextSize = 30 | |
| 260 | tecks3.TextStrokeTransparency = 0 | |
| 261 | tecks3.TextColor3 = Color3.new(255,0,0) | |
| 262 | tecks3.TextStrokeColor3 = Color3.new(0,255,0) | |
| 263 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 264 | for i = 1,string.len(text),1 do | |
| 265 | ||
| 266 | tecks2.Text = string.sub(text,1,i) | |
| 267 | tecks3.Text = string.sub(text,1,i) | |
| 268 | wait(0.01) | |
| 269 | end | |
| 270 | wait(2) | |
| 271 | for i = 1, 50 do | |
| 272 | ||
| 273 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 274 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 275 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 276 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 277 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 278 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 279 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 280 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 281 | end | |
| 282 | naeeym2:Destroy() | |
| 283 | end) | |
| 284 | chat() | |
| 285 | ||
| 286 | end | |
| 287 | function onChatted(msg) | |
| 288 | chatfunc(msg) | |
| 289 | ||
| 290 | end | |
| 291 | plr.Chatted:connect(onChatted) | |
| 292 | ||
| 293 | function timeFreezeFunction() | |
| 294 | function spread(model) | |
| 295 | for i,p in pairs(model:GetChildren()) do | |
| 296 | spread(p) | |
| 297 | if p.Name == "Humanoid" and p:IsDescendantOf(char) == false then | |
| 298 | for i,d in pairs(p.Parent:GetChildren()) do | |
| 299 | if d:IsA("BasePart") and d:IsDescendantOf(char) == false and d.Name ~= "HumanoidRootPart" and d.Anchored == false and stuffFrozen[d] == nil then
| |
| 300 | table.insert(stuffFrozen, d) | |
| 301 | d.Anchored = true | |
| 302 | elseif d:IsA("Sound") and d.IsPlaying then
| |
| 303 | table.insert(frozenSounds, d) | |
| 304 | d:Pause() | |
| 305 | end | |
| 306 | end | |
| 307 | end | |
| 308 | end | |
| 309 | end | |
| 310 | spread(workspace) | |
| 311 | end | |
| 312 | ||
| 313 | - | yes.SoundId = "rbxassetid://664136141" |
| 313 | + | |
| 314 | abss.Size = UDim2.new(10,0,10,0) | |
| 315 | abss.Enabled = false | |
| 316 | abss.Name = "KONODIODA" | |
| 317 | imgl = Instance.new("ImageLabel",abss)
| |
| 318 | imgl.Position = UDim2.new(0,0,0,0) | |
| 319 | imgl.Size = UDim2.new(1,0,1,0) | |
| 320 | imgl.Image = "rbxassetid://711463989" | |
| 321 | imgl.BackgroundTransparency = 1 | |
| 322 | imgl.ImageColor3 = Color3.new(0,255,255) | |
| 323 | img2 = Instance.new("ImageLabel",abss)
| |
| 324 | img2.Position = UDim2.new(0,0,0,0) | |
| 325 | img2.Size = UDim2.new(1,0,1,0) | |
| 326 | img2.Image = "rbxassetid://711463989" | |
| 327 | img2.BackgroundTransparency = 1 | |
| 328 | img2.ImageColor3 = Color3.new(0,255,255) | |
| 329 | ||
| 330 | ||
| 331 | animation = Instance.new("Animation",script.Parent) -- Pose Wink Wonk
| |
| 332 | animation.AnimationId = 'rbxassetid://1949023689' | |
| 333 | - | WhatKindOfDioIsThis.SoundId = "rbxassetid://1424121693" |
| 333 | + | |
| 334 | local animTrack = humanoid:LoadAnimation(animation) | |
| 335 | ||
| 336 | ||
| 337 | --Sounds | |
| 338 | --Folder | |
| 339 | soundfolder = Instance.new("Model",char)
| |
| 340 | soundfolder.Name = "Sound Folder" | |
| 341 | --Sounds | |
| 342 | yes = Instance.new("Sound",soundfolder)
| |
| 343 | yes.Volume = 30 | |
| 344 | yes.Name = "Jojo" | |
| 345 | yes.Looped = true | |
| 346 | yes.SoundId = "rbxassetid://1845570334" | |
| 347 | osh = Instance.new("Sound",soundfolder)
| |
| 348 | osh.Volume = 30 | |
| 349 | osh.Name = "ruhroh" | |
| 350 | osh.Looped = true | |
| 351 | osh.SoundId = "rbxassetid://148317550" | |
| 352 | yosh = Instance.new("Sound",soundfolder)
| |
| 353 | yosh.Volume = 30 | |
| 354 | yosh.Name = "epic" | |
| 355 | yosh.Looped = true | |
| 356 | yosh.SoundId = "rbxassetid://2041312466" | |
| 357 | KonoDioDAA = Instance.new("Sound",soundfolder)
| |
| 358 | KonoDioDAA.Volume = 30 | |
| 359 | KonoDioDAA.Name = "Dio" | |
| 360 | KonoDioDAA.Looped = false | |
| 361 | KonoDioDAA.SoundId = "rbxassetid://2545211516" | |
| 362 | WhatKindOfDioIsThis = Instance.new("Sound",soundfolder)
| |
| 363 | WhatKindOfDioIsThis.Volume = 30 | |
| 364 | WhatKindOfDioIsThis.Name = "Bakana" | |
| 365 | WhatKindOfDioIsThis.Looped = true | |
| 366 | WhatKindOfDioIsThis.SoundId = "rbxassetid://606127712" | |
| 367 | NANI = Instance.new("Sound",soundfolder)
| |
| 368 | NANI.Volume = 30 | |
| 369 | NANI.Name = "Japanese Screeching" | |
| 370 | NANI.Looped = false | |
| 371 | NANI.SoundId = "rbxassetid://573051278" | |
| 372 | Stop = Instance.new("Sound",soundfolder)
| |
| 373 | - | Wrry.SoundId = "rbxassetid://525743689" |
| 373 | + | |
| 374 | Stop.Name = "Oof" | |
| 375 | Stop.Looped = false | |
| 376 | Stop.SoundId = "rbxassetid://2259766079" | |
| 377 | Stop2 = Instance.new("Sound",soundfolder)
| |
| 378 | Stop2.Volume = 1 | |
| 379 | Stop2.Name = "Of" | |
| 380 | Stop2.Looped = false | |
| 381 | Stop2.SoundId = "rbxassetid://0" | |
| 382 | Stop3 = Instance.new("Sound",soundfolder)
| |
| 383 | - | B.SoundId = "rbxassetid://622342161" |
| 383 | + | |
| 384 | Stop3.Name = "O0f" | |
| 385 | Stop3.Looped = false | |
| 386 | Stop3.SoundId = "rbxassetid://0" | |
| 387 | Start = Instance.new("Sound",soundfolder)
| |
| 388 | Start.Volume = 10 | |
| 389 | Start.Name = "00f" | |
| 390 | Start.Looped = false | |
| 391 | Start.SoundId = "rbxassetid://2259766079" | |
| 392 | Start2 = Instance.new("Sound",soundfolder)
| |
| 393 | Start2.Volume = 4 | |
| 394 | Start2.Name = "HaiDer" | |
| 395 | Start2.Looped = false | |
| 396 | Start2.SoundId = "rbxassetid://0" | |
| 397 | Start2d = Instance.new("Sound",soundfolder)
| |
| 398 | Start2d.Volume = 5 | |
| 399 | Start2d.Name = "HaiDer2" | |
| 400 | Start2d.Looped = false | |
| 401 | Start2d.SoundId = "rbxassetid://0" | |
| 402 | Wrry = Instance.new("Sound",soundfolder)
| |
| 403 | Wrry.Volume = 30 | |
| 404 | Wrry.Name = "Wry" | |
| 405 | Wrry.Looped = false | |
| 406 | Wrry.SoundId = "rbxassetid://1235662683" | |
| 407 | Muda = Instance.new("Sound", soundfolder)
| |
| 408 | Muda.Volume = 4 | |
| 409 | Muda.Name = "Muda" | |
| 410 | Muda.Looped = false | |
| 411 | Muda.SoundId = "rbxassetid://616593932" | |
| 412 | B = Instance.new("Sound",soundfolder)
| |
| 413 | B.Volume = 30 | |
| 414 | B.Name = "BOI" | |
| 415 | B.Looped = false | |
| 416 | B.SoundId = "rbxassetid://131089065" | |
| 417 | a = Instance.new("Sound",soundfolder)
| |
| 418 | a.Volume = 30 | |
| 419 | a.Name = "why" | |
| 420 | a.Looped = false | |
| 421 | a.SoundId = "rbxassetid://520008569" | |
| 422 | h = Instance.new("Sound",soundfolder)
| |
| 423 | h.Volume = 30 | |
| 424 | h.Name = "non" | |
| 425 | h.Looped = false | |
| 426 | h.SoundId = "rbxassetid://2155289337" | |
| 427 | L = Instance.new("Sound",soundfolder)
| |
| 428 | L.Volume = 30 | |
| 429 | L.Name = "non" | |
| 430 | L.Looped = false | |
| 431 | L.SoundId = "rbxassetid://1093589689" | |
| 432 | O = Instance.new("Sound",soundfolder)
| |
| 433 | O.Volume = 30 | |
| 434 | O.Name = "non" | |
| 435 | O.Looped = false | |
| 436 | O.SoundId = "rbxassetid://1757383220" | |
| 437 | R = Instance.new("Sound",soundfolder)
| |
| 438 | R.Volume = 30 | |
| 439 | R.Name = "non" | |
| 440 | R.Looped = false | |
| 441 | R.SoundId = "rbxassetid://2595868833" | |
| 442 | S = Instance.new("Sound",soundfolder)
| |
| 443 | S.Volume = 30 | |
| 444 | S.Name = "wee" | |
| 445 | S.Looped = false | |
| 446 | S.SoundId = "rbxassetid://298689061" | |
| 447 | I = Instance.new("Sound",soundfolder)
| |
| 448 | I.Volume = 30 | |
| 449 | I.Name = "woa" | |
| 450 | I.Looped = false | |
| 451 | I.SoundId = "rbxassetid://858883207" | |
| 452 | sad = Instance.new("Sound",soundfolder)
| |
| 453 | sad.Volume = 30 | |
| 454 | sad.Name = "so sad" | |
| 455 | sad.Looped = true | |
| 456 | sad.SoundId = "rbxassetid://2097990918" | |
| 457 | epic = Instance.new("Sound",soundfolder)
| |
| 458 | epic.Volume = 30 | |
| 459 | epic.Name = "so sad" | |
| 460 | epic.Looped = false | |
| 461 | epic.SoundId = "rbxassetid://2419772006" | |
| 462 | asd = Instance.new("Sound",soundfolder)
| |
| 463 | asd.Volume = 30 | |
| 464 | asd.Name = "Japanese Screeching" | |
| 465 | asd.Looped = false | |
| 466 | asd.SoundId = "rbxassetid://907409748" | |
| 467 | ss = Instance.new("Sound",soundfolder)
| |
| 468 | ss.Volume = 30 | |
| 469 | ss.Name = "gnomed" | |
| 470 | ss.Looped = false | |
| 471 | ss.SoundId = "rbxassetid://1933822358" | |
| 472 | ------------------------------------------- | |
| 473 | ||
| 474 | wait(1) | |
| 475 | ||
| 476 | local rm = Instance.new("Motor", torso)
| |
| 477 | rm.C0 = CFrame.new(1.5, 0.5, 0) | |
| 478 | rm.C1 = CFrame.new(0, 0.5, 0) | |
| 479 | rm.Part0 = torso | |
| 480 | rm.Part1 = ra | |
| 481 | rm.Name = 'Right Shoulder' | |
| 482 | ||
| 483 | local lm = Instance.new("Motor", torso)
| |
| 484 | lm.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 485 | lm.C1 = CFrame.new(0, 0.5, 0) | |
| 486 | lm.Part0 = torso | |
| 487 | lm.Part1 = la | |
| 488 | lm.Name = 'Left Shoulder' | |
| 489 | ||
| 490 | local rlegm = Instance.new("Motor", torso)
| |
| 491 | rlegm.C0 = CFrame.new(0.5, -1, 0) | |
| 492 | rlegm.C1 = CFrame.new(0, 1, 0) | |
| 493 | rlegm.Part0 = torso | |
| 494 | rlegm.Part1 = rl | |
| 495 | local llegm = Instance.new("Motor", torso)
| |
| 496 | llegm.C0 = CFrame.new(-0.5, -1, 0) | |
| 497 | llegm.C1 = CFrame.new(0, 1, 0) | |
| 498 | llegm.Part0 = torso | |
| 499 | llegm.Part1 = ll | |
| 500 | ||
| 501 | rj.C0 = CFrame.new() | |
| 502 | rj.C1 = CFrame.new() | |
| 503 | ||
| 504 | neck.C0 = CFrame.new(0, 1, 0) | |
| 505 | neck.C1 = CFrame.new(0, -0.5, 0) | |
| 506 | ||
| 507 | local speed = 0.3 | |
| 508 | local angle = 0 | |
| 509 | local anglespeed = 1 | |
| 510 | rsc0 = rm.C0 | |
| 511 | lsc0 = lm.C0 | |
| 512 | llc0 = llegm.C0 | |
| 513 | rlc0 = rlegm.C0 | |
| 514 | rootc0 = rj.C0 | |
| 515 | neckc0 = neck.C0 | |
| 516 | ---------------------------------------------- | |
| 517 | wait() | |
| 518 | function descend(obj,class,func) | |
| 519 | for i,v in pairs(obj:GetChildren()) do | |
| 520 | if v:IsA(class) then | |
| 521 | func(v) | |
| 522 | end | |
| 523 | descend(v,class,func) | |
| 524 | end | |
| 525 | end | |
| 526 | local pls = game:GetService("Players").LocalPlayer
| |
| 527 | function initiateCharacter(char) | |
| 528 | if not char then return end | |
| 529 | wait() | |
| 530 | descend(char,"BasePart",function(obj) | |
| 531 | obj.Anchored = false | |
| 532 | obj.Changed:connect(function() | |
| 533 | if obj.Anchored then | |
| 534 | obj.Anchored = false | |
| 535 | end | |
| 536 | end) | |
| 537 | end) | |
| 538 | descend(char,"Humanoid",function(obj) | |
| 539 | obj.WalkSpeed = 16 | |
| 540 | obj.Changed:connect(function() | |
| 541 | if obj.WalkSpeed == 0 then | |
| 542 | obj.WalkSpeed = 16 | |
| 543 | end | |
| 544 | end) | |
| 545 | end) | |
| 546 | end | |
| 547 | initiateCharacter(pls.Character) | |
| 548 | pls.CharacterAdded:connect(function(c) | |
| 549 | initiateCharacter(c) | |
| 550 | end) | |
| 551 | ---------------------------------------------- | |
| 552 | mouse.KeyDown:connect(function(key) | |
| 553 | if key == "j" then | |
| 554 | yosh:Play() | |
| 555 | wait(2) | |
| 556 | end | |
| 557 | ||
| 558 | end) | |
| 559 | ||
| 560 | mouse.KeyDown:connect(function(key) | |
| 561 | if key == "x" then | |
| 562 | yosh:Stop() | |
| 563 | wait(2) | |
| 564 | end | |
| 565 | ||
| 566 | end) | |
| 567 | mouse.KeyDown:connect(function(key) | |
| 568 | if key == "l" then | |
| 569 | osh:Play() | |
| 570 | wait(2) | |
| 571 | end | |
| 572 | ||
| 573 | end) | |
| 574 | ||
| 575 | mouse.KeyDown:connect(function(key) | |
| 576 | if key == "x" then | |
| 577 | osh:Stop() | |
| 578 | wait(2) | |
| 579 | end | |
| 580 | ||
| 581 | end) | |
| 582 | ||
| 583 | mouse.KeyDown:connect(function(key) | |
| 584 | if key == "b" then | |
| 585 | WhatKindOfDioIsThis:Play() | |
| 586 | wait(2) | |
| 587 | end | |
| 588 | ||
| 589 | end) | |
| 590 | ||
| 591 | mouse.KeyDown:connect(function(key) | |
| 592 | if key == "x" then | |
| 593 | WhatKindOfDioIsThis:Stop() | |
| 594 | wait(2) | |
| 595 | end | |
| 596 | ||
| 597 | end) | |
| 598 | ||
| 599 | mouse.KeyDown:connect(function(key) | |
| 600 | if key == "m" then | |
| 601 | yes:Play() | |
| 602 | wait(2) | |
| 603 | end | |
| 604 | ||
| 605 | end) | |
| 606 | - | chatfunc("BOI")
|
| 606 | + | |
| 607 | mouse.KeyDown:connect(function(key) | |
| 608 | if key == "x" then | |
| 609 | yes:Stop() | |
| 610 | wait(2) | |
| 611 | end | |
| 612 | ||
| 613 | end) | |
| 614 | ||
| 615 | mouse.KeyDown:connect(function(key) | |
| 616 | if key == "n" then | |
| 617 | KonoDioDAA:Play() | |
| 618 | wait(0.3) | |
| 619 | chatfunc("Bye bye!")
| |
| 620 | chatfunc("")
| |
| 621 | wait(0.2) | |
| 622 | end | |
| 623 | ||
| 624 | end) | |
| 625 | mouse.KeyDown:connect(function(key) | |
| 626 | if key == "n" then | |
| 627 | KonoDioDAA:Play() | |
| 628 | wait(0.3) | |
| 629 | chatfunc("")
| |
| 630 | wait(0.2) | |
| 631 | end | |
| 632 | ||
| 633 | end) | |
| 634 | ||
| 635 | mouse.KeyDown:connect(function(key) | |
| 636 | if key == "c" then | |
| 637 | B:Play() | |
| 638 | wait(0.3) | |
| 639 | chatfunc("Cheer up dude, its Christmas.")
| |
| 640 | wait(1.8) | |
| 641 | end | |
| 642 | ||
| 643 | end) | |
| 644 | mouse.KeyDown:connect(function(key) | |
| 645 | if key == "q" then | |
| 646 | S:Play() | |
| 647 | wait(0.3) | |
| 648 | chatfunc("1v1 me mate")
| |
| 649 | wait(1.8) | |
| 650 | end | |
| 651 | ||
| 652 | end) | |
| 653 | ||
| 654 | mouse.KeyDown:connect(function(key) | |
| 655 | if key == "v" then | |
| 656 | sad:Play() | |
| 657 | wait(2) | |
| 658 | end | |
| 659 | - | chatfunc("YEET")
|
| 659 | + | |
| 660 | end) | |
| 661 | ||
| 662 | mouse.KeyDown:connect(function(key) | |
| 663 | if key == "x" then | |
| 664 | sad:Stop() | |
| 665 | wait(2) | |
| 666 | end | |
| 667 | ||
| 668 | - | chatfunc("YEET")
|
| 668 | + | |
| 669 | ||
| 670 | mouse.KeyDown:connect(function(key) | |
| 671 | if key == "r" then | |
| 672 | epic:Play() | |
| 673 | wait(0.1) | |
| 674 | chatfunc("Well i dont need you, I'll game end him myself.")
| |
| 675 | wait(1.65) | |
| 676 | end | |
| 677 | ||
| 678 | end) | |
| 679 | mouse.KeyDown:connect(function(key) | |
| 680 | if key == "o" then | |
| 681 | ss:Play() | |
| 682 | wait(0.1) | |
| 683 | chatfunc("hehehehehoohoohoo")
| |
| 684 | wait(1.65) | |
| 685 | end | |
| 686 | ||
| 687 | end) | |
| 688 | mouse.KeyDown:connect(function(key) | |
| 689 | if key == "f" then | |
| 690 | Wrry:Play() | |
| 691 | wait(0.1) | |
| 692 | chatfunc("IIIIITS CHRISTMAAAAAAAAAAAAAAAAA")
| |
| 693 | wait(1.65) | |
| 694 | end | |
| 695 | ||
| 696 | end) | |
| 697 | mouse.KeyDown:connect(function(key) | |
| 698 | if key == "f" then | |
| 699 | Wrry:Play() | |
| 700 | wait(0.1) | |
| 701 | chatfunc("IIIIITS CHRISTMAAAAAAAAAAAAAAAAA")
| |
| 702 | wait(1.65) | |
| 703 | end | |
| 704 | ||
| 705 | end) | |
| 706 | mouse.KeyDown:connect(function(key) | |
| 707 | if key == "k" then | |
| 708 | O:Play() | |
| 709 | wait(0.1) | |
| 710 | chatfunc("hi how ar ya")
| |
| 711 | wait(1.65) | |
| 712 | end | |
| 713 | ||
| 714 | end) | |
| 715 | mouse.KeyDown:connect(function(key) | |
| 716 | if key == "z" then | |
| 717 | a:Play() | |
| 718 | wait(0.1) | |
| 719 | chatfunc("WHAT IS THIS")
| |
| 720 | wait(1.65) | |
| 721 | end | |
| 722 | ||
| 723 | end) | |
| 724 | mouse.KeyDown:connect(function(key) | |
| 725 | if key == "y" then | |
| 726 | h:Play() | |
| 727 | wait(0.1) | |
| 728 | chatfunc("E")
| |
| 729 | wait(1.65) | |
| 730 | end | |
| 731 | ||
| 732 | - | chatfunc("!")
|
| 732 | + | |
| 733 | mouse.KeyDown:connect(function(key) | |
| 734 | if key == "u" then | |
| 735 | L:Play() | |
| 736 | wait(0.1) | |
| 737 | chatfunc("aeiou")
| |
| 738 | wait(1.65) | |
| 739 | end | |
| 740 | ||
| 741 | end) | |
| 742 | mouse.KeyDown:connect(function(key) | |
| 743 | if key == "p" then | |
| 744 | R:Play() | |
| 745 | wait(0.1) | |
| 746 | chatfunc("now this is epic")
| |
| 747 | wait(1.65) | |
| 748 | end | |
| 749 | ||
| 750 | end) | |
| 751 | mouse.KeyDown:connect(function(key) | |
| 752 | if key == "i" then | |
| 753 | I:Play() | |
| 754 | wait(0.1) | |
| 755 | chatfunc("Can I sing a song for you?")
| |
| 756 | ||
| 757 | wait(0.1) | |
| 758 | wait(1.65) | |
| 759 | end | |
| 760 | ||
| 761 | end) | |
| 762 | mouse.KeyDown:connect(function(key) | |
| 763 | if key == "g" then | |
| 764 | NANI:Play() | |
| 765 | chatfunc("You're a mean one... Mister Grinch.")
| |
| 766 | ||
| 767 | end | |
| 768 | ||
| 769 | end) | |
| 770 | mouse.KeyDown:connect(function(key) | |
| 771 | if key == "h" then | |
| 772 | asd:Play() | |
| 773 | chatfunc("BONELESS pizza")
| |
| 774 | ||
| 775 | end | |
| 776 | ||
| 777 | end) | |
| 778 | ||
| 779 | canworld = true | |
| 780 | mouse.KeyDown:connect(function(key) | |
| 781 | if key == "t" and not frozen then | |
| 782 | if canworld == false then return end | |
| 783 | if canworld then | |
| 784 | canworld = false | |
| 785 | Stop:Play() | |
| 786 | chatfunc("U FINNA GET BODIED")
| |
| 787 | ||
| 788 | wait(0.8) | |
| 789 | wait(1.5) | |
| 790 | Stop3:Play() | |
| 791 | ||
| 792 | ||
| 793 | local function spawnpart() | |
| 794 | sphere = Instance.new("Part")
| |
| 795 | game.Debris:AddItem(sphere,3) | |
| 796 | local sm = Instance.new("SpecialMesh", sphere)
| |
| 797 | sm.MeshType = "Sphere" | |
| 798 | sphere.Transparency = 0.5 | |
| 799 | sphere.Anchored = true | |
| 800 | sphere.CanCollide = false | |
| 801 | sphere.Material = "Neon" | |
| 802 | sphere.BrickColor = BrickColor.new("White")
| |
| 803 | end | |
| 804 | ||
| 805 | local function weld(lol) | |
| 806 | local weld = Instance.new("Weld", plr.Character.Torso)
| |
| 807 | weld.Part0 = plr.Character.Torso | |
| 808 | weld.Part1 = lol | |
| 809 | weld.C0 = plr.Character.Torso.CFrame:inverse() | |
| 810 | weld.C1 = lol.CFrame:inverse() | |
| 811 | end | |
| 812 | wait() | |
| 813 | spawnpart() | |
| 814 | ||
| 815 | weld(sphere) | |
| 816 | cce = Instance.new("ColorCorrectionEffect", game.Lighting)
| |
| 817 | cce.Saturation = -5 | |
| 818 | knifeSpeed = 0 | |
| 819 | --game.Debris:AddItem(cce, 5) | |
| 820 | sphere.Parent = char.Torso | |
| 821 | for i = 1,3 do | |
| 822 | sphere.Size = sphere.Size + Vector3.new(50,50,50) | |
| 823 | wait() | |
| 824 | end | |
| 825 | wait() | |
| 826 | sphere:Destroy() | |
| 827 | BeeSpeed = 0 | |
| 828 | frozen = true | |
| 829 | cce.Saturation = -0.1 | |
| 830 | wait(0.3) | |
| 831 | cce.Saturation = -0.2 | |
| 832 | wait(0.3) | |
| 833 | cce.Saturation = -0.3 | |
| 834 | wait(0.2) | |
| 835 | cce.Saturation = -1.5 | |
| 836 | wait() | |
| 837 | ||
| 838 | canworld = true | |
| 839 | ||
| 840 | end | |
| 841 | end | |
| 842 | end | |
| 843 | ) | |
| 844 | ||
| 845 | mouse.KeyDown:connect(function(key) | |
| 846 | key = key:lower() | |
| 847 | if key == "y" and frozen and canworld then | |
| 848 | canworld = false | |
| 849 | chatfunc("Time continues moving again. lol")
| |
| 850 | Start:Play() | |
| 851 | head.face.Texture = "rbxassetid://17138027" | |
| 852 | wait(0.1) | |
| 853 | head.face.Texture = "rbxassetid://30395097" | |
| 854 | wait(0.1) | |
| 855 | head.face.Texture = "rbxassetid://17138027" | |
| 856 | wait(0.2) | |
| 857 | head.face.Texture = "rbxassetid://30395097" | |
| 858 | wait(0.1) | |
| 859 | head.face.Texture = "rbxassetid://17138027" | |
| 860 | wait(0.1) | |
| 861 | head.face.Texture = "rbxassetid://30395097" | |
| 862 | wait(0.1) | |
| 863 | head.face.Texture = "rbxassetid://30395097" | |
| 864 | wait(0.1) | |
| 865 | head.face.Texture = "rbxassetid://17138027" | |
| 866 | wait(0.1) | |
| 867 | head.face.Texture = "rbxassetid://30395097" | |
| 868 | wait(0.1) | |
| 869 | head.face.Texture = "rbxassetid://17138027" | |
| 870 | wait(0.1) | |
| 871 | head.face.Texture = "rbxassetid://30395097" | |
| 872 | wait(0.1) | |
| 873 | head.face.Texture = "rbxassetid://17138027" | |
| 874 | wait(0.1) | |
| 875 | head.face.Texture = "rbxassetid://30395097" | |
| 876 | wait(0.5) | |
| 877 | Start2:Play() | |
| 878 | Start2d:Play() | |
| 879 | wait() | |
| 880 | BeeSpeed = 1 | |
| 881 | cce.Saturation = -1.3 | |
| 882 | wait(0.5) | |
| 883 | BeeSpeed = 1.2 | |
| 884 | cce.Saturation = -0.5 | |
| 885 | wait(0.5) | |
| 886 | BeeSpeed = 1.4 | |
| 887 | cce.Saturation = -0.4 | |
| 888 | wait(0.3) | |
| 889 | BeeSpeed = 1.5 | |
| 890 | cce.Saturation = -0.2 | |
| 891 | wait(0.2) | |
| 892 | cce.Saturation = 0 | |
| 893 | ||
| 894 | for i, v in pairs(game.Players:GetChildren()) do | |
| 895 | t = v.Character:FindFirstChild("Torso")
| |
| 896 | if t then | |
| 897 | t.Anchored = false | |
| 898 | end | |
| 899 | RA = v.Character:FindFirstChild("Right Arm")
| |
| 900 | if RA then | |
| 901 | RA.Anchored = false | |
| 902 | end | |
| 903 | LA = v.Character:FindFirstChild("Left Arm")
| |
| 904 | if LA then | |
| 905 | LA.Anchored = false | |
| 906 | end | |
| 907 | RL = v.Character:FindFirstChild("Right Leg")
| |
| 908 | if RL then | |
| 909 | RL.Anchored = false | |
| 910 | end | |
| 911 | LL = v.Character:FindFirstChild("Left Leg")
| |
| 912 | if LL then | |
| 913 | LL.Anchored = false | |
| 914 | end | |
| 915 | end | |
| 916 | BeeSpeed = 100 | |
| 917 | knifeSpeed = 150 | |
| 918 | canworld = true | |
| 919 | frozen = false | |
| 920 | tecks2.Text = plr.Name | |
| 921 | ||
| 922 | end | |
| 923 | end) | |
| 924 | ||
| 925 | humanoid.Died:connect(function() | |
| 926 | frozen = false | |
| 927 | if cce then | |
| 928 | cce:Remove() | |
| 929 | end | |
| 930 | end) | |
| 931 | mouse.KeyDown:connect(function(k) | |
| 932 | if string.byte(k) == 48 then | |
| 933 | humanoid.WalkSpeed = 24 | |
| 934 | end | |
| 935 | end) | |
| 936 | ||
| 937 | mouse.KeyUp:connect(function(k) | |
| 938 | if string.byte(k) == 48 then | |
| 939 | humanoid.WalkSpeed = 16 | |
| 940 | end | |
| 941 | end) | |
| 942 | ||
| 943 | local action = 'None' | |
| 944 | plr.Chatted:connect(function(msg) | |
| 945 | if msg == '/e dance' or msg == '/emote dance' then | |
| 946 | action = 'Dance' | |
| 947 | end | |
| 948 | if msg == '/e wrry' or msg == '/emote wrry' then | |
| 949 | action = 'Wrrrry' | |
| 950 | end | |
| 951 | end) | |
| 952 | ||
| 953 | ||
| 954 | local dance_move_wait = 0 | |
| 955 | ||
| 956 | game:service'RunService'.RenderStepped:connect(function() | |
| 957 | rm.MaxVelocity = 0 | |
| 958 | lm.MaxVelocity = 0 | |
| 959 | rm.DesiredAngle = 0 | |
| 960 | rm.CurrentAngle = 0 | |
| 961 | lm.DesiredAngle = 0 | |
| 962 | lm.CurrentAngle = 0 | |
| 963 | angle = (angle % 100) + anglespeed/10 | |
| 964 | mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10)) | |
| 965 | local rscf = rsc0 | |
| 966 | local lscf = lsc0 | |
| 967 | local rlcf = rlc0 | |
| 968 | local llcf = llc0 | |
| 969 | local rjcf = rootc0 | |
| 970 | local ncf = neckc0 | |
| 971 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0)) | |
| 972 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
| 973 | for i,object in pairs(char:children()) do | |
| 974 | if object:IsA("Tool") then
| |
| 975 | tool = true | |
| 976 | if not debounce then | |
| 977 | for x,value in pairs(object:children()) do | |
| 978 | if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then
| |
| 979 | debounce = true | |
| 980 | coroutine.wrap(function() | |
| 981 | slashing = true | |
| 982 | wait(.15) | |
| 983 | slashing = false | |
| 984 | debounce = false | |
| 985 | end)() | |
| 986 | value:Destroy() | |
| 987 | end | |
| 988 | end | |
| 989 | end | |
| 990 | elseif not object:IsA'Tool' then | |
| 991 | tool = false | |
| 992 | end | |
| 993 | end | |
| 994 | if action == 'Dance' then | |
| 995 | anglespeed = 2 | |
| 996 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 997 | rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0) | |
| 998 | lscf = lsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2-math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4) | |
| 999 | rscf = rsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2+math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4) | |
| 1000 | rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
| 1001 | llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
| 1002 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 1003 | else | |
| 1004 | action = 'None' | |
| 1005 | end | |
| 1006 | elseif action == 'prepareHump' then | |
| 1007 | --animations by ethan | |
| 1008 | ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0) | |
| 1009 | rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0) | |
| 1010 | rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
| 1011 | lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
| 1012 | rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0) | |
| 1013 | llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0) | |
| 1014 | elseif action == 'Hump' then | |
| 1015 | --animations by ethan | |
| 1016 | ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0) | |
| 1017 | rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0) | |
| 1018 | rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 1019 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 1020 | rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 1021 | llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 1022 | elseif action == "Muda1" then | |
| 1023 | ||
| 1024 | ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0) | |
| 1025 | rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0) | |
| 1026 | rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10)) | |
| 1027 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 1028 | rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10)) | |
| 1029 | llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10)) | |
| 1030 | elseif action == "Muda2" then | |
| 1031 | ||
| 1032 | ncf = neckc0 * CFrame.Angles(0, math.rad(30), 0) | |
| 1033 | rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0) | |
| 1034 | rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 1035 | lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10)) | |
| 1036 | rlcf = rlc0 * CFrame.Angles(math.rad(-45), 0, math.rad(10)) | |
| 1037 | llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10)) | |
| 1038 | elseif action == 'Wrrrry' then | |
| 1039 | anglespeed = 1+math.random() | |
| 1040 | dance_move_wait = (dance_move_wait%40) + 1/60 | |
| 1041 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 1042 | if dance_move_wait <= 20 then | |
| 1043 | rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0) | |
| 1044 | lscf = lsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(-math.pi/6 + -math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4) | |
| 1045 | rscf = rsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(-math.pi/6 + math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4) | |
| 1046 | rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, .1) | |
| 1047 | llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1) | |
| 1048 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 1049 | elseif dance_move_wait > 20 then | |
| 1050 | rjcf = rootc0 * CFrame.new(0, -.2, -.6) * CFrame.Angles(-math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0) | |
| 1051 | lscf = lsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/6 + math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4) | |
| 1052 | rscf = rsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/6 + -math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4) | |
| 1053 | rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1) | |
| 1054 | llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, -.1) | |
| 1055 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 1056 | end | |
| 1057 | ||
| 1058 | else | |
| 1059 | action = 'None' | |
| 1060 | end | |
| 1061 | elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then | |
| 1062 | anglespeed = 3 | |
| 1063 | rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0) | |
| 1064 | rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15) | |
| 1065 | lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15) | |
| 1066 | rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(angle)*.3, -.3 + -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + -math.sin(angle)*1, 0, 0) | |
| 1067 | llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.3 - -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + math.sin(angle)*1, 0, 0) | |
| 1068 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0) | |
| 1069 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 1070 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then | |
| 1071 | anglespeed = 2 | |
| 1072 | rjcf = rootc0 * CFrame.new(0, math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0) | |
| 1073 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05) | |
| 1074 | lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05) | |
| 1075 | rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0) | |
| 1076 | llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0) | |
| 1077 | ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0) | |
| 1078 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then | |
| 1079 | anglespeed = 2.5 | |
| 1080 | rjcf = rootc0 * CFrame.new(0, -.3 + math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(-math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0) | |
| 1081 | rscf = rsc0 * CFrame.new(0, math.cos(angle)*.5, math.sin(angle)*.5) * CFrame.Angles(math.cos(angle)*2.8, 0, math.abs(math.sin(angle))*.5) | |
| 1082 | lscf = lsc0 * CFrame.new(0, -math.cos(angle)*.5, -math.sin(angle)*.5) * CFrame.Angles(-math.cos(angle)*2.8, 0, -math.abs(math.sin(angle))*.5) | |
| 1083 | rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(-angle)*.3, -.2+math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.4, 0, math.rad(.5)) | |
| 1084 | llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.05-math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.4, 0, -math.rad(.5)) | |
| 1085 | ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0) | |
| 1086 | end | |
| 1087 | if tool then | |
| 1088 | rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0) | |
| 1089 | if slashing then | |
| 1090 | rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1) | |
| 1091 | end | |
| 1092 | end | |
| 1093 | rm.C0 = clerp(rm.C0,rscf,speed) | |
| 1094 | lm.C0 = clerp(lm.C0,lscf,speed) | |
| 1095 | rj.C0 = clerp(rj.C0,rjcf,speed) | |
| 1096 | neck.C0 = clerp(neck.C0,ncf,speed) | |
| 1097 | rlegm.C0 = clerp(rlegm.C0,rlcf,speed) | |
| 1098 | llegm.C0 = clerp(llegm.C0,llcf,speed) | |
| 1099 | if frozen then | |
| 1100 | timeFreezeFunction() | |
| 1101 | else | |
| 1102 | ||
| 1103 | for i,p in pairs(stuffFrozen) do | |
| 1104 | p.Anchored = false | |
| 1105 | end | |
| 1106 | for i,s in pairs(frozenSounds) do | |
| 1107 | s:Resume() | |
| 1108 | end | |
| 1109 | stuffFrozen = {}
| |
| 1110 | frozenSounds = {}
| |
| 1111 | end | |
| 1112 | end) | |
| 1113 | ||
| 1114 | function punchDamage() | |
| 1115 | coroutine.resume(coroutine.create(function() | |
| 1116 | function Damage(model) | |
| 1117 | for i,s in pairs(model:GetChildren()) do | |
| 1118 | Damage(s) | |
| 1119 | if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then
| |
| 1120 | if (rootpart.Position - s.Position).magnitude < 4 then | |
| 1121 | local vichum = s.Parent:FindFirstChild("Humanoid")
| |
| 1122 | if vichum and vichum ~= humanoid then | |
| 1123 | local punch = Instance.new("Sound", soundfolder)
| |
| 1124 | punch.Volume = 3 | |
| 1125 | punch.Name = "POOCH" | |
| 1126 | punch.SoundId = "rbxassetid://511340819" | |
| 1127 | punch:Play() | |
| 1128 | game:GetService("Debris"):AddItem(punch, 2)
| |
| 1129 | repeat wait() until not frozen | |
| 1130 | if vel then | |
| 1131 | vel:Remove() | |
| 1132 | end | |
| 1133 | ||
| 1134 | vel = Instance.new("BodyVelocity", s)
| |
| 1135 | vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector | |
| 1136 | game:GetService("Debris"):AddItem(vel, 0.25)
| |
| 1137 | ||
| 1138 | vichum:TakeDamage(15 +(math.random(-10, 10)/10)) | |
| 1139 | end | |
| 1140 | end | |
| 1141 | end | |
| 1142 | end | |
| 1143 | end | |
| 1144 | ||
| 1145 | Damage(workspace) | |
| 1146 | end)) | |
| 1147 | end | |
| 1148 | ||
| 1149 | mouse.KeyDown:connect(function(k) | |
| 1150 | if k == "q" and not humping then | |
| 1151 | ||
| 1152 | humping = true | |
| 1153 | action = 'prepareHump' | |
| 1154 | wait(0.25) | |
| 1155 | action = 'Hump' | |
| 1156 | wait(0.03) | |
| 1157 | local knife = Instance.new("Part", char)
| |
| 1158 | knife.Size = Vector3.new(0.2, 0.4, 2) | |
| 1159 | knife.CanCollide = false | |
| 1160 | knife.Anchored = false | |
| 1161 | knife:BreakJoints() | |
| 1162 | knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2) | |
| 1163 | knife.CFrame = CFrame.new(knife.Position, mouse.Hit.p) * CFrame.new(math.random(-10, 10)/100, math.random(-10, 10)/100, math.random(-10, 10)/100) | |
| 1164 | knife.BrickColor = BrickColor.new("Buttermilk")
| |
| 1165 | local knifeMesh = Instance.new("SpecialMesh", knife)
| |
| 1166 | knifeMesh.MeshId = "rbxassetid://202083123" | |
| 1167 | local vel = Instance.new("BodyVelocity", knife)
| |
| 1168 | knife.Touched:connect(function(part) | |
| 1169 | if part.Parent ~= nil then | |
| 1170 | local vichum = part.Parent:FindFirstChild("Humanoid")
| |
| 1171 | if vichum and vichum ~= humanoid then | |
| 1172 | local stabbedKnife = knife:Clone() | |
| 1173 | stabbedKnife.Parent = workspace | |
| 1174 | stabbedKnife:WaitForChild("BodyVelocity"):Remove()
| |
| 1175 | local stabweld = Instance.new("Weld", stabbedKnife)
| |
| 1176 | stabweld.Part0 = part | |
| 1177 | stabweld.Part1 = stabbedKnife | |
| 1178 | stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame) | |
| 1179 | knife:Destroy() | |
| 1180 | repeat wait() until not frozen | |
| 1181 | game:GetService("Debris"):AddItem(stabbedKnife, 10)
| |
| 1182 | vichum:TakeDamage(16, 24) | |
| 1183 | end | |
| 1184 | end | |
| 1185 | end) | |
| 1186 | coroutine.wrap(function() | |
| 1187 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1188 | vel.Velocity = knife.CFrame.lookVector * knifeSpeed | |
| 1189 | if (knife.Position - rootpart.Position).magnitude > 500 then | |
| 1190 | ||
| 1191 | knife:Destroy() | |
| 1192 | end | |
| 1193 | end) | |
| 1194 | end)() | |
| 1195 | ||
| 1196 | wait(0.47) | |
| 1197 | humping = false | |
| 1198 | action = 'None' | |
| 1199 | elseif k == "e" and not mudaing then | |
| 1200 | speed = 0.8 | |
| 1201 | Muda:Play() | |
| 1202 | mudaing = true | |
| 1203 | for i = 1,39 do | |
| 1204 | action = "Muda1" | |
| 1205 | punchDamage() | |
| 1206 | wait(0.03) | |
| 1207 | action = "Muda2" | |
| 1208 | punchDamage() | |
| 1209 | wait(0.03) | |
| 1210 | end | |
| 1211 | ||
| 1212 | ||
| 1213 | wait() | |
| 1214 | action = 'None' | |
| 1215 | speed = 0.3 | |
| 1216 | mudaing = false | |
| 1217 | end | |
| 1218 | end) |