Christoffer07700Extr

Pootis Trashcan

Jul 31st, 2019
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.19 KB | None | 0 0
  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. plr = game.Players.LocalPlayer
  7. plrg = plr.PlayerGui
  8. char = plr.Character
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. rl = char["Right Leg"]
  12. ll = char["Left Leg"]
  13. h = char.Head
  14. t = char.Torso
  15. mouse = plr:GetMouse()
  16. print("Made by vlad20020")
  17.  
  18. warn([[
  19. Q - Carry things
  20. E - Take the thing inside of trashcan
  21. R - Open blackhole
  22. T - Taunt
  23. Y - Undercover(Unlocks new moves)
  24. F - Unanchor part
  25. G - POOTIS ALARM
  26. H/J - Lower/Higher part that you are carrying
  27. Z - Drop all parts that you took
  28. X - Teleport
  29. C - Clear trashlist
  30. V - Eat fool that trying to kill you(Target)
  31. B - Spawn little dummy
  32. U - Set the point for Dio to walk to
  33. K - Set the target for Dio
  34. N - Destroy All dummys(Not dios)
  35. M - Teleport to trash strorage
  36. E - Punch(Undercover)
  37. T - Taunt(Undercover)
  38. F - Dark fire(Undercover)]])
  39.  
  40. function swait(TIME)
  41. game:GetService("RunService").RenderStepped:wait(TIME)
  42. end
  43.  
  44. local tweens = game:GetService("TweenService")
  45.  
  46. rs = t["Right Shoulder"]
  47. ls = t["Left Shoulder"]
  48. rh = t["Right Hip"]
  49. lh = t["Left Hip"]
  50. nec = t.Neck
  51. rut = char.HumanoidRootPart
  52. rutj = rut.RootJoint
  53. hum = char:FindFirstChildOfClass("Humanoid")
  54. using = false
  55. using1 = true
  56.  
  57. local dancing = false
  58.  
  59. local countvalue = 0
  60.  
  61. local screng = Instance.new("ScreenGui",plrg)
  62. local countg = Instance.new("TextLabel",screng) countg.Size = UDim2.new(.1,0,.1,0) countg.Position = UDim2.new(.9,0,.9,0) countg.BackgroundTransparency = 1 countg.BorderSizePixel = 0 countg.TextScaled = true countg.TextColor3 = Color3.fromRGB(100,0,255) countg.Text = "Trash Count: "..countvalue
  63.  
  64. local putispupu = Instance.new("Sound",char) putispupu.Looped = true putispupu.Volume = .7 putispupu.SoundId = "rbxassetid://654626054" putispupu:Play()
  65.  
  66. local rad = math.rad
  67.  
  68. hum.Animator:Destroy()
  69. char.Animate.Disabled = true
  70.  
  71. local ff = Instance.new("ForceField",char) ff.Visible = false
  72.  
  73. hum.MaxHealth = 2e9 hum.Health = 2e9 hum.DisplayDistanceType = "None"
  74. hum.HealthChanged:connect(function()
  75. hum.MaxHealth = 2e9 hum.Health = 2e9
  76. end)
  77.  
  78. rs.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,.5,0) ls.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,.5,0)
  79. rh.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,1,1) lh.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,1,1)
  80. nec.C0 = nec.C0 * CFrame.new(0,0,-1.5) rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.5)
  81.  
  82. local trash = Instance.new("Model",char) trash.Name = "Trash"
  83. local duds = Instance.new("Model",workspace) duds.Name = char.Name.." Duds"
  84. local dios = Instance.new("Model",workspace) dios.Name = char.Name.." Dios"
  85.  
  86. local can = Instance.new("Part",char) can.Name = "Trash Can" can.Size = Vector3.new(3, 3.4, 3)
  87. local canm = Instance.new("SpecialMesh",can) canm.MeshType = "FileMesh" canm.MeshId = "rbxassetid://439344549" canm.TextureId = "rbxassetid://439344551" canm.Scale = Vector3.new(.015,.015,.015)
  88. local canw = Instance.new("Weld",can) canw.Part0 = can canw.Part1 = rut canw.C0 = canw.C0 * CFrame.new(0,1.2,0)
  89. local void = Instance.new("Part",char) void.CanCollide = false void.Size = Vector3.new(0.1, 2.65, 2.7) void.BrickColor = BrickColor.new("Really black") void.Material = "Glass" void.Shape = "Cylinder"
  90. local voidw = Instance.new("Weld",void) voidw.Part0 = void voidw.Part1 = can voidw.C0 = voidw.C0 * CFrame.Angles(rad(0),rad(0),rad(90)) * CFrame.new(0,-1.6,0)
  91.  
  92. local unanchor = false
  93.  
  94. local flur = Instance.new("Part",char) flur.Transparency = 1 flur.Anchored = true flur.Position = Vector3.new(3000,2750,3000) flur.Size = Vector3.new(500,1,500) flur.Material = "CorrodedMetal" flur.BrickColor = BrickColor.new("Ghosty grey")
  95. local ruf = Instance.new("Part",char) ruf.Transparency = 1 ruf.Anchored = true ruf.Position = Vector3.new(3000,3250,3000) ruf.Size = Vector3.new(500,1,500) ruf.Material = "CorrodedMetal" ruf.BrickColor = BrickColor.new("Really black")
  96. local wal1 = Instance.new("Part",char) wal1.Transparency = 1 wal1.Anchored = true wal1.Position = Vector3.new(3000,3000,2750) wal1.Size = Vector3.new(500,500,1) wal1.Material = "CorrodedMetal" wal1.BrickColor = BrickColor.new("Ghosty grey")
  97. local wal2 = Instance.new("Part",char) wal2.Transparency = 1 wal2.Anchored = true wal2.Position = Vector3.new(3000,3000,3250) wal2.Size = Vector3.new(500,500,1) wal2.Material = "CorrodedMetal" wal2.BrickColor = BrickColor.new("Ghosty grey")
  98. local wal3 = Instance.new("Part",char) wal3.Transparency = 1 wal3.Anchored = true wal3.Position = Vector3.new(2750,3000,3000) wal3.Size = Vector3.new(1,500,500) wal3.Material = "CorrodedMetal" wal3.BrickColor = BrickColor.new("Ghosty grey")
  99. local wal4 = Instance.new("Part",char) wal4.Transparency = 1 wal4.Anchored = true wal4.Position = Vector3.new(3250,3000,3000) wal4.Size = Vector3.new(1,500,500) wal4.Material = "CorrodedMetal" wal4.BrickColor = BrickColor.new("Ghosty grey")
  100. local flur1 = Instance.new("Part",char) flur1.Transparency = 1 flur1.Anchored = true flur1.CFrame = flur.CFrame flur1.Size = Vector3.new(500,1,500) flur1.Material = "CorrodedMetal" flur1.BrickColor = BrickColor.new("Rust")
  101.  
  102. local tpr = Instance.new("Part",char) tpr.Size = Vector3.new(.1,.1,.1) tpr.CanCollide = false tpr.Transparency = 1
  103. local tpl = Instance.new("Part",char) tpl.Size = Vector3.new(.1,.1,.1) tpl.CanCollide = false tpl.Transparency = 1
  104. local tprw = Instance.new("Weld",t) tprw.Part0 = t tprw.Part1 = tpr tprw.C0 = CFrame.new(1,.5,0)
  105. local tplw = Instance.new("Weld",t) tplw.Part0 = t tplw.Part1 = tpl tplw.C0 = CFrame.new(-1,.5,0)
  106.  
  107. local rapr = Instance.new("Part",char) rapr.Size = Vector3.new(.1,.1,.1) rapr.CanCollide = false rapr.Transparency = 1
  108. local lapl = Instance.new("Part",char) lapl.Size = Vector3.new(.1,.1,.1) lapl.CanCollide = false lapl.Transparency = 1
  109. local raprw = Instance.new("Weld",ra) raprw.Part0 = ra raprw.Part1 = rapr raprw.C0 = CFrame.new(-.5,.5,0)
  110. local laplw = Instance.new("Weld",la) laplw.Part0 = la laplw.Part1 = lapl laplw.C0 = CFrame.new(.5,.5,0)
  111.  
  112. local jwr = Instance.new("WeldConstraint",ra) jwr.Part0 = tpr jwr.Part1 = nil
  113. local jwl = Instance.new("WeldConstraint",ra) jwl.Part0 = tpl jwl.Part1 = nil
  114.  
  115. function back()
  116. for i = 0,1,.35 do
  117. rutj.C0 = rutj.C0:lerp(CFrame.new(0,-1.5,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  118. rh.C0 = rh.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  119. lh.C0 = lh.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  120. rs.C0 = rs.C0:lerp(CFrame.new(0,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  121. ls.C0 = ls.C0:lerp(CFrame.new(0,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  122. nec.C0 = nec.C0:lerp(CFrame.new(0,-.8,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  123. swait()
  124. end
  125. rs.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,.5,0) ls.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,.5,0)
  126. rh.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,1,1) lh.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,1,1)
  127. rutj.C0 = CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.new(0,0,-1.5)
  128. end
  129.  
  130. function anim()
  131. for i = 0,1,.35 do
  132. rutj.C0 = rutj.C0:lerp(CFrame.new(0,1,-1) * CFrame.Angles(rad(-125),rad(0),rad(190)),i)
  133. rh.C0 = rh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  134. lh.C0 = lh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  135. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(179)),i)
  136. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  137. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  138. swait()
  139. end
  140. for i = 0,1,.35 do
  141. rutj.C0 = rutj.C0:lerp(CFrame.new(0,1,-1.8) * CFrame.Angles(rad(-200),rad(0),rad(190)),i)
  142. rh.C0 = rh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(90),rad(60)),i)
  143. lh.C0 = lh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(-60)),i)
  144. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(163)),i)
  145. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(45),rad(-90),rad(0)),i)
  146. swait()
  147. end
  148. for i = 0,1,.35 do
  149. rutj.C0 = rutj.C0:lerp(CFrame.new(0,1,-1.8) * CFrame.Angles(rad(-200),rad(0),rad(190)),i)
  150. rh.C0 = rh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(90),rad(80)),i)
  151. lh.C0 = lh.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(-80)),i)
  152. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(110)),i)
  153. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(25),rad(-90),rad(0)),i)
  154. swait()
  155. end
  156. end
  157.  
  158. local colors = {Color3.fromRGB(0,0,0),Color3.fromRGB(10,10,10),Color3.fromRGB(20,20,20),Color3.fromRGB(30,30,30),Color3.fromRGB(40,40,40),Color3.fromRGB(50,50,50)}
  159. function gototrash(hit)
  160. if hit.Parent == char then
  161.  
  162. else
  163.  
  164. if hit.Anchored == true then
  165.  
  166. else
  167. hit.Color = colors[math.random(1,6)]
  168. hit.Name = "ure mine"
  169. hit:BreakJoints()
  170. hit.Anchored = true
  171. hit.CanCollide = true
  172. hit.Material = "Neon"
  173. for i = 1,40 do
  174. hit.CFrame = hit.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) * CFrame.Angles(math.random(rad(-180),rad(180)),math.random(rad(-180),rad(180)),math.random(rad(-180),rad(180)))
  175. hit.Transparency = hit.Transparency +.025
  176. swait()
  177. end
  178. hit.Parent = trash
  179. hit.CFrame = CFrame.new(3000,3000,3000)
  180. hit.Transparency = 1 hit.CFrame = flur.CFrame * CFrame.new(0,250,0)
  181. countvalue = countvalue + 1
  182. countg.Text = "Trash Count: "..countvalue
  183. end
  184. end
  185. end
  186.  
  187. function beam(BRICKCOLOR,TIMES,TIME_BETWEEN_BEAMPART,FROM,RANGE,SIZE1,SIZE2,SIZE3,STARTER_SIZE1,STARTER_SIZE2,STARTER_SIZE3)
  188. local saiz1 = STARTER_SIZE1
  189. local saiz2 = STARTER_SIZE2
  190. local saiz3 = STARTER_SIZE3
  191. local pos = 0
  192. local part = Instance.new("Part",workspace)
  193. part.Size = Vector3.new(saiz1,saiz2,saiz3)
  194. part.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  195. part.Anchored = true
  196. part.Transparency = 0
  197. part.CFrame = FROM
  198. part.CanCollide = false
  199. part.Material = "Neon"
  200. part.Touched:connect(gototrash)
  201. coroutine.resume(coroutine.create(function(PART)
  202. for i = 1,TIMES do
  203. saiz1 = saiz1 + SIZE1
  204. saiz2 = saiz2 + SIZE2
  205. saiz3 = saiz3 + SIZE3 pos = pos + RANGE
  206. part.Size = part.Size + Vector3.new(saiz1,saiz2,saiz3)
  207. part.CFrame = FROM * CFrame.new(0,0,-pos) * CFrame.fromEulerAnglesXYZ(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  208. part.Transparency = part.Transparency +.04
  209. swait(TIME_BETWEEN_BEAMPART)
  210. if part.Transparency >= .99 then
  211. part:Destroy()
  212. end
  213. end
  214. end))
  215. end
  216.  
  217. function blood(POSITION)
  218. local blub = Instance.new("Part",workspace)
  219. blub.Material = "SmoothPlastic"
  220. blub.BrickColor = BrickColor.new("Maroon")
  221. blub.Size = Vector3.new(.3,.3,.3)
  222. blub.Shape = "Ball"
  223. blub.CFrame = POSITION.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) blub.Transparency = 0
  224. blub.CanCollide = true blub.Anchored = false blub.Name = "Blood"
  225. wait(.2)
  226. blub.Shape = "Cylinder"
  227. coroutine.resume(coroutine.create(function(PART)
  228. for i = 0,30 do
  229. blub.Size = blub.Size + Vector3.new(0,.05,.05)
  230. blub.Size = blub.Size - Vector3.new(.035,0,0)
  231. swait(3)
  232. end
  233. for i = 0,20 do
  234. blub.Size = blub.Size + Vector3.new(0,.05,.05)
  235. blub.Size = blub.Size - Vector3.new(.035,0,0)
  236. blub.Transparency = blub.Transparency + .05
  237. swait(3)
  238. end
  239. if blub.Transparency >= .99 then
  240. blub:Destroy()
  241. end
  242. end))
  243. end
  244.  
  245. function effect(BRICKCOLOR,TIMES,TIME_BETWEEN_BEAMPART,FROM,RANGE,SIZE1,SIZE2,SIZE3,STARTER_SIZE1,STARTER_SIZE2,STARTER_SIZE3)
  246. local saiz1 = STARTER_SIZE1
  247. local saiz2 = STARTER_SIZE2
  248. local saiz3 = STARTER_SIZE3
  249. local pos = 0
  250. local part1 = Instance.new("Part",workspace)
  251. part1.Size = Vector3.new(saiz1,saiz2,saiz3)
  252. part1.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  253. part1.Anchored = true
  254. part1.Transparency = 0
  255. part1.CFrame = FROM
  256. part1.CanCollide = false
  257. part1.Material = "Neon"
  258. coroutine.resume(coroutine.create(function(PART)
  259. for i = 1,TIMES do
  260. saiz1 = saiz1 + SIZE1
  261. saiz2 = saiz2 + SIZE2
  262. saiz3 = saiz3 + SIZE3 pos = pos + RANGE
  263. part1.Size = part1.Size + Vector3.new(saiz1,saiz2,saiz3)
  264. part1.CFrame = FROM * CFrame.new(0,0,-pos) * CFrame.fromEulerAnglesXYZ(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  265. part1.Transparency = part1.Transparency +.075
  266. swait(TIME_BETWEEN_BEAMPART)
  267. if part1.Transparency >= .99 then
  268. part1:Destroy()
  269. end
  270. end
  271. end))
  272. end
  273.  
  274. mouse.KeyDown:connect(function(key)
  275. if key == "v" and not using then
  276. local ieatu = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  277. local body = mouse.Target.Parent:FindFirstChild("Head")
  278. if body ~= nil then
  279. using = true
  280. rut.CFrame = body.CFrame * CFrame.new(0,20,0) * CFrame.Angles(rad(0),rad(0),rad(180))
  281. body.Anchored = true rut.Anchored = true
  282. for i = 1,5 do
  283. rut.CFrame = rut.CFrame * CFrame.new(0,3.8,0)
  284. can.CFrame = can.CFrame * CFrame.new(0,3.8,0)
  285. wait()
  286. end
  287. body.Parent:ClearAllChildren()
  288. rut.Anchored = false
  289. local oof = Instance.new("Sound",char) oof.SoundId = "rbxassetid://1542642349" oof.Volume = 5 oof:Play()
  290. rut.CFrame = rut.CFrame * CFrame.Angles(rad(0),rad(0),rad(180))
  291. wait(2)
  292. oof:Destroy()
  293. using = false
  294. end
  295. end
  296. end)
  297.  
  298. mouse.KeyDown:connect(function(key)
  299. if key == "x" and not using then
  300. using = true
  301. rut.Anchored = true
  302. local trig = Instance.new("Sound",char) trig.Volume = 5 trig.SoundId = "rbxassetid://572840337" trig:Play()
  303. for i = 1,5 do
  304. rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.2)
  305. can.CFrame = can.CFrame * CFrame.new(0,-1.2,0)
  306. wait()
  307. end
  308. rutj.C0 = rutj.C0 * CFrame.new(0,-6,0)
  309. rut.CFrame = mouse.Hit * CFrame.new(0,1,0)
  310. can.CFrame = mouse.Hit * CFrame.new(0,-6,0)
  311. wait(.2)
  312. for i = 1,5 do
  313. rutj.C0 = rutj.C0 * CFrame.new(0,0,1.2)
  314. can.CFrame = can.CFrame * CFrame.new(0,1.2,0)
  315. wait()
  316. end
  317. trig:Destroy()
  318. rutj.C0 = rutj.C0 * CFrame.new(0,6,0)
  319. rut.Anchored = false using = false
  320. end
  321. end)
  322.  
  323. mouse.KeyDown:connect(function(key)
  324. if key == "e" and not using then
  325. function mine(hit)
  326. if hit.Anchored == true then
  327.  
  328. else
  329. hit:BreakJoints()
  330. hit.Name = "ure mine" hit.CanCollide = false
  331. hit.Anchored = true
  332. for i = 1,10 do
  333. hit.CFrame = ra.CFrame * CFrame.new(0,-1.5,0)
  334. hit.CFrame = hit.CFrame * CFrame.Angles(rad(math.random(-50,50)),rad(math.random(-50,50)),rad(math.random(-50,50)))
  335. wait(.05)
  336. end
  337. for i = 1,10 do
  338. hit.Transparency = hit.Transparency +.1
  339. hit.CFrame = ra.CFrame * CFrame.new(0,-1.5,0)
  340. hit.CFrame = hit.CFrame * CFrame.Angles(rad(math.random(-50,50)),rad(math.random(-50,50)),rad(math.random(-50,50)))
  341. wait(.05)
  342. end
  343. countvalue = countvalue + 1
  344. countg.Text = "Trash Count: "..countvalue
  345. hit.CanCollide = true hit.Transparency = 1 hit.CFrame = flur.CFrame * CFrame.new(0,250,0) hit.Parent = trash
  346. end
  347. end
  348. using = true
  349. local e = Instance.new("Part",char) e.CanCollide = false e.Size = Vector3.new(3,.2,1.5) e.Transparency = 1
  350. local ew = Instance.new("Weld",e) ew.Part0 = rut ew.Part1 = e ew.C0 = ew.C0 * CFrame.new(0,-3,-1.5)
  351. local minehb = Instance.new("Part",ra) minehb.Size = Vector3.new(1.5,1.5,1.5) minehb.CanCollide = false minehb.Transparency = 1
  352. local minew = Instance.new("Weld",minehb) minew.Part1 = ra minew.Part0 = minehb minew.C0 = minew.C0 * CFrame.new(0,1.5,0)
  353. minehb.Touched:connect(mine)
  354. e.Touched:connect(mine)
  355. local minee = Instance.new("Sound",ra) minee.Volume = 5 minee.SoundId = "rbxassetid://148636758" minee:Play()
  356. anim()
  357. minee:Destroy()
  358. back()
  359. using = false
  360. minehb:Destroy()
  361. e:Destroy()
  362. end
  363. end)
  364.  
  365. local eee = false
  366. mouse.KeyDown:connect(function(key)
  367. if key == "f" and not unanchor then
  368. eee = true
  369. while eee do
  370. mouse.Target.Anchored = false
  371. wait(.15)
  372. end
  373. end
  374. end)
  375. mouse.KeyUp:connect(function(key)
  376. if key == "f" then
  377. eee = false
  378. end
  379. end)
  380.  
  381. mouse.KeyDown:connect(function(key)
  382. if key == "r" and not using then
  383. hum.WalkSpeed = 0 hum.JumpPower = 0
  384. using = true
  385. rut.Anchored = true
  386. local trig = Instance.new("Sound",char) trig.Volume = 5 trig.SoundId = "rbxassetid://572840337" trig:Play()
  387. for i = 1,5 do
  388. rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.2)
  389. can.CFrame = can.CFrame * CFrame.new(0,-1.2,0)
  390. wait()
  391. end
  392. wait(.2)
  393. trig:Stop()
  394. local voidd = Instance.new("Part",char) voidd.Size = Vector3.new(.1,3,3) voidd.BrickColor = BrickColor.new("Really black") voidd.Shape = "Cylinder" voidd.Anchored = true voidd.Material = "Glass" voidd.CFrame = rut.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  395. function mine(hit)
  396. if hit.Anchored == true then
  397.  
  398. else
  399. hit:BreakJoints()
  400. hit.Name = "ure mine" hit.CanCollide = false
  401. hit.Anchored = true
  402. for i = 1,20 do
  403. hit.Transparency = hit.Transparency +.1
  404. coroutine.resume(coroutine.create(function(part)
  405. for i = 0,1,.05 do
  406. hit.CFrame = hit.CFrame:lerp(rut.CFrame * CFrame.new(math.random(-3,3),math.random(3,3),math.random(-3,3)),i)
  407. swait()
  408. end
  409. end))
  410. wait()
  411. end
  412. countvalue = countvalue + 1
  413. countg.Text = "Trash Count: "..countvalue
  414. hit.CanCollide = true hit.Transparency = 1 hit.CFrame = flur.CFrame * CFrame.new(0,250,0) hit.Parent = trash
  415. wait(.9)
  416. hit.CFrame = flur.CFrame * CFrame.new(0,250,0)
  417. end
  418. end
  419. voidd.Touched:connect(mine)
  420. local tweeni = TweenInfo.new(
  421. 2,
  422. Enum.EasingStyle.Bounce,
  423. Enum.EasingDirection.In,
  424. 0,
  425. true,
  426. 0)
  427. local siz = {Size = Vector3.new(.1,150,150)}
  428. local tsiz = tweens:Create(voidd,tweeni,siz)
  429. tsiz:Play()
  430. wait(2)
  431. for i = 1,10 do
  432. voidd.Transparency = voidd.Transparency +.1
  433. wait(.1)
  434. end
  435. voidd:Destroy()
  436. trig:Play()
  437. for i = 1,5 do
  438. rutj.C0 = rutj.C0 * CFrame.new(0,0,1.2)
  439. can.CFrame = can.CFrame * CFrame.new(0,1.2,0)
  440. wait()
  441. end
  442. wait(.2)
  443. rut.Anchored = false
  444. trig:Destroy()
  445. hum.WalkSpeed = 16 hum.JumpPower = 50
  446. using = false
  447. end
  448. end)
  449. local a = Instance.new("Decal",h) a.Texture = "rbxassetid://313921371" a.Transparency = 1
  450. mouse.KeyDown:connect(function(key)
  451. if key == "t" and not using then
  452. using = true
  453. h.face.Transparency = 1
  454. nec.C0 = nec.C0 * CFrame.new(0,0,1)
  455. rs.C0 = rs.C0 * CFrame.Angles(rad(-90),rad(0),rad(0))
  456. ls.C0 = ls.C0 * CFrame.Angles(rad(-90),rad(0),rad(0))
  457. for i = 1,3 do
  458. nec.C0 = nec.C0 * CFrame.new(0,-.4,0)
  459. rs.C0 = rs.C0 * CFrame.new(0,-.6,0) ls.C0 = ls.C0 * CFrame.new(0,-.6,0)
  460. lh.C0 = lh.C0 * CFrame.new(0,-.7,.5) rh.C0 = rh.C0 * CFrame.new(0,-.7,.5)
  461. hum.HipHeight = hum.HipHeight + .6
  462. wait()
  463. end
  464. local e = Instance.new("Sound",char) e.Volume = 5 e.SoundId = "rbxassetid://1267238611" e:Play()
  465. wait(1.3)
  466. for i = 1,3 do
  467. nec.C0 = nec.C0 * CFrame.new(0,.4,0)
  468. rs.C0 = rs.C0 * CFrame.new(0,.6,0) ls.C0 = ls.C0 * CFrame.new(0,.6,0)
  469. lh.C0 = lh.C0 * CFrame.new(0,.7,-.5) rh.C0 = rh.C0 * CFrame.new(0,.7,-.5)
  470. hum.HipHeight = hum.HipHeight - .6
  471. wait()
  472. end
  473. h.face.Transparency = 0 e:Destroy() a:Destroy()
  474. nec.C0 = nec.C0 * CFrame.new(0,0,-1)
  475. rs.C0 = rs.C0 * CFrame.Angles(rad(90),rad(0),rad(0))
  476. ls.C0 = ls.C0 * CFrame.Angles(rad(90),rad(0),rad(0))
  477. using = false
  478. end
  479. end)
  480.  
  481. mouse.KeyDown:connect(function(key)
  482. if key == "g" and not using then
  483. function poot(hit)
  484. if hit.Anchored == true then
  485.  
  486. else
  487. hit:BreakJoints()
  488. hit.Name = "ure mine" hit.CanCollide = false
  489. hit.Anchored = true
  490. for i = 1,10 do
  491. hit.CFrame = void.CFrame * CFrame.new(0,-1.5,0)
  492. hit.CFrame = hit.CFrame * CFrame.Angles(rad(math.random(-50,50)),rad(math.random(-50,50)),rad(math.random(-50,50)))
  493. wait(.05)
  494. end
  495. for i = 1,10 do
  496. hit.Transparency = hit.Transparency +.1
  497. hit.CFrame = void.CFrame * CFrame.new(0,-1.5,0)
  498. hit.CFrame = hit.CFrame * CFrame.Angles(rad(math.random(-50,50)),rad(math.random(-50,50)),rad(math.random(-50,50)))
  499. wait(.05)
  500. end
  501. countvalue = countvalue + 1
  502. countg.Text = "Trash Count: "..countvalue
  503. hit.CanCollide = true hit.Transparency = 1 hit.CFrame = flur.CFrame * CFrame.new(0,250,0) hit.Parent = trash
  504. end
  505. end
  506. using = true
  507. local e = Instance.new("Part",char) e.CanCollide = false e.Size = Vector3.new(3,7,3) e.Transparency = 1
  508. local ew = Instance.new("Weld",e) ew.Part0 = rut ew.Part1 = e ew.C0 = ew.C0 * CFrame.new(0,0,-1.5)
  509. local ee = e.Touched:connect(poot)
  510. hum.WalkSpeed = 50 hum.JumpPower = 100
  511. local pootiss = Instance.new("Sound",char) pootiss.SoundId = "rbxassetid://544410221" pootiss.Volume = .7 pootiss:Play()
  512. putispupu.Volume = 0
  513. rs.C0 = rs.C0 * CFrame.new(0,1.1,1.5) ls.C0 = ls.C0 * CFrame.new(0,1.1,1.5)
  514. rh.C0 = rh.C0 * CFrame.new(0,-2.3,1.5) lh.C0 = lh.C0 * CFrame.new(0,-2.3,1.5)
  515. rutj.C0 = rutj.C0 * CFrame.Angles(rad(90),rad(0),rad(0))
  516. canw.C0 = canw.C0 * CFrame.Angles(rad(90),rad(0),rad(0)) * CFrame.new(0,1.5,1.5)
  517. hum.HipHeight = .5
  518. for i = 1,200 do
  519. rs.C0 = rs.C0 * CFrame.Angles(rad(0),rad(0),rad(100)) ls.C0 = ls.C0 * CFrame.Angles(rad(0),rad(0),rad(-100))
  520. rh.C0 = rh.C0 * CFrame.Angles(rad(0),rad(0),rad(100)) lh.C0 = lh.C0 * CFrame.Angles(rad(0),rad(0),rad(-100))
  521. wait()
  522. end
  523. e:Destroy()
  524. ee:disconnect()
  525. hum.WalkSpeed = 16 hum.JumpPower = 50
  526. rs.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,.5,0) ls.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,.5,0)
  527. rh.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,1,1) lh.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,1,1)
  528. pootiss:Destroy() putispupu.Volume = .7
  529. rutj.C0 = rutj.C0 * CFrame.Angles(rad(-90),rad(0),rad(0))
  530. canw.C0 = CFrame.Angles(rad(0),rad(0),rad(0)) * CFrame.new(0,1.2,0) hum.HipHeight = 0
  531. using = false
  532. end
  533. end)
  534.  
  535. mouse.KeyDown:connect(function(key)
  536. if key == "z" then
  537. countvalue = 0
  538. countg.Text = "Trash Count: "..countvalue
  539. for i,v in pairs(trash:GetChildren()) do
  540. if v.Name == "ure mine" then
  541. v.CFrame = rut.CFrame
  542. v.Transparency = 0
  543. for i = 1,3 do
  544. v.CFrame = v.CFrame * CFrame.new(math.random(-3,3),2.5,math.random(-3,3))
  545. end
  546. v.Anchored = false
  547. v.Parent = workspace
  548. end
  549. end
  550. end
  551. end)
  552. mouse.KeyDown:connect(function(key)
  553. if key == "c" then
  554. countvalue = 0
  555. countg.Text = "Trash Count: "..countvalue
  556. for i,v in pairs(trash:GetChildren()) do
  557. if v.Name == "ure mine" then
  558. v:Destroy()
  559. end
  560. end
  561. end
  562. end)
  563.  
  564. local leight = -5
  565. local height = 5
  566. local grab = false
  567. mouse.KeyDown:connect(function(key)
  568. key = key:lower()
  569. if key == "q" and not using then
  570. if not grab then
  571. function mine(hit)
  572. if hit.Anchored == true then
  573.  
  574. else
  575. grab = true
  576. hit.CanCollide = false
  577. hit.Anchored = true
  578. while grab do
  579. coroutine.resume(coroutine.create(function(part)
  580. for i = 0,1,.05 do
  581. hit.CFrame = hit.CFrame:lerp(rut.CFrame * CFrame.new(0,height,leight),i)
  582. swait()
  583. end
  584. end))
  585. wait(.2)
  586. end
  587. if grab == false then
  588. hit.CFrame = rut.CFrame * CFrame.new(0,height,leight)
  589. hit.Anchored = false hit.CanCollide = true
  590. end
  591. end
  592. end
  593. using = true
  594. local e = Instance.new("Part",char) e.CanCollide = false e.Size = Vector3.new(3,.2,1.5) e.Transparency = 1
  595. local ew = Instance.new("Weld",e) ew.Part0 = rut ew.Part1 = e ew.C0 = ew.C0 * CFrame.new(0,-3,-1.5)
  596. local minehb = Instance.new("Part",ra) minehb.Size = Vector3.new(5,5,5) minehb.CanCollide = false minehb.Transparency = 1
  597. local minew = Instance.new("Weld",minehb) minew.Part1 = ra minew.Part0 = minehb minew.C0 = minew.C0 * CFrame.new(0,1.5,0)
  598. minehb.Touched:connect(mine)
  599. e.Touched:connect(mine)
  600. local minee = Instance.new("Sound",ra) minee.Volume = 5 minee.SoundId = "rbxassetid://148636758" minee:Play()
  601. anim()
  602. minee:Destroy()
  603. back()
  604. using = false
  605. minehb:Destroy()
  606. e:Destroy()
  607. else
  608. grab = false
  609. end
  610. end
  611. end)
  612.  
  613.  
  614.  
  615. local higher = false
  616. mouse.KeyDown:connect(function(key)
  617. if key == "1" then
  618. higher = true
  619. while higher do
  620. height = height + 1
  621. wait(.05)
  622. end
  623. end
  624. end)
  625. local lower = false
  626. mouse.KeyUp:connect(function(key)
  627. if key == "1" then
  628. higher = false
  629. end
  630. end)
  631. mouse.KeyDown:connect(function(key)
  632. if key == "2" then
  633. lower = true
  634. while lower do
  635. height = height - 1
  636. wait(.05)
  637. end
  638. end
  639. end)
  640. mouse.KeyUp:connect(function(key)
  641. if key == "2" then
  642. lower = false
  643. end
  644. end)
  645.  
  646. local longer = false
  647. mouse.KeyDown:connect(function(key)
  648. if key == "3" then
  649. longer = true
  650. while longer do
  651. leight = leight - 1
  652. wait(.05)
  653. end
  654. end
  655. end)
  656. mouse.KeyUp:connect(function(key)
  657. if key == "3" then
  658. longer = false
  659. end
  660. end)
  661. local shorter = false
  662. mouse.KeyDown:connect(function(key)
  663. if key == "4" then
  664. shorter = true
  665. while shorter do
  666. leight = leight + 1
  667. wait(.05)
  668. end
  669. end
  670. end)
  671.  
  672. mouse.KeyUp:connect(function(key)
  673. if key == "4" then
  674. shorter = false
  675. end
  676. end)
  677.  
  678. local faces = {"664468442","1383895045","1020425377","1109754791","346001252","313600113","285529008","897324096","236095855"}
  679. mouse.KeyDown:connect(function(key)
  680. if key == "b" and not using then
  681. if countvalue <=5 then
  682.  
  683. elseif countvalue >= 6 then
  684. local tposers = Instance.new("Model",duds) tposers.Name = "Dud"
  685. countvalue = countvalue - 6
  686. countg.Text = "Trash count: "..countvalue
  687. for i = 1,6 do
  688. trash["ure mine"]:Destroy()
  689. end
  690. local ch = Instance.new("Part",tposers) ch.Name = "Head" ch.Material = "SmoothPlastic" ch.Size = Vector3.new(1,.5,.5) ch.BrickColor = BrickColor.Random() ch.CFrame = rut.CFrame * CFrame.new(0,4,0)
  691. local chf = Instance.new("Decal",ch) chf.Texture = "rbxassetid://"..faces[math.random(1,9)]
  692. local chm = Instance.new("SpecialMesh",ch) chm.Scale = Vector3.new(1.25,1.25,1.25)
  693. local ct = Instance.new("Part",tposers) ct.Name = "Torso" ct.Anchored = true ct.Size = Vector3.new(1,1,.5) ct.Material = "SmoothPlastic" ct.BrickColor = BrickColor.Random() ct.CFrame = rut.CFrame * CFrame.new(0,3.3,0)
  694. local chw = Instance.new("WeldConstraint",ct) chw.Part0 = ch chw.Part1 = ct
  695. local cra = Instance.new("Part",tposers) cra.Name = "Right Arm" cra.Size = Vector3.new(.5,1,.5) cra.BrickColor = ch.BrickColor cra.Material = "SmoothPlastic" cra.CFrame = ct.CFrame * CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  696. local craw = Instance.new("WeldConstraint",ct) craw.Part0 = cra craw.Part1 = ct
  697. local cla = Instance.new("Part",tposers) cla.Name = "Left Arm" cla.Size = Vector3.new(.5,1,.5) cla.BrickColor = ch.BrickColor cla.Material = "SmoothPlastic" cla.CFrame = ct.CFrame * CFrame.new(-1,.25,0) * CFrame.Angles(rad(0),rad(0),rad(-90))
  698. local claw = Instance.new("WeldConstraint",ct) claw.Part0 = cla claw.Part1 = ct
  699. local crl = Instance.new("Part",tposers) crl.Name = "Right Leg" crl.Size = Vector3.new(.5,1,.5) crl.Material = "SmoothPlastic" crl.BrickColor = BrickColor.Random() crl.CFrame = ct.CFrame * CFrame.new(.75,-1,0)
  700. local crlw = Instance.new("WeldConstraint",ct) crlw.Part0 = crl crlw.Part1 = ct
  701. local cll = Instance.new("Part",tposers) cll.Name = "Left Leg" cll.Size = Vector3.new(.5,1,.5) cll.Material = "SmoothPlastic" cll.BrickColor = crl.BrickColor cll.CFrame = ct.CFrame * CFrame.new(-.75,-1,0)
  702. local cllw = Instance.new("WeldConstraint",ct) cllw.Part0 = cll cllw.Part1 = ct
  703. if chf.Texture == "rbxassetid://236095855" then
  704. local dam = false
  705. function damag(hit)
  706. if hit ~= nil then
  707. local hem = hit.Parent:FindFirstChildOfClass("Humanoid")
  708. if hem ~= nil then
  709. if not dam then
  710. dam = true
  711. hem.MaxHealth = 100
  712. hem.Health = hem.Health - 15
  713. wait(1)
  714. dam = false
  715. end
  716. end
  717. end
  718. end
  719. tposers.Parent = dios
  720. local chum = Instance.new("Humanoid",tposers) chum.AutoJumpEnabled = true chum.MaxHealth = 2e9 chum.Health = 2e9 tposers.Name = "Dio"
  721. local shirt = Instance.new("Shirt",tposers) shirt.ShirtTemplate = "rbxassetid://517329482"
  722. local pants = Instance.new("Pants",tposers) pants.PantsTemplate = "rbxassetid://549915531"
  723. ch.BrickColor = BrickColor.new("Pastel brown") ct.BrickColor = BrickColor.new("Pastel brown") cra.BrickColor = ch.BrickColor cla.BrickColor = ch.BrickColor crl.BrickColor = BrickColor.new("Pastel brown") cll.BrickColor = crl.BrickColor
  724. local hair = Instance.new("Part",tposers) hair.CanCollide = false hair.Size = Vector3.new(1.67, 2.38, 1.7) hair.BrickColor = BrickColor.new("New Yeller")
  725. local hairm = Instance.new("SpecialMesh",hair) hairm.MeshType = "FileMesh" hairm.MeshId = "rbxassetid://453834310" hairm.TextureId = "" hairm.Scale = Vector3.new(.0004,.0004,.0004) hairm.Offset = Vector3.new(-.05,0,-.2)
  726. local hairw = Instance.new("Weld",hair) hairw.Part0 = ch hairw.Part1 = hair hairw.C0 = hairw.C0 * CFrame.Angles(rad(0),rad(180),rad(0))
  727. local gti = Instance.new("Part",tposers) gti.CanCollide = false gti.Size = Vector3.new(1, 1.45, 1) gti.BrickColor = BrickColor.new("Forest green")
  728. local gtim = Instance.new("SpecialMesh",gti) gtim.MeshType = "FileMesh" gtim.MeshId = "http://www.roblox.com/asset/?id=3270017" gtim.Scale = Vector3.new(.6,.6,.6)
  729. local gtiw = Instance.new("Weld",gti) gtiw.Part0 = ch gtiw.Part1 = gti gtiw.C0 = gtiw.C0 * CFrame.Angles(rad(90),rad(0),rad(0)) * CFrame.new(0,0,-.25)
  730. local jumpp = Instance.new("Part",tposers) jumpp.Size = Vector3.new(1,2,.5) jumpp.CanCollide = false jumpp.Transparency = 1
  731. local jumw = Instance.new("Weld",jumpp) jumw.Part0 = ct jumw.Part1 = jumpp jumw.C0 = jumw.C0 * CFrame.new(0,0,-.25)
  732. local dmg = Instance.new("Part",tposers) dmg.Size = Vector3.new(1,2,.5) dmg.CanCollide = false dmg.Transparency = 1
  733. local dmgw = Instance.new("Weld",jumpp) dmgw.Part0 = ct dmgw.Part1 = dmg dmgw.C0 = dmgw.C0 * CFrame.new(0,0,-.25)
  734. chum.HealthChanged:connect(function()
  735. chum.MaxHealth = 2e9 chum.Health = 2e9
  736. end)
  737. chum.Running:connect(function()
  738. jumpp.Touched:connect(function(hit)
  739. chum.Jump = true
  740. end)
  741. end)
  742. dmg.Touched:connect(damag)
  743. end
  744. for i = 1,5 do
  745. ct.CFrame = ct.CFrame * CFrame.new(0,1.5,0)
  746. ch.CFrame = ch.CFrame * CFrame.new(0,1.5,0)
  747. cra.CFrame = cra.CFrame * CFrame.new(1.5,0,0)
  748. cla.CFrame = cla.CFrame * CFrame.new(-1.5,0,0)
  749. crl.CFrame = crl.CFrame * CFrame.new(0,1.5,0)
  750. cll.CFrame = cll.CFrame * CFrame.new(0,1.5,0)
  751. wait()
  752. end
  753. ct.Anchored = false
  754. end
  755. end
  756. end)
  757.  
  758. mouse.KeyDown:connect(function(key)
  759. key = key:lower()
  760. if key == "y" and not dancing then
  761. if not using then
  762. grab = false
  763. using1 = false
  764. unanchor = true
  765. using = true
  766. grab = true
  767. can.CanCollide = false
  768. local anima = Instance.new("Animator",hum)
  769. char.Animate.Disabled = false
  770. for i = 1,5 do
  771. nec.C0 = nec.C0 * CFrame.new(0,0,.3) rutj.C0 = rutj.C0 * CFrame.new(0,0,.3)
  772. rs.C0 = rs.C0 * CFrame.new(0,0,.2) ls.C0 = ls.C0 * CFrame.new(0,0,.2)
  773. rh.C0 = rh.C0 * CFrame.new(0,-.4,0) lh.C0 = lh.C0 * CFrame.new(0,-.4,0)
  774. canw.C0 = canw.C0 * CFrame.new(0,1,0)
  775. can.Transparency = can.Transparency +.2 void.Transparency = void.Transparency +.2
  776. grab = false
  777. wait()
  778. end
  779. putispupu.Volume = 0 local spray = false
  780. else
  781. using1 = true
  782. hum.Animator:Destroy()
  783. putispupu.Volume = .7
  784. char.Animate.Disabled = true
  785. for i = 1,5 do
  786. nec.C0 = nec.C0 * CFrame.new(0,0,-.3) rutj.C0 = rutj.C0 * CFrame.new(0,0,-.3)
  787. rs.C0 = rs.C0 * CFrame.new(0,0,-.2) ls.C0 = ls.C0 * CFrame.new(0,0,-.2)
  788. rh.C0 = rh.C0 * CFrame.new(0,.4,0) lh.C0 = lh.C0 * CFrame.new(0,.4,0)
  789. canw.C0 = canw.C0 * CFrame.new(0,-1,0)
  790. can.Transparency = can.Transparency -.2 void.Transparency = void.Transparency -.2
  791. grab = false
  792. wait()
  793. end
  794. rs.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,.5,0) ls.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,.5,0)
  795. rh.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,1,1) lh.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,1,1)
  796. canw.C0 = CFrame.new(0,1.2,0)
  797. can.Transparency = 0 can.CanCollide = true local spray = true
  798. using = false
  799. grab = false
  800. unanchor = false
  801. end
  802. end
  803. end)
  804.  
  805. local run = false
  806. mouse.KeyDown:connect(function(key)
  807. if key == "u" then
  808. run = true
  809. while run do
  810. for i,v in pairs(workspace[char.Name.." Dios"]:GetChildren()) do
  811. if v.Name == "Dio" then
  812. v.Humanoid.WalkToPoint = mouse.Hit.p
  813. end
  814. end
  815. wait(.1)
  816. end
  817. end
  818. end)
  819. mouse.KeyUp:connect(function(key)
  820. if key == "u" then
  821. run = false
  822. end
  823. end)
  824.  
  825. mouse.KeyDown:connect(function(key)
  826. if key == "k" then
  827. local tar = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  828. if tar ~= nil then
  829. for i,v in pairs(workspace[char.Name.." Dios"]:GetChildren()) do
  830. if v.Name == "Dio" then
  831. v.Humanoid.WalkToPoint = tar.Parent.Head.Position
  832. end
  833. end
  834. end
  835. end
  836. end)
  837.  
  838. local flur = Instance.new("Part",char) flur.Transparency = 1 flur.Anchored = true flur.Position = Vector3.new(3000,2750,3000) flur.Size = Vector3.new(500,1,500) flur.Material = "WoodPlanks" flur.BrickColor = BrickColor.new("Rust")
  839. local ruf = Instance.new("Part",char) ruf.Transparency = 1 ruf.Anchored = true ruf.Position = Vector3.new(3000,3250,3000) ruf.Size = Vector3.new(500,1,500) ruf.Material = "Metal" ruf.BrickColor = BrickColor.new("Ghosty grey")
  840. local tp = Instance.new("Part",char) tp.Size = rut.Size tp.Anchored = true tp.CanCollide = false tp.Transparency = 1
  841.  
  842. local stro = false
  843. mouse.KeyDown:connect(function(key)
  844. key = key:lower()
  845. if key == "m" and not using then
  846. if not stro then
  847. stro = true
  848. tp.CFrame = rut.CFrame
  849. flur1.Transparency = 0 flur1.Parent = workspace
  850. flur.Transparency = 1 ruf.Transparency = 0 wal1.Transparency = 0 wal2.Transparency = 0 wal3.Transparency = 0 wal4.Transparency = 0
  851. hum.WalkSpeed = 50 hum.JumpPower = 80
  852. for i,v in pairs(trash:GetChildren()) do
  853. if v.Name == "ure mine" then
  854. v.Transparency = 0
  855. v.Anchored = false
  856. end
  857. end
  858. rut.Anchored = true
  859. local trig = Instance.new("Sound",char) trig.Volume = 5 trig.SoundId = "rbxassetid://572840337" trig:Play()
  860. for i = 1,5 do
  861. rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.2)
  862. can.CFrame = can.CFrame * CFrame.new(0,-1.2,0)
  863. wait()
  864. end
  865. rut.CFrame = flur.CFrame * CFrame.new(200,2,0)
  866. wait(.2)
  867. for i = 1,5 do
  868. rutj.C0 = rutj.C0 * CFrame.new(0,0,1.2)
  869. can.CFrame = can.CFrame * CFrame.new(0,1.2,0)
  870. wait()
  871. end
  872. trig:Destroy()
  873. rut.Anchored = false
  874. else
  875. stro = false
  876. rut.Anchored = true
  877. local trig = Instance.new("Sound",char) trig.Volume = 5 trig.SoundId = "rbxassetid://572840337" trig:Play()
  878. for i = 1,5 do
  879. rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.2)
  880. can.CFrame = can.CFrame * CFrame.new(0,-1.2,0)
  881. wait()
  882. end
  883. rut.CFrame = tp.CFrame
  884. wait(.2)
  885. for i = 1,5 do
  886. rutj.C0 = rutj.C0 * CFrame.new(0,0,1.2)
  887. can.CFrame = can.CFrame * CFrame.new(0,1.2,0)
  888. wait()
  889. end
  890. trig:Destroy()
  891. rut.Anchored = false
  892. flur1.Transparency = 1 flur1.Parent = char
  893. rut.CFrame = tp.CFrame
  894. flur.Transparency = 1 ruf.Transparency = 1 wal1.Transparency = 1 wal2.Transparency = 1 wal3.Transparency = 1 wal4.Transparency = 1
  895. hum.WalkSpeed = 16 hum.JumpPower = 50
  896. for i,v in pairs(trash:GetChildren()) do
  897. if v.Name == "ure mine" then
  898. v.Transparency = 1
  899. v.Anchored = true
  900. end
  901. end
  902. end
  903. end
  904. end)
  905.  
  906. mouse.KeyDown:connect(function(key)
  907. if key == "n" then
  908. for i,v in pairs(workspace[char.Name.." Duds"]:GetChildren()) do
  909. if v.Name == "Dud" then
  910. v:Destroy()
  911. end
  912. end
  913. end
  914. end)
  915.  
  916. mouse.KeyDown:connect(function(key)
  917. if key == "p" then
  918. local duds = Instance.new("Model",workspace) duds.Name = char.Name.." Duds"
  919. local dios = Instance.new("Model",workspace) dios.Name = char.Name.." Dios"
  920. end
  921. end)
  922.  
  923. mouse.KeyDown:connect(function(key)
  924. if key == "t" and not using1 and not dancing then
  925. using1 = true
  926. local yoo = Instance.new("Sound",char) yoo.Volume = 3 yoo.SoundId = "rbxassetid://1028415736" yoo:Play()
  927. for i = 0,1,.1 do
  928. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-70),rad(0),rad(180)),i)
  929. rs.C0 = rs.C0:lerp(CFrame.new(1,.7,0) * CFrame.Angles(rad(0),rad(0),rad(145)) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(180),rad(0)),i)
  930. ls.C0 = ls.C0:lerp(CFrame.new(-1,.7,0) * CFrame.Angles(rad(0),rad(0),rad(-145)) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-180),rad(00)),i)
  931. swait()
  932. end
  933. wait(.5)
  934. for i = 0,1,.1 do
  935. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  936. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  937. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  938. swait()
  939. end
  940. using1 = false
  941. end
  942. end)
  943.  
  944. local damagg = false
  945. local names = {"ded","n0 u","stop","hes ded","n00b","EEEE","GET REKT LMAO","n00b_death.mp4","OOF.mp3","cucumber","hairy legs EW"}
  946. mouse.KeyDown:connect(function(key)
  947. if key == "e" then
  948. if not using1 and not dancing then
  949. function punch1()
  950. using1 = true
  951. function e(hit)
  952. local him = hit.Parent:FindFirstChildOfClass("Humanoid")
  953. if him ~= nil then
  954. if not damagg then
  955. local time_until_getup = nil
  956. damagg = true
  957. local vel = Instance.new("BodyVelocity",hit) vel.Velocity = rut.CFrame.lookVector *10
  958. him.MaxHealth = 100
  959. him.Health = him.Health -0 him.PlatformStand = true
  960. local dam = math.random(3,10)
  961. him.DisplayDistanceType = "Viewer"
  962. local punch = Instance.new("Sound",hit) punch.Volume = 1.3 punch.SoundId = "rbxassetid://131237241" punch:Play()
  963. local dmgm = Instance.new("Model",char) dmgm.Name = dam
  964. local damm = {dam,dam,dam,dam,math.random(17,47),16}
  965. local dmgc = Instance.new("Part",dmgm) dmgc.Name = "Head" dmgc.Size = Vector3.new(.2,.2,.2) dmgc.Anchored = true dmgc.CanCollide = false dmgc.Transparency = .99
  966. local hem = Instance.new("Humanoid",dmgm) dmgc.Position = hit.Position
  967. dam =damm[math.random(1,6)]
  968. him:TakeDamage(dam)
  969. dmgm.Name = "-"..dam
  970. him.Died:connect(function()
  971. blood(hit)
  972. dmgm.Name = names[math.random(1,11)]
  973. end)
  974. if dam >= 17 then
  975. local pow = Instance.new("Sound",char) pow.SoundId = "rbxassetid://679798995" pow.Volume = 5 pow:Play()
  976. punch.Volume = 5 punch.Pitch = .8
  977. vel.Velocity = rut.CFrame.lookVector *30
  978. time_until_getup = math.random(1,4)
  979. dmgm.Name = "CRIT -"..dam.." STUNNED FOR "..time_until_getup.." SECONDS"
  980. coroutine.resume(coroutine.create(function(part)
  981. for i = 1,5 do
  982. blood(hit)
  983. wait(.3)
  984. end
  985. end))
  986. end
  987. if dam == 16 then
  988. local bleedtime = math.random(6,12)
  989. dmgm.Name = "-"..dam.." + Bleeding for "..bleedtime.." Seconds"
  990. coroutine.resume(coroutine.create(function(part)
  991. for i = 1,bleedtime do
  992. blood(hit)
  993. him:TakeDamage(math.random(1,2))
  994. wait(.5)
  995. blood(hit)
  996. him:TakeDamage(math.random(1,2))
  997. wait(.5)
  998. end
  999. end))
  1000. end
  1001. if him.MaxHealth >= 100.1 then
  1002. him.Parent:BreakJoints()
  1003. end
  1004. if him.Health <= .01 then
  1005. dmgm.Name = names[math.random(1,11)]
  1006. end
  1007. for i = 1,5 do
  1008. dmgc.CFrame = dmgc.CFrame * CFrame.new(0,.2,0)
  1009. wait()
  1010. end
  1011. vel:Destroy()
  1012. wait(.2)
  1013. punch:Destroy()
  1014. dmgm:Destroy()
  1015. damagg = false
  1016. wait(time_until_getup)
  1017. him.PlatformStand = false
  1018. end
  1019. end
  1020. end
  1021. local hitbox = Instance.new("Part",ra) hitbox.Size = Vector3.new(1,1,1) hitbox.CanCollide = false hitbox.Transparency = 1
  1022. local hw = Instance.new("Weld",hitbox) hw.Part0 = ra hw.Part1 = hitbox hw.C0 = CFrame.new(0,-.5,0)
  1023. hitbox.Touched:connect(e)
  1024. for i = 0,1,.1 do
  1025. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(130)),i)
  1026. rs.C0 = rs.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(rad(0),rad(90),rad(130)),i)
  1027. ls.C0 = ls.C0:lerp(CFrame.new(-1,0,.1) * CFrame.Angles(rad(0),rad(-90),rad(-130)),i)
  1028. swait()
  1029. end
  1030. wait()
  1031. for i = 0,1,.15 do
  1032. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(280)),i)
  1033. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(-20),rad(90)),i)
  1034. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(130)),i)
  1035. swait()
  1036. end
  1037.  
  1038. for i = 0,1,.1 do
  1039. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1040. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1041. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1042. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1043. swait()
  1044. end
  1045. hitbox:Destroy()
  1046. using1 = false
  1047. end
  1048. function punch2()
  1049. using1 = true
  1050. function e(hit)
  1051. local him = hit.Parent:FindFirstChildOfClass("Humanoid")
  1052. if him ~= nil then
  1053. if not damagg then
  1054. local time_until_getup = nil
  1055. damagg = true
  1056. local vel = Instance.new("BodyVelocity",hit) vel.Velocity = rut.CFrame.lookVector *10
  1057. him.MaxHealth = 100
  1058. him.Health = him.Health -0 him.PlatformStand = true
  1059. local dam = math.random(3,10)
  1060. him.DisplayDistanceType = "Viewer"
  1061. local punch = Instance.new("Sound",hit) punch.Volume = 1.3 punch.SoundId = "rbxassetid://131237241" punch:Play()
  1062. local dmgm = Instance.new("Model",char) dmgm.Name = dam
  1063. local damm = {dam,dam,dam,dam,math.random(17,47),16}
  1064. local dmgc = Instance.new("Part",dmgm) dmgc.Name = "Head" dmgc.Size = Vector3.new(.2,.2,.2) dmgc.Anchored = true dmgc.CanCollide = false dmgc.Transparency = .99
  1065. local hem = Instance.new("Humanoid",dmgm) dmgc.Position = hit.Position
  1066. dam =damm[math.random(1,6)]
  1067. him:TakeDamage(dam)
  1068. dmgm.Name = "-"..dam
  1069. him.Died:connect(function()
  1070. blood(hit)
  1071. dmgm.Name = names[math.random(1,11)]
  1072. end)
  1073. if dam >= 17 then
  1074. local pow = Instance.new("Sound",char) pow.SoundId = "rbxassetid://679798995" pow.Volume = 5 pow:Play()
  1075. punch.Volume = 5 punch.Pitch = .8
  1076. vel.Velocity = rut.CFrame.lookVector *30
  1077. time_until_getup = math.random(1,4)
  1078. dmgm.Name = "CRIT -"..dam.." STUNNED FOR "..time_until_getup.." SECONDS"
  1079. coroutine.resume(coroutine.create(function(part)
  1080. for i = 1,5 do
  1081. blood(hit)
  1082. end
  1083. end))
  1084. end
  1085. if dam == 16 then
  1086. local bleedtime = math.random(6,12)
  1087. dmgm.Name = "-"..dam.." + Bleeding for "..bleedtime.." Seconds"
  1088. coroutine.resume(coroutine.create(function(part)
  1089. for i = 1,bleedtime do
  1090. blood(hit)
  1091. him:TakeDamage(math.random(1,2))
  1092. wait(.5)
  1093. blood(hit)
  1094. him:TakeDamage(math.random(1,2))
  1095. wait(.5)
  1096. end
  1097. end))
  1098. end
  1099. if him.MaxHealth >= 100.1 then
  1100. him.Parent:BreakJoints()
  1101. end
  1102. if him.Health <= .01 then
  1103. dmgm.Name = names[math.random(1,11)]
  1104. end
  1105. for i = 1,5 do
  1106. dmgc.CFrame = dmgc.CFrame * CFrame.new(0,.2,0)
  1107. wait()
  1108. end
  1109. vel:Destroy()
  1110. wait(.2)
  1111. punch:Destroy()
  1112. dmgm:Destroy()
  1113. damagg = false
  1114. wait(time_until_getup)
  1115. him.PlatformStand = false
  1116. end
  1117. end
  1118. end
  1119. local hitbox = Instance.new("Part",la) hitbox.Size = Vector3.new(1,1,1) hitbox.CanCollide = false hitbox.Transparency = 1
  1120. local hw = Instance.new("Weld",hitbox) hw.Part0 = la hw.Part1 = hitbox hw.C0 = CFrame.new(0,-.5,0)
  1121. hitbox.Touched:connect(e)
  1122. for i = 0,1,.1 do
  1123. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(230)),i)
  1124. rs.C0 = rs.C0:lerp(CFrame.new(1,0,.1) * CFrame.Angles(rad(0),rad(90),rad(130)),i)
  1125. ls.C0 = ls.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(rad(0),rad(-90),rad(-130)),i)
  1126. swait()
  1127. end
  1128. wait()
  1129. for i = 0,1,.15 do
  1130. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(-280)),i)
  1131. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-20),rad(-90)),i)
  1132. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(-130)),i)
  1133. swait()
  1134. end
  1135.  
  1136. for i = 0,1,.1 do
  1137. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1138. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1139. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1140. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1141. swait()
  1142. end
  1143. hitbox:Destroy()
  1144. using1 = false
  1145. end
  1146. function punch3()
  1147. using1 = true
  1148. function e(hit)
  1149. local him = hit.Parent:FindFirstChildOfClass("Humanoid")
  1150. if him ~= nil then
  1151. if not damagg then
  1152. local time_until_getup = nil
  1153. damagg = true
  1154. local vel = Instance.new("BodyVelocity",hit) vel.Velocity = rl.CFrame.lookVector *15
  1155. him.MaxHealth = 100
  1156. him.Health = him.Health -0 him.PlatformStand = true
  1157. local dam = math.random(5,15)
  1158. him.DisplayDistanceType = "Viewer"
  1159. local punch = Instance.new("Sound",hit) punch.Volume = 1.3 punch.SoundId = "rbxassetid://131237241" punch:Play()
  1160. local dmgm = Instance.new("Model",char) dmgm.Name = dam
  1161. local damm = {dam,dam,dam,dam,math.random(25,60),16}
  1162. local dmgc = Instance.new("Part",dmgm) dmgc.Name = "Head" dmgc.Size = Vector3.new(.2,.2,.2) dmgc.Anchored = true dmgc.CanCollide = false dmgc.Transparency = .99
  1163. local hem = Instance.new("Humanoid",dmgm) dmgc.Position = hit.Position
  1164. dam = damm[math.random(1,6)]
  1165. him:TakeDamage(dam)
  1166. dmgm.Name = "-"..dam
  1167. him.Died:connect(function()
  1168. blood(hit)
  1169. dmgm.Name = names[math.random(1,11)]
  1170. end)
  1171. if dam >= 20 then
  1172. local pow = Instance.new("Sound",char) pow.SoundId = "rbxassetid://679798995" pow.Volume = 5 pow:Play()
  1173. punch.Volume = 5 punch.Pitch = .8
  1174. vel.Velocity = rl.CFrame.lookVector *50
  1175. time_until_getup = math.random(2,7)
  1176. dmgm.Name = "CRIT -"..dam.." STUNNED FOR "..time_until_getup.." SECONDS"
  1177. coroutine.resume(coroutine.create(function(part)
  1178. for i = 1,5 do
  1179. blood(hit)
  1180. wait(.3)
  1181. end
  1182. end))
  1183. end
  1184. if dam == 16 then
  1185. local bleedtime = math.random(6,12)
  1186. dmgm.Name = "-"..dam.." + Bleeding for "..bleedtime.." Seconds"
  1187. coroutine.resume(coroutine.create(function(part)
  1188. for i = 1,bleedtime do
  1189. blood(hit)
  1190. him:TakeDamage(math.random(1,2))
  1191. wait(.5)
  1192. blood(hit)
  1193. him:TakeDamage(math.random(1,2))
  1194. wait(.5)
  1195. end
  1196. end))
  1197. end
  1198. if him.MaxHealth >= 100.1 then
  1199. him.Parent:BreakJoints()
  1200. end
  1201. if him.Health <= .01 then
  1202. dmgm.Name = names[math.random(1,11)]
  1203. end
  1204. for i = 1,5 do
  1205. dmgc.CFrame = dmgc.CFrame * CFrame.new(0,.2,0)
  1206. wait()
  1207. end
  1208. vel:Destroy()
  1209. wait(.6)
  1210. punch:Destroy()
  1211. dmgm:Destroy()
  1212. damagg = false
  1213. wait(time_until_getup)
  1214. him.PlatformStand = false
  1215. end
  1216. end
  1217. end
  1218. local hitbox = Instance.new("Part",ra) hitbox.Size = Vector3.new(1,1,1) hitbox.CanCollide = false hitbox.Transparency = 1
  1219. local hw = Instance.new("Weld",hitbox) hw.Part0 = rl hw.Part1 = hitbox hw.C0 = CFrame.new(0,-.5,0)
  1220. hitbox.Touched:connect(e)
  1221. for i = 0,1,.1 do
  1222. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(130)),i)
  1223. rs.C0 = rs.C0:lerp(CFrame.new(1,-.3,.2) * CFrame.Angles(rad(0),rad(90),rad(160)),i)
  1224. ls.C0 = ls.C0:lerp(CFrame.new(-1,-.3,.2) * CFrame.Angles(rad(0),rad(-90),rad(-160)),i)
  1225. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-20)) * CFrame.Angles(rad(-20),rad(0),rad(30)),i)
  1226. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(-130)),i)
  1227. swait()
  1228. end
  1229. wait()
  1230. for i = 0,1,.15 do
  1231. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(280)),i)
  1232. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(70)) * CFrame.Angles(rad(-40),rad(0),rad(30)),i)
  1233. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(130)),i)
  1234. swait()
  1235. end
  1236.  
  1237. for i = 0,1,.1 do
  1238. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1239. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1240. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1241. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1242. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1243. swait()
  1244. end
  1245. hitbox:Destroy()
  1246. using1 = false
  1247. end
  1248. local punch = math.random(1,3)
  1249. if punch == 1 then
  1250. punch1()
  1251. end
  1252. if punch == 2 then
  1253. punch2()
  1254. end
  1255. if punch == 3 then
  1256. punch3()
  1257. end
  1258. end
  1259. end
  1260. end)
  1261.  
  1262. local be = Instance.new("Sound",ra) be.SoundId = "rbxassetid://1146688617" be.Volume = 10 be.TimePosition = .1 be.Pitch = .03
  1263. local thing1 = Instance.new("Part",ra) thing1.Size = Vector3.new(.3,.3,.3) thing1.CanCollide = false thing1.Anchored = true thing1.Transparency = 1 thing1.CFrame = ra.CFrame * CFrame.new(0,-1,0)
  1264. local thing2 = Instance.new("Part",ra) thing2.Size = Vector3.new(.3,.3,.3) thing2.CanCollide = false thing2.Anchored = true thing2.Transparency = 1 thing2.CFrame = la.CFrame * CFrame.new(0,-1,0)
  1265. local eeeee = false
  1266. mouse.KeyDown:connect(function(key)
  1267. if key == "f" and not using1 and using then
  1268. using1 = true
  1269. be.TimePosition = .1
  1270. for i = 0,1,.2 do
  1271. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-100),rad(0),rad(180)),i)
  1272. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(100),rad(90),rad(0)),i)
  1273. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(100),rad(-90),rad(0)),i)
  1274. swait()
  1275. end
  1276. jwr.Part1 = rapr jwl.Part1 = lapl
  1277. eeeee = true
  1278. be:Play()
  1279. using1 = false
  1280. while eeeee do
  1281. beam(BrickColor.new("Really black"),200,0,rut.CFrame,5,.02,.02,.05,1,1,1)
  1282. effect(BrickColor.new("Really black"),15,0,thing1.CFrame,0,.01,.01,.01,.1,.1,.1)
  1283. effect(BrickColor.new("Really black"),15,0,thing2.CFrame,0,.01,.01,.01,.1,.1,.1)
  1284. thing1.CFrame = ra.CFrame * CFrame.new(0,-1,0)
  1285. thing2.CFrame = la.CFrame * CFrame.new(0,-1,0)
  1286. if be.TimePosition >= .5 then
  1287. be:Play()
  1288. be.TimePosition = .1
  1289. end
  1290. swait()
  1291. end
  1292. end
  1293. end)
  1294. mouse.KeyUp:connect(function(key)
  1295. if key == "f" and not using1 and using then
  1296. eeeee = false
  1297. be:Stop()
  1298. jwr.Part1 = nil jwl.Part1 = nil
  1299. using1 = true
  1300. for i = 0,1,.2 do
  1301. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1302. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1303. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1304. swait()
  1305. end
  1306. rs.C0 = CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.new(0,.5,1) ls.C0 = CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.new(0,.5,1)
  1307. rutj.C0 = CFrame.fromEulerAnglesXYZ(rad(-90),rad(0),rad(180))
  1308. using1 = false
  1309. end
  1310. end)
  1311.  
  1312. local gudsong = Instance.new("Sound",char) gudsong.Volume = 2 gudsong.Looped = true gudsong.SoundId = "rbxassetid://1569281181"
  1313. mouse.KeyDown:connect(function(key)
  1314. key = key:lower()
  1315. if key == "m" and not using1 and using then
  1316. if not dancing then
  1317. dancing = true
  1318. gudsong:Play()
  1319. char.Animate.Disabled = true
  1320. hum.Animator:Destroy()
  1321. for i = 1,9 do
  1322. for i = 0,1,.2 do
  1323. rutj.C0 = rutj.C0:lerp(rutj.C0 * CFrame.Angles(rad(0),rad(30),rad(0)),i)
  1324. rs.C0 = rs.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-90),rad(0),rad(0)),i)
  1325. ls.C0 = ls.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-90),rad(0),rad(0)),i)
  1326. nec.C0 = nec.C0:lerp(nec.C0 * CFrame.Angles(rad(0),rad(0),rad(30)),i)
  1327. swait()
  1328. end
  1329. wait(.5)
  1330. end
  1331. while dancing do
  1332. for i = 0,1,.4 do
  1333. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1334. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1335. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1336. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1337. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1338. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1339. swait()
  1340. end
  1341. swait()
  1342. a.Transparency = 0 h.face.Transparency = 1
  1343. if gudsong.TimePosition >= 9 then
  1344. gudsong.TimePosition = 6.2
  1345. end
  1346. for i = 0,1,.4 do
  1347. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.new(0,0,-1),i)
  1348. rs.C0 = rs.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-100),rad(0),rad(0)),i)
  1349. ls.C0 = ls.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-100),rad(0),rad(0)),i)
  1350. rh.C0 = rh.C0:lerp(CFrame.new(2,0,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1351. lh.C0 = lh.C0:lerp(CFrame.new(-2,0,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1352. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1353. swait()
  1354. end
  1355. swait()
  1356. end
  1357. else
  1358. gudsong:Stop()
  1359. dancing = false
  1360. a.Transparency = 1 h.face.Transparency = 0
  1361. wait(.2)
  1362. local anima = Instance.new("Animator",hum)
  1363. char.Animate.Disabled = false
  1364. for i = 0,1,.4 do
  1365. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1366. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1367. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1368. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1369. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1370. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1371. swait()
  1372. end
  1373. a.Transparency = 1 h.face.Transparency = 0
  1374. for i = 0,1,1 do
  1375. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1376. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1377. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1378. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1379. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1380. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1381. swait()
  1382. end
  1383. a.Transparency = 1 h.face.Transparency = 0
  1384. end
  1385. end
  1386. end)
  1387.  
  1388.  
  1389. while wait() do
  1390. hum.PlatformStand = false
  1391. if stro == true then
  1392. hum.WalkSpeed = 50 hum.JumpPower = 80
  1393. for _,q in pairs(trash:GetChildren()) do
  1394. if q.Name == "ure mine" then
  1395. q.Anchored = false q.Transparency = 0
  1396. end
  1397. end
  1398. end
  1399. end
Add Comment
Please, Sign In to add comment