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: Help please...(I need it baddly)

Previous Thread :: Next Thread 
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 12:47 AM
god = game.Players.crazymuffin267

function onChatted(msg)
if msg == "force" then
Instance.new("ForceField", game.Workspace.crazymuffin267)
end
god.Chatted:connect(onChatted)

fire = Instance.new("Fire", game.Workspace.crazymuffin267.Torso)
fire.Heat = 9
fire.Size = 9

light = Instance.new("PointLight", game.Workspace.crazymuffin267.Torso)
light.Brightness = 200
light.Color = Color3.new(0, 0, 255)
light.Range = 30

game.Workspace.crazymuffin267["NinjaTwinSwords"]:remove()
game.Workspace.crazymuffin267.Head.face:remove()
game.Workspace.crazymuffin267["Left Arm"].BrickColor = BrickColor.new("Really black")
game.Workspace.crazymuffin267["Right Leg"].BrickColor = BrickColor.new("Really black")
game.Workspace.crazymuffin267["Right Arm"].BrickColor = BrickColor.new("Really black")
game.Workspace.crazymuffin267["Left Leg"].BrickColor = BrickColor.new("Really blue")
game.Workspace.crazymuffin267.Torso.BrickColor = BrickColor.new("Really blue")
game.Workspace.crazymuffin267.Head.BrickColor = BrickColor.new("Really black")
game.Workspace.crazymuffin267.Humanoid.MaxHealth = math.huge
game.Workspace.crazymuffin267.Shirt:remove()
game.Workspace.crazymuffin267.Pants:remove()


Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 12:51 AM
Somebody fix it
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
12 May 2014 12:53 AM
At the top of script put : repeat wait() until game.Players:FindFirstChild("crazymuffin267")

this is a signature: pcall(function() print([[apparently this is a string]]) end)
Report Abuse
diabete is not online. diabete
Joined: 07 May 2014
Total Posts: 230
12 May 2014 12:56 AM
add this to the top and run it to check for line calls(errors between lines)


repeat
print(1)
until script.Parent
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 12:56 AM
Still nothing.
Report Abuse
diabete is not online. diabete
Joined: 07 May 2014
Total Posts: 230
12 May 2014 12:57 AM
i meant

repeat

print(1) -- distance between lines if used in a local repeat loop

until 2 == 1
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
12 May 2014 12:58 AM
I think this is what you want.. Commands are; Force, Fire, Light, and Shadow.

game.Players.crazymuffin267.Chatted:connect(function(msg)
if (msg:lower()) == "force" then
Instance.new("ForceField", game.Workspace.crazymuffin267)
elseif (msg:lower()) == "fire" then
fire = Instance.new("Fire", game.Workspace.crazymuffin267.Torso)
fire.Heat = 9
fire.Size = 9
elseif (msg:lower()) == "light" then
light = Instance.new("PointLight", game.Workspace.crazymuffin267.Torso)
light.Brightness = 200
light.Color = Color3.new(0, 0, 255)
light.Range = 30
elseif (msg:lower()) == "shadow" then
c = game.Workspace.crazymuffin267:GetChildren()
for i = 1,#c do
if c[i]:IsA("Hat") then
c[i]:Destroy()
elseif c[i]:IsA("BasePart") then
if c[i].Name == "Head" then
c[i].face:Destroy()
else
c[i].BrickColor = BrickColor.new("Really black")
elseif c[i].Name == "Shirt" then
c[i]:Destroy()
elseif c[i].Name == "Pants" then
c[i]:Destroy()
end end
game.Workspace.crazymuffin267.MaxHealth = math.huge
game.Workspace.crazymuffin267.Health = math.huge
end end)
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 01:00 AM
Dude thats not what I want I just want the commands is Forcefield
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
12 May 2014 01:03 AM

local admin = {""}
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if admin[plr.Name] then
If msg:Sub(1,5):lower() == "Force" then
p = Instance.new("ForceField", plr.Character)
end
end
end)
end)
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 01:04 AM
Can you guys just fix my script D:
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
12 May 2014 01:05 AM
I did
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
12 May 2014 01:07 AM
YOu just made a admin script -.-
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
12 May 2014 01:09 AM
Tht force fields u when u chat force dude their no other way Ik this best
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
12 May 2014 02:37 AM
repeat wait() until game.Players.crazymuffin267
god = game.Players.crazymuffin267

function onChatted(msg)
if msg == "force" then
Instance.new("ForceField", god.Character.Torso)

fire = Instance.new("Fire", god.Character.Torso)
fire.Heat = 9
fire.Size = 9

light = Instance.new("PointLight", god.Character.Torso)
light.Brightness = 200
light.Color = Color3.new(0, 0, 255)
light.Range = 30
end

end
god.Chatted:connect(onChatted)
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