Advertisement
Godofadmin1337

killv2

Oct 3rd, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 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. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Fire2 = Instance.new("Fire")
  22. Script3 = Instance.new("Script")
  23. ManualWeld4 = Instance.new("ManualWeld")
  24. Tool0.Parent = mas
  25. Part1.Name = "Handle"
  26. Part1.Parent = Tool0
  27. Part1.BrickColor = BrickColor.new("New Yeller")
  28. Part1.Rotation = Vector3.new(-176.220001, 67.3399963, 176.509995)
  29. Part1.FormFactor = Enum.FormFactor.Plate
  30. Part1.Size = Vector3.new(4, 0.400000006, 4)
  31. Part1.CFrame = CFrame.new(-6.13584995, 0.250743985, -11.4375601, -0.384615242, -0.0234328043, 0.9227795, -1.96509063e-06, 0.999677777, 0.0253847186, -0.923076987, 0.00976153556, -0.384491354)
  32. Part1.BottomSurface = Enum.SurfaceType.Smooth
  33. Part1.TopSurface = Enum.SurfaceType.Smooth
  34. Part1.Color = Color3.new(1, 1, 0)
  35. Part1.Position = Vector3.new(-6.13584995, 0.250743985, -11.4375601)
  36. Part1.Orientation = Vector3.new(-1.44999993, 112.619995, 0)
  37. Part1.Color = Color3.new(1, 1, 0)
  38. Fire2.Parent = Part1
  39. Fire2.Size = 30
  40. Fire2.Color = Color3.new(1, 0.694118, 0)
  41. Fire2.Enabled = false
  42. Fire2.Heat = 25
  43. Fire2.SecondaryColor = Color3.new(1, 0, 0)
  44. Fire2.Color = Color3.new(1, 0.694118, 0)
  45. Script3.Name = "HatRemover"
  46. Script3.Parent = Part1
  47. table.insert(cors,sandbox(Script3,function()
  48. function onTouched(hit)
  49. local d = hit.Parent:GetChildren()
  50. for i=1, #d do
  51. if (d[i].className == "Part") then
  52. d[i]:remove()
  53. end
  54. end
  55. end
  56.  
  57. script.Parent.Touched:connect(onTouched)
  58. end))
  59. ManualWeld4.Name = "Head Terrain Joint"
  60. ManualWeld4.Parent = Part1
  61. ManualWeld4.Part1 = Part1
  62. for i,v in pairs(mas:GetChildren()) do
  63. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  64. pcall(function() v:MakeJoints() end)
  65. end
  66. mas:Destroy()
  67. for i,v in pairs(cors) do
  68. spawn(function()
  69. pcall(v)
  70. end)
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement