|
| 06 Jan 2015 05:58 PM |
Parents: Script.Parent(DMG Value).Tool.Player.Leaderstats.DMG.Value
While true do script.Parent.Value = script.Parent.Parent.Parent.leaderstats.DMG.Value wait(10) end
This script isn't working, I tried multiple parent orders, like adding and removing, anyone know the fix for it?
This might help:
Sword Script:
local DMG = script.Parent.DMG.Value
bump
another attempt:
while true do player = script.Parent.Parent.Parent.Parent c = player.leaderstats.DMG.Value script.Parent.Value = c end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 06 Jan 2015 06:34 PM |
That isn't the problem that was just there because i wrote the script on this forum
but i kept it lower case in the actual script
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:35 PM |
| What kind of script is this(local or global) and where is it |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:37 PM |
The script is inside the DMG value which is inside the Tool which is in the Starterpack but gets transfered into the Player.
it makes it so the Sword a player holds does dmg based off of the players DMG statistic
it basically says "if the player has 5 DMG stats then this sword does 5 dmg" but in lua.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jan 2015 06:41 PM |
| I don't know how to differentiate local and global, all I know how to do is write a script. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:45 PM |
| Local Script, or a Normal Script |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:46 PM |
It seems like this script is impossible. It refuses to work i just tested over 20 different attempts
and then did even more in test mode so i could see if the value changes and it refuses to |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:47 PM |
I tried with both Localscript and Script.
neither works |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:52 PM |
Does no one have a solution?
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 06:53 PM |
Did I find an impossible to do script?
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:01 PM |
no response
kind of an important script
since im basing dmg on one of my games that is supposed to reopen soon
why no reply? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:08 PM |
What's the point of this forum if everyone just ghost views?
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:12 PM |
Literally no one who's viewed this can give a correct remake of what i've provided?
Been a while since I posted this thread... |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:15 PM |
I don't feel like waiting 2 hours for a person to help
kind of important.
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:17 PM |
I'm annoyed
and impatient with this
|
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 07:18 PM |
Well I did it by myself
thanks for the help @people who actually helped
|
|
|
| Report Abuse |
|
|