Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

This script wont work ingame but it does in studio?

Asked by 8 years ago

Please halp meh.

MultiFrame = script.Parent.Parent.Parent.MultiPurpose
script.Parent.MouseEnter:connect(function(info)
        local plr = game.Players.LocalPlayer
local char = plr.Character
    MultiFrame.NameT.Text = "Alena Griffin"
    MultiFrame.AbilitiesT.Text = "Advanced Engineer"
    MultiFrame.AgeT.Text = "17"
    MultiFrame.ThingT.Text = "None"
    MultiFrame.GenderT.Text = "Female"
    local BC = char:findFirstChild("Body Colors")
 BC.HeadColor = BrickColor.new("Nougat")
 BC.TorsoColor = BrickColor.new("Nougat")
 BC.LeftLegColor  = BrickColor.new("Nougat")
 BC.RightLegColor = BrickColor.new("Nougat")
 BC.RightArmColor = BrickColor.new("Nougat")
 BC.LeftArmColor  = BrickColor.new("Nougat")    
char.Head.face.Texture = "http://www.roblox.com/asset/?id=210657685"
 char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=283158292"
 char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=168385717"
    local d = char:GetChildren() 
    for i=1, #d do 
        if (d[i].className == "Hat") then 
            d[i]:remove() 
        end 
    end
local AGH = game:GetService("ReplicatedStorage").AGHair:Clone()
      AGH.Parent =  char
end)
script.Parent.MouseButton1Click:connect(function(Game)
    script.Parent.Parent.Parent.Parent.Parent.GameThings.Character.Value = "Alena Griffin"
    script.Parent.Parent.NextValue.Value = true
    script.Parent.Parent.Select.Visible = true
    script.Parent.Parent.Select:TweenPosition(UDim2.new(0, -10,0, 55),"Out","Quart",1,true)
end)

0
Is it in a localscript? grasheeno 70 — 8y
0
Yeah supermanswaqq 65 — 8y

Answer this question