You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want 2 people to have the same amount of power well pulling a log -
What is the issue? Include screenshots / videos if possible!
They have different speeds -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have balenced players phisical properties, To no avail
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
game.Players.PlayerAdded:Connect(function(Plr)
local InvisStats = Instance.new("Folder")
InvisStats.Name = "InvisStats"
InvisStats.Parent = Plr
local OneOrTwo = Instance.new("BoolValue")
OneOrTwo.Value = false
OneOrTwo.Name = "OneOrTwo"
OneOrTwo.Parent = InvisStats
local LogEquiped = Instance.new("IntValue")
LogEquiped.Name = "LogEquiped"
LogEquiped.Parent = InvisStats
LogEquiped.Value = 1
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].EquipLog.OnServerEvent:Connect(function(Plr, N)
local DevList = {4995480523,4711725382,240852085,1961272598,1317798712,2876571025,2553260893,5699471079,1285528686,730444881} -- Put Developer UserIds here And in the "ChangeDevStuff!" (Game-->StarterGui-->Shop-->Log6-->ChangeDevStuff-->Line1)
if N ~= 6 then
LogEquiped.Value = N
end
if N == 6 then
for i,v in pairs(DevList) do
if v == Plr.UserId then
LogEquiped.Value = 6
end
end
end
end)
end)
local Deb = true
local plr = nil
local log = nil
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].ChangeValue.OnServerEvent:Connect(function(Plr, W)
local HRP = Plr.Character:FindFirstChild("HumanoidRootPart")
local LogClone = nil
if Plr.InvisStats.LogEquiped.Value == 1 then
LogClone = game.ServerStorage.Logs.Log1
elseif Plr.InvisStats.LogEquiped.Value == 2 then
LogClone = game.ServerStorage.Logs.Log2
elseif Plr.InvisStats.LogEquiped.Value == 3 then
LogClone = game.ServerStorage.Logs.Log3
elseif Plr.InvisStats.LogEquiped.Value == 4 then
LogClone = game.ServerStorage.Logs.Log4
elseif Plr.InvisStats.LogEquiped.Value == 5 then
LogClone = game.ServerStorage.Logs.Log5
elseif Plr.InvisStats.LogEquiped.Value == 6 then
LogClone = game.ServerStorage.Logs.GoldLog
end
if W == "2P" then
--2Player
Plr.InvisStats.OneOrTwo.Value = true
if Deb == true then
Deb = false
local Log = LogClone:Clone()
Log.Parent = workspace.Logs
HRP.CFrame = Log.Part1.CFrame
Log.Anchored = true
if Plr.InvisStats.LogEquiped.Value == 1 or 6 then
HRP.CFrame *= CFrame.Angles(0, math.rad(270), 0)
end
Plr.Character:FindFirstChild("Humanoid").JumpPower = 0
Plr.Character:FindFirstChild("Humanoid").WalkSpeed = 12
local Char = Plr.Character
local Att1 = Log.Attachment1
local Att2 = Char.HumanoidRootPart.RootAttachment
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].ChangeSpeed:FireClient(Plr,"1")
Log.Part.BillboardGui.Enabled = true
plr = Plr
log = Log
local RC = Instance.new("RopeConstraint")
RC.Name = "RC"
RC.Parent = Log
RC.Attachment0 = Att2
RC.Attachment1 = Att1
RC.Length = 1
else
Deb = true
log.Anchored = false
if plr.InvisStats.LogEquiped.Value == 1 then
HRP.CFrame = CFrame.new(-147.009, 142.881, -1064.37)
end
if plr.InvisStats.LogEquiped.Value == 2 then
HRP.CFrame = CFrame.new(-146.745, 143.636, -1073.443)
end
if plr.InvisStats.LogEquiped.Value == 3 then
HRP.CFrame = CFrame.new(-146.391, 143.636, -1078.413)
end
if plr.InvisStats.LogEquiped.Value == 4 then
HRP.CFrame = CFrame.new(-146.956, 143.636, -1083.519)
end
if plr.InvisStats.LogEquiped.Value == 5 then
HRP.CFrame = CFrame.new(-147.342, 143.636, -1088.032)
end
if plr.InvisStats.LogEquiped.Value == 6 then
HRP.CFrame = CFrame.new(-147.411, 143.636, -1068.133)
end
if plr.InvisStats.LogEquiped.Value == 1 or 6 then
HRP.CFrame *= CFrame.Angles(0, math.rad(270), 0)
end
if plr.InvisStats.LogEquiped.Value ~= 1 or 6 then
HRP.CFrame *= CFrame.Angles(0, math.rad(180), 0)
end
Plr.Character:FindFirstChild("Humanoid").JumpPower = 0
Plr.Character:FindFirstChild("Humanoid").WalkSpeed = 12
plr.Character:FindFirstChild("Humanoid").WalkSpeed = 12
local Char = Plr.Character
local Att1 = log.Attachment2
local Att2 = Char.HumanoidRootPart.RootAttachment
log.Part:Destroy()
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].ChangeSpeed:FireClient(plr,"2")
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].ChangeSpeed:FireClient(Plr,"2")
local RC = Instance.new("RopeConstraint")
RC.Name = "RC2"
RC.Parent = log
RC.Attachment0 = Att2
RC.Attachment1 = Att1
RC.Length = 1
plr = nil
end
elseif W == "1P" then
--1Player
local Log = LogClone:Clone()
Log.Parent = workspace.Logs
HRP.CFrame = Log.Part1.CFrame
Log.Part1:Destroy()
Log.Part2:Destroy()
Plr.Character:FindFirstChild("Humanoid").JumpPower = 0
Plr.Character:FindFirstChild("Humanoid").WalkSpeed = 8
local Char = Plr.Character
local Att1 = Log.Attachment1
local Att2 = Char.HumanoidRootPart.RootAttachment
game.ReplicatedStorage["ElipsGamesLogEvents(DontToutch)"].ChangeSpeed:FireClient(Plr, "Norm")
local RC = Instance.new("RopeConstraint")
RC.Name = "RC"
RC.Parent = Log
RC.Attachment0 = Att2
RC.Attachment1 = Att1
RC.Length = 1
if Plr.InvisStats.LogEquiped.Value == 1 or 6 then
HRP.CFrame *= CFrame.Angles(0, math.rad(270), 0)
end
end
end)
thats what teleports em to the log and stuff
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.