Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------go here
- -------------go here
- playerMouse = game.Players.LocalPlayer:GetMouse()
- player = game.Players.Mr_Sparkles ------- Put your name
- workspacePlayer = game.Workspace.Mr_Sparkles ------ Put your name
- function create(mouse)
- local part1 = Instance.new("Part")
- part1.Rotation = part.Rotation + Vector3.new(0, -90, 0)
- part1.Parent = game.Workspace
- part1.Anchored = true
- part1.Locked = false
- part1.CanCollide = false
- part1.Transparency = 0.5
- part1.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
- while true do
- wait(0.01)
- part1.Position = workspacePlayer.Torso.Position
- end
- end
- ----------------------
- function create(mouse)
- local part1 = Instance.new("Part")
- local part = Instance.new("Part")
- part1.Rotation = part.Rotation + Vector3.new(0, -90, 0)
- part1.Parent = game.Workspace
- part1.Anchored = true
- part1.Locked = false
- part1.CanCollide = false
- part1.Transparency = 0.5
- part1.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
- part.Parent = game.Workspace
- part.Anchored = true
- part.Locked = false
- part.CanCollide = false
- part.Transparency = 0.5
- part.Size = part.Size + Vector3.new(2.66, 5.37, 2.31)
- while true do
- wait(0.01)
- part.Position = workspacePlayer.Torso.Position
- end
- while true do
- wait(0.01)
- part1.Position = workspacePlayer.Torso.Position
- end
- end
- local tool4 = Instance.new("HopperBin") --Gives the player a tool where it spawns a part.
- tool4.Name = "New Part"
- tool4.Parent = player.Backpack
- tool4.BinType = "Script"
- print("Gave new part tool")
- local tool3 = Instance.new("HopperBin") --Gives the player a tool where it spawns a part.
- tool3.Name = "PLEASE"
- tool3.Parent = player.Backpack
- tool3.BinType = "Script"
- print("Gave new part tool")
- -------------LOLOLOLOLOLOL
- tool4.Selected:connect(function(mouse)
- print("Selected.")
- mouse.Button1Down:connect(create)
- end)
- tool3.Selected:connect(function(mouse)
- print("Selected.")
- mouse.Button1Down:connect(create)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement