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