Advertisement
FloweyTheFlower

Roblox Scripts #79 Explode Tools (Edit)

Feb 11th, 2018
1,222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.74 KB | None | 0 0
  1. --Made by N3xul.
  2. -- Script Name: Classic Teapot Turret Reborn
  3. -- Last Updated:  
  4. --  _   _ ____             _    _____           _       _  
  5. -- | \ | |___ \           | |  / ____|         (_)     | |  
  6. -- |  \| | __) |_  ___   _| | | (___   ___ _ __ _ _ __ | |_
  7. -- | . ` ||__ <\ \/ / | | | |  \___ \ / __| '__| | '_ \| __|
  8. -- | |\  |___) |>  <| |_| | |  ____) | (__| |  | | |_) | |_
  9. -- |_| \_|____//_/\_\\__,_|_| |_____/ \___|_|  |_| .__/ \__|
  10. --                                               | |        
  11. --                                               |_|        
  12.  Nel = game.Players.LocalPlayer.Character
  13.  Bonnie = Instance.new("Sound", Nel["Torso"])
  14. Bonnie.SoundId = "rbxassetid://155076577"
  15. Bonnie.Volume = 10
  16. Bonnie.TimePosition = 0
  17. Bonnie.EmitterSize = 25
  18. Bonnie.Looped = true
  19. Bonnie:Play()
  20. player = game:GetService("Players").LocalPlayer
  21. chara = player.Character
  22. ch = chara:GetChildren()
  23. for i = 1, #ch do
  24. if ch[i].Name == "Torso" then
  25. ch[i].roblox.Transparency = 1
  26. elseif ch[i].Name == "Head" then
  27. ch[i].face.Transparency = 1 -- change to 0 for show face
  28. ch[i].Transparency = 1
  29. elseif ch[i].ClassName == "ShirtGraphic" then
  30. ch[i]:Destroy()
  31. end
  32. end
  33.   plre = game.Players.LocalPlayer
  34.   chrss = plre.Character
  35. local Bon = chrss["Body Colors"]
  36. Bon.HeadColor = BrickColor.new("Grey")
  37. Bon.LeftArmColor = BrickColor.new("Grey")
  38. Bon.LeftLegColor = BrickColor.new("Grey")
  39. Bon.RightArmColor = BrickColor.new("Grey")
  40. Bon.RightLegColor = BrickColor.new("Grey")
  41. Bon.TorsoColor = BrickColor.new("Grey")
  42.   plr = game.Players.LocalPlayer
  43.   chr = plr.Character
  44. chr.Head.face.Texture = "rbxassetid://0"
  45. chr.Shirt.ShirtTemplate = "rbxassetid://0"
  46. chr.Pants.PantsTemplate = "rbxassetid://0"
  47. Bonniee = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  48. Bonniee.Visible = false
  49. local nel = game.Players.LocalPlayer.Character.Humanoid
  50. nel.MaxHealth = math.huge
  51. local plr = game:service'Players'.LocalPlayer
  52. local char = plr.Character
  53. for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v:Remove() end end
  54. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v:Remove() end end
  55. warn'Edit by Shi-Shi#4817'
  56. local runDummyScript = function(f,scri)
  57. local oldenv = getfenv(f)
  58. local newenv = setmetatable({}, {
  59. __index = function(_, k)
  60. if k:lower() == 'script' then
  61. return scri
  62. else
  63. return oldenv[k]
  64. end
  65. end
  66. })
  67. setfenv(f, newenv)
  68. ypcall(function() f() end)
  69. end
  70. cors = {}
  71. mas = Instance.new("Model",game:GetService("Lighting"))
  72. mas.Name = "CompiledModel"
  73. o1 = Instance.new("Tool")
  74. o2 = Instance.new("Part")
  75. o3 = Instance.new("SpecialMesh")
  76. o4 = Instance.new("Sound")
  77. o5 = Instance.new("LocalScript")
  78. o6 = Instance.new("Script")
  79. o7 = Instance.new("HopperBin")
  80. o8 = Instance.new("LocalScript")
  81. o9 = Instance.new("HopperBin")
  82. o10 = Instance.new("Sound")
  83. o11 = Instance.new("LocalScript")
  84. o12 = Instance.new("HopperBin")
  85. o13 = Instance.new("Script")
  86. o14 = Instance.new("Sound")
  87. o1.Name = "GravityHammer"
  88. o1.Parent = mas
  89. o1.TextureId = "http://www.roblox.com/asset/?id=1256305"
  90. o1.GripForward = Vector3.new(-1, -0, -0)
  91. o1.GripPos = Vector3.new(0, 0, -3.25)
  92. o1.GripRight = Vector3.new(0, 1, 0)
  93. o1.GripUp = Vector3.new(0, 0, 1)
  94. o2.Name = "Handle"
  95. o2.Parent = o1
  96. o2.BrickColor = BrickColor.new("Dark stone grey")
  97. o2.Reflectance = 0.40000000596046
  98. o2.Position = Vector3.new(-7.53602743, 4.99960041, -31.5799809)
  99. o2.Rotation = Vector3.new(-90, 0.0500000007, 180)
  100. o2.FormFactor = Enum.FormFactor.Plate
  101. o2.Size = Vector3.new(1, 0.800000012, 10)
  102. o2.CFrame = CFrame.new(-7.53602743, 4.99960041, -31.5799809, -0.999999642, -7.56997451e-07, 0.000796274224, 0.000796274282, 9.09494702e-13, 0.999999702, -7.5623251e-07, 0.99999994, 6.00266503e-10)
  103. o2.BottomSurface = Enum.SurfaceType.Smooth
  104. o2.TopSurface = Enum.SurfaceType.Smooth
  105. o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  106. o2.Position = Vector3.new(-7.53602743, 4.99960041, -31.5799809)
  107. o2.Orientation = Vector3.new(-89.9599991, 90, 90)
  108. o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  109. o3.Parent = o2
  110. o3.MeshId = "http://www.roblox.com/asset/?id=1256290"
  111. o3.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  112. o3.TextureId = "http://www.roblox.com/asset/?id=1256283"
  113. o3.MeshType = Enum.MeshType.FileMesh
  114. o3.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  115. o4.Parent = o2
  116. o4.SoundId = "http://www.roblox.com/asset/?id=231917784"
  117. o4.Volume = 1
  118. o5.Name = "Local Gui"
  119. o5.Parent = o1
  120. table.insert(cors,coroutine.create(function()
  121. wait()
  122. runDummyScript(function()
  123.  
  124. end,o5)
  125. end))
  126. o6.Name = "SwordScript"
  127. o6.Parent = o1
  128. table.insert(cors,coroutine.create(function()
  129. wait()
  130. runDummyScript(function()
  131. -------- OMG HAX
  132.  
  133.  
  134.  
  135. r = game:service("RunService")
  136.  
  137.  
  138.  
  139.  
  140.  
  141. local damage = 5
  142.  
  143.  
  144.  
  145.  
  146.  
  147. local slash_damage = 10
  148.  
  149. local lunge_damage = 30
  150.  
  151.  
  152.  
  153. sword = script.Parent.Handle
  154.  
  155. Tool = script.Parent
  156.  
  157.  
  158.  
  159. SlashSound = sword.Sound
  160.  
  161.  
  162.  
  163. function blow(hit)
  164.  
  165.     Grip = Tool.Parent["Right Arm"].RightGrip:clone()
  166.  
  167.     humanoid = hit.Parent:findFirstChild("Humanoid")
  168.  
  169.     if(humanoid ~= nil and humanoid.Parent.Name == Tool.Parent.Name) then --don't hit yourself
  170.  
  171.         return
  172.  
  173.     end
  174.  
  175.    
  176.  
  177.     --if(Tool:findFirstChild("toolAnim") == nil) then return end
  178.  
  179.     if(humanoid ~= nil) then --if it's a person, damage him and stop
  180.  
  181.         propel(hit)
  182.  
  183.         print(humanoid.Parent.Name)
  184.  
  185.         humanoid.Health = humanoid.Health - 49
  186.  
  187.     else
  188.  
  189.         explode(hit) --explode only if it doesn't hit a person (ie, blowing holes through walls)
  190.  
  191.     end
  192.  
  193.    
  194.  
  195. end
  196.  
  197.  
  198.  
  199. function propel(part)
  200.  
  201.     if(part.Anchored) then return end --if it isn't anchored, make it flyyy
  202.  
  203.     direction = (part.Position - Tool.Parent.Torso.Position).unit
  204.  
  205.     direction = direction + Vector3.new(0,1,0)
  206.  
  207.     direction = direction * 200
  208.  
  209.     part.Velocity = part.Velocity + direction
  210.  
  211. end
  212.  
  213.  
  214.  
  215. debounce = true
  216.  
  217. function explode(part)
  218.  
  219.     if not debounce then return end
  220.  
  221.    
  222.  
  223.     debounce = false
  224.  
  225.     direction = (part.Position - Tool.Parent.Torso.Position).unit
  226.  
  227.     pos = direction * 12 + Tool.Parent.Torso.Position
  228.  
  229.     explosion = Instance.new("Explosion")
  230.  
  231.     explosion.BlastRadius = 4
  232.  
  233.     explosion.BlastPressure = 1
  234.  
  235.     explosion.Position = pos
  236.  
  237.     explosion.Parent = game.Workspace
  238.  
  239.     explosion.Hit:connect(function(part, distance) propel(part) end)
  240.  
  241.     wait(.1)
  242.  
  243.     Grip:clone().Parent = Tool.Parent["Right Arm"]
  244.  
  245.     debounce = true
  246.  
  247. end
  248.  
  249.  
  250.  
  251. function attack()
  252.  
  253.     SlashSound:play()
  254.  
  255.     local anim = Instance.new("StringValue")
  256.  
  257.     anim.Name = "toolanim"
  258.  
  259.     anim.Value = "Slash"
  260.  
  261.     anim.Parent = Tool
  262.  
  263. end
  264.  
  265.  
  266.  
  267. function lunge()
  268.  
  269.     attack()
  270.  
  271.     force = Instance.new("BodyPosition")
  272.  
  273.     force.maxForce = Vector3.new(1e+005,1e+004,1e+005)
  274.  
  275.     dir = Tool.Parent.Humanoid.targetPoint
  276.  
  277.     if((dir - sword.Position).magnitude > 15) then return end
  278.  
  279.     force.position = dir
  280.  
  281.     force.Parent = sword
  282.  
  283.     wait(.25)
  284.  
  285.     force.Parent = nil
  286.  
  287. end
  288.  
  289.  
  290.  
  291. function swordUp()
  292.  
  293.     Tool.GripForward = Vector3.new(-1,0,0)
  294.  
  295.     Tool.GripRight = Vector3.new(0,1,0)
  296.  
  297.     Tool.GripUp = Vector3.new(0,0,1)
  298.  
  299. end
  300.  
  301.  
  302.  
  303. function swordOut()
  304.  
  305.     Tool.GripForward = Vector3.new(0,0,1)
  306.  
  307.     Tool.GripRight = Vector3.new(0,-1,0)
  308.  
  309.     Tool.GripUp = Vector3.new(-1,0,0)
  310.  
  311. end
  312.  
  313.  
  314.  
  315. function swordAcross()
  316.  
  317.     -- parry
  318.  
  319. end
  320.  
  321.  
  322.  
  323.  
  324.  
  325. Tool.Enabled = true
  326.  
  327. local last_attack = 0
  328.  
  329. function onActivated()
  330.  
  331.  
  332.  
  333.     if not Tool.Enabled then
  334.  
  335.         return
  336.  
  337.     end
  338.  
  339.  
  340.  
  341.     Tool.Enabled = false
  342.  
  343.  
  344.  
  345.     local character = Tool.Parent;
  346.  
  347.     local humanoid = character.Humanoid
  348.  
  349.     if humanoid == nil then
  350.  
  351.         print("Humanoid not found")
  352.  
  353.         return
  354.  
  355.     end
  356.  
  357.  
  358.  
  359.     t = r.Stepped:wait()
  360.  
  361.     connection = sword.Touched:connect(blow)
  362.  
  363.     lunge()
  364.  
  365.  
  366.  
  367.     wait(.4)
  368.  
  369. connection:disconnect()
  370.  
  371.     last_attack = t
  372.  
  373.     Tool.Enabled = true
  374.  
  375.    
  376.  
  377.  
  378.  
  379. end
  380.  
  381. script.Parent.Activated:connect(onActivated)
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388. end,o6)
  389. end))
  390. o7.Name = "Fire Shield"
  391. o7.Parent = mas
  392. o8.Parent = o7
  393. table.insert(cors,coroutine.create(function()
  394. wait()
  395. runDummyScript(function()
  396. --clockwork
  397.  
  398. --Fix implemented by Luckymaxer
  399.  
  400. HopperBin = script.Parent
  401.  
  402. Debris = game:GetService("Debris")
  403.  
  404. function GetX(t)
  405.     return 41 * math.cos(t) - 18 * math.sin(t) - 83 * math.cos(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  406. end
  407.  
  408. function GetY(t)
  409.     return 36 * math.cos(t) + 27 * math.sin(t) - 113 * math.cos(2 * t) + 30 * math.sin(2 * t) + 11 * math.cos(3 * t) - 27 * math.sin(3 * t)
  410. end
  411.  
  412. function GetZ(t)
  413.     return 45 * math.sin(t) - 30 * math.cos(2 * t) + 113 * math.sin(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  414. end
  415.  
  416. Template = Instance.new("Explosion")
  417. Template.BlastRadius = 3
  418. Template.BlastPressure = 0
  419. Template.ExplosionType = Enum.ExplosionType.NoCraters
  420.  
  421. Spaw = false
  422.  
  423. function TagHumanoid(humanoid, player)
  424.     local Creator_Tag = Instance.new("ObjectValue")
  425.     Creator_Tag.Name = "creator"
  426.     Creator_Tag.Value = player
  427.     Debris:AddItem(Creator_Tag, 2)
  428.     Creator_Tag.Parent = humanoid
  429. end
  430.  
  431. function UntagHumanoid(humanoid)
  432.     for i, v in pairs(humanoid:GetChildren()) do
  433.         if v:IsA("ObjectValue") and v.Name == "creator" then
  434.             v:Destroy()
  435.         end
  436.     end
  437. end
  438.  
  439. function FindCharacterAncestor(Parent)
  440.     if Parent and Parent ~= game:GetService("Workspace") then
  441.         local humanoid = Parent:FindFirstChild("Humanoid")
  442.         if humanoid then
  443.             return Parent, humanoid
  444.         else
  445.             return FindCharacterAncestor(Parent.Parent)
  446.         end
  447.     end
  448.     return nil
  449. end
  450.  
  451. function ExplosionHit(Explosion)
  452.     Explosion.Hit:connect(function(Hit)
  453.         if Hit and Hit.Parent then
  454.             local character, humanoid = FindCharacterAncestor(Hit)
  455.             if character and character ~= Character and humanoid and humanoid.Health > 0 then
  456.                 UntagHumanoid(humanoid)
  457.                 TagHumanoid(humanoid, Player)
  458.                 Hit:BreakJoints()
  459.             end
  460.         end
  461.     end)
  462. end
  463.  
  464. function Button1Down()
  465.     Spaw = not Spaw
  466.     i = 0
  467.     if Spaw then
  468.         while Spaw do
  469.             i = (i + 0.15)
  470.             local Explosion = Template:Clone()
  471.             Explosion.Position = Torso.Position + Vector3.new(GetX(i) / 5, GetY(i) / 5, GetZ(i) / 5)
  472.             ExplosionHit(Explosion)
  473.             Explosion.Parent = game:GetService("Workspace")
  474.             Explosion = Template:Clone()
  475.             Explosion.Position = Torso.Position - Vector3.new(GetX(i) / 5, GetY(i) / 5, GetZ(i) / 5)
  476.             ExplosionHit(Explosion)
  477.             Explosion.Parent = game:GetService("Workspace")
  478.             wait(0.025)
  479.         end
  480.     end
  481. end
  482.  
  483. function Selected(Mouse)
  484.     Backpack = HopperBin.Parent
  485.     Player = Backpack.Parent
  486.     Character = Player.Character
  487.     Humanoid = Character:FindFirstChild("Humanoid")
  488.     Torso = Character:FindFirstChild("Torso")
  489.     if not Player or not Character or not Humanoid or Humanoid.Health == 0 or not Torso then
  490.         return
  491.     end
  492.     Mouse.Button1Down:connect(function()
  493.         Button1Down()
  494.     end)
  495.     Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  496. end
  497.  
  498. HopperBin.Selected:connect(Selected)
  499. end,o8)
  500. end))
  501. o9.Name = "Katon"
  502. o9.Parent = mas
  503. o10.Parent = o9
  504. o10.SoundId = "http://www.roblox.com/asset/?id=158037267"
  505. o10.Volume = 0.20000000298023
  506. o11.Parent = o9
  507. table.insert(cors,coroutine.create(function()
  508. wait()
  509. runDummyScript(function()
  510. --clockwork
  511.  
  512. --Fix implemented by Luckymaxer
  513.  
  514. HopperBin = script.Parent
  515.  
  516. Sound = HopperBin:WaitForChild("Sound")
  517.  
  518. Debris = game:GetService("Debris")
  519.  
  520. function TagHumanoid(humanoid, player)
  521.     local Creator_Tag = Instance.new("ObjectValue")
  522.     Creator_Tag.Name = "creator"
  523.     Creator_Tag.Value = player
  524.     Debris:AddItem(Creator_Tag, 2)
  525.     Creator_Tag.Parent = humanoid
  526. end
  527.  
  528. function UntagHumanoid(humanoid)
  529.     for i, v in pairs(humanoid:GetChildren()) do
  530.         if v:IsA("ObjectValue") and v.Name == "creator" then
  531.             v:Destroy()
  532.         end
  533.     end
  534. end
  535.  
  536. function FindCharacterAncestor(Parent)
  537.     if Parent and Parent ~= game:GetService("Workspace") then
  538.         local humanoid = Parent:FindFirstChild("Humanoid")
  539.         if humanoid then
  540.             return Parent, humanoid
  541.         else
  542.             return FindCharacterAncestor(Parent.Parent)
  543.         end
  544.     end
  545.     return nil
  546. end
  547.  
  548. function ExplosionHit(Explosion)
  549.     Explosion.Hit:connect(function(Hit)
  550.         if Hit and Hit.Parent then
  551.             local character, humanoid = FindCharacterAncestor(Hit)
  552.             if character and character ~= Character and humanoid and humanoid.Health > 0 then
  553.                 UntagHumanoid(humanoid)
  554.                 TagHumanoid(humanoid, Player)
  555.                 Hit:BreakJoints()
  556.             end
  557.         end
  558.     end)
  559. end
  560.  
  561. function Explode(Position)
  562.     local Explosion = Instance.new("Explosion")
  563.     Explosion.BlastRadius = 10
  564.     Explosion.BlastPressure = 0
  565.     Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  566.     Explosion.Position = Position
  567.     ExplosionHit(Explosion)
  568.     Explosion.Parent = game:GetService("Workspace")
  569. end
  570.  
  571. function Button1Down(Mouse)
  572.     local StartPos = Head.Position
  573.     local Delta = Mouse.Hit.p - StartPos
  574.     local Unit = Delta.unit
  575.     Sound:Play()
  576.     for i = 0, 75 do
  577.         Explode(StartPos + Unit * 20 + i * Unit * i / 25)
  578.         wait(0.05)
  579.     end
  580. end
  581.  
  582. function Selected(Mouse)
  583.     Backpack = HopperBin.Parent
  584.     Player = Backpack.Parent
  585.     Character = Player.Character
  586.     Humanoid = Character:FindFirstChild("Humanoid")
  587.     Head = Character:FindFirstChild("Head")
  588.     if not Player or not Character or not Humanoid or Humanoid.Health == 0 or not Head then
  589.         return
  590.     end
  591.     Mouse.Button1Down:connect(function()
  592.         Button1Down(Mouse)
  593.     end)
  594.     Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  595. end
  596.  
  597. HopperBin.Selected:connect(Selected)
  598. end,o11)
  599. end))
  600. o12.Name = "SpinFire"
  601. o12.Parent = mas
  602. o13.Parent = o12
  603. table.insert(cors,coroutine.create(function()
  604. wait()
  605. runDummyScript(function()
  606. --clockwork
  607.  
  608.  
  609.  
  610. local bin = script.Parent
  611.  
  612. sfx = bin.Sound
  613.  
  614.  
  615.  
  616. function explode(pos)
  617.  
  618.     local lol = Instance.new("Explosion")
  619.  
  620.     lol.BlastRadius = 2
  621.  
  622.     lol.BlastPressure = 1000000
  623.  
  624.     lol.Position = pos
  625.  
  626.     lol.Parent = game.Workspace
  627.  
  628. end
  629.  
  630.  
  631.  
  632. function onButton1Down(mouse)
  633.  
  634.     local player = game.Players.LocalPlayer
  635.  
  636.     if player == nil then return end
  637.  
  638.     print("trigger")
  639.  
  640.     -- find the best cf
  641.  
  642.  
  643.  
  644.     sfx:play()
  645.  
  646.     look = CFrame.new(player.Character.Head.Position,mouse.Hit.p)
  647.  
  648.     for i=0,75 do
  649.  
  650.         x = math.sin(i / 3) * 8 * (75 - i) / 75
  651.  
  652.         y = math.cos(i / 3) * 8 * (75 - i) / 75
  653.  
  654.         helix = look * CFrame.new(x,y,-i)
  655.  
  656.        
  657.  
  658.         explode(helix.p)
  659.  
  660.  
  661.  
  662.         x = -math.sin(i / 3) * 8 * (75 - i) / 75
  663.  
  664.         y = -math.cos(i / 3) * 8 * (75 - i) / 75
  665.  
  666.         helix = look * CFrame.new(x,y,-i)
  667.  
  668.        
  669.  
  670.         explode(helix.p)
  671.  
  672.         wait(.02)
  673.  
  674.     end
  675.  
  676.     sfx:pause()
  677.  
  678. end
  679.  
  680.  
  681.  
  682. function onSelected(mouse)
  683.  
  684.     print("select")
  685.  
  686.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  687.  
  688.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  689.  
  690. end
  691.  
  692.  
  693.  
  694. bin.Selected:connect(onSelected)
  695.  
  696.  
  697. end,o13)
  698. end))
  699. o14.Parent = o12
  700. o14.SoundId = "http://www.roblox.com/asset/?id=136523485"
  701. o14.Volume = 0.60000002384186
  702. mas.Parent = workspace
  703. mas:MakeJoints()
  704. local mas1 = mas:GetChildren()
  705. for i=1,#mas1 do
  706.     mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  707.     ypcall(function() mas1[i]:MakeJoints() end)
  708. end
  709. mas:Destroy()
  710. for i=1,#cors do
  711. coroutine.resume(cors[i])
  712. end
  713. --Forcefield
  714. local f = Instance.new("ForceField")
  715. f.Parent = game.Players.localPlayer.Character
  716. f.Visible = false
  717. --Teapot
  718. hat = Instance.new'Accessory'
  719. hat.Name = 'GoldTeapot'
  720. hat.AttachmentForward = Vector3.new(0,0,-1)
  721. hat.AttachmentPos = Vector3.new(0, 0.300000012, 0)
  722. hat.AttachmentUp = Vector3.new(0, 1, 0)
  723. hat.AttachmentRight = Vector3.new(1, 0, 0)
  724. handle = Instance.new('Part', hat)
  725. handle.Name = 'Handle'
  726. handle.Locked = true
  727. handle.CanCollide = true
  728. handle.Transparency = 0
  729. handle.BrickColor = BrickColor.new'Medium stone grey'
  730. handle.Size = Vector3.new(2, 0.800000012, 2)
  731. mesh = Instance.new('SpecialMesh', handle)
  732. mesh.MeshId = 'http://www.roblox.com/asset/?id=0'
  733. mesh.Scale = Vector3.new(1, 1, 1)
  734. mesh.VertexColor = Vector3.new(1, 1, 1)
  735. mesh.TextureId = 'http://www.roblox.com/asset/?id=1594166'
  736. att = Instance.new('Attachment', handle)
  737. att.Name = 'HatAt'
  738. att.Position = Vector3.new(8.65838956e-09, 0.400000095, -0.000272244215)
  739. att.Axis = Vector3.new(1, -7.87137555e-09, 0)
  740. att.SecondaryAxis = Vector3.new(7.87137555e-09, 1, 4.1444221e-16)
  741. hat.Parent = game:GetService'Players'.LocalPlayer.Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement