Zuka
|
  |
| Joined: 02 Nov 2007 |
| Total Posts: 4078 |
|
|
| 04 Jun 2008 05:00 PM |
| Got a question about scripting? Ask here. I'll answer the advanced questions, Agent can do the basic ones. |
|
|
| Report Abuse |
|
|
FlashJoeW
|
  |
 |
| Joined: 24 Dec 2007 |
| Total Posts: 4886 |
|
|
| 04 Jun 2008 05:01 PM |
| I suggest we use one thread, and let the other sink, i hate that double thread glitch |
|
|
| Report Abuse |
|
|
Zuka
|
  |
| Joined: 02 Nov 2007 |
| Total Posts: 4078 |
|
|
| 04 Jun 2008 05:05 PM |
Yeah, this one.
I made a typo in the first one, fixed it just in time, but it ended up posting both versions. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 05:07 PM |
Basic: How do I change the reload time? :P Jkjk
Is there a way to make transparent particles? |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 05:22 PM |
| wuts the function of a gravitational pull |
|
|
| Report Abuse |
|
|
Jormax
|
  |
| Joined: 08 Dec 2007 |
| Total Posts: 3813 |
|
|
| 04 Jun 2008 05:27 PM |
lava, it is a force.
Can you fix this? Yes, i edited it. I am wondering if you Agent can get it to work:
wait(1) ------------------------ axelvl = 100 --This is the damage given to the tree. treeMoney = 25 --this is how much money you get for felling a tree resettime = 1 -- this is how long it takes after the axe hit a tree until it works again. Avoid setting it to 0 ------------------------
Tool = script.Parent ting = 0 --this is my debounce
function hit() print("hitting") local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end
function onActivated() if not Tool.Enabled then return end
Tool.Enabled = false hit() Tool.Enabled = true
end
function onTouched(hitt) -- print("touched something") if ting == 0 then ting = 1 if hitt.Parent.Name == "Rock" then c = math.random(1,3) if c = 1 then -- print("touched tree") user = game.Players:findFirstChild(Tool.Parent.Name) user.leaderstats.Money.Value = user.leaderstats.Money.Value + treeMoney --add money to the dude with the axe r = game.Lighting.Yes:clone() r.Position = hitt.Position r.Parent = game.Workspace wait(resettime) end if c = 2 then r = game.Lighting.No:clone() r.Position = hitt.Position r.Parent = game.Workspace wait(1) end if c = 3 then r = game.Lighting.No:clone() r.Position = hitt.Position r.Parent = game.Workspace wait(1) end end ting = 0 end end
Tool.Activated:connect(onActivated) connection = Tool.Handle.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 05:32 PM |
| Would it be possible to create no-tool power suits? I remember in the old Builderman Suite Hotel, they had people that would change on the buttons that you pushed. Could somebody use that method to create different powers to be used if there was a certain object in a person? Sorry I couldn't be all that descriptive. |
|
|
| Report Abuse |
|
|
Troyg12
|
  |
| Joined: 11 Jan 2008 |
| Total Posts: 941 |
|
|
| 04 Jun 2008 05:38 PM |
Well,i need help with this function theres a connection at the very end of script,this is the only part in need of fixing __________________ function blow(hit) local humanoid = hit.Parent:findFirstChild("Zombie") local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character if humanoid~=nil and humanoid ~= hum and hum ~= nil then local b = Instance.new("Model") local c = Instance.new("Humanoid") local a = Instance.new("Part") c.Parent = game.Workspace a.Parent = b c.Parent = b a.Name = "Head" a.Size = Vector3.new(1, 1, 1) a.Position = humanoid.Parent.Head.Position b.Name = " "..damage.." " tagHumanoid(humanoid, vPlayer) humanoid.Health = humanoid.Health - damage wait(1) untagHumanoid(humanoid) b:Remove()
end end
|
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 06:11 PM |
| explain me the robloxian universe and how we can break the barrier of our skys :p |
|
|
| Report Abuse |
|
|
| |
|
Theory
|
  |
| Joined: 18 May 2008 |
| Total Posts: 66 |
|
|
| 04 Jun 2008 06:15 PM |
rand = 7 p = speaker.userId if speaker.Backpack:findFirstChild("GunName") ~= nil then b = rand * p[1] local m = Instance.new("Message") m.Text = "Your code is: " ..b m.Parent = speaker wait(3) m.Parent = nil
I want it to be ontouched or onclicked, I tried to make it onclicked, but when I clicked it, NOTHING happened |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 06:16 PM |
| i want it so pople turn into a ball when they enter.. |
|
|
| Report Abuse |
|
|
Zuka
|
  |
| Joined: 02 Nov 2007 |
| Total Posts: 4078 |
|
|
| 04 Jun 2008 08:36 PM |
| Gravitational pull in ROBLOX: -196.2 units. I have no idea what type of unit its even in, but its something like a Newton. If you put BodyForce in a brick with 0, 196.2 * brick:GetMass(), 0 force, it will float and not come down. This doesn't work on a character, Humanoids mess it up. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 08:37 PM |
Can you edit this script? It's not mine, I just want to make it so it doesn't auto dig, and you have to keep clicking a certain time for the target to disappear.
-- Furnace (clockworks help!) bin = script.Parent halt = false
function onButton1Down(mouse) local hit = mouse.Target
if (hit == nil) or (halt == true) then return end halt = true mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" bin.Ping:play() if (hit.Name == "Brick") then while hit.Transparency <= 1 do hit.Transparency = hit.Transparency + 0.2 wait(0.10) end
wait(0.10) hit.Parent = nil end
wait(0.10) halt = false mouse.Icon = "rbxasset://textures\\GunCursor.png" end
function onSelected(mouse) --print("Action Tool Selected") mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end
bin.Selected:connect(onSelected)
|
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 08:59 PM |
| Hm, can I join the help thread? Or would that mess up your pretty title? |
|
|
| Report Abuse |
|
|
| |
|
N2KC
|
  |
| Joined: 21 Nov 2007 |
| Total Posts: 1313 |
|
|
| 04 Jun 2008 11:01 PM |
If you could help me... It would be on...
THE MOTOR OBJECT.
._. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 11:23 PM |
| I'm trying to make a gun for that when you shoot something it breaks its joints. I've tried everything I could think of and i can't seem to get it to work. Any help? |
|
|
| Report Abuse |
|
|
LuigiFan
|
  |
| Joined: 18 Jun 2007 |
| Total Posts: 4143 |
|
|
| 04 Jun 2008 11:31 PM |
Explain how to use math.sin and math.cos in some detail so I can understand, lol.
-LF |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2008 11:44 PM |
| explain to me the functions of the sparkles falling so i can make it at least like explode :3 |
|
|
| Report Abuse |
|
|
Odeaso
|
  |
| Joined: 12 Apr 2008 |
| Total Posts: 4 |
|
|
| 04 Jun 2008 11:47 PM |
| Ok so i have an onclicked script made a brick for it and everything now, how do i make it sumbit text just to the player that steps on it |
|
|
| Report Abuse |
|
|
Nasadaws
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 4443 |
|
|
| 05 Jun 2008 01:05 AM |
| Hmm, If you have seen the gremlin, Then how do I get the wings to come out like that? |
|
|
| Report Abuse |
|
|
Nasadaws
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 4443 |
|
|
| 05 Jun 2008 01:09 AM |
| And how do you make a brick look at a person? Script-Wise. |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2008 01:18 AM |
| Why doesnt the "easy" save/load sys work? |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2008 02:24 AM |
| Im making my obsticle course and I want to make the cps go in order. I heard that you need to insert them in order. Also I try to change the color of the cps and it doesnt change. Also when I change the name, i go on the server and the name isnt changed! I don't know how to do all this! Help! |
|
|
| Report Abuse |
|
|