Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

My script isn't working properly when I run the game? [closed]

Asked by 6 years ago
Edited 6 years ago

It doesnt work

Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Earth green")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Smooth Block Model"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Brick
Part.Size = Vector3.new(2040, 1.20000005, 2048)
Part.CFrame = CFrame.new(4869, 102.900002, 1888, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Head"
Part.Anchored = true
Part.CanCollide = false
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(2, 1, 1)
Part.CFrame = CFrame.new(-159.166672, 47.7012711, 152.709442, 0.0557280853, 2.78567295e-012, -0.998446047, -4.95077243e-011, 1, 2.67529054e-014, 0.998446047, 4.9429294e-011, 0.0557280853)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Inlet
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Really black")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Torso"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(2, 2, 1)
Part.CFrame = CFrame.new(-159.166672, 46.2623291, 152.709442, 0.0831546187, -1.11606951e-005, -0.996536553, 1.16505316e-006, 1, -1.11022655e-005, 0.996536553, -2.3781422e-007, 0.0831546187)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Inlet
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Weld
Part.RightSurface = Enum.SurfaceType.Weld
Part.TopSurface = Enum.SurfaceType.Studs
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Left Arm"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(1, 2, 1)
Part.CFrame = CFrame.new(-158.234085, 43.9947777, 151.132263, 0.0694816113, 0.994840562, -0.073921591, -0.000129938126, 0.0741097927, 0.997249961, 0.997583151, -0.0692808628, 0.00527858734)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Inlet
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Studs
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Right Arm"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(1, 2, 1)
Part.CFrame = CFrame.new(-160.248718, 43.8372612, 154.396393, 0.0803722143, -0.99671483, 0.00999581814, 0.059615612, -0.0052036047, -0.998207927, 0.994980574, 0.0808241367, 0.0590014458)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Inlet
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Studs
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Left Leg"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(1, 2, 1)
Part.CFrame = CFrame.new(-159.237747, 44.2806854, 152.211609, 0.0561469793, 0.00244836463, -0.998419523, -1.40556367e-005, 0.99999702, 0.00245144241, 0.998422503, -0.000123607693, 0.0561468601)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Studs
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Right Leg"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(1, 2, 1)
Part.CFrame = CFrame.new(-159.093658, 44.2806931, 153.205902, 0.057652235, -0.00241835485, -0.998333752, -4.4554472e-006, 0.999997079, -0.0024226415, 0.998336732, 0.000144118792, 0.0576520562)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Studs
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Medium stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Handle"
Part.Anchored = true
Part.CanCollide = false
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Plate
Part.Size = Vector3.new(1, 1.60000002, 1)
Part.CFrame = CFrame.new(-159.166672, 47.6549454, 152.709442, 0.0557280779, 2.78568141e-012, -0.998445988, -4.95077174e-011, 1, 2.67529054e-014, 0.998445988, 4.94292905e-011, 0.0557280779)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Medium stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Handle"
Part.Anchored = true
Part.CanCollide = false
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Symmetric
Part.Size = Vector3.new(1, 1, 1)
Part.CFrame = CFrame.new(-159.016907, 47.6622772, 152.70108, 0.0557280779, 2.78568141e-012, -0.998445988, -4.95077174e-011, 1, 2.67529054e-014, 0.998445988, 4.94292905e-011, 0.0557280779)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Medium stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "Handle"
Part.Anchored = true
Part.CanCollide = false
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Plate
Part.Size = Vector3.new(1, 0.400000006, 1)
Part.CFrame = CFrame.new(-159.116745, 47.9662018, 152.70665, 0.0557280779, 2.78568141e-012, -0.998445988, -4.95077174e-011, 1, 2.67529054e-014, 0.998445988, 4.94292905e-011, 0.0557280779)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part = Instance.new( "Part")
Part.Parent = workspace
Part.BrickColor = BrickColor.new("Dark stone grey")
Part.Material = Enum.Material.Plastic
Part.Reflectance = 0
Part.Transparency = 0
Part.Name = "MountainPart"
Part.Anchored = true
Part.CanCollide = true
Part.Elasticity = 0.5
Part.Friction = 0.30000001192093
Part.Shape = Enum.PartType.Block
Part.formFactor = Enum.FormFactor.Brick
Part.Size = Vector3.new(86, 79.2000046, 42)
Part.CFrame = CFrame.new(85, 64.9000015, 641, -0, 0, 1, -0, 1, 0, -1, 0, 0)
Part.BackSurface = Enum.SurfaceType.Smooth
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.FrontSurface = Enum.SurfaceType.Smooth
Part.LeftSurface = Enum.SurfaceType.Smooth
Part.RightSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
0
bad questions 101 User#23365 30 — 6y
0
This question gave me an aneurism. Try and explain what the issue is better, and get rid of 90% of this code, no ones going to go through all of it. DinozCreates 1070 — 6y

Closed as Non-Descriptive by User#23365 and Amiaa16

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?