WinslowMau

Untitled

Apr 24th, 2017
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.66 KB | None | 0 0
  1.  
  2. ply = game.Players.LocalPlayer
  3. char = ply.Character
  4. torso = char.Torso
  5. attacking = false
  6. track = false
  7. curcam = Workspace.CurrentCamera
  8. name = 'WinslowMau'
  9.  
  10. pcall(function() char:FindFirstChild("legetony"):Remove() char:FindFirstChild("Belt"):Remove() end)
  11. m = Instance.new("Model",char) m.Name = "legetony"
  12.  
  13. cfn,ang = CFrame.new,CFrame.Angles
  14. v3n = Vector3.new
  15.  
  16. rs = torso["Right Shoulder"]
  17. ls = torso["Left Shoulder"]
  18. rh = torso["Right Hip"]
  19. lh = torso["Right Hip"]
  20. neck = torso["Neck"]
  21. rw,lw = nil,nil
  22. rhw,lhw = nil,nil
  23. local orgc1 = rs.C1
  24.  
  25. rarm = char["Right Arm"]
  26. larm = char["Left Arm"]
  27. rleg = char["Right Leg"]
  28. lleg = char["Left Leg"]
  29.  
  30. normposr = cfn(1.5,.5,0)
  31. normposl = cfn(-1.5,.5,0)
  32. normposr2 = cfn(-.5,-1.5,0)
  33. normposl2 = cfn(.5,-1.5,0)
  34. normposn = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)
  35.  
  36. holdpos = normposr*ang(math.pi/2,0,0)
  37. holdpos2 = normposl*ang(math.pi/2,0,0)
  38.  
  39. lock = {["R"] =
  40. function(a)
  41. if a == 1 then
  42. rabrick = T.P(1,1,1,"White",1,false,false)
  43. rw = T.W(rabrick,torso,1.5,.5,0,0,0,0)
  44. T.W(rarm,rabrick,0,-.5,0,0,0,0)
  45. elseif a == 2 then
  46. rlbrick = T.P(1,1,1,"White",1,false,false)
  47. rhw = T.W(rlbrick,torso,-.5,-1.5,0,0,0,0)
  48. T.W(rleg,rlbrick,0,-.5,0,0,0,0)
  49. elseif a == 0 then
  50. rs.Parent = torso
  51. rw.Parent = nil
  52. rabrick:Destroy() rabrick = nil
  53. elseif a == -1 then
  54. rhw.Parent = nil
  55. rh.Parent = torso
  56. rlbrick:Destroy() rlbrick = nil
  57. end
  58. end
  59. , ["L"] = function(a)
  60. if a == 1 then
  61. labrick = T.P(1,1,1,"White",1,false,false)
  62. lw = T.W(labrick,torso,-1.5,.5,0,0,0,0)
  63. T.W(larm,labrick,0,-.5,0,0,0,0)
  64. elseif a == 2 then
  65. llbrick = T.P(1,1,1,"White",1,false,false)
  66. lhw = T.W(llbrick,torso,.5,-1.5,0,0,0,0)
  67. T.W(lleg,llbrick,0,-.5,0,0,0,0)
  68. elseif a == 0 then
  69. ls.Parent = torso
  70. lw.Parent = nil
  71. labrick:Destroy() labrick = nil
  72. elseif a == -1 then
  73. lhw.Parent = nil
  74. lh.Parent = torso
  75. llbrick:Destroy() llbrick = nil
  76. end
  77. end}
  78.  
  79. ------TOOOOOLS------
  80. T = {["P"] = function(x,y,z,color,transparency,cancollide,anchored,parent,typee)
  81. if typee ~= nil then
  82. c = Instance.new("WedgePart",m)
  83. else
  84. c = Instance.new("Part",m)
  85. end
  86. c.TopSurface,c.BottomSurface = 0,0
  87. c.formFactor = "Custom"
  88. c.Size = Vector3.new(x,y,z)
  89. if color ~= "random" then
  90. c.BrickColor = BrickColor.new(color)
  91. else c.BrickColor = BrickColor:random() end
  92. c.Transparency = transparency
  93. c.CanCollide = cancollide
  94. if anchored ~= nil then c.Anchored = anchored end
  95. if parent ~= nil then c.Parent = parent end
  96. return c
  97.  
  98. end
  99. ,
  100. ["C"] = function(func) coroutine.resume(coroutine.create(func)) end
  101. ,
  102. ["W"] = function(part0,part1,x,y,z,rx,ry,rz,parent)
  103. w = Instance.new("Motor",m)
  104. if parent ~= nil then w.Parent = parent end
  105. w.Part0,w.Part1 = part0,part1
  106. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  107. return w
  108. end
  109. ,
  110. ["BG"] = function(parent)
  111. local c = Instance.new("BodyGyro",parent)
  112. c.P = 20e+003
  113. c.cframe = parent.CFrame
  114. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  115. return c
  116. end
  117. ,
  118. ["BP"] = function(parent,position)
  119. local bp = Instance.new("BodyPosition",parent)
  120. bp.maxForce = Vector3.new()*math.huge
  121. bp.position = position
  122. return bp
  123. end
  124. ,
  125. ["F"] = function(parent,size,heat,color,secondcolor,enabled)
  126. f = Instance.new("Fire",parent)
  127. f.Size = size
  128. f.Heat = heat
  129. if enabled ~= nil then f.Enabled = enabled end
  130. if color ~= nil then f.Color = BrickColor.new(color).Color end
  131. if secondcolor ~= nil then f.SecondaryColor = BrickColor.new(secondcolor).Color end
  132. return f
  133. end
  134. ,
  135. ["FM"] = function(parent,meshid,x,y,z,meshtexture)
  136. if meshid == "cylinder" then
  137. mesh = Instance.new("CylinderMesh",parent)
  138. mesh.Scale = Vector3.new(x,y,z)
  139. return mesh
  140. else
  141. mesh = Instance.new("SpecialMesh",parent)
  142.  
  143. if meshid ~= "sphere" then
  144. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  145. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  146. end
  147.  
  148. else mesh.MeshType = 3 end
  149.  
  150. mesh.Scale = Vector3.new(x,y,z)
  151.  
  152. if meshtexture ~= nil then
  153. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  154. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  155.  
  156. end
  157.  
  158. return mesh
  159. end
  160. end
  161. ,
  162. ["Track"] = function(obj,s,t,lt,color,fade)
  163. coroutine.resume(coroutine.create(function()
  164. while track do
  165. old = obj.Position
  166. wait()
  167. new = obj.Position
  168.  
  169. mag = (old-new).magnitude
  170. dist = (old+new)/2
  171.  
  172. local ray = T.P(s,mag+.2,s,obj.Color,t,false,true)
  173. Instance.new("CylinderMesh",ray)
  174. ray.CFrame = CFrame.new(dist,old)*ang(math.pi/2,0,0)
  175. if fade ~= nil then
  176. delay(lt,function()
  177. for i = t,1,fade do wait() ray.Transparency = i end ray:Remove() end)
  178. else
  179. game:GetService("Debris"):AddItem(ray,lt)
  180. end
  181. if color ~= nil then ray.BrickColor = BrickColor.new(color) end
  182.  
  183. end
  184. end)) end
  185. }
  186. --------------------------------------------------
  187. ----------------DAMAGE FUNCTION--------------------
  188. function damage(hit,amount,show,del,poikkeus)
  189. for i,v in pairs(hit:GetChildren()) do
  190. if v:IsA("Humanoid") and v.Parent ~= char then
  191.  
  192. amo = 0
  193. function showa(p)
  194. if show == true then
  195. for i,o in pairs(p:GetChildren()) do
  196. if o:IsA("BillboardGui") and o.Name == "satuttava" then
  197. amo = amo+1
  198. end end
  199.  
  200.  
  201. local bbg = Instance.new("BillboardGui",p)
  202. bbg.Adornee = p.Torso
  203. bbg.Name = "satuttava"
  204. bbg.Size = UDim2.new(2,0,2,0)
  205. bbg.StudsOffset = Vector3.new(0,6+amo*2,0)
  206.  
  207. local box = Instance.new("TextLabel",bbg)
  208. box.Size = UDim2.new(1,0,1,0)
  209. box.BackgroundColor = BrickColor.new("White")
  210. box.Text = amount
  211. box.BackgroundTransparency = .5
  212. if amount == 0 then box.Text = "K.O" end
  213. box.Position = UDim2.new(0,0,0,0)
  214. box.TextScaled = true
  215. game:GetService("Debris"):AddItem(bbg,.5)
  216. end
  217. end
  218.  
  219. function dame(q)
  220. if poikkeus ~= nil then
  221. for _,u in pairs(poikkeus) do
  222. if q.Parent.Name ~= u then
  223. showa(q)
  224. if amount == 0 then q.Parent:BreakJoints() end
  225. q.Health = q.Health - amount
  226. end
  227. end
  228. elseif poikkeus == nil then
  229. if amount == 0 then q.Parent:BreakJoints() end
  230. q.Health = q.Health - amount
  231. showa(q)
  232. end
  233. end
  234.  
  235. if del ~= nil then
  236. local find = v.Parent:FindFirstChild("hitted")
  237. if find == nil then
  238. dame(v)
  239. val = Instance.new("BoolValue",v.Parent)val.Name="hitted"
  240. game:GetService("Debris"):AddItem(val,del)
  241. end
  242. elseif del == nil then
  243. dame(v)
  244.  
  245. end
  246.  
  247. end
  248. end
  249. end
  250. -----------------------------------------------------------------
  251.  
  252. ------MESHIDS---
  253. meshids = {["penguin"] = 15853464, ["ring"] = 3270017,
  254. ["spike"] = 1033714,["cone"] = 1082802,["crown"] = 20329976,["crossbow"] = 15886761,
  255. ["cloud"] = 1095708,["mjolnir"] = 1279013,["diamond"] = 9756362, ["hand"] = 37241605,
  256. ["fist"] = 65322375,["skull"] = 36869983,["totem"] = 35624068,["spikeb"] = 9982590,["dragon"] = 58430372,["fish"] = 31221717, ["coffee"] = 15929962,["spiral"] = 1051557,
  257. ["ramen"] = 19380188}---some meshids
  258. textureids = {["cone"] = 1082804,["rainbow"] = 28488599,["fish"] = 31221733, ["coffee"] = 24181455,["monster"] = 33366441,["ramen"] = 19380153}
  259. -----------------
  260.  
  261. ---MATH SHORTENINGS---
  262. M = {["R"] = function(a,b) return math.random(a,b) end,
  263. ["Cos"] = function(a) return math.cos(a) end,
  264. ["Sin"] = function(a) return math.sin(a) end,
  265. ["D"] = function(a) return math.rad(a) end
  266. }
  267.  
  268. for i,v in pairs(char:GetChildren()) do
  269. if v:IsA("Clothing") or v:IsA("Hat") then v:Remove()
  270. end end
  271.  
  272. col = char:FindFirstChild("Body Colors")
  273. if col == nil then col = Instance.new("BodyColors",char) end
  274. collist = {
  275. {'LeftLegColor',"Really black"},
  276. {'RightLegColor',"Really black"},
  277. {'TorsoColor',"Deep orange"},
  278. {'LeftArmColor',"Deep orange"},
  279. {'RightArmColor',"Deep orange"},
  280. }
  281. for i,v in pairs(collist) do
  282. col[v[1]] = BrickColor.new(v[2])
  283. end
  284.  
  285. bracs = Instance.new("Model",m)
  286. for i,v in pairs({rarm,larm}) do
  287. b1 = T.P(1.1,.3,1.1,'Brown',0,false,false,bracs)
  288. b1.Material = 'DiamondPlate' b1.Name = 'a'
  289. T.W(b1,v,0,-.5,0,0,0,0)
  290. p = T.P(.3,.4,.3,'Really blue',0,false,false,bracs) T.W(p,b1,0,0,.55,0,0,0)
  291. p = T.P(.3,.4,.3,'Really blue',0,false,false,bracs) T.W(p,b1,0,0,-.55,0,0,0)
  292. p = T.P(.3,.4,.3,'Really blue',0,false,false,bracs) T.W(p,b1,.55,0,0,0,math.pi/2,0)
  293. p = T.P(.3,.4,.3,'Really blue',0,false,false,bracs) T.W(p,b1,-.55,0,0,0,math.pi/2,0)
  294. for i,v in pairs(bracs:children()) do if v.Name ~= 'a' then v.Material = 'Ice' end end
  295. end
  296.  
  297. --------MAKING--------------------
  298. h1 = T.P(1.5,1.5,1.5,'Deep orange',0,false,false)
  299. T.FM(h1,'sphere',1,1,1)
  300. T.W(h1,char.Head,0,0,0,0,0,0)
  301.  
  302. e1 = T.P(.5,.5,.5,'White',0,false,false) T.FM(e1,'sphere',1,1,1)
  303. e2 = T.P(.5,.5,.5,'White',0,false,false) T.FM(e2,'sphere',1,1,1)
  304. e1w=T.W(e1,h1,.35,0,-.55,0,0,0) T.W(e2,h1,-.35,0,-.55,0,0,0)
  305.  
  306. dec = Instance.new("Decal")
  307. dec.Face = 'Front'
  308. dec.Texture = "http://www.roblox.com/asset/?id=61173164"
  309.  
  310. b2 = T.P(2.1,.5,1.1,'Really blue',0,false,false)
  311. T.W(b2,torso,0,-1,0,0,0,0)
  312.  
  313. char.Head.Transparency = 1
  314. -----------------------------------
  315.  
  316. function colorslide(obj,prop,scol,ecol,timme,override)
  317. if scol == 'cur' then scol3 = obj.BrickColor.Color else
  318. scol3 = BrickColor.new(scol).Color
  319. end
  320. ecol3 = BrickColor.new(ecol).Color
  321.  
  322. for i = 0,1,timme do
  323. wait()
  324. pos = v3n(scol3.r,scol3.g,scol3.b):Lerp(v3n(ecol3.r,ecol3.g,ecol3.b),i)
  325. obj[prop] = Color3.new(pos.x,pos.y,pos.z)
  326. end
  327.  
  328. end
  329.  
  330. function checkplayers(pos,radius,what)
  331. tab = {}
  332. for i,v in pairs(Workspace:GetChildren()) do
  333. if v:IsA("Model") and v ~= char then
  334. for _,q in pairs(v:GetChildren()) do
  335. if q:IsA("Humanoid") then
  336. if (q.Torso.Position-pos).magnitude <= radius then
  337. if what == 'char' then table.insert(tab,q.Parent)
  338. elseif what == 'humanoid' then table.insert(tab,q)
  339. end
  340. end end end end end
  341. return tab
  342. end
  343.  
  344. function rage()
  345. tyu = cfn(0,.2,-.5)
  346. lock.R(1) lock.L(1)
  347. neck.C0 = normposn
  348. for i = 0,140,10 do
  349. wait()
  350. rw.C1 = (normposr*tyu)*ang(M.D(i),0,M.D(i/(140/-50)))
  351. lw.C1 = (normposl*tyu)*ang(M.D(i),0,M.D(i/(140/50)))
  352. neck.C0 = normposn*ang(M.D(i/(140/30)),0,0)
  353. end
  354.  
  355. wait(1)
  356.  
  357. for i = 140,50,-20 do
  358. wait()
  359. rw.C1 = (normposr)*ang(M.D(-i),0,M.D(i))
  360. lw.C1 = (normposl)*ang(M.D(-i),0,M.D(-i))
  361. end
  362. neck.C0 = normposn*ang(M.D(-30),0,0)
  363.  
  364. fire = T.F(torso,30,30,'Bright red','Magenta')
  365.  
  366. ef = T.P(1,1,1,'Really red',0,false,false)
  367. ew = T.W(ef,torso,0,0,0,0,0,0,ef)
  368. msh = T.FM(ef,'sphere',1,1,1)
  369. for i = 0,20 do wait() ef.Transparency = i/20 msh.Scale = v3n(i,i,i)
  370. T.C(function()
  371. tabb = checkplayers(ef.Position,20,'char')
  372. if #tabb > 0 then
  373. for i,v in pairs(tabb) do damage(v,10,true,.2) end
  374. end
  375. end)
  376. end
  377. msh:Remove()
  378.  
  379. for i = 30,8,-1 do
  380. wait() fire.Size = i
  381. end
  382. colorslide(fire,'Color','Bright red','Deep blue',.05)
  383.  
  384. lock.R(0) lock.L(0) neck.C0 = normposn
  385.  
  386. end
  387.  
  388. hop = Instance.new("HopperBin",ply.Backpack)
  389. hop.Name = name
  390.  
  391. holdpos = normposr*ang(math.pi/2,0,0)
  392. port,port2,bol,boltime = nil,nil,false,1
  393.  
  394. function hide()
  395. if char.Parent ~= curcam then
  396. char.Parent = curcam
  397. hop.Name = name..'(h)'
  398. else char.Parent = Workspace
  399. hop.Name = name
  400. end
  401. end
  402.  
  403. function makeport1()
  404. if not port then --- Blue portal
  405. circle()
  406. port = Instance.new("Model",Workspace)
  407. port.Name = 'omakotikullankallis'
  408. ring = T.P(1,1,1,'Deep blue',0,false,true,port) T.FM(ring,'ring',4,4,1)
  409. ring.CFrame = torso.CFrame * cfn(0,0,-4)
  410. mir = T.P(3.5,.1,3.5,ring.BrickColor.Name,.5,false,true,port) T.FM(mir,'cylinder',1,1,1)
  411. mir.CFrame = ring.CFrame*ang(math.pi/2,0,0)
  412. mir.Touched:connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid")
  413. if hum ~= nil and hum.Parent == char and port2 and not bol then bol = true
  414. hit.Parent:MoveTo(mir2.Position) wait(boltime) bol = false
  415. end end) ---- On touch event for blue portal
  416.  
  417. elseif port then ring.CFrame = torso.CFrame * cfn(0,0,-4)
  418. mir.CFrame = ring.CFrame*ang(math.pi/2,0,0)
  419.  
  420. end
  421. end
  422.  
  423. function makeport2()
  424. if not port2 then
  425. circle()
  426. port2 = Instance.new("Model",Workspace)
  427. port2.Name = 'omakotikullankallis'
  428. ring2 = T.P(1,1,1,'Neon orange',0,false,true,port2) T.FM(ring2,'ring',4,4,1)
  429. ring2.CFrame = torso.CFrame * cfn(0,0,-4)
  430. mir2 = T.P(3.5,.1,3.5,ring2.BrickColor.Name,.5,false,true,port2) T.FM(mir2,'cylinder',1,1,1)
  431. mir2.CFrame = ring2.CFrame*ang(math.pi/2,0,0)
  432.  
  433. mir2.Touched:connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid")
  434. if hum ~= nil and hum.Parent == char and port and not bol then bol = true
  435. hit.Parent:MoveTo(mir.Position) wait(boltime) bol = false
  436. end end) ---- On touch event for orange portal
  437.  
  438. elseif port2 then ring2.CFrame = torso.CFrame * cfn(0,0,-4)
  439. mir2.CFrame = ring2.CFrame*ang(math.pi/2,0,0)
  440. end
  441. end
  442. holdpos2 = normposl*ang(math.pi/2,0,0)
  443. function punch()
  444. fires = {}
  445. lock.R(1) lock.L(1)
  446. for i,v in pairs(bracs:children()) do
  447. if v.Name ~= 'a' then table.insert(fires,T.F(v,.5,.5,'White','Black')) end
  448. end
  449. sticks = Instance.new("Model",m)
  450.  
  451. rr = .5
  452. for _,v in pairs({rarm,larm}) do
  453. for _,pos in pairs({ {0,-rr}, {0,rr}, {rr,0}, {-rr,0} }) do
  454. stick = T.P(.3,.3,2.5,'Really blue',.5,false,false,sticks)
  455. stick.Touched:connect(function(hit) damage(hit.Parent,10000,true,.05) end)
  456. T.W(stick,v,pos[1],-.6,pos[2],-math.pi/2,0,0)
  457. end end
  458. for i = 1,10 do
  459. rw.C1 = holdpos*cfn(0,.5,0)
  460. lw.C1 = (holdpos2*cfn(0,-.5,0))*ang(0,0,M.D(30))
  461. wait(.05)
  462. rw.C1 = (holdpos*cfn(0,-.5,0))*ang(0,0,M.D(-30))
  463. lw.C1 = holdpos2*cfn(0,.5,0)
  464. wait(.05)
  465. end
  466. sticks:Remove() for _,v in pairs(fires) do v:Remove() end
  467. lock.R(0) lock.L(0)
  468. end
  469.  
  470. Workspace.ChildRemoved:connect(function(child)
  471. if child == port then port = nil
  472. elseif child == port2 then port2 = nil
  473. end end)
  474.  
  475. function removeports()
  476. if port then port:Remove() port = nil end
  477. if port2 then port2:Remove() port2 = nil end
  478. for i,v in pairs(Workspace:GetChildren()) do if v.Name == 'omakotikullankallis' then v:Remove() end end
  479. end
  480.  
  481. function circle()
  482. r = .5
  483. lock.R(1)
  484. for i = 0,90,10 do wait() rw.C1 = normposr*ang(M.D(i),0,0) end
  485.  
  486. for i = 0,360,25 do
  487. wait()
  488. rw.C1 = holdpos*ang(M.Cos(M.D(-i))*r,0,M.Sin(M.D(-i))*r)
  489. end
  490.  
  491. for i = 90,0,-10 do wait() rw.C1 = normposr*ang(M.D(i),0,0) end
  492. lock.R(0)
  493.  
  494. end
  495. Workspace.ChildRemoved:connect(function(child) if child == port then port = nil elseif child == port2 then port2 = nil end end) --- Nill's portals if they dont exist
  496.  
  497. function bowl(mouse)
  498. colorslide(e1,'Color','cur','Really red',.05)
  499. dec.Parent = e1
  500. light = T.P(1,2,1,'Really red',.8,false,false)
  501. light.Touched:connect(function(hit) damage(hit.Parent,10000,false,1) end)
  502. T.FM(light,'spike',.5,2,.5)
  503. T.W(light,e1,0,0,-1,math.pi/2,0,0)
  504. holding = true
  505. posa = e1.Position
  506. while holding do
  507. wait()
  508.  
  509. lv = char.Head.CFrame.lookVector
  510. pos3 = ((posa-mouse.hit.p).unit):Cross(lv)
  511. e1w.C1 = cfn(.35,0,-.55)*ang(0,pos3.Y,0)
  512. end
  513. light:Remove()
  514. colorslide(e1,'Color','cur','White',.05) e1w.C1 = cfn(.35,0,-.55)
  515. dec.Parent = nil
  516. end
  517.  
  518. sitbp = nil
  519. function sit()
  520. if sitbp == nil then
  521. lock.R(2) lock.L(2)
  522. sitbp = T.BP(torso,torso.Position)
  523. for i = 1,90,5 do
  524. wait()
  525. rhw.C1 = normposr2*ang(M.D(i),0,M.D(i/(90/-30)))
  526. lhw.C1 = normposl2*ang(M.D(i),0,M.D(i/(90/30)))
  527. sitbp.position = torso.Position - v3n(0,i/(90),0)
  528. end
  529. elseif sitbp ~= nil then
  530. for i = 90,1,-5 do
  531. wait()
  532. rhw.C1 = normposr2*ang(M.D(i),0,M.D(i/(90/-30)))
  533. lhw.C1 = normposl2*ang(M.D(i),0,M.D(i/(90/30)))
  534. sitbp.position = torso.Position + v3n(0,i/(90),0)
  535. end
  536. lock.R(-1) lock.L(-1)
  537. sitbp:Remove() sitbp = nil
  538. end
  539. end
  540.  
  541. function freemyself()
  542. for i,v in pairs(char:GetChildren()) do
  543. for _,o in pairs(v:GetChildren()) do
  544. for _,q in pairs({'BodyPosition','BodyForce','BodyVelocity','BodyGyro'}) do
  545. if o:IsA(q) then o:Remove() end
  546. end
  547. if o:IsA("Part") then
  548. o.Anchored = false end
  549. end
  550. end
  551. sk = T.P(1,1,1,'New Yeller',0,false,false)
  552. T.W(sk,torso,0,0,0,0,0,0,sk)
  553. msh = T.FM(sk,'skull',3,3,3)
  554. for i = 0,1,.05 do wait() sk.Transparency = i end sk:Remove()
  555. end
  556.  
  557. function breake()
  558. welds = {}
  559. bps = {}
  560. possa = torso.Position
  561. for i,v in pairs(torso:children()) do
  562. if v:IsA("Motor6D") then table.insert(welds,v) v.Parent = nil
  563. end
  564. end
  565.  
  566. for _,v in pairs(char:children()) do
  567. if v:IsA("BasePart") then v.CanCollide = true end
  568. end
  569.  
  570. local hum = char.Humanoid
  571. hum.Parent = nil
  572.  
  573. holding = true
  574.  
  575. while holding do wait() end
  576.  
  577. for i,v in pairs(welds) do
  578. v.Parent = torso
  579. v.Part1 = v.Part1
  580. end
  581. hum.Parent = char
  582. end
  583.  
  584. klist = {
  585. {'f',function() rage() end},
  586. {'q',function() makeport1() end},
  587. {'e',function() makeport2() end},
  588. {'r',function() removeports() end},
  589. {'c',function(a) punch(a) end},
  590. {'x',function() sit() end},
  591. {'z',function() freemyself() end},
  592. {'v',function() hide() end},
  593. {'g',function() breake() end,''}
  594. }
  595.  
  596. hop.Deselected:connect(function() lock.R(0) lock.L(0) end)
  597. hop.Selected:connect(function(mouse)
  598. mouse.Button1Up:connect(function() holding = false end)
  599. mouse.KeyUp:connect(function(a) for i,v in pairs(klist) do if a == v[1] and v[3] ~= nil then holding = false end end end)
  600. mouse.KeyDown:connect(function(key) if attacking then return end
  601. for i,v in pairs(klist) do
  602. if key == v[1] then attacking = true v[2](mouse) attacking = false end
  603. end
  604. end)
  605.  
  606. mouse.Button1Down:connect(function() if attacking then return end attacking = true bowl(mouse) attacking = false end)
  607. end)
Add Comment
Please, Sign In to add comment