Advertisement
lafur

Untitled

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