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 | function clerp(c1,c2,al) | |
| 147 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 148 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 149 | for i,v in pairs(com1) do | |
| 150 | com1[i] = v+(com2[i]-v)*al | |
| 151 | end | |
| 152 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 153 | end | |
| 154 | ||
| 155 | local BeeSpeed= 100 | |
| 156 | ||
| 157 | plr = game:service'Players'.LocalPlayer | |
| 158 | plrgui = plr.PlayerGui | |
| 159 | char = plr.Character | |
| 160 | mouse = plr:GetMouse() | |
| 161 | humanoid = char:findFirstChild("Humanoid")
| |
| 162 | torso = char:findFirstChild("Torso")
| |
| 163 | head = char.Head | |
| 164 | ra = char:findFirstChild("Right Arm")
| |
| 165 | la = char:findFirstChild("Left Arm")
| |
| 166 | rl = char:findFirstChild("Right Leg")
| |
| 167 | ll = char:findFirstChild("Left Leg")
| |
| 168 | rs = torso:findFirstChild("Right Shoulder")
| |
| 169 | ls = torso:findFirstChild("Left Shoulder")
| |
| 170 | rh = torso:findFirstChild("Right Hip")
| |
| 171 | lh = torso:findFirstChild("Left Hip")
| |
| 172 | neck = torso:findFirstChild("Neck")
| |
| 173 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
| |
| 174 | rootpart = char:findFirstChild("HumanoidRootPart")
| |
| 175 | camera = workspace.CurrentCamera | |
| 176 | anim = char:findFirstChild("Animate")
| |
| 177 | frozen = false | |
| 178 | timestopcool = false | |
| 179 | humping = false | |
| 180 | mudaing = false | |
| 181 | knifeSpeed = 150 | |
| 182 | stuffFrozen = {}
| |
| 183 | frozenSounds = {}
| |
| 184 | if anim then | |
| 185 | anim:Destroy() | |
| 186 | end | |
| 187 | ||
| 188 | head.face.Texture = "rbxassetid://30395097" | |
| 189 | local KonoDioDa = Instance.new("Part",char)
| |
| 190 | KonoDioDa.Size = Vector3.new(1.67, 2.38, 1.7) | |
| 191 | KonoDioDa.CanCollide = false | |
| 192 | KonoDioDa.BrickColor = BrickColor.new("Fire Yellow")
| |
| 193 | local KonoDioDa2 = Instance.new("SpecialMesh",KonoDioDa)
| |
| 194 | KonoDioDa2.Offset = Vector3.new(0.08, 0, 0.3) | |
| 195 | KonoDioDa2.Scale = Vector3.new(0.04, 0.04, 0.04) | |
| 196 | local KonoDioDa3 = Instance.new("Weld",KonoDioDa)
| |
| 197 | KonoDioDa3.Part0 = head | |
| 198 | KonoDioDa3.Part1 = KonoDioDa | |
| 199 | KonoDioDa3.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 200 | ||
| 201 | function chatfunc(text) | |
| 202 | local chat = coroutine.wrap(function() | |
| 203 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 204 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 205 | end | |
| 206 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 207 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 208 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 209 | naeeym2.Adornee = char.Head | |
| 210 | naeeym2.Name = "TalkingBillBoard" | |
| 211 | tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 212 | tecks2.BackgroundTransparency = 1 | |
| 213 | tecks2.BorderSizePixel = 0 | |
| 214 | tecks2.Text = "" | |
| 215 | tecks2.Font = "Fantasy" | |
| 216 | tecks2.TextSize = 30 | |
| 217 | tecks2.TextStrokeTransparency = 0 | |
| 218 | tecks2.TextColor3 = Color3.new(0,0,0) | |
| 219 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 220 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 221 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 222 | tecks3.BackgroundTransparency = 1 | |
| 223 | tecks3.BorderSizePixel = 0 | |
| 224 | tecks3.Text = "" | |
| 225 | tecks3.Font = "Fantasy" | |
| 226 | tecks3.TextSize = 30 | |
| 227 | tecks3.TextStrokeTransparency = 0 | |
| 228 | tecks3.TextColor3 = Color3.new(255,0,0) | |
| 229 | tecks3.TextStrokeColor3 = Color3.new(0,255,0) | |
| 230 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 231 | for i = 1,string.len(text),1 do | |
| 232 | ||
| 233 | tecks2.Text = string.sub(text,1,i) | |
| 234 | tecks3.Text = string.sub(text,1,i) | |
| 235 | wait(0.01) | |
| 236 | end | |
| 237 | wait(2) | |
| 238 | for i = 1, 50 do | |
| 239 | ||
| 240 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 241 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 242 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 243 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 244 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 245 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 246 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 247 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 248 | end | |
| 249 | naeeym2:Destroy() | |
| 250 | end) | |
| 251 | chat() | |
| 252 | ||
| 253 | end | |
| 254 | function onChatted(msg) | |
| 255 | chatfunc(msg) | |
| 256 | ||
| 257 | end | |
| 258 | plr.Chatted:connect(onChatted) | |
| 259 | ||
| 260 | function timeFreezeFunction() | |
| 261 | function spread(model) | |
| 262 | for i,p in pairs(model:GetChildren()) do | |
| 263 | spread(p) | |
| 264 | if p.Name == "Humanoid" and p:IsDescendantOf(char) == false then | |
| 265 | for i,d in pairs(p.Parent:GetChildren()) do | |
| 266 | if d:IsA("BasePart") and d:IsDescendantOf(char) == false and d.Name ~= "HumanoidRootPart" and d.Anchored == false and stuffFrozen[d] == nil then
| |
| 267 | table.insert(stuffFrozen, d) | |
| 268 | d.Anchored = true | |
| 269 | elseif d:IsA("Sound") and d.IsPlaying then
| |
| 270 | table.insert(frozenSounds, d) | |
| 271 | d:Pause() | |
| 272 | end | |
| 273 | end | |
| 274 | end | |
| 275 | end | |
| 276 | end | |
| 277 | spread(workspace) | |
| 278 | end | |
| 279 | ||
| 280 | abss = Instance.new("BillboardGui",char)
| |
| 281 | abss.Size = UDim2.new(10,0,10,0) | |
| 282 | abss.Enabled = false | |
| 283 | abss.Name = "KONODIODA" | |
| 284 | imgl = Instance.new("ImageLabel",abss)
| |
| 285 | imgl.Position = UDim2.new(0,0,0,0) | |
| 286 | imgl.Size = UDim2.new(1,0,1,0) | |
| 287 | imgl.Image = "rbxassetid://711463989" | |
| 288 | imgl.BackgroundTransparency = 1 | |
| 289 | imgl.ImageColor3 = Color3.new(0,255,255) | |
| 290 | img2 = Instance.new("ImageLabel",abss)
| |
| 291 | img2.Position = UDim2.new(0,0,0,0) | |
| 292 | img2.Size = UDim2.new(1,0,1,0) | |
| 293 | img2.Image = "rbxassetid://711463989" | |
| 294 | img2.BackgroundTransparency = 1 | |
| 295 | img2.ImageColor3 = Color3.new(0,255,255) | |
| 296 | ||
| 297 | ||
| 298 | animation = Instance.new("Animation",script.Parent) -- Pose Wink Wonk
| |
| 299 | animation.AnimationId = 'rbxassetid://965558263' | |
| 300 | ||
| 301 | local animTrack = humanoid:LoadAnimation(animation) | |
| 302 | ||
| 303 | ||
| 304 | --Sounds | |
| 305 | --Folder | |
| 306 | soundfolder = Instance.new("Model",char)
| |
| 307 | soundfolder.Name = "Sound Folder" | |
| 308 | --Sounds | |
| 309 | yes = Instance.new("Sound",soundfolder)
| |
| 310 | yes.Volume = 30 | |
| 311 | yes.Name = "Jojo" | |
| 312 | yes.Looped = true | |
| 313 | yes.SoundId = "rbxassetid://767619805" | |
| 314 | KonoDioDAA = Instance.new("Sound",soundfolder)
| |
| 315 | KonoDioDAA.Volume = 30 | |
| 316 | KonoDioDAA.Name = "Dio" | |
| 317 | KonoDioDAA.Looped = false | |
| 318 | KonoDioDAA.SoundId = "rbxassetid://686423225" | |
| 319 | WhatKindOfDioIsThis = Instance.new("Sound",soundfolder)
| |
| 320 | WhatKindOfDioIsThis.Volume = 30 | |
| 321 | WhatKindOfDioIsThis.Name = "Bakana" | |
| 322 | WhatKindOfDioIsThis.Looped = true | |
| 323 | WhatKindOfDioIsThis.SoundId = "rbxassetid://152828706" | |
| 324 | NANI = Instance.new("Sound",soundfolder)
| |
| 325 | NANI.Volume = 30 | |
| 326 | NANI.Name = "Japanese Screeching" | |
| 327 | NANI.Looped = false | |
| 328 | NANI.SoundId = "rbxassetid://853224808" | |
| 329 | Stop = Instance.new("Sound",soundfolder)
| |
| 330 | Stop.Volume = 5 | |
| 331 | Stop.Name = "Oof" | |
| 332 | Stop.Looped = false | |
| 333 | Stop.SoundId = "rbxassetid://1055792303" | |
| 334 | Stop2 = Instance.new("Sound",soundfolder)
| |
| 335 | Stop2.Volume = 1 | |
| 336 | Stop2.Name = "Of" | |
| 337 | Stop2.Looped = false | |
| 338 | Stop2.SoundId = "rbxassetid://840567549" | |
| 339 | Stop3 = Instance.new("Sound",soundfolder)
| |
| 340 | Stop3.Volume = 10 | |
| 341 | Stop3.Name = "O0f" | |
| 342 | Stop3.Looped = false | |
| 343 | Stop3.SoundId = "rbxassetid://274699177" | |
| 344 | Start = Instance.new("Sound",soundfolder)
| |
| 345 | Start.Volume = 10 | |
| 346 | Start.Name = "00f" | |
| 347 | Start.Looped = false | |
| 348 | Start.SoundId = "rbxassetid://1054568598" | |
| 349 | Start2 = Instance.new("Sound",soundfolder)
| |
| 350 | Start2.Volume = 4 | |
| 351 | Start2.Name = "HaiDer" | |
| 352 | Start2.Looped = false | |
| 353 | Start2.SoundId = "rbxassetid://864569342" | |
| 354 | Start2d = Instance.new("Sound",soundfolder)
| |
| 355 | Start2d.Volume = 5 | |
| 356 | Start2d.Name = "HaiDer2" | |
| 357 | Start2d.Looped = false | |
| 358 | Start2d.SoundId = "rbxassetid://491887941" | |
| 359 | Wrry = Instance.new("Sound",soundfolder)
| |
| 360 | Wrry.Volume = 30 | |
| 361 | Wrry.Name = "Wry" | |
| 362 | Wrry.Looped = false | |
| 363 | Wrry.SoundId = "rbxassetid://616576437" | |
| 364 | Muda = Instance.new("Sound", soundfolder)
| |
| 365 | Muda.Volume = 4 | |
| 366 | Muda.Name = "Muda" | |
| 367 | Muda.Looped = false | |
| 368 | Muda.SoundId = "rbxassetid://616593932" | |
| 369 | ------------------------------------------- | |
| 370 | ||
| 371 | wait(1) | |
| 372 | ||
| 373 | local rm = Instance.new("Motor", torso)
| |
| 374 | rm.C0 = CFrame.new(1.5, 0.5, 0) | |
| 375 | rm.C1 = CFrame.new(0, 0.5, 0) | |
| 376 | rm.Part0 = torso | |
| 377 | rm.Part1 = ra | |
| 378 | rm.Name = 'Right Shoulder' | |
| 379 | ||
| 380 | local lm = Instance.new("Motor", torso)
| |
| 381 | lm.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 382 | lm.C1 = CFrame.new(0, 0.5, 0) | |
| 383 | lm.Part0 = torso | |
| 384 | lm.Part1 = la | |
| 385 | lm.Name = 'Left Shoulder' | |
| 386 | ||
| 387 | local rlegm = Instance.new("Motor", torso)
| |
| 388 | rlegm.C0 = CFrame.new(0.5, -1, 0) | |
| 389 | rlegm.C1 = CFrame.new(0, 1, 0) | |
| 390 | rlegm.Part0 = torso | |
| 391 | rlegm.Part1 = rl | |
| 392 | local llegm = Instance.new("Motor", torso)
| |
| 393 | llegm.C0 = CFrame.new(-0.5, -1, 0) | |
| 394 | llegm.C1 = CFrame.new(0, 1, 0) | |
| 395 | llegm.Part0 = torso | |
| 396 | llegm.Part1 = ll | |
| 397 | ||
| 398 | rj.C0 = CFrame.new() | |
| 399 | rj.C1 = CFrame.new() | |
| 400 | ||
| 401 | neck.C0 = CFrame.new(0, 1, 0) | |
| 402 | neck.C1 = CFrame.new(0, -0.5, 0) | |
| 403 | ||
| 404 | local speed = 0.3 | |
| 405 | local angle = 0 | |
| 406 | local anglespeed = 1 | |
| 407 | rsc0 = rm.C0 | |
| 408 | lsc0 = lm.C0 | |
| 409 | llc0 = llegm.C0 | |
| 410 | rlc0 = rlegm.C0 | |
| 411 | rootc0 = rj.C0 | |
| 412 | neckc0 = neck.C0 | |
| 413 | ---------------------------------------------- | |
| 414 | wait() | |
| 415 | function descend(obj,class,func) | |
| 416 | for i,v in pairs(obj:GetChildren()) do | |
| 417 | if v:IsA(class) then | |
| 418 | func(v) | |
| 419 | end | |
| 420 | descend(v,class,func) | |
| 421 | end | |
| 422 | end | |
| 423 | local pls = game:GetService("Players").LocalPlayer
| |
| 424 | function initiateCharacter(char) | |
| 425 | if not char then return end | |
| 426 | wait() | |
| 427 | descend(char,"BasePart",function(obj) | |
| 428 | obj.Anchored = false | |
| 429 | obj.Changed:connect(function() | |
| 430 | if obj.Anchored then | |
| 431 | obj.Anchored = false | |
| 432 | end | |
| 433 | end) | |
| 434 | end) | |
| 435 | descend(char,"Humanoid",function(obj) | |
| 436 | obj.WalkSpeed = 16 | |
| 437 | obj.Changed:connect(function() | |
| 438 | if obj.WalkSpeed == 0 then | |
| 439 | obj.WalkSpeed = 16 | |
| 440 | end | |
| 441 | end) | |
| 442 | end) | |
| 443 | end | |
| 444 | initiateCharacter(pls.Character) | |
| 445 | pls.CharacterAdded:connect(function(c) | |
| 446 | initiateCharacter(c) | |
| 447 | end) | |
| 448 | ---------------------------------------------- | |
| 449 | mouse.KeyDown:connect(function(key) | |
| 450 | if key == "m" then | |
| 451 | yes:Play() | |
| 452 | wait(2) | |
| 453 | end | |
| 454 | ||
| 455 | end) | |
| 456 | ||
| 457 | mouse.KeyDown:connect(function(key) | |
| 458 | if key == "x" then | |
| 459 | yes:Stop() | |
| 460 | WhatKindOfDioIsThis:Stop() | |
| 461 | wait(2) | |
| 462 | end | |
| 463 | ||
| 464 | end) | |
| 465 | ||
| 466 | ||
| 467 | mouse.KeyDown:connect(function(key) | |
| 468 | if key == "n" then | |
| 469 | KonoDioDAA:Play() | |
| 470 | wait(0.3) | |
| 471 | chatfunc("KONO DIO DA!!!")
| |
| 472 | head.face.Texture = "rbxassetid://30395097" | |
| 473 | wait(0.1) | |
| 474 | head.face.Texture = "rbxassetid://17138027" | |
| 475 | wait(0.1) | |
| 476 | head.face.Texture = "rbxassetid://30395097" | |
| 477 | wait(0.1) | |
| 478 | head.face.Texture = "rbxassetid://17138027" | |
| 479 | wait(0.1) | |
| 480 | head.face.Texture = "rbxassetid://30395097" | |
| 481 | wait(0.2) | |
| 482 | head.face.Texture = "rbxassetid://17138027" | |
| 483 | wait(0.1) | |
| 484 | head.face.Texture = "rbxassetid://30395097" | |
| 485 | wait(0.1) | |
| 486 | head.face.Texture = "rbxassetid://17138027" | |
| 487 | wait(0.2) | |
| 488 | head.face.Texture = "rbxassetid://30395097" | |
| 489 | wait(0.2) | |
| 490 | head.face.Texture = "rbxassetid://17138027" | |
| 491 | wait(1) | |
| 492 | chatfunc("")
| |
| 493 | wait(0.2) | |
| 494 | end | |
| 495 | ||
| 496 | end) | |
| 497 | ||
| 498 | mouse.KeyDown:connect(function(key) | |
| 499 | if key == "b" then | |
| 500 | WhatKindOfDioIsThis:Play() | |
| 501 | wait(0.3) | |
| 502 | chatfunc("What a beautiful KONO DIO DA")
| |
| 503 | wait(1.8) | |
| 504 | end | |
| 505 | ||
| 506 | end) | |
| 507 | ||
| 508 | mouse.KeyDown:connect(function(key) | |
| 509 | if key == "v" then | |
| 510 | yes:Play() | |
| 511 | wait(2) | |
| 512 | end | |
| 513 | ||
| 514 | end) | |
| 515 | ||
| 516 | mouse.KeyDown:connect(function(key) | |
| 517 | if key == "f" then | |
| 518 | Wrry:Play() | |
| 519 | wait(0.1) | |
| 520 | chatfunc("WRRRRRRY")
| |
| 521 | head.face.Texture = "rbxassetid://17138027" | |
| 522 | wait(0.3) | |
| 523 | head.face.Texture = "rbxassetid://17138027" | |
| 524 | wait(1.5) | |
| 525 | head.face.Texture = "rbxassetid://15324577" | |
| 526 | wait(0.1) | |
| 527 | wait(1.65) | |
| 528 | end | |
| 529 | ||
| 530 | end) | |
| 531 | ||
| 532 | mouse.KeyDown:connect(function(key) | |
| 533 | if key == "g" then | |
| 534 | NANI:Play() | |
| 535 | chatfunc("!")
| |
| 536 | head.face.Texture = "rbxassetid://17138027" | |
| 537 | wait(0.1) | |
| 538 | head.face.Texture = "rbxassetid://849833250" | |
| 539 | wait(0.1) | |
| 540 | head.face.Texture = "rbxassetid://15324577" | |
| 541 | wait(0.1) | |
| 542 | head.face.Texture = "rbxassetid://17138027" | |
| 543 | wait(0.1) | |
| 544 | head.face.Texture = "rbxassetid://605435926" | |
| 545 | wait(0.2) | |
| 546 | head.face.Texture = "rbxassetid://849833250" | |
| 547 | wait(0.1) | |
| 548 | head.face.Texture = "rbxassetid://15324577" | |
| 549 | wait(0.1) | |
| 550 | head.face.Texture = "rbxassetid://17138027" | |
| 551 | wait(0.2) | |
| 552 | head.face.Texture = "rbxassetid://30395097" | |
| 553 | wait(0.1) | |
| 554 | head.face.Texture = "rbxassetid://17138027" | |
| 555 | wait(0.1) | |
| 556 | head.face.Texture = "rbxassetid://15324577" | |
| 557 | wait(0.1) | |
| 558 | head.face.Texture = "rbxassetid://17138027" | |
| 559 | wait(0.1) | |
| 560 | head.face.Texture = "rbxassetid://30395097" | |
| 561 | wait(0.1) | |
| 562 | head.face.Texture = "rbxassetid://15324577" | |
| 563 | wait(0.2) | |
| 564 | head.face.Texture = "rbxassetid://30395097" | |
| 565 | wait(0.1) | |
| 566 | head.face.Texture = "rbxassetid://30395097" | |
| 567 | wait(0.1) | |
| 568 | head.face.Texture = "rbxassetid://17138027" | |
| 569 | wait(0.2) | |
| 570 | head.face.Texture = "rbxassetid://15324577" | |
| 571 | wait(0.2) | |
| 572 | head.face.Texture = "rbxassetid://396389196" | |
| 573 | wait(1) | |
| 574 | head.face.Texture = "rbxassetid://17138027" | |
| 575 | wait(0.1) | |
| 576 | head.face.Texture = "rbxassetid://15324577" | |
| 577 | wait(0.1) | |
| 578 | head.face.Texture = "rbxassetid://17138027" | |
| 579 | wait(0.1) | |
| 580 | head.face.Texture = "rbxassetid://30395097" | |
| 581 | wait(0.1) | |
| 582 | head.face.Texture = "rbxassetid://15324577" | |
| 583 | wait(0.2) | |
| 584 | head.face.Texture = "rbxassetid://30395097" | |
| 585 | wait(0.1) | |
| 586 | head.face.Texture = "rbxassetid://849833250" | |
| 587 | wait(0.1) | |
| 588 | head.face.Texture = "rbxassetid://30395097" | |
| 589 | wait(0.2) | |
| 590 | head.face.Texture = "rbxassetid://30395097" | |
| 591 | wait(0.1) | |
| 592 | head.face.Texture = "rbxassetid://17138027" | |
| 593 | wait(0.1) | |
| 594 | head.face.Texture = "rbxassetid://15324577" | |
| 595 | wait(0.1) | |
| 596 | head.face.Texture = "rbxassetid://17138027" | |
| 597 | wait(0.1) | |
| 598 | head.face.Texture = "rbxassetid://849833250" | |
| 599 | wait(0.1) | |
| 600 | head.face.Texture = "rbxassetid://17138027" | |
| 601 | wait(0.5) | |
| 602 | head.face.Texture = "rbxassetid://30395097" | |
| 603 | wait(0.1) | |
| 604 | end | |
| 605 | ||
| 606 | end) | |
| 607 | ||
| 608 | canworld = true | |
| 609 | mouse.KeyDown:connect(function(key) | |
| 610 | if key == "t" and not frozen then | |
| 611 | if canworld == false then return end | |
| 612 | if canworld then | |
| 613 | canworld = false | |
| 614 | Stop:Play() | |
| 615 | chatfunc("ZA WARUDO!!!")
| |
| 616 | head.face.Texture = "rbxassetid://30395097" | |
| 617 | wait(0.1) | |
| 618 | head.face.Texture = "rbxassetid://17138027" | |
| 619 | wait(0.3) | |
| 620 | head.face.Texture = "rbxassetid://30395097" | |
| 621 | wait(0.1) | |
| 622 | head.face.Texture = "rbxassetid://17138027" | |
| 623 | wait(0.3) | |
| 624 | head.face.Texture = "rbxassetid://30395097" | |
| 625 | wait(0.1) | |
| 626 | head.face.Texture = "rbxassetid://17138027" | |
| 627 | wait(0.1) | |
| 628 | head.face.Texture = "rbxassetid://30395097" | |
| 629 | wait(0.1) | |
| 630 | head.face.Texture = "rbxassetid://17138027" | |
| 631 | wait(0.8) | |
| 632 | wait(1.5) | |
| 633 | Stop3:Play() | |
| 634 | head.face.Texture = "rbxassetid://605435926" | |
| 635 | wait(0.1) | |
| 636 | head.face.Texture = "rbxassetid://30395097" | |
| 637 | wait(0.1) | |
| 638 | head.face.Texture = "rbxassetid://605435926" | |
| 639 | wait(0.1) | |
| 640 | head.face.Texture = "rbxassetid://30395097" | |
| 641 | wait(0.1) | |
| 642 | head.face.Texture = "rbxassetid://30395097" | |
| 643 | wait(0.1) | |
| 644 | head.face.Texture = "rbxassetid://605435926" | |
| 645 | wait(0.1) | |
| 646 | head.face.Texture = "rbxassetid://30395097" | |
| 647 | wait(0.4) | |
| 648 | head.face.Texture = "rbxassetid://605435926" | |
| 649 | wait(0.1) | |
| 650 | head.face.Texture = "rbxassetid://30395097" | |
| 651 | ||
| 652 | local function spawnpart() | |
| 653 | sphere = Instance.new("Part")
| |
| 654 | game.Debris:AddItem(sphere,3) | |
| 655 | local sm = Instance.new("SpecialMesh", sphere)
| |
| 656 | sm.MeshType = "Sphere" | |
| 657 | sphere.Transparency = 0.5 | |
| 658 | sphere.Anchored = true | |
| 659 | sphere.CanCollide = false | |
| 660 | sphere.Material = "Neon" | |
| 661 | sphere.BrickColor = BrickColor.new("White")
| |
| 662 | end | |
| 663 | ||
| 664 | local function weld(lol) | |
| 665 | local weld = Instance.new("Weld", plr.Character.Torso)
| |
| 666 | weld.Part0 = plr.Character.Torso | |
| 667 | weld.Part1 = lol | |
| 668 | weld.C0 = plr.Character.Torso.CFrame:inverse() | |
| 669 | weld.C1 = lol.CFrame:inverse() | |
| 670 | end | |
| 671 | wait() | |
| 672 | spawnpart() | |
| 673 | ||
| 674 | weld(sphere) | |
| 675 | cce = Instance.new("ColorCorrectionEffect", game.Lighting)
| |
| 676 | cce.Saturation = -5 | |
| 677 | knifeSpeed = 0 | |
| 678 | --game.Debris:AddItem(cce, 5) | |
| 679 | sphere.Parent = char.Torso | |
| 680 | for i = 1,3 do | |
| 681 | sphere.Size = sphere.Size + Vector3.new(50,50,50) | |
| 682 | wait() | |
| 683 | end | |
| 684 | wait() | |
| 685 | sphere:Destroy() | |
| 686 | BeeSpeed = 0 | |
| 687 | frozen = true | |
| 688 | cce.Saturation = -0.1 | |
| 689 | wait(0.3) | |
| 690 | cce.Saturation = -0.2 | |
| 691 | wait(0.3) | |
| 692 | cce.Saturation = -0.3 | |
| 693 | wait(0.2) | |
| 694 | cce.Saturation = -1.5 | |
| 695 | wait() | |
| 696 | ||
| 697 | canworld = true | |
| 698 | ||
| 699 | end | |
| 700 | end | |
| 701 | end | |
| 702 | ) | |
| 703 | ||
| 704 | mouse.KeyDown:connect(function(key) | |
| 705 | key = key:lower() | |
| 706 | if key == "y" and frozen and canworld then | |
| 707 | canworld = false | |
| 708 | chatfunc("Time continues moving again. lol")
| |
| 709 | Start:Play() | |
| 710 | head.face.Texture = "rbxassetid://17138027" | |
| 711 | wait(0.1) | |
| 712 | head.face.Texture = "rbxassetid://30395097" | |
| 713 | wait(0.1) | |
| 714 | head.face.Texture = "rbxassetid://17138027" | |
| 715 | wait(0.2) | |
| 716 | head.face.Texture = "rbxassetid://30395097" | |
| 717 | wait(0.1) | |
| 718 | head.face.Texture = "rbxassetid://17138027" | |
| 719 | wait(0.1) | |
| 720 | head.face.Texture = "rbxassetid://30395097" | |
| 721 | wait(0.1) | |
| 722 | head.face.Texture = "rbxassetid://30395097" | |
| 723 | wait(0.1) | |
| 724 | head.face.Texture = "rbxassetid://17138027" | |
| 725 | wait(0.1) | |
| 726 | head.face.Texture = "rbxassetid://30395097" | |
| 727 | wait(0.1) | |
| 728 | head.face.Texture = "rbxassetid://17138027" | |
| 729 | wait(0.1) | |
| 730 | head.face.Texture = "rbxassetid://30395097" | |
| 731 | wait(0.1) | |
| 732 | head.face.Texture = "rbxassetid://17138027" | |
| 733 | wait(0.1) | |
| 734 | head.face.Texture = "rbxassetid://30395097" | |
| 735 | wait(0.5) | |
| 736 | Start2:Play() | |
| 737 | Start2d:Play() | |
| 738 | wait() | |
| 739 | BeeSpeed = 1 | |
| 740 | cce.Saturation = -1.3 | |
| 741 | wait(0.5) | |
| 742 | BeeSpeed = 1.2 | |
| 743 | cce.Saturation = -0.5 | |
| 744 | wait(0.5) | |
| 745 | BeeSpeed = 1.4 | |
| 746 | cce.Saturation = -0.4 | |
| 747 | wait(0.3) | |
| 748 | BeeSpeed = 1.5 | |
| 749 | cce.Saturation = -0.2 | |
| 750 | wait(0.2) | |
| 751 | cce.Saturation = 0 | |
| 752 | ||
| 753 | for i, v in pairs(game.Players:GetChildren()) do | |
| 754 | t = v.Character:FindFirstChild("Torso")
| |
| 755 | if t then | |
| 756 | t.Anchored = false | |
| 757 | end | |
| 758 | RA = v.Character:FindFirstChild("Right Arm")
| |
| 759 | if RA then | |
| 760 | RA.Anchored = false | |
| 761 | end | |
| 762 | LA = v.Character:FindFirstChild("Left Arm")
| |
| 763 | if LA then | |
| 764 | LA.Anchored = false | |
| 765 | end | |
| 766 | RL = v.Character:FindFirstChild("Right Leg")
| |
| 767 | if RL then | |
| 768 | RL.Anchored = false | |
| 769 | end | |
| 770 | LL = v.Character:FindFirstChild("Left Leg")
| |
| 771 | if LL then | |
| 772 | LL.Anchored = false | |
| 773 | end | |
| 774 | end | |
| 775 | BeeSpeed = 100 | |
| 776 | knifeSpeed = 150 | |
| 777 | canworld = true | |
| 778 | frozen = false | |
| 779 | tecks2.Text = plr.Name | |
| 780 | ||
| 781 | end | |
| 782 | end) | |
| 783 | ||
| 784 | humanoid.Died:connect(function() | |
| 785 | frozen = false | |
| 786 | if cce then | |
| 787 | cce:Remove() | |
| 788 | end | |
| 789 | end) | |
| 790 | mouse.KeyDown:connect(function(k) | |
| 791 | if string.byte(k) == 48 then | |
| 792 | humanoid.WalkSpeed = 24 | |
| 793 | end | |
| 794 | end) | |
| 795 | ||
| 796 | mouse.KeyUp:connect(function(k) | |
| 797 | if string.byte(k) == 48 then | |
| 798 | humanoid.WalkSpeed = 16 | |
| 799 | end | |
| 800 | end) | |
| 801 | ||
| 802 | local action = 'None' | |
| 803 | plr.Chatted:connect(function(msg) | |
| 804 | if msg == '/e dance' or msg == '/emote dance' then | |
| 805 | action = 'Dance' | |
| 806 | end | |
| 807 | if msg == '/e wrry' or msg == '/emote wrry' then | |
| 808 | action = 'Wrrrry' | |
| 809 | end | |
| 810 | end) | |
| 811 | ||
| 812 | ||
| 813 | local dance_move_wait = 0 | |
| 814 | ||
| 815 | game:service'RunService'.RenderStepped:connect(function() | |
| 816 | rm.MaxVelocity = 0 | |
| 817 | lm.MaxVelocity = 0 | |
| 818 | rm.DesiredAngle = 0 | |
| 819 | rm.CurrentAngle = 0 | |
| 820 | lm.DesiredAngle = 0 | |
| 821 | lm.CurrentAngle = 0 | |
| 822 | angle = (angle % 100) + anglespeed/10 | |
| 823 | mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10)) | |
| 824 | local rscf = rsc0 | |
| 825 | local lscf = lsc0 | |
| 826 | local rlcf = rlc0 | |
| 827 | local llcf = llc0 | |
| 828 | local rjcf = rootc0 | |
| 829 | local ncf = neckc0 | |
| 830 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0)) | |
| 831 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
| 832 | for i,object in pairs(char:children()) do | |
| 833 | if object:IsA("Tool") then
| |
| 834 | tool = true | |
| 835 | if not debounce then | |
| 836 | for x,value in pairs(object:children()) do | |
| 837 | if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then
| |
| 838 | debounce = true | |
| 839 | coroutine.wrap(function() | |
| 840 | slashing = true | |
| 841 | wait(.15) | |
| 842 | slashing = false | |
| 843 | debounce = false | |
| 844 | end)() | |
| 845 | value:Destroy() | |
| 846 | end | |
| 847 | end | |
| 848 | end | |
| 849 | elseif not object:IsA'Tool' then | |
| 850 | tool = false | |
| 851 | end | |
| 852 | end | |
| 853 | if action == 'Dance' then | |
| 854 | anglespeed = 2 | |
| 855 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 856 | rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0) | |
| 857 | 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) | |
| 858 | 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) | |
| 859 | rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
| 860 | llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
| 861 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 862 | else | |
| 863 | action = 'None' | |
| 864 | end | |
| 865 | elseif action == 'prepareHump' then | |
| 866 | --animations by ethan | |
| 867 | ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0) | |
| 868 | rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0) | |
| 869 | rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
| 870 | lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
| 871 | rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0) | |
| 872 | llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0) | |
| 873 | elseif action == 'Hump' then | |
| 874 | --animations by ethan | |
| 875 | ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0) | |
| 876 | rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0) | |
| 877 | rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 878 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 879 | rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 880 | llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 881 | elseif action == "Muda1" then | |
| 882 | ||
| 883 | ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0) | |
| 884 | rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0) | |
| 885 | rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10)) | |
| 886 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
| 887 | rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10)) | |
| 888 | llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10)) | |
| 889 | elseif action == "Muda2" then | |
| 890 | ||
| 891 | ncf = neckc0 * CFrame.Angles(0, math.rad(30), 0) | |
| 892 | rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0) | |
| 893 | rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
| 894 | lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10)) | |
| 895 | rlcf = rlc0 * CFrame.Angles(math.rad(-45), 0, math.rad(10)) | |
| 896 | llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10)) | |
| 897 | elseif action == 'Wrrrry' then | |
| 898 | anglespeed = 1+math.random() | |
| 899 | dance_move_wait = (dance_move_wait%40) + 1/60 | |
| 900 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 901 | if dance_move_wait <= 20 then | |
| 902 | rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0) | |
| 903 | 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) | |
| 904 | 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) | |
| 905 | rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, .1) | |
| 906 | llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1) | |
| 907 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 908 | elseif dance_move_wait > 20 then | |
| 909 | rjcf = rootc0 * CFrame.new(0, -.2, -.6) * CFrame.Angles(-math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0) | |
| 910 | 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) | |
| 911 | 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) | |
| 912 | rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1) | |
| 913 | llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, -.1) | |
| 914 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
| 915 | end | |
| 916 | ||
| 917 | else | |
| 918 | action = 'None' | |
| 919 | end | |
| 920 | elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then | |
| 921 | anglespeed = 3 | |
| 922 | rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0) | |
| 923 | rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15) | |
| 924 | lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15) | |
| 925 | 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) | |
| 926 | 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) | |
| 927 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0) | |
| 928 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
| 929 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then | |
| 930 | anglespeed = 2 | |
| 931 | 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) | |
| 932 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05) | |
| 933 | lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05) | |
| 934 | rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0) | |
| 935 | llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0) | |
| 936 | ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0) | |
| 937 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then | |
| 938 | anglespeed = 2.5 | |
| 939 | 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) | |
| 940 | 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) | |
| 941 | 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) | |
| 942 | 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)) | |
| 943 | 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)) | |
| 944 | ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0) | |
| 945 | end | |
| 946 | if tool then | |
| 947 | rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0) | |
| 948 | if slashing then | |
| 949 | rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1) | |
| 950 | end | |
| 951 | end | |
| 952 | rm.C0 = clerp(rm.C0,rscf,speed) | |
| 953 | lm.C0 = clerp(lm.C0,lscf,speed) | |
| 954 | rj.C0 = clerp(rj.C0,rjcf,speed) | |
| 955 | neck.C0 = clerp(neck.C0,ncf,speed) | |
| 956 | rlegm.C0 = clerp(rlegm.C0,rlcf,speed) | |
| 957 | llegm.C0 = clerp(llegm.C0,llcf,speed) | |
| 958 | if frozen then | |
| 959 | timeFreezeFunction() | |
| 960 | else | |
| 961 | ||
| 962 | for i,p in pairs(stuffFrozen) do | |
| 963 | p.Anchored = false | |
| 964 | end | |
| 965 | for i,s in pairs(frozenSounds) do | |
| 966 | s:Resume() | |
| 967 | end | |
| 968 | stuffFrozen = {}
| |
| 969 | frozenSounds = {}
| |
| 970 | end | |
| 971 | end) | |
| 972 | ||
| 973 | function punchDamage() | |
| 974 | coroutine.resume(coroutine.create(function() | |
| 975 | function Damage(model) | |
| 976 | for i,s in pairs(model:GetChildren()) do | |
| 977 | Damage(s) | |
| 978 | if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then
| |
| 979 | if (rootpart.Position - s.Position).magnitude < 4 then | |
| 980 | local vichum = s.Parent:FindFirstChild("Humanoid")
| |
| 981 | if vichum and vichum ~= humanoid then | |
| 982 | local punch = Instance.new("Sound", soundfolder)
| |
| 983 | punch.Volume = 3 | |
| 984 | punch.Name = "POOCH" | |
| 985 | punch.SoundId = "rbxassetid://511340819" | |
| 986 | punch:Play() | |
| 987 | game:GetService("Debris"):AddItem(punch, 2)
| |
| 988 | repeat wait() until not frozen | |
| 989 | if vel then | |
| 990 | vel:Remove() | |
| 991 | end | |
| 992 | ||
| 993 | vel = Instance.new("BodyVelocity", s)
| |
| 994 | vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector | |
| 995 | game:GetService("Debris"):AddItem(vel, 0.25)
| |
| 996 | ||
| 997 | vichum:TakeDamage(15 +(math.random(-10, 10)/10)) | |
| 998 | end | |
| 999 | end | |
| 1000 | end | |
| 1001 | end | |
| 1002 | end | |
| 1003 | ||
| 1004 | Damage(workspace) | |
| 1005 | end)) | |
| 1006 | end | |
| 1007 | ||
| 1008 | mouse.KeyDown:connect(function(k) | |
| 1009 | if k == "q" and not humping then | |
| 1010 | ||
| 1011 | humping = true | |
| 1012 | action = 'prepareHump' | |
| 1013 | wait(0.25) | |
| 1014 | action = 'Hump' | |
| 1015 | wait(0.03) | |
| 1016 | local knife = Instance.new("Part", char)
| |
| 1017 | knife.Size = Vector3.new(0.2, 0.4, 2) | |
| 1018 | knife.CanCollide = false | |
| 1019 | knife.Anchored = false | |
| 1020 | knife:BreakJoints() | |
| 1021 | knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2) | |
| 1022 | 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) | |
| 1023 | knife.BrickColor = BrickColor.new("Buttermilk")
| |
| 1024 | local knifeMesh = Instance.new("SpecialMesh", knife)
| |
| 1025 | knifeMesh.MeshId = "rbxassetid://202083123" | |
| 1026 | local vel = Instance.new("BodyVelocity", knife)
| |
| 1027 | knife.Touched:connect(function(part) | |
| 1028 | if part.Parent ~= nil then | |
| 1029 | local vichum = part.Parent:FindFirstChild("Humanoid")
| |
| 1030 | if vichum and vichum ~= humanoid then | |
| 1031 | local stabbedKnife = knife:Clone() | |
| 1032 | stabbedKnife.Parent = workspace | |
| 1033 | stabbedKnife:WaitForChild("BodyVelocity"):Remove()
| |
| 1034 | local stabweld = Instance.new("Weld", stabbedKnife)
| |
| 1035 | stabweld.Part0 = part | |
| 1036 | stabweld.Part1 = stabbedKnife | |
| 1037 | stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame) | |
| 1038 | knife:Destroy() | |
| 1039 | repeat wait() until not frozen | |
| 1040 | game:GetService("Debris"):AddItem(stabbedKnife, 10)
| |
| 1041 | vichum:TakeDamage(16, 24) | |
| 1042 | end | |
| 1043 | end | |
| 1044 | end) | |
| 1045 | coroutine.wrap(function() | |
| 1046 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1047 | vel.Velocity = knife.CFrame.lookVector * knifeSpeed | |
| 1048 | if (knife.Position - rootpart.Position).magnitude > 500 then | |
| 1049 | ||
| 1050 | knife:Destroy() | |
| 1051 | end | |
| 1052 | end) | |
| 1053 | end)() | |
| 1054 | ||
| 1055 | wait(0.47) | |
| 1056 | humping = false | |
| 1057 | action = 'None' | |
| 1058 | elseif k == "e" and not mudaing then | |
| 1059 | speed = 0.8 | |
| 1060 | Muda:Play() | |
| 1061 | mudaing = true | |
| 1062 | for i = 1,39 do | |
| 1063 | action = "Muda1" | |
| 1064 | punchDamage() | |
| 1065 | wait(0.03) | |
| 1066 | action = "Muda2" | |
| 1067 | punchDamage() | |
| 1068 | wait(0.03) | |
| 1069 | end | |
| 1070 | ||
| 1071 | ||
| 1072 | wait() | |
| 1073 | action = 'None' | |
| 1074 | speed = 0.3 | |
| 1075 | mudaing = false | |
| 1076 | end | |
| 1077 | end) |