Advertisement
marioisdabomb

Untitled

Dec 14th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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://1342075752"
  314. as = Instance.new("Sound",soundfolder)
  315. as.Volume = 30
  316. as.Name = "yee"
  317. as.Looped = true
  318. as.SoundId = "rbxassetid://591143106"
  319. KonoDioDAA = Instance.new("Sound",soundfolder)
  320. KonoDioDAA.Volume = 30
  321. KonoDioDAA.Name = "Dio"
  322. KonoDioDAA.Looped = false
  323. KonoDioDAA.SoundId = "rbxassetid://1143344016"
  324. sprite = Instance.new("Sound",soundfolder)
  325. sprite.Volume = 30
  326. sprite.Name = "Dio"
  327. sprite.Looped = false
  328. sprite.SoundId = "rbxassetid://2610540529"
  329. WhatKindOfDioIsThis = Instance.new("Sound",soundfolder)
  330. WhatKindOfDioIsThis.Volume = 30
  331. WhatKindOfDioIsThis.Name = "Bakana"
  332. WhatKindOfDioIsThis.Looped = true
  333. WhatKindOfDioIsThis.SoundId = "rbxassetid://1280552773"
  334. NANI = Instance.new("Sound",soundfolder)
  335. NANI.Volume = 30
  336. NANI.Name = "Japanese Screeching"
  337. NANI.Looped = false
  338. NANI.SoundId = "rbxassetid://2553928644"
  339. Stop = Instance.new("Sound",soundfolder)
  340. Stop.Volume = 5
  341. Stop.Name = "Oof"
  342. Stop.Looped = false
  343. Stop.SoundId = "rbxassetid://2553928644"
  344. Stop2 = Instance.new("Sound",soundfolder)
  345. Stop2.Volume = 1
  346. Stop2.Name = "Of"
  347. Stop2.Looped = false
  348. Stop2.SoundId = "rbxassetid://0"
  349. Stop3 = Instance.new("Sound",soundfolder)
  350. Stop3.Volume = 10
  351. Stop3.Name = "O0f"
  352. Stop3.Looped = false
  353. Stop3.SoundId = "rbxassetid://0"
  354. Start = Instance.new("Sound",soundfolder)
  355. Start.Volume = 10
  356. Start.Name = "00f"
  357. Start.Looped = false
  358. Start.SoundId = "rbxassetid://0"
  359. Start2 = Instance.new("Sound",soundfolder)
  360. Start2.Volume = 4
  361. Start2.Name = "HaiDer"
  362. Start2.Looped = false
  363. Start2.SoundId = "rbxassetid://0"
  364. Start2d = Instance.new("Sound",soundfolder)
  365. Start2d.Volume = 5
  366. Start2d.Name = "HaiDer2"
  367. Start2d.Looped = false
  368. Start2d.SoundId = "rbxassetid://0"
  369. Wrry = Instance.new("Sound",soundfolder)
  370. Wrry.Volume = 30
  371. Wrry.Name = "Wry"
  372. Wrry.Looped = false
  373. Wrry.SoundId = "rbxassetid://1295962224"
  374. Muda = Instance.new("Sound", soundfolder)
  375. Muda.Volume = 4
  376. Muda.Name = "Muda"
  377. Muda.Looped = false
  378. Muda.SoundId = "rbxassetid://616593932"
  379. e= Instance.new("Sound", soundfolder)
  380. e.Volume = 4
  381. e.Name = "Muda"
  382. e.Looped = false
  383. e.SoundId = "rbxassetid://2553980292"
  384. -------------------------------------------
  385.  
  386. wait(1)
  387.  
  388. local rm = Instance.new("Motor", torso)
  389. rm.C0 = CFrame.new(1.5, 0.5, 0)
  390. rm.C1 = CFrame.new(0, 0.5, 0)
  391. rm.Part0 = torso
  392. rm.Part1 = ra
  393. rm.Name = 'Right Shoulder'
  394.  
  395. local lm = Instance.new("Motor", torso)
  396. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  397. lm.C1 = CFrame.new(0, 0.5, 0)
  398. lm.Part0 = torso
  399. lm.Part1 = la
  400. lm.Name = 'Left Shoulder'
  401.  
  402. local rlegm = Instance.new("Motor", torso)
  403. rlegm.C0 = CFrame.new(0.5, -1, 0)
  404. rlegm.C1 = CFrame.new(0, 1, 0)
  405. rlegm.Part0 = torso
  406. rlegm.Part1 = rl
  407. local llegm = Instance.new("Motor", torso)
  408. llegm.C0 = CFrame.new(-0.5, -1, 0)
  409. llegm.C1 = CFrame.new(0, 1, 0)
  410. llegm.Part0 = torso
  411. llegm.Part1 = ll
  412.  
  413. rj.C0 = CFrame.new()
  414. rj.C1 = CFrame.new()
  415.  
  416. neck.C0 = CFrame.new(0, 1, 0)
  417. neck.C1 = CFrame.new(0, -0.5, 0)
  418.  
  419. local speed = 0.3
  420. local angle = 0
  421. local anglespeed = 1
  422. rsc0 = rm.C0
  423. lsc0 = lm.C0
  424. llc0 = llegm.C0
  425. rlc0 = rlegm.C0
  426. rootc0 = rj.C0
  427. neckc0 = neck.C0
  428. ----------------------------------------------
  429. wait()
  430. function descend(obj,class,func)
  431. for i,v in pairs(obj:GetChildren()) do
  432. if v:IsA(class) then
  433. func(v)
  434. end
  435. descend(v,class,func)
  436. end
  437. end
  438. local pls = game:GetService("Players").LocalPlayer
  439. function initiateCharacter(char)
  440. if not char then return end
  441. wait()
  442. descend(char,"BasePart",function(obj)
  443. obj.Anchored = false
  444. obj.Changed:connect(function()
  445. if obj.Anchored then
  446. obj.Anchored = false
  447. end
  448. end)
  449. end)
  450. descend(char,"Humanoid",function(obj)
  451. obj.WalkSpeed = 16
  452. obj.Changed:connect(function()
  453. if obj.WalkSpeed == 0 then
  454. obj.WalkSpeed = 16
  455. end
  456. end)
  457. end)
  458. end
  459. initiateCharacter(pls.Character)
  460. pls.CharacterAdded:connect(function(c)
  461. initiateCharacter(c)
  462. end)
  463. ----------------------------------------------
  464. mouse.KeyDown:connect(function(key)
  465. if key == "m" then
  466. yes:Play()
  467. wait(2)
  468. chatfunc("[MENACING]")
  469. end
  470.  
  471. end)
  472.  
  473. mouse.KeyDown:connect(function(key)
  474. if key == "x" then
  475. yes:Stop()
  476. WhatKindOfDioIsThis:Stop()
  477. wait(2)
  478. end
  479.  
  480. end)
  481.  
  482.  
  483. mouse.KeyDown:connect(function(key)
  484. if key == "n" then
  485. as:Play()
  486. wait(2)
  487. chatfunc("splat tim")
  488. end
  489.  
  490. end)
  491.  
  492. mouse.KeyDown:connect(function(key)
  493. if key == "x" then
  494. as:Stop()
  495. WhatKindOfDioIsThis:Stop()
  496. wait(2)
  497. end
  498.  
  499. end)
  500.  
  501.  
  502. mouse.KeyDown:connect(function(key)
  503. if key == "i" then
  504. KonoDioDAA:Play()
  505. wait(0.3)
  506. chatfunc("Goodbyee jojo!")
  507. head.face.Texture = "rbxassetid://30395097"
  508. wait(0.1)
  509. head.face.Texture = "rbxassetid://17138027"
  510. wait(0.1)
  511. head.face.Texture = "rbxassetid://30395097"
  512. wait(0.1)
  513. head.face.Texture = "rbxassetid://17138027"
  514. wait(0.1)
  515. head.face.Texture = "rbxassetid://30395097"
  516. wait(0.2)
  517. head.face.Texture = "rbxassetid://17138027"
  518. wait(0.1)
  519. head.face.Texture = "rbxassetid://30395097"
  520. wait(0.1)
  521. head.face.Texture = "rbxassetid://17138027"
  522. wait(0.2)
  523. head.face.Texture = "rbxassetid://30395097"
  524. wait(0.2)
  525. head.face.Texture = "rbxassetid://17138027"
  526. wait(1)
  527. chatfunc("")
  528. wait(0.2)
  529. end
  530.  
  531. end)
  532. mouse.KeyDown:connect(function(key)
  533. if key == "p" then
  534. sprite:Play()
  535. wait(0.3)
  536. chatfunc("Hey JOJO, wanna sprite cranberry?")
  537. head.face.Texture = "rbxassetid://30395097"
  538. wait(0.1)
  539. head.face.Texture = "rbxassetid://17138027"
  540. wait(0.1)
  541. head.face.Texture = "rbxassetid://30395097"
  542. wait(0.1)
  543. head.face.Texture = "rbxassetid://17138027"
  544. wait(0.1)
  545. head.face.Texture = "rbxassetid://30395097"
  546. wait(0.2)
  547. head.face.Texture = "rbxassetid://17138027"
  548. wait(0.1)
  549. head.face.Texture = "rbxassetid://30395097"
  550. wait(0.1)
  551. head.face.Texture = "rbxassetid://17138027"
  552. wait(0.2)
  553. head.face.Texture = "rbxassetid://30395097"
  554. wait(0.2)
  555. head.face.Texture = "rbxassetid://17138027"
  556. wait(1)
  557. chatfunc("")
  558. wait(0.2)
  559. end
  560.  
  561. end)
  562. mouse.KeyDown:connect(function(key)
  563. if key == "r" then
  564. e:Play()
  565. wait(0.3)
  566. chatfunc("You'll just have to die.")
  567. head.face.Texture = "rbxassetid://30395097"
  568. wait(0.1)
  569. head.face.Texture = "rbxassetid://17138027"
  570. wait(0.1)
  571. head.face.Texture = "rbxassetid://30395097"
  572. wait(0.1)
  573. head.face.Texture = "rbxassetid://17138027"
  574. wait(0.1)
  575. head.face.Texture = "rbxassetid://30395097"
  576. wait(0.2)
  577. head.face.Texture = "rbxassetid://17138027"
  578. wait(0.1)
  579. head.face.Texture = "rbxassetid://30395097"
  580. wait(0.1)
  581. head.face.Texture = "rbxassetid://17138027"
  582. wait(0.2)
  583. head.face.Texture = "rbxassetid://30395097"
  584. wait(0.2)
  585. head.face.Texture = "rbxassetid://17138027"
  586. wait(1)
  587. chatfunc("")
  588. wait(0.2)
  589. end
  590.  
  591. end)
  592.  
  593. mouse.KeyDown:connect(function(key)
  594. if key == "y" then
  595. WhatKindOfDioIsThis:Play()
  596. wait(0.3)
  597. chatfunc("[insert epic song here]")
  598. wait(1.8)
  599. end
  600.  
  601. end)
  602.  
  603. mouse.KeyDown:connect(function(key)
  604. if key == "v" then
  605. yes:Play()
  606. wait(2)
  607. end
  608.  
  609. end)
  610.  
  611. mouse.KeyDown:connect(function(key)
  612. if key == "f" then
  613. Wrry:Play()
  614. wait(0.1)
  615. chatfunc("its time to STOP")
  616. head.face.Texture = "rbxassetid://17138027"
  617. wait(0.3)
  618. head.face.Texture = "rbxassetid://17138027"
  619. wait(1.5)
  620. head.face.Texture = "rbxassetid://15324577"
  621. wait(0.1)
  622. wait(1.65)
  623. end
  624.  
  625. end)
  626.  
  627. mouse.KeyDown:connect(function(key)
  628. if key == "g" then
  629. NANI:Play()
  630. chatfunc("!")
  631. head.face.Texture = "rbxassetid://17138027"
  632. wait(0.1)
  633. head.face.Texture = "rbxassetid://849833250"
  634. wait(0.1)
  635. head.face.Texture = "rbxassetid://15324577"
  636. wait(0.1)
  637. head.face.Texture = "rbxassetid://17138027"
  638. wait(0.1)
  639. head.face.Texture = "rbxassetid://605435926"
  640. wait(0.2)
  641. head.face.Texture = "rbxassetid://849833250"
  642. wait(0.1)
  643. head.face.Texture = "rbxassetid://15324577"
  644. wait(0.1)
  645. head.face.Texture = "rbxassetid://17138027"
  646. wait(0.2)
  647. head.face.Texture = "rbxassetid://30395097"
  648. wait(0.1)
  649. head.face.Texture = "rbxassetid://17138027"
  650. wait(0.1)
  651. head.face.Texture = "rbxassetid://15324577"
  652. wait(0.1)
  653. head.face.Texture = "rbxassetid://17138027"
  654. wait(0.1)
  655. head.face.Texture = "rbxassetid://30395097"
  656. wait(0.1)
  657. head.face.Texture = "rbxassetid://15324577"
  658. wait(0.2)
  659. head.face.Texture = "rbxassetid://30395097"
  660. wait(0.1)
  661. head.face.Texture = "rbxassetid://30395097"
  662. wait(0.1)
  663. head.face.Texture = "rbxassetid://17138027"
  664. wait(0.2)
  665. head.face.Texture = "rbxassetid://15324577"
  666. wait(0.2)
  667. head.face.Texture = "rbxassetid://396389196"
  668. wait(1)
  669. head.face.Texture = "rbxassetid://17138027"
  670. wait(0.1)
  671. head.face.Texture = "rbxassetid://15324577"
  672. wait(0.1)
  673. head.face.Texture = "rbxassetid://17138027"
  674. wait(0.1)
  675. head.face.Texture = "rbxassetid://30395097"
  676. wait(0.1)
  677. head.face.Texture = "rbxassetid://15324577"
  678. wait(0.2)
  679. head.face.Texture = "rbxassetid://30395097"
  680. wait(0.1)
  681. head.face.Texture = "rbxassetid://849833250"
  682. wait(0.1)
  683. head.face.Texture = "rbxassetid://30395097"
  684. wait(0.2)
  685. head.face.Texture = "rbxassetid://30395097"
  686. wait(0.1)
  687. head.face.Texture = "rbxassetid://17138027"
  688. wait(0.1)
  689. head.face.Texture = "rbxassetid://15324577"
  690. wait(0.1)
  691. head.face.Texture = "rbxassetid://17138027"
  692. wait(0.1)
  693. head.face.Texture = "rbxassetid://849833250"
  694. wait(0.1)
  695. head.face.Texture = "rbxassetid://17138027"
  696. wait(0.5)
  697. head.face.Texture = "rbxassetid://30395097"
  698. wait(0.1)
  699. end
  700.  
  701. end)
  702.  
  703. canworld = true
  704. mouse.KeyDown:connect(function(key)
  705. if key == "t" and not frozen then
  706. if canworld == false then return end
  707. if canworld then
  708. canworld = false
  709. Stop:Play()
  710. chatfunc("its time to STOP")
  711. head.face.Texture = "rbxassetid://30395097"
  712. wait(0.1)
  713. head.face.Texture = "rbxassetid://17138027"
  714. wait(0.3)
  715. head.face.Texture = "rbxassetid://30395097"
  716. wait(0.1)
  717. head.face.Texture = "rbxassetid://17138027"
  718. wait(0.3)
  719. head.face.Texture = "rbxassetid://30395097"
  720. wait(0.1)
  721. head.face.Texture = "rbxassetid://17138027"
  722. wait(0.1)
  723. head.face.Texture = "rbxassetid://30395097"
  724. wait(0.1)
  725. head.face.Texture = "rbxassetid://17138027"
  726. wait(0.8)
  727. wait(1.5)
  728. Stop3:Play()
  729. head.face.Texture = "rbxassetid://605435926"
  730. wait(0.1)
  731. head.face.Texture = "rbxassetid://30395097"
  732. wait(0.1)
  733. head.face.Texture = "rbxassetid://605435926"
  734. wait(0.1)
  735. head.face.Texture = "rbxassetid://30395097"
  736. wait(0.1)
  737. head.face.Texture = "rbxassetid://30395097"
  738. wait(0.1)
  739. head.face.Texture = "rbxassetid://605435926"
  740. wait(0.1)
  741. head.face.Texture = "rbxassetid://30395097"
  742. wait(0.4)
  743. head.face.Texture = "rbxassetid://605435926"
  744. wait(0.1)
  745. head.face.Texture = "rbxassetid://30395097"
  746.  
  747. local function spawnpart()
  748. sphere = Instance.new("Part")
  749. game.Debris:AddItem(sphere,3)
  750. local sm = Instance.new("SpecialMesh", sphere)
  751. sm.MeshType = "Sphere"
  752. sphere.Transparency = 0.5
  753. sphere.Anchored = true
  754. sphere.CanCollide = false
  755. sphere.Material = "Neon"
  756. sphere.BrickColor = BrickColor.new("White")
  757. end
  758.  
  759. local function weld(lol)
  760. local weld = Instance.new("Weld", plr.Character.Torso)
  761. weld.Part0 = plr.Character.Torso
  762. weld.Part1 = lol
  763. weld.C0 = plr.Character.Torso.CFrame:inverse()
  764. weld.C1 = lol.CFrame:inverse()
  765. end
  766. wait()
  767. spawnpart()
  768.  
  769. weld(sphere)
  770. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  771. cce.Saturation = -5
  772. knifeSpeed = 0
  773. --game.Debris:AddItem(cce, 5)
  774. sphere.Parent = char.Torso
  775. for i = 1,3 do
  776. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  777. wait()
  778. end
  779. wait()
  780. sphere:Destroy()
  781. BeeSpeed = 0
  782. frozen = true
  783. cce.Saturation = -0.1
  784. wait(0.3)
  785. cce.Saturation = -0.2
  786. wait(0.3)
  787. cce.Saturation = -0.3
  788. wait(0.2)
  789. cce.Saturation = -1.5
  790. wait()
  791.  
  792. canworld = true
  793.  
  794. end
  795. end
  796. end
  797. )
  798.  
  799. mouse.KeyDown:connect(function(key)
  800. key = key:lower()
  801. if key == "y" and frozen and canworld then
  802. canworld = false
  803. chatfunc("Time continues moving again. lol")
  804. Start:Play()
  805. head.face.Texture = "rbxassetid://17138027"
  806. wait(0.1)
  807. head.face.Texture = "rbxassetid://30395097"
  808. wait(0.1)
  809. head.face.Texture = "rbxassetid://17138027"
  810. wait(0.2)
  811. head.face.Texture = "rbxassetid://30395097"
  812. wait(0.1)
  813. head.face.Texture = "rbxassetid://17138027"
  814. wait(0.1)
  815. head.face.Texture = "rbxassetid://30395097"
  816. wait(0.1)
  817. head.face.Texture = "rbxassetid://30395097"
  818. wait(0.1)
  819. head.face.Texture = "rbxassetid://17138027"
  820. wait(0.1)
  821. head.face.Texture = "rbxassetid://30395097"
  822. wait(0.1)
  823. head.face.Texture = "rbxassetid://17138027"
  824. wait(0.1)
  825. head.face.Texture = "rbxassetid://30395097"
  826. wait(0.1)
  827. head.face.Texture = "rbxassetid://17138027"
  828. wait(0.1)
  829. head.face.Texture = "rbxassetid://30395097"
  830. wait(0.5)
  831. Start2:Play()
  832. Start2d:Play()
  833. wait()
  834. BeeSpeed = 1
  835. cce.Saturation = -1.3
  836. wait(0.5)
  837. BeeSpeed = 1.2
  838. cce.Saturation = -0.5
  839. wait(0.5)
  840. BeeSpeed = 1.4
  841. cce.Saturation = -0.4
  842. wait(0.3)
  843. BeeSpeed = 1.5
  844. cce.Saturation = -0.2
  845. wait(0.2)
  846. cce.Saturation = 0
  847.  
  848. for i, v in pairs(game.Players:GetChildren()) do
  849. t = v.Character:FindFirstChild("Torso")
  850. if t then
  851. t.Anchored = false
  852. end
  853. RA = v.Character:FindFirstChild("Right Arm")
  854. if RA then
  855. RA.Anchored = false
  856. end
  857. LA = v.Character:FindFirstChild("Left Arm")
  858. if LA then
  859. LA.Anchored = false
  860. end
  861. RL = v.Character:FindFirstChild("Right Leg")
  862. if RL then
  863. RL.Anchored = false
  864. end
  865. LL = v.Character:FindFirstChild("Left Leg")
  866. if LL then
  867. LL.Anchored = false
  868. end
  869. end
  870. BeeSpeed = 100
  871. knifeSpeed = 150
  872. canworld = true
  873. frozen = false
  874. tecks2.Text = plr.Name
  875.  
  876. end
  877. end)
  878.  
  879. humanoid.Died:connect(function()
  880. frozen = false
  881. if cce then
  882. cce:Remove()
  883. end
  884. end)
  885. mouse.KeyDown:connect(function(k)
  886. if string.byte(k) == 48 then
  887. humanoid.WalkSpeed = 24
  888. end
  889. end)
  890.  
  891. mouse.KeyUp:connect(function(k)
  892. if string.byte(k) == 48 then
  893. humanoid.WalkSpeed = 16
  894. end
  895. end)
  896.  
  897. local action = 'None'
  898. plr.Chatted:connect(function(msg)
  899. if msg == '/e dance' or msg == '/emote dance' then
  900. action = 'Dance'
  901. end
  902. if msg == '/e wrry' or msg == '/emote wrry' then
  903. action = 'Wrrrry'
  904. end
  905. end)
  906.  
  907.  
  908. local dance_move_wait = 0
  909.  
  910. game:service'RunService'.RenderStepped:connect(function()
  911. rm.MaxVelocity = 0
  912. lm.MaxVelocity = 0
  913. rm.DesiredAngle = 0
  914. rm.CurrentAngle = 0
  915. lm.DesiredAngle = 0
  916. lm.CurrentAngle = 0
  917. angle = (angle % 100) + anglespeed/10
  918. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  919. local rscf = rsc0
  920. local lscf = lsc0
  921. local rlcf = rlc0
  922. local llcf = llc0
  923. local rjcf = rootc0
  924. local ncf = neckc0
  925. local ray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  926. local hitz, enz = workspace:FindPartOnRay(ray, char)
  927. for i,object in pairs(char:children()) do
  928. if object:IsA("Tool") then
  929. tool = true
  930. if not debounce then
  931. for x,value in pairs(object:children()) do
  932. if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then
  933. debounce = true
  934. coroutine.wrap(function()
  935. slashing = true
  936. wait(.15)
  937. slashing = false
  938. debounce = false
  939. end)()
  940. value:Destroy()
  941. end
  942. end
  943. end
  944. elseif not object:IsA'Tool' then
  945. tool = false
  946. end
  947. end
  948. if action == 'Dance' then
  949. anglespeed = 2
  950. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  951. rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0)
  952. 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)
  953. 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)
  954. rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  955. llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0)
  956. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  957. else
  958. action = 'None'
  959. end
  960. elseif action == 'prepareHump' then
  961. --animations by ethan
  962. ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0)
  963. rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0)
  964. rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  965. lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0)
  966. rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0)
  967. llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0)
  968. elseif action == 'Hump' then
  969. --animations by ethan
  970. ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0)
  971. rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0)
  972. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  973. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  974. rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  975. llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  976. elseif action == "Muda1" then
  977.  
  978. ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0)
  979. rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0)
  980. rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10))
  981. lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10))
  982. rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10))
  983. llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10))
  984. elseif action == "Muda2" then
  985.  
  986. ncf = neckc0 * CFrame.Angles(0, math.rad(30), 0)
  987. rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0)
  988. rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10))
  989. lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10))
  990. rlcf = rlc0 * CFrame.Angles(math.rad(-45), 0, math.rad(10))
  991. llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10))
  992. elseif action == 'Wrrrry' then
  993. anglespeed = 1+math.random()
  994. dance_move_wait = (dance_move_wait%40) + 1/60
  995. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  996. if dance_move_wait <= 20 then
  997. rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  998. 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)
  999. 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)
  1000. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  1001. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  1002. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  1003. elseif dance_move_wait > 20 then
  1004. rjcf = rootc0 * CFrame.new(0, -.2, -.6) * CFrame.Angles(-math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0)
  1005. 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)
  1006. 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)
  1007. rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1)
  1008. llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, -.1)
  1009. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0)
  1010. end
  1011.  
  1012. else
  1013. action = 'None'
  1014. end
  1015. elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then
  1016. anglespeed = 3
  1017. rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0)
  1018. rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15)
  1019. lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15)
  1020. 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)
  1021. 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)
  1022. ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0)
  1023. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  1024. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then
  1025. anglespeed = 2
  1026. 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)
  1027. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05)
  1028. lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05)
  1029. rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0)
  1030. llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0)
  1031. ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0)
  1032. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then
  1033. anglespeed = 2.5
  1034. 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)
  1035. 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)
  1036. 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)
  1037. 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))
  1038. 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))
  1039. ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0)
  1040. end
  1041. if tool then
  1042. rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0)
  1043. if slashing then
  1044. rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1)
  1045. end
  1046. end
  1047. rm.C0 = clerp(rm.C0,rscf,speed)
  1048. lm.C0 = clerp(lm.C0,lscf,speed)
  1049. rj.C0 = clerp(rj.C0,rjcf,speed)
  1050. neck.C0 = clerp(neck.C0,ncf,speed)
  1051. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1052. llegm.C0 = clerp(llegm.C0,llcf,speed)
  1053. if frozen then
  1054. timeFreezeFunction()
  1055. else
  1056.  
  1057. for i,p in pairs(stuffFrozen) do
  1058. p.Anchored = false
  1059. end
  1060. for i,s in pairs(frozenSounds) do
  1061. s:Resume()
  1062. end
  1063. stuffFrozen = {}
  1064. frozenSounds = {}
  1065. end
  1066. end)
  1067.  
  1068. function punchDamage()
  1069. coroutine.resume(coroutine.create(function()
  1070. function Damage(model)
  1071. for i,s in pairs(model:GetChildren()) do
  1072. Damage(s)
  1073. if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then
  1074. if (rootpart.Position - s.Position).magnitude < 4 then
  1075. local vichum = s.Parent:FindFirstChild("Humanoid")
  1076. if vichum and vichum ~= humanoid then
  1077. local punch = Instance.new("Sound", soundfolder)
  1078. punch.Volume = 3
  1079. punch.Name = "POOCH"
  1080. punch.SoundId = "rbxassetid://511340819"
  1081. punch:Play()
  1082. game:GetService("Debris"):AddItem(punch, 2)
  1083. repeat wait() until not frozen
  1084. if vel then
  1085. vel:Remove()
  1086. end
  1087.  
  1088. vel = Instance.new("BodyVelocity", s)
  1089. vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector
  1090. game:GetService("Debris"):AddItem(vel, 0.25)
  1091.  
  1092. vichum:TakeDamage(15 +(math.random(-10, 10)/10))
  1093. end
  1094. end
  1095. end
  1096. end
  1097. end
  1098.  
  1099. Damage(workspace)
  1100. end))
  1101. end
  1102.  
  1103. mouse.KeyDown:connect(function(k)
  1104. if k == "q" and not humping then
  1105.  
  1106. humping = true
  1107. action = 'prepareHump'
  1108. wait(0.25)
  1109. action = 'Hump'
  1110. wait(0.03)
  1111. local knife = Instance.new("Part", char)
  1112. knife.Size = Vector3.new(0.2, 0.4, 2)
  1113. knife.CanCollide = false
  1114. knife.Anchored = false
  1115. knife:BreakJoints()
  1116. knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2)
  1117. 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)
  1118. knife.BrickColor = BrickColor.new("Buttermilk")
  1119. local knifeMesh = Instance.new("SpecialMesh", knife)
  1120. knifeMesh.MeshId = "rbxassetid://202083123"
  1121. local vel = Instance.new("BodyVelocity", knife)
  1122. knife.Touched:connect(function(part)
  1123. if part.Parent ~= nil then
  1124. local vichum = part.Parent:FindFirstChild("Humanoid")
  1125. if vichum and vichum ~= humanoid then
  1126. local stabbedKnife = knife:Clone()
  1127. stabbedKnife.Parent = workspace
  1128. stabbedKnife:WaitForChild("BodyVelocity"):Remove()
  1129. local stabweld = Instance.new("Weld", stabbedKnife)
  1130. stabweld.Part0 = part
  1131. stabweld.Part1 = stabbedKnife
  1132. stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame)
  1133. knife:Destroy()
  1134. repeat wait() until not frozen
  1135. game:GetService("Debris"):AddItem(stabbedKnife, 10)
  1136. vichum:TakeDamage(16, 24)
  1137. end
  1138. end
  1139. end)
  1140. coroutine.wrap(function()
  1141. game:GetService("RunService").RenderStepped:connect(function()
  1142. vel.Velocity = knife.CFrame.lookVector * knifeSpeed
  1143. if (knife.Position - rootpart.Position).magnitude > 500 then
  1144.  
  1145. knife:Destroy()
  1146. end
  1147. end)
  1148. end)()
  1149.  
  1150. wait(0.47)
  1151. humping = false
  1152. action = 'None'
  1153. elseif k == "e" and not mudaing then
  1154. speed = 0.8
  1155. Muda:Play()
  1156. mudaing = true
  1157. for i = 1,39 do
  1158. action = "Muda1"
  1159. punchDamage()
  1160. wait(0.03)
  1161. action = "Muda2"
  1162. punchDamage()
  1163. wait(0.03)
  1164. end
  1165.  
  1166.  
  1167. wait()
  1168. action = 'None'
  1169. speed = 0.3
  1170. mudaing = false
  1171. end
  1172. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement