|
| 22 Nov 2015 08:46 PM |
| Replication: Can't create default object of type Players |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2015 08:47 PM |
| You can't clone game.Players |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2015 08:48 PM |
| so instead of game.Players what would I put? |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2015 08:50 PM |
| It depends entirely on what you want to do. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2015 08:52 PM |
so here is my code:
tool.Equipped:connect(function() equipped = true character = tool.Parent player = game.Players:GetPlayerFromCharacter(character) humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid.WalkSpeed = humanoid.WalkSpeed + powerup else character = nil end end)
|
|
|
| Report Abuse |
|
|
|
| 22 Nov 2015 08:57 PM |
| ^ im trying to equip a sword then once it is equipped it increases the speed of the person who equipped it |
|
|
| Report Abuse |
|
|
Argelius
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4047 |
|
|
| 22 Nov 2015 09:05 PM |
| I see this (as a warning message, not an error) very often for no apparent reason, it might not be your fault |
|
|
| Report Abuse |
|
|