Advertisement
antoniorigo4

wdaw

Jan 30th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1.  
  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. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Decal3 = Instance.new("Decal")
  23. Glue4 = Instance.new("Glue")
  24. WeldConstraint5 = Instance.new("WeldConstraint")
  25. Script6 = Instance.new("Script")
  26. Part7 = Instance.new("Part")
  27. WeldConstraint8 = Instance.new("WeldConstraint")
  28. Part9 = Instance.new("Part")
  29. Decal10 = Instance.new("Decal")
  30. Sound11 = Instance.new("Sound")
  31. Script12 = Instance.new("Script")
  32. WeldConstraint13 = Instance.new("WeldConstraint")
  33. Part14 = Instance.new("Part")
  34. Script15 = Instance.new("Script")
  35. Script16 = Instance.new("Script")
  36. Model0.Parent = mas
  37. Part1.Name = "Headwelda"
  38. Part1.Parent = Model0
  39. Part1.CFrame = CFrame.new(3.27999997, 13.7001562, 11.5299997, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  40. Part1.Position = Vector3.new(3.27999997, 13.7001562, 11.5299997)
  41. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  42. Part1.Transparency = 1
  43. Part1.Size = Vector3.new(2, 1, 1)
  44. Part1.BottomSurface = Enum.SurfaceType.Smooth
  45. Part1.BrickColor = BrickColor.new("Really black")
  46. Part1.FrontSurface = Enum.SurfaceType.Glue
  47. Part1.Locked = true
  48. Part1.TopSurface = Enum.SurfaceType.Smooth
  49. Part1.brickColor = BrickColor.new("Really black")
  50. Part2.Name = "faca"
  51. Part2.Parent = Part1
  52. Part2.CFrame = CFrame.new(3.2700007, 14.4701557, 11.0050001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  53. Part2.Position = Vector3.new(3.2700007, 14.4701557, 11.0050001)
  54. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  55. Part2.Transparency = 1
  56. Part2.Size = Vector3.new(2.04000115, 2.51999927, 0.0500000007)
  57. Part2.BottomSurface = Enum.SurfaceType.Smooth
  58. Part2.BrickColor = BrickColor.new("Really black")
  59. Part2.TopSurface = Enum.SurfaceType.Smooth
  60. Part2.brickColor = BrickColor.new("Really black")
  61. Decal3.Parent = Part2
  62. Decal3.Texture = "rbxassetid://112152924"
  63. Glue4.Parent = Part2
  64. Glue4.C0 = CFrame.new(0, 0, 0.0250000004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  65. Glue4.C1 = CFrame.new(-0.00999999978, 0.769999981, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  66. Glue4.Part0 = Part2
  67. Glue4.Part1 = Part1
  68. Glue4.part1 = Part1
  69. Glue4.F0 = Vector3.new(-0.990000665, -1.25999975, -3.81842256e-07)
  70. Glue4.F1 = Vector3.new(-0.990000665, -0.269999981, -3.81842256e-07)
  71. Glue4.F2 = Vector3.new(1.00999928, -0.269999981, -3.81842256e-07)
  72. Glue4.F3 = Vector3.new(1.00999928, -1.25999975, -3.81842256e-07)
  73. WeldConstraint5.Parent = Part2
  74. WeldConstraint5.Part0 = Part2
  75. WeldConstraint5.Part1 = Part1
  76. Script6.Parent = Part1
  77. table.insert(cors,sandbox(Script6,function()
  78.  
  79. local chara = owner.Character
  80. local w = Instance.new("Weld",script.Parent)
  81. w.Part0 = script.Parent
  82. w.Part1 = chara.Head
  83. chara.Head.Mesh:Destroy()
  84. chara.Head.Transparency = 1
  85. wait (1)
  86. chara.Head.face:Destroy()
  87. for _,v in pairs (chara:GetChildren()) do
  88. if v:IsA("Accessory") then
  89. v:Destroy()
  90. end
  91. end
  92.  
  93.  
  94. end))
  95. Part7.Name = "handle"
  96. Part7.Parent = Model0
  97. Part7.CFrame = CFrame.new(-4.30999994, 5.04000521, 19.9799995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  98. Part7.Position = Vector3.new(-4.30999994, 5.04000521, 19.9799995)
  99. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  100. Part7.Transparency = 1
  101. Part7.Size = Vector3.new(1, 2, 1)
  102. Part7.BottomSurface = Enum.SurfaceType.Smooth
  103. Part7.BrickColor = BrickColor.new("Really black")
  104. Part7.Locked = true
  105. Part7.TopSurface = Enum.SurfaceType.Smooth
  106. Part7.brickColor = BrickColor.new("Really black")
  107. WeldConstraint8.Parent = Part7
  108. WeldConstraint8.Part0 = Part7
  109. WeldConstraint8.Part1 = Part14
  110. Part9.Name = "flag"
  111. Part9.Parent = Part7
  112. Part9.CFrame = CFrame.new(-5.63000011, 4.17001247, 13.9199867, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  113. Part9.Orientation = Vector3.new(0, 180, 0)
  114. Part9.Position = Vector3.new(-5.63000011, 4.17001247, 13.9199867)
  115. Part9.Rotation = Vector3.new(-180, 0, -180)
  116. Part9.Size = Vector3.new(3, 0.260000288, 3)
  117. Part9.BottomSurface = Enum.SurfaceType.Smooth
  118. Part9.TopSurface = Enum.SurfaceType.Smooth
  119. Decal10.Parent = Part9
  120. Decal10.Texture = "rbxassetid://117528164"
  121. Decal10.Face = Enum.NormalId.Top
  122. Sound11.Name = "BACKGREND"
  123. Sound11.Parent = Part9
  124. Sound11.SoundId = "rbxassetid://1856092287"
  125. Sound11.Volume = 10
  126. Script12.Parent = Sound11
  127. table.insert(cors,sandbox(Script12,function()
  128. script.Parent:Play()
  129. end))
  130. WeldConstraint13.Parent = Part9
  131. WeldConstraint13.Part0 = Part9
  132. WeldConstraint13.Part1 = Part14
  133. Part14.Name = "flagpiece"
  134. Part14.Parent = Part7
  135. Part14.CFrame = CFrame.new(-4.08499908, 4.17001247, 16.0299911, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  136. Part14.Orientation = Vector3.new(0, 180, 0)
  137. Part14.Position = Vector3.new(-4.08499908, 4.17001247, 16.0299911)
  138. Part14.Rotation = Vector3.new(-180, 0, -180)
  139. Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  140. Part14.Size = Vector3.new(0.170000449, 0.260000288, 7.2200017)
  141. Part14.BottomSurface = Enum.SurfaceType.Smooth
  142. Part14.BrickColor = BrickColor.new("Really black")
  143. Part14.TopSurface = Enum.SurfaceType.Smooth
  144. Part14.brickColor = BrickColor.new("Really black")
  145. Script15.Parent = Part7
  146. table.insert(cors,sandbox(Script15,function()
  147. wait (2)
  148. local chara = owner.Character
  149. local w = Instance.new("Weld",script.Parent)
  150. w.Part0 = script.Parent
  151. w.Part1 = chara["Left Arm"]
  152.  
  153.  
  154. end))
  155. Script16.Parent = Model0
  156. table.insert(cors,sandbox(Script16,function()
  157. local c = owner.Character
  158. script.Parent.Parent = c
  159. end))
  160. for i,v in pairs(mas:GetChildren()) do
  161. v.Parent = workspace
  162. pcall(function() v:MakeJoints() end)
  163. end
  164. mas:Destroy()
  165. for i,v in pairs(cors) do
  166. spawn(function()
  167. pcall(v)
  168. end)
  169. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement