Advertisement
doryna2281337

Untitled

Aug 18th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --FRUIT--
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Decal2 = Instance.new("Decal")
  22. Decal3 = Instance.new("Decal")
  23. Decal4 = Instance.new("Decal")
  24. Decal5 = Instance.new("Decal")
  25. Decal6 = Instance.new("Decal")
  26. Decal7 = Instance.new("Decal")
  27. SpecialMesh8 = Instance.new("SpecialMesh")
  28. Sound9 = Instance.new("Sound")
  29. LocalScript10 = Instance.new("LocalScript")
  30. LocalScript11 = Instance.new("LocalScript")
  31. LocalScript13 = Instance.new("LocalScript")
  32. BlockMesh14 = Instance.new("BlockMesh")
  33. Script15 = Instance.new("Script")
  34. Script16 = Instance.new("Script")
  35. HopperBin17 = Instance.new("HopperBin")
  36. LocalScript18 = Instance.new("LocalScript")
  37. HopperBin19 = Instance.new("HopperBin")
  38. LocalScript20 = Instance.new("LocalScript")
  39. BlockMesh21 = Instance.new("BlockMesh")
  40. Script22 = Instance.new("Script")
  41. Script23 = Instance.new("Script")
  42. Script24 = Instance.new("Script")
  43. StringValue25 = Instance.new("StringValue")
  44. Part26 = Instance.new("Part")
  45. SpecialMesh27 = Instance.new("SpecialMesh")
  46. Part28 = Instance.new("Part")
  47. SpecialMesh29 = Instance.new("SpecialMesh")
  48. Part30 = Instance.new("Part")
  49. SpecialMesh31 = Instance.new("SpecialMesh")
  50. Tool0.Name = "(Click to eat) Gomu Gomu no mi"
  51. Tool0.Parent = mas
  52. Tool0.Grip = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  53. Tool0.GripForward = Vector3.new(1, -0, -0)
  54. Tool0.GripRight = Vector3.new(0, 0, 1)
  55. Part1.Name = "Handle"
  56. Part1.Parent = Tool0
  57. Part1.CFrame = CFrame.new(48.749485, 0.503547013, 19.1430969, -0.999999523, -0.000978620723, 1.05401614e-05, -0.000978537253, 0.999980748, 0.00612961594, -1.66846348e-05, 0.0061296029, -0.999981225)
  58. Part1.Orientation = Vector3.new(-0.349999994, 180, -0.0599999987)
  59. Part1.Position = Vector3.new(48.749485, 0.503547013, 19.1430969)
  60. Part1.Rotation = Vector3.new(-179.649994, 0, 179.940002)
  61. Part1.Color = Color3.new(0.972549, 0.85098, 0.427451)
  62. Part1.Size = Vector3.new(1, 1, 1)
  63. Part1.BottomSurface = Enum.SurfaceType.Smooth
  64. Part1.BrickColor = BrickColor.new("Daisy orange")
  65. Part1.Material = Enum.Material.SmoothPlastic
  66. Part1.TopSurface = Enum.SurfaceType.Smooth
  67. Part1.brickColor = BrickColor.new("Daisy orange")
  68. Part1.FormFactor = Enum.FormFactor.Symmetric
  69. Part1.formFactor = Enum.FormFactor.Symmetric
  70. Decal2.Parent = Part1
  71. Decal2.Texture = "rbxassetid://114369508"
  72. Decal2.Transparency = 0.5
  73. Decal3.Parent = Part1
  74. Decal3.Texture = "rbxassetid://114369508"
  75. Decal3.Transparency = 0.5
  76. Decal3.Face = Enum.NormalId.Left
  77. Decal4.Parent = Part1
  78. Decal4.Texture = "rbxassetid://114369508"
  79. Decal4.Transparency = 0.5
  80. Decal4.Face = Enum.NormalId.Back
  81. Decal5.Parent = Part1
  82. Decal5.Texture = "rbxassetid://114369508"
  83. Decal5.Transparency = 0.5
  84. Decal5.Face = Enum.NormalId.Right
  85. Decal6.Parent = Part1
  86. Decal6.Texture = "rbxassetid://114369508"
  87. Decal6.Transparency = 0.5
  88. Decal6.Face = Enum.NormalId.Top
  89. Decal7.Parent = Part1
  90. Decal7.Texture = "rbxassetid://114369508"
  91. Decal7.Transparency = 0.5
  92. Decal7.Face = Enum.NormalId.Bottom
  93. SpecialMesh8.Parent = Part1
  94. SpecialMesh8.Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995)
  95. SpecialMesh8.MeshType = Enum.MeshType.Sphere
  96. Sound9.Name = "Eat"
  97. Sound9.Parent = Part1
  98. Sound9.Looped = true
  99. Sound9.Pitch = 1.1000000238419
  100. Sound9.PlaybackSpeed = 1.1000000238419
  101. Sound9.SoundId = "rbxassetid://161190414"
  102. LocalScript10.Name = "InstaWeld"
  103. LocalScript10.Parent = Tool0
  104. table.insert(cors,sandbox(LocalScript10,function()
  105. local currentwelds = {}
  106.  
  107. function Weld(x,y)
  108. local W = Instance.new("Weld")
  109. W.Part0 = x
  110. W.Part1 = y
  111. local CJ = CFrame.new(x.Position)
  112. local C0 = x.CFrame:inverse()*CJ
  113. local C1 = y.CFrame:inverse()*CJ
  114. W.C0 = C0
  115. W.C1 = C1
  116. W.Parent = x
  117. currentwelds[#currentwelds+1] = W
  118. end
  119.  
  120. function Get(A)
  121. if A:IsA("BasePart") then
  122. Weld(script.Parent.Handle, A)
  123. A.Anchored = false
  124. else
  125. local C = A:GetChildren()
  126. for i=1, #C do
  127. Get(C[i])
  128. end
  129. end
  130. end
  131.  
  132. function Finale()
  133. currentwelds = {}
  134. Get(script.Parent)
  135. coroutine.resume(coroutine.create(function()
  136. wait(0.1)
  137. local toolparts = script.Parent:GetChildren()
  138. for h = 1, #toolparts do
  139. local c = toolparts[h]:GetChildren()
  140. for j = 1, #c do
  141. if c[j]:IsA("Weld") then
  142. local stop = false
  143. for k = 1, #currentwelds do
  144. if c[j] == currentwelds[k] then
  145. stop = true
  146. end
  147. end
  148. if not stop then
  149. c[j]:Destroy()
  150. end
  151. end
  152. end
  153. end
  154. end))
  155. end
  156.  
  157. script.Parent.Equipped:connect(Finale)
  158. script.Parent.Unequipped:connect(Finale)
  159. Finale()
  160. end))
  161. LocalScript11.Name = "EatScript"
  162. LocalScript11.Parent = Tool0
  163. table.insert(cors,sandbox(LocalScript11,function()
  164. wait()
  165.  
  166. local tool = script.Parent
  167. local player = owner
  168.  
  169. defaultholdingpos = tool.GripPos
  170. eaten = false
  171. equipped = false
  172. cancelled = false
  173. tool.Equipped:connect(function()
  174. equipped = true
  175. script.Parent.Activated:connect(function()
  176. if not eaten then
  177. cancelled = false
  178. tool.GripPos = Vector3.new(0.8, -0.5, 1.5)
  179. tool.Handle.Eat:Play()
  180. wait(1.4)
  181. tool.Handle.Eat:Stop()
  182. if equipped and not cancelled then
  183. local currentsavedgear = player:FindFirstChild("StarterGear"):GetChildren()
  184. local hasdf = false
  185. if #currentsavedgear > 0 then
  186. for i = 1, #currentsavedgear do
  187. if currentsavedgear[i]:FindFirstChild("DevilFruitAbility") then
  188. currentsavedgear[i]:Destroy()
  189. hasdf = true
  190. end
  191. end
  192. end
  193. if not hasdf then
  194. local dftools = script:GetChildren()
  195. for i = 1, #dftools do
  196. local df_tag = Instance.new("StringValue")
  197. df_tag.Name = "DevilFruitAbility"
  198. df_tag.Value = tool.DevilFruitType.Value
  199. df_tag.Parent = dftools[i]
  200. dftools[i]:clone().Parent = player:FindFirstChild("Backpack")
  201. dftools[i]:clone().Parent = player:FindFirstChild("StarterGear")
  202. end
  203. tool:Destroy()
  204. elseif hasdf then
  205. if player.Character then
  206. if player.Character:FindFirstChild("Humanoid") then
  207. player.Character:BreakJoints()
  208. player.Character:FindFirstChild("Humanoid").Health = 0
  209. end
  210. end
  211. tool:Destroy()
  212. end
  213. end
  214. end
  215. end)
  216. end)
  217.  
  218. tool.Unequipped:connect(function()
  219. tool.Handle.Eat:Stop()
  220. cancelled = true
  221. equipped = false
  222. if not eaten then
  223. tool.GripPos = defaultholdingpos
  224. end
  225. end)
  226. end))
  227.  
  228. table.insert(cors,sandbox(LocalScript13,function()
  229. COOLDOWN = 1
  230.  
  231. MAX_VELOCITY = 475
  232. MIN_VELOCITY = 400
  233.  
  234. AUTOFIRE = false
  235.  
  236. SPREAD = 2
  237. ORIGIN_SPREAD = 0
  238. LOCK_FORWARD = false
  239.  
  240. ANTI_GRAVITY = 1
  241.  
  242. FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
  243.  
  244. DESPAWN_TIME = 1
  245.  
  246.  
  247. wait(1)
  248. ------------------------------
  249. missile = Instance.new("Part")
  250. missile.Name = "Gomu"
  251. missile.Transparency = 0
  252. missile.Reflectance = 0
  253. missile.CanCollide = false
  254. missile.Shape = "Block"
  255. missile.FormFactor = "Custom"
  256. missile.Size = Vector3.new(2, 2, 2)
  257. missile.Elasticity = 0
  258. missile.TopSurface = 0
  259. missile.BottomSurface = 0
  260.  
  261. while script:FindFirstChild("Mesh") == nil do wait() end
  262. script.Mesh:clone().Parent = missile
  263.  
  264. force = Instance.new("BodyForce")
  265. force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
  266. force.Parent = missile
  267.  
  268. scriptName = "ArrowScript"
  269. while script:FindFirstChild(scriptName) == nil do wait() end
  270. script:FindFirstChild(scriptName):clone().Parent = missile
  271.  
  272. ------------------------------
  273.  
  274. wait()
  275. Tool = script.Parent
  276. player = owner
  277. while player.Character == nil do wait() end
  278. char = player.Character
  279.  
  280. function hidePart(part)
  281. if part:FindFirstChild("AttackHide") == nil then
  282. local hide = Instance.new("SpecialMesh")
  283. hide.Name = "AttackHide"
  284. hide.MeshType = "FileMesh"
  285. hide.Scale = Vector3.new(0, 0, 0)
  286. hide.Parent = part
  287. game.Debris:AddItem(hide, DESPAWN_TIME/2)
  288. end
  289. end
  290.  
  291. shooting = false
  292. function fire(v)
  293. if choosehand == 1 then
  294. choosehand = 2
  295. arm = char:FindFirstChild("Right Arm")
  296. else
  297. choosehand = 1
  298. arm = char:FindFirstChild("Left Arm")
  299. end
  300. if arm == nil then return end
  301. hidePart(arm)
  302.  
  303. if not LOCK_FORWARD then
  304. v_spreadx = math.random(-SPREAD, SPREAD)
  305. v_spready = math.random(-SPREAD, SPREAD)
  306. v_spreadz = math.random(-SPREAD, SPREAD)
  307. v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
  308. v = (v - arm.Position).unit
  309. else
  310. v = char:FindFirstChild("Torso").CFrame.lookVector
  311. end
  312.  
  313. o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  314. o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  315. o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  316. local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
  317. spawnPos = spawnPos + (v * 1)
  318.  
  319. shot = missile:clone()
  320. shot.BrickColor = arm.BrickColor
  321. shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
  322. local launch = spawnPos + 2 * v
  323. shot.CFrame = CFrame.new(launch, launch + v)
  324.  
  325. local creator_tag = Instance.new("ObjectValue")
  326. creator_tag.Value = player
  327. creator_tag.Name = "creator"
  328. creator_tag.Parent = shot
  329.  
  330. local firesound = Instance.new("Sound")
  331. firesound.Name = "FiredSound"
  332. firesound.SoundId = FIRE_SOUND
  333. firesound.Volume = 1
  334. firesound.Pitch = math.random(8, 14)/10
  335. firesound.Parent = shot
  336.  
  337. shot.Parent = game.Workspace
  338. game.Debris:AddItem(shot, DESPAWN_TIME)
  339. shot:FindFirstChild(scriptName).Disabled = false
  340. end
  341.  
  342.  
  343. enabled = true
  344. gatlingmode = false
  345.  
  346. function onButtonUp()
  347. shooting = false
  348. end
  349.  
  350. function onDeselect()
  351. stopped = true
  352. end
  353.  
  354. function gatlingOFF()
  355. gatlingmode = false -- its not gatling ya know
  356. COOLDOWN = 2
  357. MAX_VELOCITY = 250
  358. MIN_VELOCITY = 200
  359. AUTOFIRE = false
  360. SPREAD = 3
  361. ORIGIN_SPREAD = 3
  362. DESPAWN_TIME = 0.9
  363. missile.Transparency = 0.4
  364. LOCK_FORWARD = true
  365. end
  366.  
  367. function gatlingON()
  368. gatlingmode = true -- its one shot
  369. COOLDOWN = 2
  370. MAX_VELOCITY = 475
  371. MIN_VELOCITY = 400
  372. AUTOFIRE = false
  373. SPREAD = 2
  374. ORIGIN_SPREAD = 0
  375. DESPAWN_TIME = 1
  376. missile.Transparency = 0
  377. LOCK_FORWARD = false
  378. end
  379.  
  380. function onSelected(mouse)
  381. gatlingmode = false
  382. gatlingOFF()
  383. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  384. mouse.Button1Down:connect(function()
  385.  
  386. if not enabled then return end
  387. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  388. enabled = false
  389. shooting = true
  390. stopped = false
  391. while shooting do
  392. hum = char:FindFirstChild("Humanoid")
  393. if hum == nil then else
  394. if hum.Health <= 0 then shooting = false end
  395. fire(mouse.Hit.p)
  396.  
  397. wait(COOLDOWN)
  398. if not AUTOFIRE then
  399. shooting = false
  400. end
  401. end
  402. if AUTOFIRE then
  403. wait(COOLDOWN)
  404. end
  405. if mouse then
  406. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  407. end
  408. enabled = true
  409. end
  410. end)
  411. mouse.Button1Up:connect(function() onButtonUp() end)
  412. mouse.KeyDown:connect(function(key2)
  413. local key=string.byte(key2)
  414. if key==string.byte("g") then
  415. if gatlingmode == false then
  416. gatlingON()
  417. else
  418. gatlingOFF()
  419. end
  420. end
  421. end)
  422. end
  423.  
  424. script.Parent.Selected:connect(onSelected)
  425. script.Parent.Deselected:connect(onDeselected)
  426.  
  427.  
  428.  
  429.  
  430. end))
  431. BlockMesh14.Parent = LocalScript13
  432. Script15.Name = "Stretch"
  433. Script15.Parent = BlockMesh14
  434. table.insert(cors,sandbox(Script15,function()
  435. local missile = script.Parent.Parent
  436. if missile:IsA("Part") then
  437. origPos = missile.Position
  438. m = script.Parent
  439. for i = 1, 10 do
  440. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
  441. dist = (origPos - missile.Position).magnitude
  442. m.Scale = Vector3.new(0.5, 0.5, dist/2)
  443. m.Offset = Vector3.new(0.5, 0.5, dist/2)
  444. wait()
  445. end
  446. wait(0.1)
  447. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
  448. while true do
  449. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
  450. dist = (origPos - missile.Position).magnitude
  451. m.Scale = Vector3.new(0.5, 0.5, dist/2)
  452. m.Offset = Vector3.new(0.5, 0.5, dist/2)
  453. wait()
  454. end
  455. end
  456. end))
  457. Script16.Name = "ArrowScript"
  458. Script16.Parent = LocalScript13
  459. table.insert(cors,sandbox(Script16,function()
  460. arrow = script.Parent
  461.  
  462. local hitsound = Instance.new("Sound")
  463. hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
  464. hitsound.Volume = 0.3
  465. hitsound.Pitch = math.random(11, 17)/10
  466. hitsound.Parent = arrow
  467.  
  468. if arrow:FindFirstChild("creator") == nil then
  469. arrow:WaitForChild("creator")
  470. end
  471.  
  472. damage = 25
  473. if arrow.Transparency ~= 0 then
  474. damage = 25
  475. end
  476.  
  477. local tag = arrow:FindFirstChild("creator")
  478. local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
  479.  
  480.  
  481. function onTouched(hit)
  482. humanoid = nil
  483. if tag ~= nil and ourguy ~= nil then
  484. if hit.Parent == nil then return end
  485. if hit.Parent:findFirstChild("Humanoid") then
  486. humanoid = hit.Parent:findFirstChild("Humanoid")
  487. elseif hit.Parent.Parent:findFirstChild("Humanoid") then
  488. humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
  489. end
  490. if humanoid ~= nil then
  491. if humanoid ~= ourguy then
  492. stop = false
  493. local ph = hit.Parent:FindFirstChild("PunchHurt")
  494. if (ph ~= nil) then
  495. if ph.Value == false then
  496. stop = true
  497. end
  498. end
  499. if stop == false then
  500. hitsound:Play()
  501. tagHumanoid(humanoid, vPlayer)
  502. humanoid:TakeDamage(damage)
  503. arrow:Destroy()
  504. end
  505. end
  506. elseif hit.Anchored == true and hit.CanCollide == true then
  507. arrow:Destroy()
  508. end
  509. end
  510. end
  511.  
  512. function tagHumanoid(humanoid)
  513. local tag = arrow:findFirstChild("creator")
  514. if tag ~= nil then
  515. local new_tag = tag:clone()
  516. new_tag.Parent = humanoid
  517. game.Debris:AddItem(new_tag, 1)
  518. end
  519. end
  520.  
  521. arrow.Touched:connect(onTouched)
  522.  
  523. wait()
  524. if arrow:FindFirstChild("FiredSound") then
  525. arrow:FindFirstChild("FiredSound"):Play()
  526. end
  527.  
  528. wait(10)
  529. arrow:Destroy()
  530. end))
  531. Script16.Disabled = true
  532. table.insert(cors,sandbox(LocalScript18,function()
  533. bin = script.Parent
  534. player = script.Parent.Parent.Parent
  535. me = script.Parent.Parent.Parent
  536.  
  537. enabled = true
  538.  
  539. function Talk(msg)
  540. game:GetService("Chat"):Chat(player.Character.Head, msg, Enum.ChatColor.Blue)
  541. end
  542.  
  543. function onButton1Down(mouse)
  544. if not enabled then
  545. return
  546. end
  547.  
  548. local player = owner
  549. if player == nil then return end
  550.  
  551. enabled = false
  552. RightShoulder = me.Character.Torso["Right Shoulder"]
  553. LeftShoulder = me.Character.Torso["Left Shoulder"]
  554. Run = game:GetService("RunService")
  555. for i = 1, 3 do
  556. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 1)
  557. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -1)
  558. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 1.1, 0)
  559. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -1.1, 0)
  560. Run.Stepped:wait(0.005)
  561. end
  562. -------------------------------------------------------------------------------
  563.  
  564. --EDIT HERE--
  565. Talk("Gear Second!")-- you can change Gear Second or Gear 2nd
  566. gg = Instance.new("Part")
  567. gg.Anchored = true
  568. gg.Shape = "Ball" --THIS ball will appear when transforming
  569. gg.TopSurface = "Smooth"
  570. gg.BottomSurface = "Smooth"
  571. gg.BrickColor = BrickColor.new("Persimmon")--color of the bode when transforming
  572. gg.CanCollide = false
  573. gg.Parent = Workspace
  574. gg.Size = Vector3.new(6, 6, 6)
  575. p = Instance.new("PointLight", gg)
  576. p.Brightness = 10
  577. p.Range = 10
  578. p.Color = Color3.new(255, 0, 0)
  579. gg.CFrame = me.Character.Torso.CFrame*CFrame.new(0, 0, 0)
  580. qq = Instance.new("SpecialMesh")
  581. qq.Parent = gg
  582. qq.Scale = Vector3.new(6, 6, 6)
  583. qq.MeshType = ("Sphere")
  584. for i = 1,6 do
  585. qq.Scale = qq.Scale -Vector3.new(1 ,1 ,1)
  586. wait(0.01)
  587. end
  588. gg:remove()
  589. Hardening = me.Character["Body Colors"]
  590. Hardening.LeftArmColor = BrickColor.new("Persimmon") --color
  591. Hardening.RightArmColor = BrickColor.new("Persimmon")--of
  592. Hardening.RightLegColor = BrickColor.new("Persimmon")--the
  593. Hardening.LeftLegColor = BrickColor.new("Persimmon")--body
  594. Hardening.TorsoColor = BrickColor.new("Persimmon")--when
  595. Hardening. HeadColor = BrickColor.new("Persimmon")--transforming
  596. j = me.Character.Head
  597. k = me.Character.Torso
  598. q = me.Character["Left Arm"]
  599. w = me.Character["Left Leg"]
  600. e = me.Character["Right Arm"]
  601. r = me.Character["Right Leg"]
  602.  
  603. me.Character.Humanoid.MaxHealth = 500-- 500 - 550 Health of human when transformed
  604. me.Character.Humanoid.Health = 500----- SAME ONE
  605. me.Character.Humanoid.WalkSpeed = 0
  606. wait(1.5)
  607. me.Character.Humanoid.WalkSpeed = 20 --edit 17 - 100 it will increase speed
  608.  
  609.  
  610.  
  611.  
  612. for i = 1, 3 do
  613. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 1.1, 0)
  614. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -1.1, 0)
  615. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -1)
  616. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 1)
  617. Run.Stepped:wait(0.01)
  618. end
  619. wait(20)
  620. enabled = true
  621. end
  622.  
  623.  
  624. enabled = true
  625. function onS(mouse)
  626. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  627. end
  628. bin.Selected:connect(onS)
  629.  
  630.  
  631. end))
  632.  
  633. table.insert(cors,sandbox(LocalScript20,function()
  634. COOLDOWN = 2
  635.  
  636. MAX_VELOCITY = 475
  637. MIN_VELOCITY = 400
  638.  
  639. AUTOFIRE = false
  640.  
  641. SPREAD = 2
  642. ORIGIN_SPREAD = 0
  643. LOCK_FORWARD = false
  644.  
  645. ANTI_GRAVITY = 1
  646.  
  647. FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
  648.  
  649. DESPAWN_TIME = 1
  650.  
  651.  
  652. wait(1)
  653. ------------------------------
  654. missile = Instance.new("Part")
  655. missile.Name = "Gomu"
  656. missile.Transparency = 0
  657. missile.Reflectance = 0
  658. missile.CanCollide = false
  659. missile.Shape = "Block"
  660. missile.FormFactor = "Custom"
  661. missile.Size = Vector3.new(2, 2, 2)
  662. missile.Elasticity = 0
  663. missile.TopSurface = 0
  664. missile.BottomSurface = 0
  665.  
  666. while script:FindFirstChild("Mesh") == nil do wait() end
  667. script.Mesh:clone().Parent = missile
  668.  
  669. force = Instance.new("BodyForce")
  670. force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
  671. force.Parent = missile
  672.  
  673. scriptName = "ArrowScript"
  674. while script:FindFirstChild(scriptName) == nil do wait() end
  675. script:FindFirstChild(scriptName):clone().Parent = missile
  676.  
  677. ------------------------------
  678.  
  679. wait()
  680. Tool = script.Parent
  681. player = owner
  682. while player.Character == nil do wait() end
  683. char = player.Character
  684.  
  685. function hidePart(part)
  686. if part:FindFirstChild("AttackHide") == nil then
  687. local hide = Instance.new("SpecialMesh")
  688. hide.Name = "AttackHide"
  689. hide.MeshType = "FileMesh"
  690. hide.Scale = Vector3.new(0, 0, 0)
  691. hide.Parent = part
  692. game.Debris:AddItem(hide, DESPAWN_TIME/2)
  693. end
  694. end
  695.  
  696. shooting = false
  697. function fire(v)
  698. if choosehand == 1 then
  699. choosehand = 2
  700. arm = char:FindFirstChild("Right Arm")
  701. else
  702. choosehand = 1
  703. arm = char:FindFirstChild("Left Arm")
  704. end
  705. if arm == nil then return end
  706. hidePart(arm)
  707.  
  708. if not LOCK_FORWARD then
  709. v_spreadx = math.random(-SPREAD, SPREAD)
  710. v_spready = math.random(-SPREAD, SPREAD)
  711. v_spreadz = math.random(-SPREAD, SPREAD)
  712. v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
  713. v = (v - arm.Position).unit
  714. else
  715. v = char:FindFirstChild("Torso").CFrame.lookVector
  716. end
  717.  
  718. o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  719. o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  720. o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
  721. local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
  722. spawnPos = spawnPos + (v * 1)
  723.  
  724. shot = missile:clone()
  725. shot.BrickColor = arm.BrickColor
  726. shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
  727. local launch = spawnPos + 2 * v
  728. shot.CFrame = CFrame.new(launch, launch + v)
  729.  
  730. local creator_tag = Instance.new("ObjectValue")
  731. creator_tag.Value = player
  732. creator_tag.Name = "creator"
  733. creator_tag.Parent = shot
  734.  
  735. local firesound = Instance.new("Sound")
  736. firesound.Name = "FiredSound"
  737. firesound.SoundId = FIRE_SOUND
  738. firesound.Volume = 1
  739. firesound.Pitch = math.random(8, 14)/10
  740. firesound.Parent = shot
  741.  
  742. shot.Parent = game.Workspace
  743. game.Debris:AddItem(shot, DESPAWN_TIME)
  744. shot:FindFirstChild(scriptName).Disabled = false
  745. end
  746.  
  747.  
  748. enabled = true
  749. gatlingmode = false
  750.  
  751. function onButtonUp()
  752. shooting = false
  753. end
  754.  
  755. function onDeselect()
  756. stopped = true
  757. end
  758.  
  759. function gatlingON()
  760. gatlingmode = true --if gatling mode
  761. COOLDOWN = 0
  762. MAX_VELOCITY = 250
  763. MIN_VELOCITY = 200
  764. AUTOFIRE = true --it means if you click one time it will repeat
  765. SPREAD = 3
  766. ORIGIN_SPREAD = 3
  767. DESPAWN_TIME = 0.9
  768. missile.Transparency = 0.4
  769. LOCK_FORWARD = true --change it to false if you want to back attack
  770. end
  771.  
  772. function gatlingOFF()
  773. gatlingmode = false -- if one shot mode
  774. COOLDOWN = 0.4
  775. MAX_VELOCITY = 475
  776. MIN_VELOCITY = 400
  777. AUTOFIRE = true --it means if you click one time it will repeat
  778. SPREAD = 2
  779. ORIGIN_SPREAD = 0
  780. DESPAWN_TIME = 1
  781. missile.Transparency = 0
  782. LOCK_FORWARD = false
  783. end
  784.  
  785. function onSelected(mouse)
  786. gatlingmode = true
  787. gatlingON()
  788. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  789. mouse.Button1Down:connect(function()
  790.  
  791. if not enabled then return end
  792. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  793. enabled = false
  794. shooting = true
  795. stopped = false
  796. while shooting do
  797. hum = char:FindFirstChild("Humanoid")
  798. if hum == nil then else
  799. if hum.Health <= 0 then shooting = false end
  800. fire(mouse.Hit.p)
  801.  
  802. wait(COOLDOWN)
  803. if not AUTOFIRE then
  804. shooting = false
  805. end
  806. end
  807. if AUTOFIRE then
  808. wait(COOLDOWN)
  809. end
  810. if mouse then
  811. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  812. end
  813. enabled = true
  814. end
  815. end)
  816. mouse.Button1Up:connect(function() onButtonUp() end)
  817. mouse.KeyDown:connect(function(key2)
  818. local key=string.byte(key2)
  819. if key==string.byte("g") then
  820. if gatlingmode == false then
  821. gatlingON()
  822. else
  823. gatlingOFF()
  824. end
  825. end
  826. end)
  827. end
  828.  
  829. script.Parent.Selected:connect(onSelected)
  830. script.Parent.Deselected:connect(onDeselected)
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837. end))
  838. BlockMesh21.Parent = LocalScript20
  839. Script22.Name = "Stretch"
  840. Script22.Parent = BlockMesh21
  841. table.insert(cors,sandbox(Script22,function()
  842. local missile = script.Parent.Parent
  843. if missile:IsA("Part") then
  844. origPos = missile.Position
  845. m = script.Parent
  846. for i = 1, 10 do
  847. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
  848. dist = (origPos - missile.Position).magnitude
  849. m.Scale = Vector3.new(0.5, 0.5, dist/2)
  850. m.Offset = Vector3.new(0.5, 0.5, dist/2)
  851. wait()
  852. end
  853. wait(0.1)
  854. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
  855. while true do
  856. script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
  857. dist = (origPos - missile.Position).magnitude
  858. m.Scale = Vector3.new(0.5, 0.5, dist/2)
  859. m.Offset = Vector3.new(0.5, 0.5, dist/2)
  860. wait()
  861. end
  862. end
  863. end))
  864. Script23.Name = "ArrowScript"
  865. Script23.Parent = LocalScript20
  866. table.insert(cors,sandbox(Script23,function()
  867. arrow = script.Parent
  868.  
  869. local hitsound = Instance.new("Sound")
  870. hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
  871. hitsound.Volume = 0.3
  872. hitsound.Pitch = math.random(11, 17)/10
  873. hitsound.Parent = arrow
  874.  
  875. if arrow:FindFirstChild("creator") == nil then
  876. arrow:WaitForChild("creator")
  877. end
  878.  
  879. damage = 40
  880. if arrow.Transparency ~= 0 then
  881. damage = 40
  882. end
  883.  
  884. local tag = arrow:FindFirstChild("creator")
  885. local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
  886.  
  887.  
  888. function onTouched(hit)
  889. humanoid = nil
  890. if tag ~= nil and ourguy ~= nil then
  891. if hit.Parent == nil then return end
  892. if hit.Parent:findFirstChild("Humanoid") then
  893. humanoid = hit.Parent:findFirstChild("Humanoid")
  894. elseif hit.Parent.Parent:findFirstChild("Humanoid") then
  895. humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
  896. end
  897. if humanoid ~= nil then
  898. if humanoid ~= ourguy then
  899. stop = false
  900. local ph = hit.Parent:FindFirstChild("PunchHurt")
  901. if (ph ~= nil) then
  902. if ph.Value == false then
  903. stop = true
  904. end
  905. end
  906. if stop == false then
  907. hitsound:Play()
  908. tagHumanoid(humanoid, vPlayer)
  909. humanoid:TakeDamage(damage)
  910. arrow:Destroy()
  911. end
  912. end
  913. elseif hit.Anchored == true and hit.CanCollide == true then
  914. arrow:Destroy()
  915. end
  916. end
  917. end
  918.  
  919. function tagHumanoid(humanoid)
  920. local tag = arrow:findFirstChild("creator")
  921. if tag ~= nil then
  922. local new_tag = tag:clone()
  923. new_tag.Parent = humanoid
  924. game.Debris:AddItem(new_tag, 1)
  925. end
  926. end
  927.  
  928. arrow.Touched:connect(onTouched)
  929.  
  930. wait()
  931. if arrow:FindFirstChild("FiredSound") then
  932. arrow:FindFirstChild("FiredSound"):Play()
  933. end
  934.  
  935. wait(10)
  936. arrow:Destroy()
  937. end))
  938. Script23.Disabled = true
  939. Script24.Name = "DevilFruitAttributes"
  940. Script24.Parent = LocalScript11
  941. table.insert(cors,sandbox(Script24,function()
  942. wait()
  943. if script.Parent then
  944. if not script.Parent:IsA("Script") or not script.Parent.Name == "StarterGear" then
  945. local debris = game:GetService("Debris")
  946. local backpack = script.Parent
  947. local player = backpack.Parent
  948. while player.Character == nil do wait() end
  949. local character = player.Character
  950. if character then
  951. while character:FindFirstChild("Humanoid") == nil do wait() end
  952. local hum = character:FindFirstChild("Humanoid")
  953.  
  954. -- Logia
  955. local charparts = character:GetChildren()
  956. for i = 1, #charparts do
  957. local charpart = charparts[i]
  958. if charpart:IsA("BasePart") then
  959. charpart.Touched:connect(function(hit)
  960. if charpart:FindFirstChild("Hide") then return end
  961. local stop = true
  962. if hit ~= nil then
  963. if hit.Parent ~= nil then
  964. if hit:FindFirstChild("creator") or hit.Parent:FindFirstChild("creator") then
  965. stop = false
  966. elseif hit.Parent:FindFirstChild("Humanoid") then
  967. if hit.Parent:FindFirstChild("Humanoid") ~= hum then
  968. stop = false
  969. end
  970. end
  971. end
  972. end
  973. if stop then return end
  974. local hidemesh = Instance.new("SpecialMesh")
  975. hidemesh.Name = "Hide"
  976. hidemesh.MeshType = "FileMesh"
  977. hidemesh.MeshId = ""
  978. hidemesh.Scale = Vector3.new(0, 0, 0)
  979. hidemesh.Parent = charpart
  980. debris:AddItem(hidemesh, 1.5)
  981.  
  982. local bodyeffect = Instance.new("Part")
  983. bodyeffect.Name = "BodyEffect"
  984. bodyeffect.Transparency = 0.3
  985. bodyeffect.CanCollide = false
  986. bodyeffect.FormFactor = "Custom"
  987. bodyeffect.Size = Vector3.new(0.2, 0.2, 0.2)
  988. bodyeffect.TopSurface = "Smooth"
  989. bodyeffect.BottomSurface = "Smooth"
  990. bodyeffect.CFrame = charpart.CFrame
  991.  
  992. local mesh = Instance.new("SpecialMesh")
  993. mesh.MeshId = "http://www.roblox.com/asset?id=165709404"
  994. mesh.TextureId = "http://www.roblox.com/asset?id=165709478"
  995. mesh.Scale = Vector3.new(3, 3, 3)
  996. mesh.Parent = bodyeffect
  997.  
  998. local sound = Instance.new("Sound")
  999. sound.SoundId = "http://www.roblox.com/asset/?id=31759626"
  1000. sound.Volume = 0.3
  1001. sound.Pitch = math.random(9, 11)/10
  1002. sound.Parent = bodyeffect
  1003.  
  1004. local light = Instance.new("PointLight")
  1005. light.Range = 5
  1006. light.Color = Color3.new(1, 1, 0)
  1007. light.Parent = bodyeffect
  1008.  
  1009. bodyeffect.Parent = charpart.Parent
  1010.  
  1011. sound:Play()
  1012.  
  1013. local weld = Instance.new("ManualWeld")
  1014. weld.Part0 = bodyeffect
  1015. weld.Part1 = charpart
  1016. weld.C1 = charpart.CFrame:inverse() * bodyeffect.CFrame
  1017. weld.Parent = bodyeffect
  1018.  
  1019. debris:AddItem(bodyeffect, 1.5)
  1020. end)
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end))
  1027. StringValue25.Name = "DevilFruitType"
  1028. StringValue25.Parent = Tool0
  1029. StringValue25.Value = "Rubber"
  1030. Part26.Name = "Leafs"
  1031. Part26.Parent = Tool0
  1032. Part26.CFrame = CFrame.new(48.6795959, 1.326491, 19.1532822, -4.4091145e-08, -7.30506144e-08, -1, 1, -4.51691449e-08, -4.36030163e-08, -4.23751771e-08, -1, -7.30506144e-08)
  1033. Part26.Orientation = Vector3.new(0, -90, 90)
  1034. Part26.Position = Vector3.new(48.6795959, 1.326491, 19.1532822)
  1035. Part26.Rotation = Vector3.new(-90, -90, 0)
  1036. Part26.Color = Color3.new(1, 0.34902, 0.34902)
  1037. Part26.Size = Vector3.new(0.410000086, 0.329999983, 0.200000048)
  1038. Part26.Anchored = true
  1039. Part26.BrickColor = BrickColor.new("Persimmon")
  1040. Part26.Material = Enum.Material.SmoothPlastic
  1041. Part26.brickColor = BrickColor.new("Persimmon")
  1042. Part26.FormFactor = Enum.FormFactor.Custom
  1043. Part26.formFactor = Enum.FormFactor.Custom
  1044. SpecialMesh27.Parent = Part26
  1045. SpecialMesh27.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  1046. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  1047. Part28.Name = "Leafs"
  1048. Part28.Parent = Tool0
  1049. Part28.CFrame = CFrame.new(48.6795998, 1.51648796, 19.1482849, -1.16759111e-07, 4.34269509e-10, -1, -1.52271241e-07, -1, 1.92770244e-11, -1, 1.49477273e-07, -2.93402991e-08)
  1050. Part28.Orientation = Vector3.new(0, -90, -180)
  1051. Part28.Position = Vector3.new(48.6795998, 1.51648796, 19.1482849)
  1052. Part28.Rotation = Vector3.new(180, -90, 0)
  1053. Part28.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1054. Part28.Size = Vector3.new(0.640000045, 0.329999983, 0.200000048)
  1055. Part28.Anchored = true
  1056. Part28.BrickColor = BrickColor.new("Reddish brown")
  1057. Part28.Material = Enum.Material.SmoothPlastic
  1058. Part28.brickColor = BrickColor.new("Reddish brown")
  1059. Part28.FormFactor = Enum.FormFactor.Custom
  1060. Part28.formFactor = Enum.FormFactor.Custom
  1061. SpecialMesh29.Parent = Part28
  1062. SpecialMesh29.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  1063. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  1064. Part30.Name = "Leafs"
  1065. Part30.Parent = Tool0
  1066. Part30.CFrame = CFrame.new(48.6795998, 1.543787, 18.7326698, -1.14498107e-07, -1.83335942e-08, -1, 0.258818775, -0.965925932, -1.1264305e-08, -0.965925932, -0.258818686, -3.08291419e-08)
  1067. Part30.Orientation = Vector3.new(0, -90, 165)
  1068. Part30.Position = Vector3.new(48.6795998, 1.543787, 18.7326698)
  1069. Part30.Rotation = Vector3.new(-165, -90, 0)
  1070. Part30.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1071. Part30.Size = Vector3.new(0.200000077, 0.329999983, 0.200000048)
  1072. Part30.Anchored = true
  1073. Part30.BrickColor = BrickColor.new("Reddish brown")
  1074. Part30.Material = Enum.Material.SmoothPlastic
  1075. Part30.brickColor = BrickColor.new("Reddish brown")
  1076. Part30.FormFactor = Enum.FormFactor.Custom
  1077. Part30.formFactor = Enum.FormFactor.Custom
  1078. SpecialMesh31.Parent = Part30
  1079. SpecialMesh31.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  1080. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  1081. for i,v in pairs(mas:GetChildren()) do
  1082. v.Parent = workspace
  1083. pcall(function() v:MakeJoints() end)
  1084. end
  1085. for i,v in pairs(cors) do
  1086. spawn(function()
  1087. pcall(v)
  1088. end)
  1089. end
  1090.  
  1091. ----------------------------------------------------------------
  1092. --//Budha-Budha no mi\\--
  1093. ----------------------------------------------------------------
  1094.  
  1095. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1096. local Player,game,owner = owner,game
  1097. local RealPlayer = Player
  1098. do
  1099. local rp = RealPlayer
  1100. script.Parent = rp.Character
  1101.  
  1102. --RemoteEvent for communicating
  1103. local Event = Instance.new("RemoteEvent")
  1104. Event.Name = "UserInput_Event"
  1105.  
  1106. --Fake event to make stuff like Mouse.KeyDown work
  1107. local function fakeEvent()
  1108. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  1109. t.connect = t.Connect
  1110. return t
  1111. end
  1112.  
  1113. --Creating fake input objects with fake variables
  1114. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1115. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1116. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1117. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1118. end}
  1119. --Merged 2 functions into one by checking amount of arguments
  1120. CAS.UnbindAction = CAS.BindAction
  1121.  
  1122. --This function will trigger the events that have been :Connect()'ed
  1123. local function te(self,ev,...)
  1124. local t = m[ev]
  1125. if t and t._fakeEvent then
  1126. for _,f in pairs(t.Functions) do
  1127. f(...)
  1128. end
  1129. end
  1130. end
  1131. m.TrigEvent = te
  1132. UIS.TrigEvent = te
  1133.  
  1134. Event.OnServerEvent:Connect(function(plr,io)
  1135. if plr~=rp then return end
  1136. m.Target = io.Target
  1137. m.Hit = io.Hit
  1138. if not io.isMouse then
  1139. local b = io.UserInputState == Enum.UserInputState.Begin
  1140. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1141. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1142. end
  1143. for _,t in pairs(CAS.Actions) do
  1144. for _,k in pairs(t.Keys) do
  1145. if k==io.KeyCode then
  1146. t.Function(t.Name,io.UserInputState,io)
  1147. end
  1148. end
  1149. end
  1150. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1151. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1152. end
  1153. end)
  1154. Event.Parent = NLS([==[
  1155. local Player = game:GetService("Players").LocalPlayer
  1156. local Event = script:WaitForChild("UserInput_Event")
  1157.  
  1158. local Mouse = Player:GetMouse()
  1159. local UIS = game:GetService("UserInputService")
  1160. local input = function(io,a)
  1161. if a then return end
  1162. --Since InputObject is a client-side instance, we create and pass table instead
  1163. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  1164. end
  1165. UIS.InputBegan:Connect(input)
  1166. UIS.InputEnded:Connect(input)
  1167.  
  1168. local h,t
  1169. --Give the server mouse data 30 times every second, but only if the values changed
  1170. --If player is not moving their mouse, client won't fire events
  1171. while wait(1/30) do
  1172. if h~=Mouse.Hit or t~=Mouse.Target then
  1173. h,t=Mouse.Hit,Mouse.Target
  1174. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1175. end
  1176. end]==],Player.Character)
  1177.  
  1178. ----Sandboxed game object that allows the usage of client-side methods and services
  1179. --Real game object
  1180. local _rg = game
  1181.  
  1182. --Metatable for fake service
  1183. local fsmt = {
  1184. __index = function(self,k)
  1185. local s = rawget(self,"_RealService")
  1186. if s then return s[k] end
  1187. end,
  1188. __newindex = function(self,k,v)
  1189. local s = rawget(self,"_RealService")
  1190. if s then s[k]=v end
  1191. end,
  1192. __call = function(self,...)
  1193. local s = rawget(self,"_RealService")
  1194. if s then return s(...) end
  1195. end
  1196. }
  1197. local function FakeService(t,RealService)
  1198. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  1199. return setmetatable(t,fsmt)
  1200. end
  1201.  
  1202. --Fake game object
  1203. local g = {
  1204. GetService = function(self,s)
  1205. return self[s]
  1206. end,
  1207. Players = FakeService({
  1208. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  1209. },"Players"),
  1210. UserInputService = FakeService(UIS,"UserInputService"),
  1211. ContextActionService = FakeService(CAS,"ContextActionService"),
  1212. }
  1213. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  1214. g.service = g.GetService
  1215.  
  1216. g.RunService = FakeService({
  1217. RenderStepped = _rg:GetService("RunService").Heartbeat,
  1218. BindToRenderStep = function(self,name,_,fun)
  1219. self._btrs[name] = self.Heartbeat:Connect(fun)
  1220. end,
  1221. UnbindFromRenderStep = function(self,name)
  1222. self._btrs[name]:Disconnect()
  1223. end,
  1224. },"RunService")
  1225.  
  1226. setmetatable(g,{
  1227. __index=function(self,s)
  1228. return _rg:GetService(s) or typeof(_rg[s])=="function"
  1229. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  1230. end,
  1231. __newindex = fsmt.__newindex,
  1232. __call = fsmt.__call
  1233. })
  1234. --Changing owner to fake player object to support owner:GetMouse()
  1235. game,owner = g,g.Players.LocalPlayer
  1236. end
  1237.  
  1238. Player = owner
  1239. PlayerGui = Player.PlayerGui
  1240. Cam = workspace.CurrentCamera
  1241. Backpack = Player.Backpack
  1242. Character = Player.Character
  1243. Humanoid = Character.Humanoid
  1244. Mouse = Player:GetMouse()
  1245. RootPart = Character["HumanoidRootPart"]
  1246. Torso = Character["Torso"]
  1247. Head = Character["Head"]
  1248. RightArm = Character["Right Arm"]
  1249. LeftArm = Character["Left Arm"]
  1250. RightLeg = Character["Right Leg"]
  1251. LeftLeg = Character["Left Leg"]
  1252. RootJoint = RootPart["RootJoint"]
  1253. Neck = Torso["Neck"]
  1254. RightShoulder = Torso["Right Shoulder"]
  1255. LeftShoulder = Torso["Left Shoulder"]
  1256. RightHip = Torso["Right Hip"]
  1257. LeftHip = Torso["Left Hip"]
  1258.  
  1259. removeuseless = game:GetService("Debris")
  1260. laff = Instance.new("Sound",Head)
  1261. tauntdebounce = false
  1262. Character = Player.Character
  1263. Humanoid = Character.Humanoid
  1264. ---------
  1265. plr = game.Players.LocalPlayer
  1266. chara = plr.Character
  1267. mouse = plr:GetMouse()
  1268. Create = Instance.new
  1269. Huge = math.huge
  1270.  
  1271. Player = game:GetService("Players").LocalPlayer
  1272. PlayerGui = Player.PlayerGui
  1273. Cam = workspace.CurrentCamera
  1274. Backpack = Player.Backpack
  1275. Character = Player.Character
  1276. char = Player.Character
  1277. Humanoid = Character.Humanoid
  1278. Mouse = Player:GetMouse()
  1279. RootPart = Character["HumanoidRootPart"]
  1280. Torso = Character["Torso"]
  1281. Head = Character["Head"]
  1282. RightArm = Character["Right Arm"]
  1283. LeftArm = Character["Left Arm"]
  1284. RightLeg = Character["Right Leg"]
  1285. LeftLeg = Character["Left Leg"]
  1286. RootJoint = RootPart["RootJoint"]
  1287. Neck = Torso["Neck"]
  1288. RightShoulder = Torso["Right Shoulder"]
  1289. LeftShoulder = Torso["Left Shoulder"]
  1290. RightHip = Torso["Right Hip"]
  1291. LeftHip = Torso["Left Hip"]
  1292.  
  1293. local Orin = "http://www.roblox.com/asset/?id=1065951398"
  1294. Head.face.Texture = Orin
  1295. function weld(a, b, acf)
  1296. local w = Instance.new("Weld", a)
  1297. w.Part0 = a
  1298. w.Part1 = b
  1299. w.C0 = acf
  1300. end
  1301. --------------------------------
  1302. char.Head.face.Texture = "rbxassetid://0"
  1303. --------------------------------
  1304. local naeeym2 = Instance.new("BillboardGui",char)
  1305. naeeym2.AlwaysOnTop = true
  1306. naeeym2.Size = UDim2.new(5,35,2,35)
  1307. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1308. naeeym2.Adornee = hed
  1309. naeeym2.Name = "Name"
  1310.  
  1311. local tecks2 = Instance.new("TextLabel",naeeym2)
  1312. tecks2.BackgroundTransparency = 1
  1313. tecks2.TextScaled = true
  1314. tecks2.BorderSizePixel = 0
  1315. tecks2.Text = ""
  1316. tecks2.Font = "Fantasy"
  1317. tecks2.TextSize = 30
  1318. tecks2.TextStrokeTransparency = 0
  1319. tecks2.TextColor3 = BrickColor.new('Really red').Color
  1320. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  1321. tecks2.Size = UDim2.new(1,0,0.5,0)
  1322. tecks2.Parent = naeeym2
  1323. textfag = tecks2
  1324. tecks2.Text = ""
  1325. tecks2.Text = "script by xdielivex"
  1326. wait(2)
  1327. tecks2.Text = ""
  1328. coroutine.resume(coroutine.create(function()
  1329. while textfag ~= nil do
  1330. swait()
  1331. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  1332. textfag.Rotation = math.random(-3,3)
  1333. end
  1334. end))
  1335. -------------------------------------------------------
  1336. wait(0.2)
  1337. local plr = game:service'Players'.LocalPlayer
  1338. local char = plr.Character
  1339. local hum = char.Humanoid
  1340. local hed = char.Head
  1341. local root = char.HumanoidRootPart
  1342. local rootj = root.RootJoint
  1343. local tors = char.Torso
  1344. local ra = char["Right Arm"]
  1345. local la = char["Left Arm"]
  1346. local rl = char["Right Leg"]
  1347. local ll = char["Left Leg"]
  1348. local neck = tors["Neck"]
  1349. local mouse = plr:GetMouse()
  1350. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1351. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1352. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1353. local maincolor = BrickColor.new("Plum")
  1354.  
  1355. -------------------------------------------------------
  1356. --Start Good Stuff--
  1357. -------------------------------------------------------
  1358. cam = game.Workspace.CurrentCamera
  1359. CF = CFrame.new
  1360. angles = CFrame.Angles
  1361. attack = false
  1362. Euler = CFrame.fromEulerAnglesXYZ
  1363. Rad = math.rad
  1364. IT = Instance.new
  1365. BrickC = BrickColor.new
  1366. Cos = math.cos
  1367. Acos = math.acos
  1368. Sin = math.sin
  1369. Asin = math.asin
  1370. Abs = math.abs
  1371. Mrandom = math.random
  1372. Floor = math.floor
  1373. -------------------------------------------------------
  1374. --End Good Stuff--
  1375. -------------------------------------------------------
  1376. -------------------------------------------------------
  1377. --Start HeartBeat--
  1378. -------------------------------------------------------
  1379. ArtificialHB = Instance.new("BindableEvent", script)
  1380. ArtificialHB.Name = "Heartbeat"
  1381. script:WaitForChild("Heartbeat")
  1382.  
  1383. frame = 1 / 60
  1384. tf = 0
  1385. allowframeloss = false
  1386. tossremainder = false
  1387.  
  1388.  
  1389. lastframe = tick()
  1390. script.Heartbeat:Fire()
  1391.  
  1392.  
  1393. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1394. tf = tf + s
  1395. if tf >= frame then
  1396. if allowframeloss then
  1397. script.Heartbeat:Fire()
  1398. lastframe = tick()
  1399. else
  1400. for i = 1, math.floor(tf / frame) do
  1401. script.Heartbeat:Fire()
  1402. end
  1403. lastframe = tick()
  1404. end
  1405. if tossremainder then
  1406. tf = 0
  1407. else
  1408. tf = tf - frame * math.floor(tf / frame)
  1409. end
  1410. end
  1411. end)
  1412. -------------------------------------------------------
  1413. --End HeartBeat--
  1414. -------------------------------------------------------
  1415.  
  1416. -------------------------------------------------------
  1417. --Start Important Functions--
  1418. -------------------------------------------------------
  1419. function swait(num)
  1420. if num == 0 or num == nil then
  1421. game:service("RunService").Stepped:wait(0)
  1422. else
  1423. for i = 0, num do
  1424. game:service("RunService").Stepped:wait(0)
  1425. end
  1426. end
  1427. end
  1428. function thread(f)
  1429. coroutine.resume(coroutine.create(f))
  1430. end
  1431. function clerp(a, b, t)
  1432. local qa = {
  1433. QuaternionFromCFrame(a)
  1434. }
  1435. local qb = {
  1436. QuaternionFromCFrame(b)
  1437. }
  1438. local ax, ay, az = a.x, a.y, a.z
  1439. local bx, by, bz = b.x, b.y, b.z
  1440. local _t = 1 - t
  1441. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1442. end
  1443. function QuaternionFromCFrame(cf)
  1444. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1445. local trace = m00 + m11 + m22
  1446. if trace > 0 then
  1447. local s = math.sqrt(1 + trace)
  1448. local recip = 0.5 / s
  1449. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1450. else
  1451. local i = 0
  1452. if m00 < m11 then
  1453. i = 1
  1454. end
  1455. if m22 > (i == 0 and m00 or m11) then
  1456. i = 2
  1457. end
  1458. if i == 0 then
  1459. local s = math.sqrt(m00 - m11 - m22 + 1)
  1460. local recip = 0.5 / s
  1461. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1462. elseif i == 1 then
  1463. local s = math.sqrt(m11 - m22 - m00 + 1)
  1464. local recip = 0.5 / s
  1465. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1466. elseif i == 2 then
  1467. local s = math.sqrt(m22 - m00 - m11 + 1)
  1468. local recip = 0.5 / s
  1469. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1470. end
  1471. end
  1472. end
  1473. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1474. local xs, ys, zs = x + x, y + y, z + z
  1475. local wx, wy, wz = w * xs, w * ys, w * zs
  1476. local xx = x * xs
  1477. local xy = x * ys
  1478. local xz = x * zs
  1479. local yy = y * ys
  1480. local yz = y * zs
  1481. local zz = z * zs
  1482. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1483. end
  1484. function QuaternionSlerp(a, b, t)
  1485. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1486. local startInterp, finishInterp
  1487. if cosTheta >= 1.0E-4 then
  1488. if 1 - cosTheta > 1.0E-4 then
  1489. local theta = math.acos(cosTheta)
  1490. local invSinTheta = 1 / Sin(theta)
  1491. startInterp = Sin((1 - t) * theta) * invSinTheta
  1492. finishInterp = Sin(t * theta) * invSinTheta
  1493. else
  1494. startInterp = 1 - t
  1495. finishInterp = t
  1496. end
  1497. elseif 1 + cosTheta > 1.0E-4 then
  1498. local theta = math.acos(-cosTheta)
  1499. local invSinTheta = 1 / Sin(theta)
  1500. startInterp = Sin((t - 1) * theta) * invSinTheta
  1501. finishInterp = Sin(t * theta) * invSinTheta
  1502. else
  1503. startInterp = t - 1
  1504. finishInterp = t
  1505. end
  1506. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1507. end
  1508. function rayCast(Position, Direction, Range, Ignore)
  1509. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1510. end
  1511. local RbxUtility = LoadLibrary("RbxUtility")
  1512. local Create = RbxUtility.Create
  1513.  
  1514. -------------------------------------------------------
  1515. --Start Damage Function--
  1516. -------------------------------------------------------
  1517. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1518. if hit.Parent == nil then
  1519. return
  1520. end
  1521. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1522. for _, v in pairs(hit.Parent:children()) do
  1523. if v:IsA("Humanoid") then
  1524. h = v
  1525. end
  1526. end
  1527. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1528.  
  1529. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1530. end
  1531.  
  1532. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1533. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1534. if hit.Parent.DebounceHit.Value == true then
  1535. return
  1536. end
  1537. end
  1538. if insta == true then
  1539. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1540. end
  1541. local c = Create("ObjectValue"){
  1542. Name = "creator",
  1543. Value = game:service("Players").LocalPlayer,
  1544. Parent = h,
  1545. }
  1546. game:GetService("Debris"):AddItem(c, .5)
  1547. if HitSound ~= nil and HitPitch ~= nil then
  1548. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1549. end
  1550. local Damage = math.random(minim, maxim)
  1551. local blocked = false
  1552. local block = hit.Parent:findFirstChild("Block")
  1553. if block ~= nil then
  1554. if block.className == "IntValue" then
  1555. if block.Value > 0 then
  1556. blocked = true
  1557. block.Value = block.Value - 1
  1558. print(block.Value)
  1559. end
  1560. end
  1561. end
  1562. if blocked == false then
  1563. h.Health = h.Health - Damage
  1564. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1565. else
  1566. h.Health = h.Health - (Damage / 2)
  1567. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1568. end
  1569. if Type == "Knockdown" then
  1570. local hum = hit.Parent.Humanoid
  1571. hum.PlatformStand = true
  1572. coroutine.resume(coroutine.create(function(HHumanoid)
  1573. swait(1)
  1574. HHumanoid.PlatformStand = false
  1575. end), hum)
  1576. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1577. local bodvol = Create("BodyVelocity"){
  1578. velocity = angle * knockback,
  1579. P = 5000,
  1580. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1581. Parent = hit,
  1582. }
  1583. local rl = Create("BodyAngularVelocity"){
  1584. P = 3000,
  1585. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1586. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1587. Parent = hit,
  1588. }
  1589. game:GetService("Debris"):AddItem(bodvol, .5)
  1590. game:GetService("Debris"):AddItem(rl, .5)
  1591. elseif Type == "Normal" then
  1592. local vp = Create("BodyVelocity"){
  1593. P = 500,
  1594. maxForce = Vector3.new(math.huge, 0, math.huge),
  1595. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1596. }
  1597. if knockback > 0 then
  1598. vp.Parent = hit.Parent.Torso
  1599. end
  1600. game:GetService("Debris"):AddItem(vp, .5)
  1601. elseif Type == "Up" then
  1602. local bodyVelocity = Create("BodyVelocity"){
  1603. velocity = Vector3.new(0, 20, 0),
  1604. P = 5000,
  1605. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1606. Parent = hit,
  1607. }
  1608. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1609. elseif Type == "DarkUp" then
  1610. coroutine.resume(coroutine.create(function()
  1611. for i = 0, 1, 0.1 do
  1612. swait()
  1613. Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1614. end
  1615. end))
  1616. local bodyVelocity = Create("BodyVelocity"){
  1617. velocity = Vector3.new(0, 20, 0),
  1618. P = 5000,
  1619. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1620. Parent = hit,
  1621. }
  1622. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1623. elseif Type == "Snare" then
  1624. local bp = Create("BodyPosition"){
  1625. P = 2000,
  1626. D = 100,
  1627. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1628. position = hit.Parent.Torso.Position,
  1629. Parent = hit.Parent.Torso,
  1630. }
  1631. game:GetService("Debris"):AddItem(bp, 1)
  1632. elseif Type == "Freeze" then
  1633. local BodPos = Create("BodyPosition"){
  1634. P = 50000,
  1635. D = 1000,
  1636. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1637. position = hit.Parent.Torso.Position,
  1638. Parent = hit.Parent.Torso,
  1639. }
  1640. local BodGy = Create("BodyGyro") {
  1641. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1642. P = 20e+003,
  1643. Parent = hit.Parent.Torso,
  1644. cframe = hit.Parent.Torso.CFrame,
  1645. }
  1646. hit.Parent.Torso.Anchored = true
  1647. coroutine.resume(coroutine.create(function(Part)
  1648. swait(1.5)
  1649. Part.Anchored = false
  1650. end), hit.Parent.Torso)
  1651. game:GetService("Debris"):AddItem(BodPos, 3)
  1652. game:GetService("Debris"):AddItem(BodGy, 3)
  1653. end
  1654. local debounce = Create("BoolValue"){
  1655. Name = "DebounceHit",
  1656. Parent = hit.Parent,
  1657. Value = true,
  1658. }
  1659. game:GetService("Debris"):AddItem(debounce, Delay)
  1660. c = Create("ObjectValue"){
  1661. Name = "creator",
  1662. Value = Player,
  1663. Parent = h,
  1664. }
  1665. game:GetService("Debris"):AddItem(c, .5)
  1666. end
  1667. end
  1668. -------------------------------------------------------
  1669. --End Damage Function--
  1670. -------------------------------------------------------
  1671.  
  1672. -------------------------------------------------------
  1673. --Start Damage Function Customization--
  1674. -------------------------------------------------------
  1675. function ShowDamage(Pos, Text, Time, Color)
  1676. local Rate = (1 / 30)
  1677. local Pos = (Pos or Vector3.new(0, 0, 0))
  1678. local Text = (Text or "")
  1679. local Time = (Time or 2)
  1680. local Color = (Color or Color3.new(255, 255, 1))
  1681. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1682. EffectPart.Anchored = true
  1683. local BillboardGui = Create("BillboardGui"){
  1684. Size = UDim2.new(3, 0, 3, 0),
  1685. Adornee = EffectPart,
  1686. Parent = EffectPart,
  1687. }
  1688. local TextLabel = Create("TextLabel"){
  1689. BackgroundTransparency = 1,
  1690. Size = UDim2.new(1, 0, 1, 0),
  1691. Text = Text,
  1692. Font = "Bodoni",
  1693. TextColor3 = Color,
  1694. TextScaled = true,
  1695. TextStrokeColor3 = Color3.fromRGB(220, 188, 129),
  1696. Parent = BillboardGui,
  1697. }
  1698. game.Debris:AddItem(EffectPart, (Time))
  1699. EffectPart.Parent = game:GetService("Workspace")
  1700. delay(0, function()
  1701. local Frames = (Time / Rate)
  1702. for Frame = 1, Frames do
  1703. wait(Rate)
  1704. local Percent = (Frame / Frames)
  1705. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1706. TextLabel.TextTransparency = Percent
  1707. end
  1708. if EffectPart and EffectPart.Parent then
  1709. EffectPart:Destroy()
  1710. end
  1711. end)
  1712. end
  1713. -------------------------------------------------------
  1714. --End Damage Function Customization--
  1715. -------------------------------------------------------
  1716.  
  1717. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1718. for _, c in pairs(workspace:children()) do
  1719. local hum = c:findFirstChild("Humanoid")
  1720. if hum ~= nil then
  1721. local head = c:findFirstChild("Head")
  1722. if head ~= nil then
  1723. local targ = head.Position - Part.Position
  1724. local mag = targ.magnitude
  1725. if magni >= mag and c.Name ~= plr.Name then
  1726. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1727. end
  1728. end
  1729. end
  1730. end
  1731. end
  1732.  
  1733.  
  1734. CFuncs = {
  1735. Part = {
  1736. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1737. local Part = Create("Part")({
  1738. Parent = Parent,
  1739. Reflectance = Reflectance,
  1740. Transparency = Transparency,
  1741. CanCollide = false,
  1742. Locked = true,
  1743. BrickColor = BrickColor.new(tostring(BColor)),
  1744. Name = Name,
  1745. Size = Size,
  1746. Material = Material
  1747. })
  1748. RemoveOutlines(Part)
  1749. return Part
  1750. end
  1751. },
  1752. Mesh = {
  1753. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1754. local Msh = Create(Mesh)({
  1755. Parent = Part,
  1756. Offset = OffSet,
  1757. Scale = Scale
  1758. })
  1759. if Mesh == "SpecialMesh" then
  1760. Msh.MeshType = MeshType
  1761. Msh.MeshId = MeshId
  1762. end
  1763. return Msh
  1764. end
  1765. },
  1766. Mesh = {
  1767. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1768. local Msh = Create(Mesh)({
  1769. Parent = Part,
  1770. Offset = OffSet,
  1771. Scale = Scale
  1772. })
  1773. if Mesh == "SpecialMesh" then
  1774. Msh.MeshType = MeshType
  1775. Msh.MeshId = MeshId
  1776. end
  1777. return Msh
  1778. end
  1779. },
  1780. Weld = {
  1781. Create = function(Parent, Part0, Part1, C0, C1)
  1782. local Weld = Create("Weld")({
  1783. Parent = Parent,
  1784. Part0 = Part0,
  1785. Part1 = Part1,
  1786. C0 = C0,
  1787. C1 = C1
  1788. })
  1789. return Weld
  1790. end
  1791. },
  1792. Sound = {
  1793. Create = function(id, par, vol, pit)
  1794. coroutine.resume(coroutine.create(function()
  1795. local S = Create("Sound")({
  1796. Volume = vol,
  1797. Pitch = pit or 1,
  1798. SoundId = id,
  1799. Parent = par or workspace
  1800. })
  1801. wait()
  1802. S:play()
  1803. game:GetService("Debris"):AddItem(S, 6)
  1804. end))
  1805. end
  1806. },
  1807. ParticleEmitter = {
  1808. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1809. local fp = Create("ParticleEmitter")({
  1810. Parent = Parent,
  1811. Color = ColorSequence.new(Color1, Color2),
  1812. LightEmission = LightEmission,
  1813. Size = Size,
  1814. Texture = Texture,
  1815. Transparency = Transparency,
  1816. ZOffset = ZOffset,
  1817. Acceleration = Accel,
  1818. Drag = Drag,
  1819. LockedToPart = LockedToPart,
  1820. VelocityInheritance = VelocityInheritance,
  1821. EmissionDirection = EmissionDirection,
  1822. Enabled = Enabled,
  1823. Lifetime = LifeTime,
  1824. Rate = Rate,
  1825. Rotation = Rotation,
  1826. RotSpeed = RotSpeed,
  1827. Speed = Speed,
  1828. VelocitySpread = VelocitySpread
  1829. })
  1830. return fp
  1831. end
  1832. }
  1833. }
  1834. function RemoveOutlines(part)
  1835. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1836. end
  1837. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1838. local Part = Create("Part")({
  1839. formFactor = FormFactor,
  1840. Parent = Parent,
  1841. Reflectance = Reflectance,
  1842. Transparency = Transparency,
  1843. CanCollide = false,
  1844. Locked = true,
  1845. BrickColor = BrickColor.new(tostring(BColor)),
  1846. Name = Name,
  1847. Size = Size,
  1848. Material = Material
  1849. })
  1850. RemoveOutlines(Part)
  1851. return Part
  1852. end
  1853. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1854. local Msh = Create(Mesh)({
  1855. Parent = Part,
  1856. Offset = OffSet,
  1857. Scale = Scale
  1858. })
  1859. if Mesh == "SpecialMesh" then
  1860. Msh.MeshType = MeshType
  1861. Msh.MeshId = MeshId
  1862. end
  1863. return Msh
  1864. end
  1865. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1866. local Weld = Create("Weld")({
  1867. Parent = Parent,
  1868. Part0 = Part0,
  1869. Part1 = Part1,
  1870. C0 = C0,
  1871. C1 = C1
  1872. })
  1873. return Weld
  1874. end
  1875.  
  1876.  
  1877.  
  1878. -------------------------------------------------------
  1879. --End Effect Function--
  1880. -------------------------------------------------------
  1881. function Cso(ID, PARENT, VOLUME, PITCH)
  1882. local NSound = nil
  1883. coroutine.resume(coroutine.create(function()
  1884. NSound = IT("Sound", PARENT)
  1885. NSound.Volume = VOLUME
  1886. NSound.Pitch = PITCH
  1887. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1888. swait()
  1889. NSound:play()
  1890. game:GetService("Debris"):AddItem(NSound, 50)
  1891. end))
  1892. return NSound
  1893. end
  1894. function CameraEnshaking(Length, Intensity)
  1895. coroutine.resume(coroutine.create(function()
  1896. local intensity = 1 * Intensity
  1897. local rotM = 0.01 * Intensity
  1898. for i = 0, Length, 0.1 do
  1899. swait()
  1900. intensity = intensity - 0.05 * Intensity / Length
  1901. rotM = rotM - 5.0E-4 * Intensity / Length
  1902. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1903. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1904. end
  1905. hum.CameraOffset = Vector3.new(0, 0, 0)
  1906. end))
  1907. end
  1908. -------------------------------------------------------
  1909. --End Important Functions--
  1910. -------------------------------------------------------
  1911.  
  1912. ----------------------------------------------------------------------------------
  1913. hum.WalkSpeed = 20
  1914. hum.JumpPower = 60
  1915. ----------------------------------------------------------------------------------
  1916. local AddInstance = function(Object, ...)
  1917. local Obj = Instance.new(Object)
  1918. for i,v in next,(...) do
  1919. Obj[i] = v
  1920. end
  1921. return Obj
  1922. end
  1923. ----------------------------------------------------
  1924.  
  1925.  
  1926. local Reaper = AddInstance("Part",{
  1927. Parent = hed,
  1928. CFrame = hed.CFrame,
  1929. formFactor = "Symmetric",
  1930. Size = Vector3.new(1, 1, 1),
  1931. CanCollide = false,
  1932. TopSurface = "Smooth",
  1933. BottomSurface = "Smooth",
  1934. Locked = true,
  1935. })
  1936. local Weld = AddInstance("Weld",{
  1937. Parent = Reaper,
  1938. Part0 = hed,
  1939. C0 = CFrame.new(0, 1.45, 0)*CFrame.Angles(0, 0, 0),
  1940. Part1 = Reaper,
  1941. })
  1942. local Mesh = AddInstance("SpecialMesh",{
  1943. Parent = Reaper,
  1944. MeshId = "rbxassetid://0",
  1945. TextureId = "rbxassetid://0",
  1946. Scale = Vector3.new(0.85,0.85,0.85),
  1947. VertexColor = Vector3.new(1, 1, 1),
  1948. })
  1949.  
  1950. -------------------------------------------------------
  1951. IT = Instance.new
  1952. CF = CFrame.new
  1953. VT = Vector3.new
  1954. RAD = math.rad
  1955. C3 = Color3.new
  1956. UD2 = UDim2.new
  1957. BRICKC = BrickColor.new
  1958. ANGLES = CFrame.Angles
  1959. EULER = CFrame.fromEulerAnglesXYZ
  1960. COS = math.cos
  1961. ACOS = math.acos
  1962. SIN = math.sin
  1963. ASIN = math.asin
  1964. ABS = math.abs
  1965. MRANDOM = math.random
  1966. FLOOR = math.floor
  1967.  
  1968. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1969. local label = IT("TextLabel")
  1970. label.BackgroundTransparency = 1
  1971. label.Size = UD2(1, 0, 1, 0)
  1972. label.Position = UD2(0, 0, 0, 0)
  1973. label.TextColor3 = TEXTCOLOR
  1974. label.TextStrokeTransparency = STROKETRANSPARENCY
  1975. label.TextTransparency = TRANSPARENCY
  1976. label.FontSize = TEXTFONTSIZE
  1977. label.Font = TEXTFONT
  1978. label.BorderSizePixel = BORDERSIZEPIXEL
  1979. label.TextScaled = false
  1980. label.Text = TEXT
  1981. label.Name = NAME
  1982. label.Parent = PARENT
  1983. return label
  1984. end
  1985.  
  1986. function chatfunc(text)
  1987. local chat = coroutine.wrap(function()
  1988. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1989. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1990. end
  1991. local Bill = Instance.new("BillboardGui",Character)
  1992. Bill.Size = UDim2.new(0,100,0,40)
  1993. Bill.StudsOffset = Vector3.new(0,3,0)
  1994. Bill.Adornee = Character.Head
  1995. Bill.Name = "TalkingBillBoard"
  1996. local Hehe = Instance.new("TextLabel",Bill)
  1997. Hehe.BackgroundTransparency = 1
  1998. Hehe.BorderSizePixel = 0
  1999. Hehe.Text = ""
  2000. Hehe.Font = "Bodoni"
  2001. Hehe.TextSize = 40
  2002. Hehe.TextStrokeTransparency = 0
  2003. Hehe.Size = UDim2.new(1,0,0.5,0)
  2004. coroutine.resume(coroutine.create(function()
  2005. while Hehe ~= nil do
  2006. swait()
  2007. Hehe.TextColor3 = Color3.new(255, 255, 204)
  2008. Hehe.TextStrokeColor3 = Color3.new(255, 255, 204)
  2009. end
  2010. end))
  2011. for i = 1,string.len(text),1 do
  2012. swait()
  2013. Hehe.Text = string.sub(text,1,i)
  2014. end
  2015. swait(90)--Re[math.random(1, 93)]
  2016. for i = 0, 1, .025 do
  2017. swait()
  2018. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2019. Hehe.TextStrokeTransparency = i
  2020. Hehe.TextTransparency = i
  2021. end
  2022. Bill:Destroy()
  2023. end)
  2024. chat()
  2025. end
  2026.  
  2027. function onChatted(msg)
  2028. chatfunc(msg)
  2029. end
  2030.  
  2031. Player.Chatted:connect(onChatted)
  2032.  
  2033. function Ban()
  2034. wait(1.5)
  2035. local Hair = AddInstance("Part",{
  2036. Parent = hed,
  2037. CFrame = hed.CFrame,
  2038. formFactor = "Symmetric",
  2039. Size = Vector3.new(1, 1, 1),
  2040. CanCollide = false,
  2041. TopSurface = "Smooth",
  2042. BottomSurface = "Smooth",
  2043. Locked = true,
  2044. })
  2045. local Weld = AddInstance("Weld",{
  2046. Parent = Hair,
  2047. Part0 = hed,
  2048. C0 = CFrame.new(0, 0.3, 0.45)*CFrame.Angles(0, 480.5, 0),
  2049. Part1 = Hair,
  2050. })
  2051. local Mesh = AddInstance("SpecialMesh",{
  2052. Parent = Hair,
  2053. MeshId = "rbxassetid://430736398",
  2054. TextureId = "rbxassetid://869796655",
  2055. Scale = Vector3.new(1,1,1),
  2056. VertexColor = Vector3.new(1, 1, 1),
  2057. })
  2058. local Cape = AddInstance("Part",{
  2059. Parent = Torso,
  2060. CFrame = Torso.CFrame,
  2061. formFactor = "Symmetric",
  2062. Size = Vector3.new(1, 1, 1),
  2063. CanCollide = false,
  2064. TopSurface = "Smooth",
  2065. BottomSurface = "Smooth",
  2066. Locked = true,
  2067. })
  2068. local Weld = AddInstance("Weld",{
  2069. Parent = Cape,
  2070. Part0 = Torso,
  2071. C0 = CFrame.new(0, -1.2, 0.65)*CFrame.Angles(0, 0, 0),
  2072. Part1 = Cape,
  2073. })
  2074. local Mesh = AddInstance("SpecialMesh",{
  2075. Parent = Cape,
  2076. MeshId = "rbxassetid://2774049768",
  2077. TextureId = "rbxassetid://2774049797",
  2078. Scale = Vector3.new(5, 4, 5),
  2079. VertexColor = Vector3.new(1, 1, 1),
  2080. })
  2081. local har3 = Instance.new("Part", char.Head)
  2082. har3.BrickColor = BrickColor.new("Black")
  2083. har3.Name = "Hair"
  2084. har3.formFactor = 0
  2085. har3.Size = Vector3.new(0,-0.25,0)
  2086. har3.BottomSurface = 0
  2087. har3.TopSurface = 0
  2088. har3.CanCollide = false
  2089. Mesh3 = Instance.new("SpecialMesh",har3)
  2090. Mesh3.MeshId = "rbxassetid://1018860047"
  2091. Mesh3.Scale=Vector3.new(1.01, .99, 1.01)
  2092. local bWeld = Instance.new("Weld", char.Head)
  2093. bWeld.Part0 = char.Head
  2094. bWeld.Part1 = har3
  2095. bWeld.C1 = CFrame.new(0,-.1,.3)
  2096.  
  2097. swait()
  2098. plr = game.Players.LocalPlayer
  2099. char = plr.Character
  2100. mouse = plr:GetMouse()
  2101. whitecolor = Color3.new(220, 188, 129)
  2102. epicmode = false
  2103. normal = true
  2104. for i,v in pairs(char:GetChildren()) do
  2105. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  2106. v:Destroy()
  2107. end
  2108. end
  2109. local shirt = Instance.new("Shirt",char)
  2110. shirt.ShirtTemplate = "rbxassetid://0"
  2111. local pants = Instance.new("Pants",char)
  2112. pants.PantsTemplate = "rbxassetid://0"
  2113. local bdycolors = char["Body Colors"]
  2114. bdycolors.HeadColor3 = whitecolor
  2115. bdycolors.LeftArmColor3 = whitecolor
  2116. bdycolors.LeftLegColor3 = whitecolor
  2117. bdycolors.RightArmColor3 = whitecolor
  2118. bdycolors.RightLegColor3 = whitecolor
  2119. bdycolors.TorsoColor3 = whitecolor
  2120. for i,v in pairs(char:GetChildren()) do
  2121. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  2122. v:Destroy()
  2123. end
  2124. end
  2125.  
  2126. local BC = Character["Body Colors"]
  2127. BC.HeadColor = BrickColor.new("Flame yellowish orange")
  2128. BC.LeftArmColor = BrickColor.new("Flame yellowish orange")
  2129. BC.LeftLegColor = BrickColor.new("Flame yellowish orange")
  2130. BC.RightArmColor = BrickColor.new("Flame yellowish orange")
  2131. BC.RightLegColor = BrickColor.new("Flame yellowish orange")
  2132. BC.TorsoColor = BrickColor.new("Curry")
  2133. end
  2134.  
  2135. mouse.Button1Down:connect(function(key)
  2136. if attack == false then
  2137. Ban()
  2138. end
  2139. end)
  2140. -----------------------------------------------
  2141.  
  2142. theme = Instance.new("Sound", Head)
  2143. theme.Volume = 0.7
  2144. theme.Name = "theme"
  2145. theme.Looped = true
  2146.  
  2147. mouse.KeyDown:connect(function(Press)
  2148. Press=Press:lower()
  2149. if Press=='z' then
  2150. id = 0
  2151. theme.SoundId = "rbxassetid://"..id
  2152. theme:Play()
  2153. end
  2154. end)
  2155.  
  2156. mouse.KeyDown:connect(function(Press)
  2157. Press=Press:lower()
  2158. if Press=='c' then
  2159. id = 143809158
  2160. theme.SoundId = "rbxassetid://"..id
  2161. theme:Play()
  2162. end
  2163. end)
  2164.  
  2165. mouse.KeyDown:connect(function(Press)
  2166. Press=Press:lower()
  2167. if Press=='v' then
  2168. id = 136343853
  2169. theme.SoundId = "rbxassetid://"..id
  2170. theme:Play()
  2171. end
  2172. end)
  2173.  
  2174. mouse.KeyDown:connect(function(Press)
  2175. Press=Press:lower()
  2176. if Press=='b' then
  2177. id = 317697384
  2178. theme.SoundId = "rbxassetid://"..id
  2179. theme:Play()
  2180. end
  2181. end)
  2182.  
  2183. mouse.KeyDown:connect(function(Press)
  2184. Press=Press:lower()
  2185. if Press=='x' then
  2186. id = 235751894
  2187. theme.SoundId = "rbxassetid://"..id
  2188. theme:Play()
  2189. end
  2190. end)
  2191. mas:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement