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