Advertisement
marioisdabomb

edit thing

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