Advertisement
PasterXIV

Untitled

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