Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run = game:GetService("RunService")
- local MyMouse = game.Players.epiclightining:GetMouse()
- plr = game.Players.epiclightining
- Player = game.Players.epiclightining
- RightShoulder = plr.Character.Torso["Right Shoulder"]
- LeftShoulder = plr.Character.Torso["Left Shoulder"]
- Run = game:GetService("RunService")
- lantern = false
- g = Instance.new("Part", game.Players.epiclightining.Character)
- g.Name = "cy"
- g.CFrame = plr.Character.cy.CFrame *CFrame.new(.5, .5, .5)
- f = Instance.new("SpecialMesh", g)
- f.MeshId = "http://www.roblox.com/asset/?id=3270017"
- f.Scale = Vector3.new(.26, .26, .26)
- g.BrickColor = BrickColor.Green()
- Shirt = Instance.new("Shirt", plr.Character)
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=235998635"
- Pant = Instance.new("Pants", plr.Character)
- Pant.PantsTemplate = "http://www.roblox.com/asset/?id=225445597"
- function Weld()
- local w = Instance.new("Weld")
- w.Part0 = plr.Character.cy
- w.Part1 = plr.Character["Right Arm"]
- w.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0) --First CFrame is rotation, second Cframe is where it goes.
- w.C1 = CFrame.fromEulerAnglesXYZ(1.6, 0, 0) * CFrame.new(.3, .1, 1.1) --This is the second brick (the one you want to move most of the
- w.Parent = game.Workspace
- end
- Weld()
- lantern = true
- MyMouse.KeyDown:connect(function(key)
- if string.lower(key) == "f" then
- local z = Instance.new("Part", game.Workspace)
- z.Size = Vector3.new(7, 7, 0)
- z.CFrame = plr.Character.Torso.CFrame *CFrame.new(0, 0, -4)
- wait(.01)
- z.Transparency = .5
- z.BrickColor = BrickColor.new("Lime green")
- z.Name = "Block"
- local function Welds()
- local w = Instance.new("Weld")
- w.Part0 = z
- w.Part1 = plr.Character.Torso
- w.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 4) --First CFrame is rotation, second Cframe is where it goes.
- w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 2, 0) --This is the second brick (the one you want to move most of the
- w.Parent = game.Workspace
- z.Anchored = true
- end
- --Welds()
- end
- end)
- MyMouse.KeyUp:connect(function(key)
- if string.lower(key) == "f" then
- local z = game.Workspace.Block
- z:Destroy()
- end
- end)
- -- if not string.reverse(key) == "f" then if string.lower(key) == "f" and lantern == true then
- -- z:Destroy()
- -- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement