generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Values

Previous Thread :: Next Thread 
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:00 PM
Bump
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:03 PM
No one knows?
Weird.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
06 Jan 2015 06:05 PM
WaitForChild possibly.
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:24 PM
Nothing
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2015 06:26 PM
While is capitalized
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2015 06:35 PM
What kind of script is this(local or global) and where is it
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2015 06:39 PM
Is it local or not
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2015 06:45 PM
Local Script, or a Normal Script
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:47 PM
I tried with both Localscript and Script.



neither works
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:52 PM
Does no one have a solution?

Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 06:53 PM
Did I find an impossible to do script?

Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 07:08 PM
What's the point of this forum if everyone just ghost views?




Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
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
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 07:15 PM
I don't feel like waiting 2 hours for a person to help

kind of important.
Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 07:17 PM
I'm annoyed

and impatient with this

Report Abuse
bluebird1287 is not online. bluebird1287
Joined: 16 Jun 2011
Total Posts: 4202
06 Jan 2015 07:18 PM
Well I did it by myself


thanks for the help @people who actually helped


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image