Advertisement
duplicat

Demoman"s Ullapool Caber

Mar 22nd, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.27 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7. --Converted with ttyyuu12345's model to script plugin v4
  8. function sandbox(var,func)
  9. local env = getfenv(func)
  10. local newenv = setmetatable({},{
  11. __index = function(self,k)
  12. if k=="script" then
  13. return var
  14. else
  15. return env[k]
  16. end
  17. end,
  18. })
  19. setfenv(func,newenv)
  20. return func
  21. end
  22. cors = {}
  23. mas = Instance.new("Model",game:GetService("Lighting"))
  24. Tool0 = Instance.new("Tool")
  25. Part1 = Instance.new("Part")
  26. CylinderMesh2 = Instance.new("CylinderMesh")
  27. Sound3 = Instance.new("Sound")
  28. Sound4 = Instance.new("Sound")
  29. Sound5 = Instance.new("Sound")
  30. Sound6 = Instance.new("Sound")
  31. Sound7 = Instance.new("Sound")
  32. StringValue8 = Instance.new("StringValue")
  33. Script9 = Instance.new("Script")
  34. StringValue10 = Instance.new("StringValue")
  35. Part11 = Instance.new("Part")
  36. CylinderMesh12 = Instance.new("CylinderMesh")
  37. StringValue13 = Instance.new("StringValue")
  38. Part14 = Instance.new("Part")
  39. CylinderMesh15 = Instance.new("CylinderMesh")
  40. StringValue16 = Instance.new("StringValue")
  41. Part17 = Instance.new("Part")
  42. CylinderMesh18 = Instance.new("CylinderMesh")
  43. StringValue19 = Instance.new("StringValue")
  44. Part20 = Instance.new("Part")
  45. CylinderMesh21 = Instance.new("CylinderMesh")
  46. StringValue22 = Instance.new("StringValue")
  47. Part23 = Instance.new("Part")
  48. CylinderMesh24 = Instance.new("CylinderMesh")
  49. BoolValue25 = Instance.new("BoolValue")
  50. Script26 = Instance.new("Script")
  51. Script27 = Instance.new("Script")
  52. Script28 = Instance.new("Script")
  53. ObjectValue29 = Instance.new("ObjectValue")
  54. ObjectValue30 = Instance.new("ObjectValue")
  55. LocalScript31 = Instance.new("LocalScript")
  56. StringValue32 = Instance.new("StringValue")
  57. Part33 = Instance.new("Part")
  58. CylinderMesh34 = Instance.new("CylinderMesh")
  59. StringValue35 = Instance.new("StringValue")
  60. Part36 = Instance.new("Part")
  61. CylinderMesh37 = Instance.new("CylinderMesh")
  62. StringValue38 = Instance.new("StringValue")
  63. Part39 = Instance.new("Part")
  64. CylinderMesh40 = Instance.new("CylinderMesh")
  65. StringValue41 = Instance.new("StringValue")
  66. Part42 = Instance.new("Part")
  67. CylinderMesh43 = Instance.new("CylinderMesh")
  68. StringValue44 = Instance.new("StringValue")
  69. Part45 = Instance.new("Part")
  70. CylinderMesh46 = Instance.new("CylinderMesh")
  71. Decal47 = Instance.new("Decal")
  72. StringValue48 = Instance.new("StringValue")
  73. Tool0.Name = "Boomstick"
  74. Tool0.Parent = mas
  75. Part1.Name = "Handle"
  76. Part1.Parent = Tool0
  77. Part1.BrickColor = BrickColor.new("Black")
  78. Part1.Reflectance = 0.125
  79. Part1.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  80. Part1.FormFactor = Enum.FormFactor.Symmetric
  81. Part1.Size = Vector3.new(1, 1, 1)
  82. Part1.CFrame = CFrame.new(668.600281, 270.915436, 123.640839, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  83. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  84. Part1.Position = Vector3.new(668.600281, 270.915436, 123.640839)
  85. Part1.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  86. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  87. CylinderMesh2.Parent = Part1
  88. CylinderMesh2.Scale = Vector3.new(0.349999994, 0.75, 0.349999994)
  89. CylinderMesh2.Scale = Vector3.new(0.349999994, 0.75, 0.349999994)
  90. Sound3.Name = "WindSound"
  91. Sound3.Parent = Part1
  92. Sound3.Pitch = 0
  93. Sound3.SoundId = "http://www.roblox.com/asset/?id=18435238"
  94. Sound3.Volume = 0
  95. Sound4.Name = "Swing"
  96. Sound4.Parent = Part1
  97. Sound4.Pitch = 1.0599999427795
  98. Sound4.SoundId = "http://roblox.com/asset/?id=10209645"
  99. Sound4.Volume = 1
  100. Sound5.Name = "Bonk2"
  101. Sound5.Parent = Part1
  102. Sound5.Pitch = 0.55000001192093
  103. Sound5.SoundId = "http://roblox.com/asset/?id=10209596"
  104. Sound5.PlayOnRemove = true
  105. Sound6.Name = "Kill"
  106. Sound6.Parent = Part1
  107. Sound6.Pitch = 0.69999998807907
  108. Sound6.SoundId = "http://www.roblox.com/asset/?id=2801263"
  109. Sound6.Volume = 0.75
  110. Sound7.Name = "Bonk"
  111. Sound7.Parent = Part1
  112. Sound7.Pitch = 0.9200000166893
  113. Sound7.SoundId = "http://www.roblox.com/asset/?id=24346281"
  114. Sound7.Volume = 1
  115. StringValue8.Name = "Te"
  116. StringValue8.Parent = Part1
  117. Script9.Parent = Tool0
  118. table.insert(cors,sandbox(Script9,function()
  119. wait()
  120. --turdulator
  121. --KA-BEWWWWWWWWMM
  122. --Explodes on contact with a surface while swinging.
  123.  
  124. --Causes extreme damage to anything around you.
  125. --Allowed to view/edit this: All close friends, Hackerstopper22, Fenrier, AccountMoniter (Need I remind him that he'd better not breach our agreements. Furthermore, JOYN UZ LOLOLOL. U must become kredit to team by being part of team!)
  126. --Anyone else reading this, go die.
  127.  
  128. --Oh, I almost forgot.00
  129.  
  130. --Note: When charging, added lol factor for the force of the blast.
  131.  
  132. --Side Note: This is the most I've ever written for such a simple little side tool.
  133.  
  134. --In case you were wondering, this is based off of a TF2 thing lolo.
  135.  
  136. --This script is also the weld script, as well as the main script.
  137. --I'm working on never using Local script ever again.
  138. --ever. Unless it's local/camera based, derp.
  139.  
  140. --MOARNOTE.....
  141. --Just kidding
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. --noteroll
  151.  
  152. GetShoulder=function()
  153. Char=Tool.Parent
  154. Torso=Char.Torso
  155. return Torso:FindFirstChild("Right Shoulder",nil)
  156. end
  157. GetGrip=function()
  158. Char=Tool.Parent
  159. Arm=Char["Right Arm"]
  160. return Arm:FindFirstChild("RightGrip",nil)
  161. end
  162.  
  163. Tool=script.Parent; --idk why I pootis the ';', is just old noob habit.
  164. Handle=Tool.Handle
  165. Handle2=Tool.Handle2
  166. Handle3=Tool.Handle3
  167. Handle4=Tool.Handle4
  168. Handle5=Tool.Handle5
  169. Handle6=Tool.Handle6
  170. Handle7=Tool.Handle7
  171. Handle8=Tool.Handle8
  172. Handle9=Tool.Handle9
  173. Handle10=Tool.Handle10
  174. Handle11=Tool.Handle11
  175. doWeld=function()
  176. for _,v in pairs(Handle:children()) do
  177. if v.className=="Weld" then
  178. v:Remove()
  179. end
  180. end
  181. w=Instance.new("Weld")
  182. w.Part0=Handle
  183. w.Part1=Handle2
  184. w.C0=CFrame.new(0,-.35,0)
  185. w.Parent=Handle
  186. w=Instance.new("Weld")
  187. w.Part0=Handle
  188. w.Part1=Handle3
  189. w.C0=CFrame.new(0,-.5,0)
  190. w.Parent=Handle
  191. w=Instance.new("Weld")
  192. w.Part0=Handle
  193. w.Part1=Handle4
  194. w.C0=CFrame.new(0,-.585,0)
  195. w.Parent=Handle
  196. w=Instance.new("Weld")
  197. w.Part0=Handle
  198. w.Part1=Handle5
  199. w.C0=CFrame.new(0,-.65,0)
  200. w.Parent=Handle
  201. w=Instance.new("Weld")
  202. w.Part0=Handle
  203. w.Part1=Handle6
  204. w.C0=CFrame.new(0,.8,0)
  205. w.Parent=Handle
  206. w=Instance.new("Weld")
  207. w.Part0=Handle
  208. w.Part1=Handle7
  209. w.C0=CFrame.new(0,.9,0)
  210. w.Parent=Handle
  211. w=Instance.new("Weld")
  212. w.Part0=Handle
  213. w.Part1=Handle8
  214. w.C0=CFrame.new(0,1.1325,0)
  215. w.Parent=Handle
  216. w=Instance.new("Weld")
  217. w.Part0=Handle
  218. w.Part1=Handle9
  219. w.C0=CFrame.new(0,1.175,0)
  220. w.Parent=Handle
  221. w=Instance.new("Weld")
  222. w.Part0=Handle
  223. w.Part1=Handle10
  224. w.C0=CFrame.new(0,1.235,0)
  225. w.Parent=Handle
  226. w=Instance.new("Weld")
  227. w.Part0=Handle
  228. w.Part1=Handle11
  229. w.C0=CFrame.new(0,1.6,0)
  230. w.Parent=Handle
  231. end
  232. Tool.AncestryChanged:connect(doWeld)
  233. wait(.25)
  234. pos=1
  235. doRoll=true
  236. chance=0
  237. mdmg=0
  238. charge=100
  239. sound=nil
  240. Tool=script.Parent
  241. ArmOri=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  242. NormSlash=function()
  243. Shoulder=GetShoulder()
  244. Grip=GetGrip()
  245. if Shoulder==nil or Grip==nil then
  246. error("Could not find appropriate limbs.")
  247. return
  248. end
  249. Tool.Handle.Swing.Pitch=math.random(100,110)/100
  250. for i=1, 4 do
  251. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/8)
  252. wait()
  253. end
  254. Tool.Handle6.Balete.Value=true
  255. Tool.Handle.Swing:Play()
  256. for i=1, 3 do
  257. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4.25)
  258. wait()
  259. end
  260. for i=1, 3 do
  261. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4.25)
  262. wait()
  263. end
  264. if Tool:FindFirstChild("Handle6")~=nil then
  265. Tool.Handle6.Balete.Value=false
  266. end
  267. for i=1, 4 do
  268. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/8)
  269. wait()
  270. end
  271. Shoulder.C0=ArmOri
  272. end
  273. CritSound=function()
  274. Char=Tool.Parent
  275. c=Instance.new("Sound")
  276. c.SoundId="http://roblox.com/asset/?id=10209481"
  277. c.Volume=.3
  278. c.Pitch=1.15
  279. c.Parent=Char.Torso
  280. c:Play()
  281. game:GetService("Debris"):AddItem(c,.5)
  282. end
  283. CritSlash=function()
  284. Shoulder=GetShoulder()
  285. Grip=GetGrip()
  286. if Shoulder==nil or Grip==nil then
  287. error("Could not find appropriate limbs.")
  288. return
  289. end
  290. ori=Grip.C0
  291. Tool.Handle.Swing:Play()
  292. Tool.Handle.Swing.Pitch=math.random(100,110)/100
  293. wait(.1)
  294. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
  295. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/10)
  296. CritSound()
  297. for i=1, 4 do
  298. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/16,0,0)
  299. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/10)
  300. wait()
  301. end
  302. Tool.Handle6.Balete.Value=true
  303. for i=1, 4 do
  304. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/16,0,0)
  305. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/10)
  306. wait()
  307. end
  308. wait(.15)
  309. for i=1, 4 do
  310. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/14,0,0)
  311. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/29)
  312. wait()
  313. end
  314. if Tool:FindFirstChild("Handle6")~=nil then
  315. Tool.Handle6.Balete.Value=false
  316. end
  317. wait()
  318. Grip.C0=ori
  319. Shoulder.C0=ArmOri
  320. end
  321. Animation=function(T,C)
  322. if C=="Stop" then
  323. RightS=T:FindFirstChild("Right Shoulder")
  324. if RightS==nil then
  325. return
  326. end
  327. LeftS=T:FindFirstChild("Left Shoulder")
  328. if LeftS==nil then
  329. return
  330. end
  331. elseif C=="Resume" then
  332. end
  333. end
  334. DEB=true
  335. d=true
  336. critchance=85
  337. DoSpin=false
  338. normgrip=nil
  339. Punch=function()
  340. if d==false or Tool.Enabled==false then return end
  341. d=false
  342. Char=Tool.Parent
  343. if doRoll==true then
  344. if math.random(1,100)<critchance then
  345. DoSpin=false
  346. NormSlash()
  347. else
  348. Crit=true
  349. print("Crit!")
  350. DoSpin=false
  351. CritSlash()
  352. Crit=false
  353. end
  354. else
  355. if charge>33 then
  356. doRoll=false
  357. if math.random(0,charge-34)~=1 then
  358. DoSpin=false
  359. NormSlash()
  360. else
  361. Crit=true
  362. print("Crit!")
  363. DoSpin=false
  364. CritSlash()
  365. Crit=false
  366. end
  367. else
  368. Crit=true
  369. print("Crit!")
  370. DoSpin=false
  371. CritSlash()
  372. Crit=false
  373. end
  374. end
  375. wait(.15)
  376. d=true
  377. end
  378. Tool.Activated:connect(Punch)
  379.  
  380.  
  381. end))
  382. StringValue10.Name = "Te"
  383. StringValue10.Parent = Script9
  384. Part11.Name = "Handle2"
  385. Part11.Parent = Tool0
  386. Part11.BrickColor = BrickColor.new("Brown")
  387. Part11.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  388. Part11.FormFactor = Enum.FormFactor.Symmetric
  389. Part11.Size = Vector3.new(1, 1, 1)
  390. Part11.CFrame = CFrame.new(668.695557, 271.252167, 123.647102, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  391. Part11.Color = Color3.new(0.486275, 0.360784, 0.27451)
  392. Part11.Position = Vector3.new(668.695557, 271.252167, 123.647102)
  393. Part11.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  394. Part11.Color = Color3.new(0.486275, 0.360784, 0.27451)
  395. CylinderMesh12.Parent = Part11
  396. CylinderMesh12.Scale = Vector3.new(0.340000004, 0.150000006, 0.340000004)
  397. CylinderMesh12.Scale = Vector3.new(0.340000004, 0.150000006, 0.340000004)
  398. StringValue13.Name = "Te"
  399. StringValue13.Parent = Part11
  400. Part14.Name = "Handle3"
  401. Part14.Parent = Tool0
  402. Part14.BrickColor = BrickColor.new("Dark stone grey")
  403. Part14.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  404. Part14.FormFactor = Enum.FormFactor.Symmetric
  405. Part14.Size = Vector3.new(1, 1, 1)
  406. Part14.CFrame = CFrame.new(668.736389, 271.396484, 123.649796, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  407. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  408. Part14.Position = Vector3.new(668.736389, 271.396484, 123.649796)
  409. Part14.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  410. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  411. CylinderMesh15.Parent = Part14
  412. CylinderMesh15.Scale = Vector3.new(0.425000012, 0.150000006, 0.425000012)
  413. CylinderMesh15.Scale = Vector3.new(0.425000012, 0.150000006, 0.425000012)
  414. StringValue16.Name = "Te"
  415. StringValue16.Parent = Part14
  416. Part17.Name = "Handle4"
  417. Part17.Parent = Tool0
  418. Part17.BrickColor = BrickColor.new("Dark stone grey")
  419. Part17.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  420. Part17.FormFactor = Enum.FormFactor.Symmetric
  421. Part17.Size = Vector3.new(1, 1, 1)
  422. Part17.CFrame = CFrame.new(668.759521, 271.478241, 123.651314, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  423. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  424. Part17.Position = Vector3.new(668.759521, 271.478241, 123.651314)
  425. Part17.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  426. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  427. CylinderMesh18.Parent = Part17
  428. CylinderMesh18.Scale = Vector3.new(0.349999994, 0.0500000007, 0.349999994)
  429. CylinderMesh18.Scale = Vector3.new(0.349999994, 0.0500000007, 0.349999994)
  430. StringValue19.Name = "Te"
  431. StringValue19.Parent = Part17
  432. Part20.Name = "Handle5"
  433. Part20.Parent = Tool0
  434. Part20.BrickColor = BrickColor.new("Dark stone grey")
  435. Part20.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  436. Part20.FormFactor = Enum.FormFactor.Symmetric
  437. Part20.Size = Vector3.new(1, 1, 1)
  438. Part20.CFrame = CFrame.new(668.777161, 271.540802, 123.652481, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  439. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  440. Part20.Position = Vector3.new(668.777161, 271.540802, 123.652481)
  441. Part20.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  442. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  443. CylinderMesh21.Parent = Part20
  444. CylinderMesh21.Scale = Vector3.new(0.389999986, 0.0799999982, 0.389999986)
  445. CylinderMesh21.Scale = Vector3.new(0.389999986, 0.0799999982, 0.389999986)
  446. StringValue22.Name = "Te"
  447. StringValue22.Parent = Part20
  448. Part23.Name = "Handle6"
  449. Part23.Parent = Tool0
  450. Part23.BrickColor = BrickColor.new("Brown")
  451. Part23.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  452. Part23.FormFactor = Enum.FormFactor.Symmetric
  453. Part23.Size = Vector3.new(1, 3, 1)
  454. Part23.CFrame = CFrame.new(668.382568, 270.145782, 123.626511, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  455. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  456. Part23.Position = Vector3.new(668.382568, 270.145782, 123.626511)
  457. Part23.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  458. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  459. CylinderMesh24.Parent = Part23
  460. CylinderMesh24.Offset = Vector3.new(0, -0.25, 0)
  461. CylinderMesh24.Scale = Vector3.new(0.340000004, 0.125, 0.340000004)
  462. CylinderMesh24.Scale = Vector3.new(0.340000004, 0.125, 0.340000004)
  463. BoolValue25.Name = "Balete"
  464. BoolValue25.Parent = Part23
  465. Script26.Parent = Part23
  466. table.insert(cors,sandbox(Script26,function()
  467. wait()
  468. win=function()
  469. for i=1, math.random(2,3)+3 do
  470. p=Instance.new("Part")
  471. p.Name="FireBit"
  472. p.Transparency=1
  473. p.TopSurface=0
  474. p.BottomSurface=0
  475. p.CanCollide=true
  476. p.formFactor="Symmetric"
  477. p.Size=Vector3.new(1,1,1)
  478. p.CFrame=script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,10)/10,math.random(20,30)/10,math.random(10,50)/10)
  479. p.Velocity=Vector3.new(math.random(-8,8)*3,math.random(20,50),math.random(-8,8)*3)*2
  480. p.RotVelocity=p.Velocity
  481. p.Parent=workspace
  482. f=Instance.new("Fire")
  483. f.Parent=p
  484. f.Size=math.random(2,3)
  485. f.Heat=math.random(6,15)
  486. g=Instance.new("BodyGyro")
  487. g.Parent=p
  488. v=Instance.new("BodyVelocity")
  489. v.P=5000
  490. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  491. v.velocity=Vector3.new(math.random(-8,8)*2.5,math.random(3,6),math.random(-8,8)*2.5)/1.25
  492. v.Parent=p
  493. game:GetService("Debris"):AddItem(v,.3)
  494. game:GetService("Debris"):AddItem(p,math.random(6,8))
  495. s=script.fireScript:clone()
  496. s.Disabled=false
  497. s.Parent=p
  498. end
  499. for i=1, math.random(3,4)+3 do
  500. p=Instance.new("Part")
  501. p.Name="FireBit"
  502. p.Transparency=1
  503. p.TopSurface=0
  504. p.BottomSurface=0
  505. p.CanCollide=true
  506. p.formFactor="Symmetric"
  507. p.Size=Vector3.new(3,1,3)
  508. p.CFrame=script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,10)/10,math.random(20,30)/10,math.random(10,50)/10)
  509. p.Velocity=Vector3.new(math.random(-8,8),math.random(30,50),math.random(-8,8))
  510. p.RotVelocity=p.Velocity
  511. p.Parent=workspace
  512. f=Instance.new("Fire")
  513. f.Parent=p
  514. f.Size=math.random(2,3)
  515. f.Heat=math.random(6,15)
  516. g=Instance.new("BodyGyro")
  517. g.Parent=p
  518. v=Instance.new("BodyVelocity")
  519. v.P=5000
  520. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  521. v.velocity=Vector3.new(math.random(-8,8)*4,math.random(20,46),math.random(-8,8)*4)/1.1
  522. v.Parent=p
  523. game:GetService("Debris"):AddItem(v,.4)
  524. game:GetService("Debris"):AddItem(p,math.random(7,8))
  525. s=script.fireScript:clone()
  526. s.Disabled=false
  527. s.Parent=p
  528. end
  529. s=Instance.new("Sound")
  530. s.SoundId="http://www.roblox.com/asset/?id=2233908"
  531. s.Pitch=1
  532. s.Volume=1
  533. s.Parent=script.Parent
  534. s:Play()
  535. r=Instance.new("Explosion")
  536. r.BlastPressure=0
  537. r.BlastRadius=9
  538. r.Position=script.Parent.Position
  539. r.Parent=workspace
  540. r.Hit:connect(function(hit)
  541. if hit.Parent==nil then
  542. return
  543. end
  544. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  545. t=hit.Parent:FindFirstChild("Torso")
  546. if t~=nil then
  547. if t:FindFirstChild("Lol,kersplode")==nil then
  548. h=hit.Parent.Humanoid
  549. v=Instance.new("BodyVelocity")
  550. v.Name="Lol,kersplode"
  551. v.P=5000
  552. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  553. v.velocity=(hit.Position-r.Position).unit*math.random(40,50)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  554. v.Parent=t
  555. game:GetService("Debris"):AddItem(v,.3)
  556. v=Instance.new("BodyAngularVelocity")
  557. v.Name="Lol,kersplode"
  558. v.P=5000
  559. v.maxTorque=Vector3.new(50000,50000,50000)*50000
  560. v.angularvelocity=(hit.Position-r.Position).unit*math.random(4,5)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*4
  561. v.Parent=t
  562. game:GetService("Debris"):AddItem(v,.4)
  563. dmg=math.random(80,90)
  564. if h.Health>dmg then
  565. h.Health=h.Health-dmg
  566. else
  567. s=script.Ragdoll:clone()
  568. s.Disabled=false
  569. s.Parent=h.Parent
  570. wait(.05)
  571. h.Health=0
  572. end
  573. s=script.HAX:clone()
  574. s.Disabled=false
  575. s.Parent=h.Parent
  576. end
  577. end
  578. else
  579. if hit.CanCollide==true and hit.Anchored==false then
  580. hit:BreakJoints()
  581. v=Instance.new("BodyVelocity")
  582. v.P=5000
  583. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  584. v.velocity=(hit.Position-r.Position).unit*math.random(40,50)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  585. v.Parent=hit
  586. game:GetService("Debris"):AddItem(v,.25)
  587. hit.RotVelocity=hit.Velocity+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  588. end
  589. end
  590. end)
  591. end
  592. trig=false
  593. onTouched=function(hit)
  594. if hit.Parent==nil or trig==true or script.Parent.Balete.Value==false then
  595. print(1)
  596. return
  597. end
  598. if hit.Parent==script.Parent.Parent or hit.Parent==script.Parent.Parent.Parent then
  599. print(2)
  600. return
  601. end
  602. if hit.CanCollide==false and hit.Parent:FindFirstChild("Humanoid")==nil then
  603. return
  604. end
  605. trig=true
  606. win()
  607. end
  608. script.Parent.Touched:connect(onTouched)
  609.  
  610. end))
  611. Script27.Name = "Ragdoll"
  612. Script27.Parent = Script26
  613. Script27.Disabled = true
  614. table.insert(cors,sandbox(Script27,function()
  615. print("Hello world!")
  616.  
  617. Character = script.Parent
  618. Humanoid = Character.Humanoid
  619. Torso = Character.Torso
  620.  
  621. function OnDeath()
  622. print("Death")-- HAHA
  623. wait(0.2)
  624. Humanoid.Parent = nil
  625. if Torso then
  626. local Head = Character:FindFirstChild("Head")
  627. if Head then
  628. local Neck = Instance.new("Weld")
  629. Neck.Name = "Neck"
  630. Neck.Part0 = Torso
  631. Neck.Part1 = Head
  632. Neck.C0 = CFrame.new(0, 1.5, 0)
  633. Neck.C1 = CFrame.new()
  634. Neck.Parent = Torso
  635. end
  636. local Limb = Character:FindFirstChild("Right Arm")
  637. if Limb then
  638.  
  639. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  640. local Joint = Instance.new("Glue")
  641. Joint.Name = "RightShoulder"
  642. Joint.Part0 = Torso
  643. Joint.Part1 = Limb
  644. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  645. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  646. Joint.Parent = Torso
  647.  
  648. local B = Instance.new("Part")
  649. B.TopSurface = 0
  650. B.BottomSurface = 0
  651. B.formFactor = "Symmetric"
  652. B.Size = Vector3.new(1, 1, 1)
  653. B.Transparency = 1
  654. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  655. B.Parent = Character
  656. local W = Instance.new("Weld")
  657. W.Part0 = Limb
  658. W.Part1 = B
  659. W.C0 = CFrame.new(0, -0.5, 0)
  660. W.Parent = Limb
  661.  
  662. end
  663. local Limb = Character:FindFirstChild("Left Arm")
  664. if Limb then
  665.  
  666. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  667. local Joint = Instance.new("Glue")
  668. Joint.Name = "LeftShoulder"
  669. Joint.Part0 = Torso
  670. Joint.Part1 = Limb
  671. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  672. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  673. Joint.Parent = Torso
  674.  
  675. local B = Instance.new("Part")
  676. B.TopSurface = 0
  677. B.BottomSurface = 0
  678. B.formFactor = "Symmetric"
  679. B.Size = Vector3.new(1, 1, 1)
  680. B.Transparency = 1
  681. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  682. B.Parent = Character
  683. local W = Instance.new("Weld")
  684. W.Part0 = Limb
  685. W.Part1 = B
  686. W.C0 = CFrame.new(0, -0.5, 0)
  687. W.Parent = Limb
  688.  
  689. end
  690. local Limb = Character:FindFirstChild("Right Leg")
  691. if Limb then
  692.  
  693. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  694. local Joint = Instance.new("Glue")
  695. Joint.Name = "RightHip"
  696. Joint.Part0 = Torso
  697. Joint.Part1 = Limb
  698. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  699. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  700. Joint.Parent = Torso
  701.  
  702. local B = Instance.new("Part")
  703. B.TopSurface = 0
  704. B.BottomSurface = 0
  705. B.formFactor = "Symmetric"
  706. B.Size = Vector3.new(1, 1, 1)
  707. B.Transparency = 1
  708. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  709. B.Parent = Character
  710. local W = Instance.new("Weld")
  711. W.Part0 = Limb
  712. W.Part1 = B
  713. W.C0 = CFrame.new(0, -0.5, 0)
  714. W.Parent = Limb
  715.  
  716. end
  717. local Limb = Character:FindFirstChild("Left Leg")
  718. if Limb then
  719.  
  720. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  721. local Joint = Instance.new("Glue")
  722. Joint.Name = "LeftHip"
  723. Joint.Part0 = Torso
  724. Joint.Part1 = Limb
  725. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  726. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  727. Joint.Parent = Torso
  728.  
  729. local B = Instance.new("Part")
  730. B.TopSurface = 0
  731. B.BottomSurface = 0
  732. B.formFactor = "Symmetric"
  733. B.Size = Vector3.new(1, 1, 1)
  734. B.Transparency = 1
  735. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  736. B.Parent = Character
  737. local W = Instance.new("Weld")
  738. W.Part0 = Limb
  739. W.Part1 = B
  740. W.C0 = CFrame.new(0, -0.5, 0)
  741. W.Parent = Limb
  742.  
  743. end
  744. --[
  745. local Bar = Instance.new("Part")
  746. Bar.TopSurface = 0
  747. Bar.BottomSurface = 0
  748. Bar.formFactor = "Symmetric"
  749. Bar.Size = Vector3.new(1, 1, 1)
  750. Bar.Transparency = 1
  751. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  752. Bar.Parent = Character
  753. local Weld = Instance.new("Weld")
  754. Weld.Part0 = Torso
  755. Weld.Part1 = Bar
  756. Weld.C0 = CFrame.new(0, 0.5, 0)
  757. Weld.Parent = Torso
  758. --]]
  759. end
  760. end
  761.  
  762. Humanoid.Died:connect(OnDeath)
  763.  
  764. end))
  765. Script28.Name = "fireScript"
  766. Script28.Parent = Script26
  767. Script28.Disabled = true
  768. table.insert(cors,sandbox(Script28,function()
  769. wait()
  770. onTouched=function(hit)
  771. if hit.Parent==nil then return end
  772. h=hit.Parent:FindFirstChild("Humanoid")
  773. if h~=nil and game.Players:GetPlayerFromCharacter(hit.Parent)==nil then
  774. t=hit.Parent:FindFirstChild("Torso")
  775. if t~=nil then
  776. if t:FindFirstChild("Fire")==nil then
  777. s=script.Fire:clone()
  778. s.Disabled=false
  779. s.creator.Value=script.creator.Value
  780. s.Parent=t
  781. game:GetService("Debris"):AddItem(s,3)
  782. h:TakeDamage(30)
  783. end
  784. end
  785. end
  786. if hit.Name~="MiniPumpkinBomb" and hit.Name~="PumpkinFireBit" and hit.Name~="PumpkinBit" then
  787. wait(.75)
  788. script.Parent:Remove()
  789. end
  790. end
  791. script.Parent.Touched:connect(onTouched)
  792. end))
  793. ObjectValue29.Name = "creator"
  794. ObjectValue29.Parent = Script28
  795. ObjectValue30.Name = "creator"
  796. ObjectValue30.Parent = Script26
  797. LocalScript31.Name = "HAX"
  798. LocalScript31.Parent = Script26
  799. LocalScript31.Disabled = true
  800. table.insert(cors,sandbox(LocalScript31,function()
  801. wait()
  802. c=workspace.CurrentCamera
  803. for i=1, 20 do
  804. c.CoordinateFrame=c.CoordinateFrame*CFrame.new(math.random(-(10-(i/4)),(10-(i/4)))/2,math.random(-(5-(i/4)),(5-(i/4)))/2,math.random(-(10-(i/4)),(10-(i/4)))/2)
  805. wait(.01)
  806. end
  807. script:Remove()
  808. end))
  809. StringValue32.Name = "Te"
  810. StringValue32.Parent = Part23
  811. Part33.Name = "Handle7"
  812. Part33.Parent = Tool0
  813. Part33.BrickColor = BrickColor.new("Brown")
  814. Part33.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  815. Part33.FormFactor = Enum.FormFactor.Symmetric
  816. Part33.Size = Vector3.new(1, 1, 1)
  817. Part33.CFrame = CFrame.new(668.355347, 270.049561, 123.624725, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  818. Part33.Color = Color3.new(0.486275, 0.360784, 0.27451)
  819. Part33.Position = Vector3.new(668.355347, 270.049561, 123.624725)
  820. Part33.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  821. Part33.Color = Color3.new(0.486275, 0.360784, 0.27451)
  822. CylinderMesh34.Parent = Part33
  823. CylinderMesh34.Scale = Vector3.new(0.400000006, 0.425000012, 0.400000006)
  824. CylinderMesh34.Scale = Vector3.new(0.400000006, 0.425000012, 0.400000006)
  825. StringValue35.Name = "Te"
  826. StringValue35.Parent = Part33
  827. Part36.Name = "Handle8"
  828. Part36.Parent = Tool0
  829. Part36.BrickColor = BrickColor.new("Dark stone grey")
  830. Part36.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  831. Part36.FormFactor = Enum.FormFactor.Symmetric
  832. Part36.Size = Vector3.new(1, 1, 1)
  833. Part36.CFrame = CFrame.new(668.292053, 269.825867, 123.62056, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  834. Part36.Color = Color3.new(0.388235, 0.372549, 0.384314)
  835. Part36.Position = Vector3.new(668.292053, 269.825867, 123.62056)
  836. Part36.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  837. Part36.Color = Color3.new(0.388235, 0.372549, 0.384314)
  838. CylinderMesh37.Parent = Part36
  839. CylinderMesh37.Scale = Vector3.new(0.444999993, 0.0500000007, 0.444999993)
  840. CylinderMesh37.Scale = Vector3.new(0.444999993, 0.0500000007, 0.444999993)
  841. StringValue38.Name = "Te"
  842. StringValue38.Parent = Part36
  843. Part39.Name = "Handle9"
  844. Part39.Parent = Tool0
  845. Part39.BrickColor = BrickColor.new("Dark stone grey")
  846. Part39.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  847. Part39.FormFactor = Enum.FormFactor.Symmetric
  848. Part39.Size = Vector3.new(1, 1, 1)
  849. Part39.CFrame = CFrame.new(668.280518, 269.784973, 123.619797, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  850. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  851. Part39.Position = Vector3.new(668.280518, 269.784973, 123.619797)
  852. Part39.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  853. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  854. CylinderMesh40.Parent = Part39
  855. CylinderMesh40.Scale = Vector3.new(0.400000006, 0.0500000007, 0.400000006)
  856. CylinderMesh40.Scale = Vector3.new(0.400000006, 0.0500000007, 0.400000006)
  857. StringValue41.Name = "Te"
  858. StringValue41.Parent = Part39
  859. Part42.Name = "Handle10"
  860. Part42.Parent = Tool0
  861. Part42.BrickColor = BrickColor.new("Dark stone grey")
  862. Part42.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  863. Part42.FormFactor = Enum.FormFactor.Symmetric
  864. Part42.Size = Vector3.new(1, 1, 1)
  865. Part42.CFrame = CFrame.new(668.26416, 269.727264, 123.618721, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  866. Part42.Color = Color3.new(0.388235, 0.372549, 0.384314)
  867. Part42.Position = Vector3.new(668.26416, 269.727264, 123.618721)
  868. Part42.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  869. Part42.Color = Color3.new(0.388235, 0.372549, 0.384314)
  870. CylinderMesh43.Parent = Part42
  871. CylinderMesh43.Scale = Vector3.new(0.61500001, 0.075000003, 0.61500001)
  872. CylinderMesh43.Scale = Vector3.new(0.61500001, 0.075000003, 0.61500001)
  873. StringValue44.Name = "Te"
  874. StringValue44.Parent = Part42
  875. Part45.Name = "Handle11"
  876. Part45.Parent = Tool0
  877. Part45.Reflectance = 0.10000000149012
  878. Part45.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  879. Part45.FormFactor = Enum.FormFactor.Symmetric
  880. Part45.Size = Vector3.new(1, 1, 1)
  881. Part45.CFrame = CFrame.new(668.164795, 269.376099, 123.61219, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  882. Part45.Position = Vector3.new(668.164795, 269.376099, 123.61219)
  883. Part45.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  884. CylinderMesh46.Parent = Part45
  885. CylinderMesh46.Scale = Vector3.new(0.524999976, 0.699999988, 0.524999976)
  886. CylinderMesh46.Scale = Vector3.new(0.524999976, 0.699999988, 0.524999976)
  887. Decal47.Parent = Part45
  888. Decal47.Texture = "http://www.roblox.com/asset/?id=23655482"
  889. Decal47.Face = Enum.NormalId.Right
  890. StringValue48.Name = "Te"
  891. StringValue48.Parent = Part45
  892. for i,v in pairs(mas:GetChildren()) do
  893. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  894. pcall(function() v:MakeJoints() end)
  895. end
  896. mas:Destroy()
  897. for i,v in pairs(cors) do
  898. spawn(function()
  899. pcall(v)
  900. end)
  901. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement