Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Iron Man suit by Kenjunjun, no steal k thx
- function weld(a, b, parent)
- local weld = Instance.new('Weld')
- weld.Parent = parent
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = CFrame.new()
- weld.C1 = b.CFrame:inverse() * a.CFrame
- return weld;
- end
- ws = game:GetService("Workspace");
- plr = ws.epiclightining
- la = Instance.new("Part", plr);
- la.CFrame = plr["Left Arm"].CFrame * CFrame.new(0, -0.5, 0);
- la.CanCollide = false;
- la.TopSurface = "Smooth";
- la.BottomSurface = "Smooth";
- la.BrickColor = BrickColor.new("Bright red");
- laM = Instance.new("BlockMesh", la);
- laM.Scale = Vector3.new(0.3, 2, 0.6);
- weld(la, plr["Left Arm"], la);
- ra = Instance.new("Part", plr);
- ra.CFrame = plr["Right Arm"].CFrame * CFrame.new(0, -0.5, 0);
- ra.CanCollide = false;
- ra.TopSurface = "Smooth";
- ra.BottomSurface = "Smooth";
- ra.BrickColor = BrickColor.new("Bright red");
- raM = Instance.new("BlockMesh", ra);
- raM.Scale = Vector3.new(0.3, 2, 0.6);
- weld(ra, plr["Right Arm"], la);
- ll = Instance.new("Part", plr);
- ll.CFrame = plr["Left Leg"].CFrame;
- ll.CanCollide = false;
- ll.TopSurface = "Smooth";
- ll.BottomSurface = "Smooth";
- ll.BrickColor = BrickColor.new("Bright red");
- llM = Instance.new("BlockMesh", ll);
- llM.Scale = Vector3.new(0.3, 2, 0.6);
- weld(ll, plr["Left Leg"], ll);
- rl = Instance.new("Part", plr);
- rl.CFrame = plr["Right Leg"].CFrame;
- rl.CanCollide = false;
- rl.TopSurface = "Smooth";
- rl.BottomSurface = "Smooth";
- rl.BrickColor = BrickColor.new("Bright red");
- rlM = Instance.new("BlockMesh", rl);
- rlM.Scale = Vector3.new(0.3, 2, 0.6);
- weld(rl, plr["Right Leg"], rl);
- t = Instance.new("Part", plr);
- t.CFrame = plr["Right Leg"].CFrame;
- t.CanCollide = false;
- t.TopSurface = "Smooth";
- t.BottomSurface = "Smooth";
- t.BrickColor = BrickColor.new("Bright red");
- tM = Instance.new("BlockMesh", t);
- tM.Scale = Vector3.new(.53, 2, .8);
- weld(t, plr["Torso"], t);
- head = Instance.new("Part", plr);
- head.CFrame = plr["Head"].CFrame;
- head.CanCollide = false;
- head.TopSurface = "Smooth";
- head.BottomSurface = "Smooth";
- head.BrickColor = BrickColor.new("Bright red");
- headM = Instance.new("SpecialMesh", head);
- headM.MeshType = 0;
- headM.Scale = Vector3.new(0.53, 1.8, 0.8);
- weld(head, plr["Head"], head);
- mask = Instance.new("Part", plr);
- mask.CFrame = plr["Head"].CFrame;
- mask.CanCollide = false;
- mask.TopSurface = "Smooth";
- mask.BottomSurface = "Smooth";
- mask.BrickColor = BrickColor.new("Bright yellow");
- mask.Reflectance = 0.6
- maskM = Instance.new("CylinderMesh", mask);
- maskM.Scale = Vector3.new(0.7, 0.9, 0.7);
- weld(mask, plr["Head"], mask);
- mask.Weld.C0 = mask.Weld.C0 * CFrame.new(0, 0, 0.15);
- leye = Instance.new("Part", plr);
- leye.CFrame = plr["Right Leg"].CFrame;
- leye.CanCollide = false;
- leye.TopSurface = "Smooth";
- leye.BottomSurface = "Smooth";
- leye.BrickColor = BrickColor.new("Institutional white");
- leye.Reflectance = 0.5;
- leyeM = Instance.new("BlockMesh", leye);
- leyeM.Scale = Vector3.new(0.1, 0.1, 0.5);
- weld(leye, plr["Head"], leye);
- leye.Weld.C0 = leye.Weld.C0 * CFrame.new(0.3, 0, 0.35);
- reye = Instance.new("Part", plr);
- reye.CFrame = plr["Right Leg"].CFrame;
- reye.CanCollide = false;
- reye.TopSurface = "Smooth";
- reye.BottomSurface = "Smooth";
- reye.BrickColor = BrickColor.new("Institutional white");
- reye.Reflectance = 0.5;
- reyeM = Instance.new("BlockMesh", reye);
- reyeM.Scale = Vector3.new(0.1, 0.1, 0.5);
- weld(reye, plr["Head"], reye);
- reye.Weld.C0 = reye.Weld.C0 * CFrame.new(-0.3, 0, 0.35);
- heart = Instance.new("Part", plr);
- heart.CFrame = plr["Torso"].CFrame;
- heart.CanCollide = false;
- heart.TopSurface = "Smooth";
- heart.BottomSurface = "Smooth";
- heart.BrickColor = BrickColor.new("Institutional white");
- heart.Reflectance = 0.8;
- heart.Transparency = 0.2;
- heartM = Instance.new("CylinderMesh", heart);
- heartM.Scale = Vector3.new(1, 1, 0.3);
- weld(heart, plr["Torso"], heart);
- heart.Weld.C0 = heart.Weld.C0 * CFrame.Angles(89.5, 0, 0) * CFrame.new(0, -0.55, 0.3);
- rlaser = Instance.new("Part", plr);
- rlaser.CFrame = plr["Torso"].CFrame;
- rlaser.CanCollide = false;
- rlaser.TopSurface = "Smooth";
- rlaser.BottomSurface = "Smooth";
- rlaser.BrickColor = BrickColor.new("Institutional white");
- rlaser.Reflectance = 0.8;
- rlaser.Transparency = 0.2;
- rlaserM = Instance.new("CylinderMesh", rlaser);
- rlaserM.Scale = Vector3.new(1, 1, 0.3);
- weld(rlaser, ra, rlaser);
- rlaser.Weld.C0 = rlaser.Weld.C0 * CFrame.new(0, 0.7, 0);
- llaser = Instance.new("Part", plr);
- llaser.CFrame = plr["Torso"].CFrame;
- llaser.CanCollide = false;
- llaser.TopSurface = "Smooth";
- llaser.BottomSurface = "Smooth";
- llaser.BrickColor = BrickColor.new("Institutional white");
- llaser.Reflectance = 0.8;
- llaser.Transparency = 0.2;
- llaserM = Instance.new("CylinderMesh", llaser);
- llaserM.Scale = Vector3.new(1, 1, 0.3);
- weld(llaser, la, llaser);
- llaser.Weld.C0 = llaser.Weld.C0 * CFrame.new(0, 0.7, 0);
- lshldr = Instance.new("Part", plr);
- lshldr.CFrame = la.CFrame;
- lshldr.CanCollide = false;
- lshldr.TopSurface = "Smooth";
- lshldr.BottomSurface = "Smooth";
- lshldr.BrickColor = BrickColor.new("Bright yellow");
- lshldr.Reflectance = 0.6;
- lshldrM = Instance.new("BlockMesh", lshldr);
- lshldrM.Scale = Vector3.new(0.1, 1, 0.7);
- weld(lshldr, la, lshldr);
- lshldr.Weld.C0 = lshldr.Weld.C0 * CFrame.new(-0.35, -0.7, 0);
- rshldr = Instance.new("Part", plr);
- rshldr.CFrame = ra.CFrame;
- rshldr.CanCollide = false;
- rshldr.TopSurface = "Smooth";
- rshldr.BottomSurface = "Smooth";
- rshldr.BrickColor = BrickColor.new("Bright yellow");
- rshldr.Reflectance = 0.6;
- rshldrM = Instance.new("BlockMesh", rshldr);
- rshldrM.Scale = Vector3.new(0.1, 1, 0.7);
- weld(rshldr, ra, rshldr);
- rshldr.Weld.C0 = rshldr.Weld.C0 * CFrame.new(0.35, -0.7, 0);
- las = Instance.new("Part", plr);
- las.CFrame = ra.CFrame;
- las.CanCollide = false;
- las.TopSurface = "Smooth";
- las.BottomSurface = "Smooth";
- las.BrickColor = BrickColor.new("Bright yellow");
- las.Reflectance = 0.6;
- lasM = Instance.new("BlockMesh", las);
- lasM.Scale = Vector3.new(0.35, 1.4, 0.65);
- weld(las, la, las);
- las.Weld.C0 = las.Weld.C0 * CFrame.new(0.05, -0.2, 0);
- ras = Instance.new("Part", plr);
- ras.CFrame = ra.CFrame;
- ras.CanCollide = false;
- ras.TopSurface = "Smooth";
- ras.BottomSurface = "Smooth";
- ras.BrickColor = BrickColor.new("Bright yellow");
- ras.Reflectance = 0.6;
- rasM = Instance.new("BlockMesh", ras);
- rasM.Scale = Vector3.new(0.3, 1.4, 0.65);
- weld(ras, ra, ras);
- ras.Weld.C0 = ras.Weld.C0 * CFrame.new(-0.05, -0.2, 0);
- lls = Instance.new("Part", plr);
- lls.CFrame = ll.CFrame;
- lls.CanCollide = false;
- lls.TopSurface = "Smooth";
- lls.BottomSurface = "Smooth";
- lls.BrickColor = BrickColor.new("Bright yellow");
- lls.Reflectance = 0.6;
- llsM = Instance.new("BlockMesh", lls);
- llsM.Scale = Vector3.new(0.31, 1, 0.65);
- weld(lls, ll, lls);
- rls = Instance.new("Part", plr);
- rls.Name = "Handle";
- rls.CFrame = rl.CFrame;
- rls.CanCollide = false;
- rls.TopSurface = "Smooth";
- rls.BottomSurface = "Smooth";
- rls.BrickColor = BrickColor.new("Bright yellow");
- rls.Reflectance = 0.6;
- rlsM = Instance.new("BlockMesh", rls);
- rlsM.Scale = Vector3.new(0.31, 1, 0.65);
- weld(rls, rl, rls);
- plrC = game.Players:GetPlayerFromCharacter(plr);
- laser = Instance.new("HopperBin", plrC.Backpack);
- laser.Name = "Laser";
- laser.Selected:connect(function(mouse)
- print("Selected");
- plr.Animate.Disabled = true; --ugly, yolo
- plr.Torso["Right Shoulder"].DesiredAngle = 1.57;
- plr.Humanoid.WalkSpeed = 0;
- mouse.Button1Down:connect(function()
- end)
- laser.Deselected:connect(function(mouse)
- plr.Animate.Disabled = false;
- plr.Humanoid.WalkSpeed = 16;
- end)
- end)
Add Comment
Please, Sign In to add comment