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: script im trying to get to activate when some one joins

Previous Thread :: Next Thread 
cuddlynicky is not online. cuddlynicky
Joined: 26 Jul 2011
Total Posts: 14
01 Aug 2017 09:32 PM
soo ive been trying to get a certin wings script working so that when a player joins they automatically get wings but when i look in to the script its difficult to find the problem (here is the script if you want to look at it ( ################################### )) but if someone can help much obliged thank you please this has been tearing me apart for the last week slowly going mad
Report Abuse
cuddlynicky is not online. cuddlynicky
Joined: 26 Jul 2011
Total Posts: 14
01 Aug 2017 09:34 PM
well okay here is the full script apperently links dont work

script.Parent = nil

function fly()

for i,v in pairs(script:GetChildren()) do

pcall(function() v.Value = "" end)

game:GetService("Debris"):AddItem(v,.1)

end

function weld##################### local w = Instance.new("Weld",p0 or par)

w.Part0 = p0

w.Pa################ w.C0####0#o##CFrame.new()

w.C1####1#o##CFrame.new()

return w

end

local motors = {}

function moto############################## local w = Instance.new("Motor6D",p0 or par)

w.Part0 = p0
## # # w.Pa################ w.C0####0#o##CFrame.new()

w.C1####1#o##CFrame.new()

w.MaxVelocity = tonumber(vel) or .05

w.DesiredAngle = tonumber(des) or 0

return w

end

function lerp(a,b,c)

return a+(b-a)*c

end

function clerp(c1,c2,al)

local com1####c#.###################################### local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}

for i,v in pairs(com1) do

com1[i] = lerp(v,com2[i],al)

end

return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))

end

function ccomplerp(c1,c2,al)

local com1####c#:################# local com2 = {c2:components()}

for i,v in pairs(com1) do

com1[i] = lerp(v,com2[i],al)

end

return CFrame.new(unpack(com1))

end

function tickwave(time,length,offset)

return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length

end

function invcol(c)

# # c = c.Color

return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))

end

local oc = oc or function(...) return ... end

local plr = game.Players.LocalPlayer

local char = plr.Character

local tor = char.Torso

local hum = char.Humanoid

hum.PlatformStand = false

pcall(function()

char.Wings:Destroy()

end)

pcall(function()

char.Angel:Destroy() -- hat

end)

local mod = Instance.new("Model",char)

mod.Name = "Wings"

local special = {
local topcolor = invcol(char.Torso.BrickColor)

local feacolor = char.Torso.BrickColor

local ptrans = 0

local pref = 0

local fire = false

local fmcol = Color3.new()

local fscol = Color3.new()

local spec = special[plr.Name:lower()]

if spec then

topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]

end

local part = Instance.new("Part")

part.FormFactor = "Custom"

part.Size = Vector3.new(.2,.2,.2)

part.TopSurface,part.BottomSurface = 0,0

part.CanCollide = false

part.BrickColor = topcolor

part.Transparency = ptrans

part.Reflectance = pref

local ef = Instance.new("Fire",fire and part or nil)

ef.Size = .15

ef.Color = fmcol or Color3.new()

ef.SecondaryColor = fscol or Color3.new()

part:BreakJoints()


function newpart()

local clone = part:Clone()

clone.Parent = mod

clone:BreakJoints()

return clone

end

local feath = newpart()

feath.BrickColor = feacolor

feath.Transparency = 0

Instance.new("SpecialMesh",feath).MeshType = "Sphere"

function newfeather()

local clone = feath:Clone()

clone.Parent = mod

clone:BreakJoints()

return clone
Report Abuse
cuddlynicky is not online. cuddlynicky
Joined: 26 Jul 2011
Total Posts: 14
01 Aug 2017 09:40 PM
###############################################
Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
02 Aug 2017 04:36 AM
PlayerAdded and CharacterAdded
Report Abuse
cuddlynicky is not online. cuddlynicky
Joined: 26 Jul 2011
Total Posts: 14
02 Aug 2017 09:39 PM
sorry can you be a little more specific
Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
10 Aug 2017 05:11 PM
sorry can you use the wiki


bamboozled again
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