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 » Scripting Helpers
Home Search
 

Re: Dominus giver

Previous Thread :: Next Thread 
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 02:37 PM
This script is supposed to give me a dominus when it runs. It dosnt work.

-- Da Super Epik Destructias Warlord Hood Is Da Pwnz0r! --
-- Textured by RangeMeludE --


function dominus()
if (hit.Parent:findFirstChild("Humanoid") ~= nil and debounce == true) then
h = Instance.new("Hat")
p = Instance.new("Part")
local m = Instance.new("SpecialMesh")
m.Parent = "Handle"
m.MeshId = "http://www.roblox.com/asset/?id=21057410"
m.TextureId = "http://www.roblox.com/asset/?id=31100020"
h.Name = "Dominus"
p.Parent = h
p.Position = hit.Parent:findFirstChild("Head").Position
p.Name = "Handle"
p.formFactor = 0
p.Size = Vector3.new(1, 0.4, 1)
p.BottomSurface = 0
p.TopSurface = 0
p.Locked = true
h.Parent = hit.Parent
h.AttachmentForward = Vector3.new (-0, -0, -1)
h.AttachmentPos = Vector3.new(0, 0.4, 0)
h.AttachmentRight = Vector3.new (1, 0, 0)
h.AttachmentUp = Vector3.new (0, 1, 0)
end
end



I don't have a siggy.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
10 Aug 2014 02:38 PM
"if (hit.Parent:findFirstChild("Humanoid") ~= nil and debounce == true) then"

1. hit is not define nor is debounce.
2. i dont see a connection line.
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 03:28 PM
Woops!
removing that line still hasn't fixed it.


I don't have a siggy.
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 03:31 PM
I took this script from free models and modified it majorly.


I don't have a siggy.
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 04:17 PM
no help?


I don't have a siggy.
Report Abuse
Stefan631 is not online. Stefan631
Joined: 23 Dec 2010
Total Posts: 1350
10 Aug 2014 04:19 PM
debounce = true

function dominus(hit)
if (hit.Parent:findFirstChild("Humanoid") ~= nil and debounce == true) then
debounce = false;
h = Instance.new("Hat")
p = Instance.new("Part")
local m = Instance.new("SpecialMesh")
m.Parent = "Handle"
m.MeshId = "http://www.roblox.com/asset/?id=21057410"
m.TextureId = "http://www.roblox.com/asset/?id=31100020"
h.Name = "Dominus"
p.Parent = h
p.Position = hit.Parent:findFirstChild("Head").Position
p.Name = "Handle"
p.formFactor = 0
p.Size = Vector3.new(1, 0.4, 1)
p.BottomSurface = 0
p.TopSurface = 0
p.Locked = true
h.Parent = hit.Parent
h.AttachmentForward = Vector3.new (-0, -0, -1)
h.AttachmentPos = Vector3.new(0, 0.4, 0)
h.AttachmentRight = Vector3.new (1, 0, 0)
h.AttachmentUp = Vector3.new (0, 1, 0)
wait();
debounce = true;
end
end
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 04:20 PM
I need it to give it to you when you run a script, not touch a part.


I don't have a siggy.
Report Abuse
Stefan631 is not online. Stefan631
Joined: 23 Dec 2010
Total Posts: 1350
10 Aug 2014 04:20 PM
... Then why don't you edit your free model you arrogant-.......
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 04:24 PM
I did! And what i posted is what i resulted in!


I don't have a siggy.
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
10 Aug 2014 04:54 PM
b


I don't have a siggy.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
10 Aug 2014 05:08 PM
m.Parent = p
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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