Ieaner
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 15 |
|
|
| 27 Dec 2015 12:28 PM |
Help me Idk whats the problem.
script -
pm = script.Parent:GetMass()
script.Parent.Touched:connect(function(part) hm = part:GetMass() if part.Name ~= "Rampart" and part:findFirstChild("Uncuttable") == nil and part.Name ~= "Tsunami" and part.Name ~= "Water" and part.Name ~= "BasePlate" and part.Parent:FindFirstChild("Humanoid") == nil and part.Parent:FindFirstChild("Talk") == nil and part.Parent:FindFirstChild("Chest") == nil and part:findFirstChild("Hide") == nil and part:findFirstChild("Touched") == nil and part.Anchored == true and hm <= (pm*(pm/1.5)) or part.Parent.Name == "StoneClone" then time1 = Instance.new("NumberValue") time1.Parent = part time1.Name = "Touched" game.Debris:AddItem(time1,5.5) for i = 1,2 do xx = Instance.new("Part",workspace) xx.FormFactor = "Custom" xx.Size = Vector3.new(part.Size.X/2,part.Size.Y/2,part.Size.Z/2) xx.BottomSurface = "Smooth" xx.TopSurface = "Smooth" xx.Name = "Rampart" xx.Transparency = part.Transparency xx.Material = part.Material xx.BrickColor = part.BrickColor if i == 1 then xx.CFrame = xx.CFrame*CFrame.new(part.Position.X+part.Size.X/4,part.Position.Y+part.Size.Y/4,part.Position.Z+part.Size.Z/4)*CFrame.Angles(part.Rotation.X,part.Rotation.Y,part.Rotation.Z) elseif i == 2 then xx.CFrame = xx.CFrame*CFrame.new(part.Position.X-part.Size.X/4,part.Position.Y+part.Size.Y/4,part.Position.Z+part.Size.Z/4)*CFrame.Angles(part.Rotation.X,part.Rotation.Y,part.Rotation.Z) end game.Debris:AddItem(xx,2.5) end part.CanCollide = false hid = Instance.new("BlockMesh") hid.Parent = part hid.Name = "Hide" hid.Scale = Vector3.new(0,0,0) if part.Parent.Name ~= "StoneClone" then game.Debris:AddItem(hid,5) ca = script.CollideAgain:clone() ca.Parent = part ca.Disabled = false end end end) |
|
|
| Report Abuse |
|
|
| 27 Dec 2015 12:30 PM |
| Where is this script located? |
|
|
| Report Abuse |
|
Ieaner
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 15 |
|
| |