#how do i make fog follow character instead of camera

1 messages · Page 1 of 1 (latest)

toxic jay
swift wing
#

i dont know alot of coding but could you send script over

#

if you are using a script

toxic jay
#

there is no script

swift wing
#

oh

toxic jay
#

im using lightning log

swift wing
#

well i dont know then

toxic jay
#

fog&

#

**

#

i see

#

alright

coral horizon
#

make custom fog if you need it to follow character

#

this is just how roblox fog works

toxic jay
#

frick

toxic jay
#

🥺

coral horizon
queen wyvernBOT
#

studio** You are now Level 1! **studio

proper moon
#

script custom fog

#

attaching a pointlight to the character might have the effect u want too

#

ignore the 12 yr old sending images of triple ts reactions

#

he doesnt even know how to make custom fog

toxic jay
#

bro what

#

i was copying the sahur

#

so i was doing it for no reason??

proper moon
#

the sahur gives +5 coding efficiency

#

in any script u put it in

toxic jay
#

ong

toxic jay
#

doesnt work

proper moon
#

bro 😭

toxic jay
#

lmaoo

#

my bad bro im like completely new to this shit

proper moon
#

here wait

toxic jay
coral horizon
#

is that ai

proper moon
#

local Players = game:GetService("Players")

local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local PartToWeldTo = Character:WaitForChild("Torso") --part u wanna parent light to

local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo

local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight

-- set ur point light properites
PointLight.Brightness = 1
PointLight.Range = 10
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)

-- triple t here

#

should work

#

what do u think genius

coral horizon
#

yes

proper moon
#

buzzzabalright

toxic jay
proper moon
#

u dont know how to create a pointlight?

coral horizon
proper moon
#

hes not going for fog genius

queen wyvernBOT
#

studio** You are now Level 5! **studio

proper moon
#

he wants light around the character

#

did u even watch the vid

toxic jay
#

i want fog....

coral horizon
proper moon
#

make the map dark

#

and make the pointlight

toxic jay
#

that works too i guess

coral horizon
#

thats not gonna look foggy

toxic jay
#

ill try tat

proper moon
toxic jay
#

script in workspace rite

proper moon
#

if u wanna script an entire custom fog system for him then go ahead

#

no starterplayerscripts

toxic jay
#

ok thank god i checked

#

i wanted to put in character

proper moon
#

adjust the pointlight properties to however u want the light to appear in ur script

#

and since its a localscript only the player will be able to see their light

toxic jay
queen wyvernBOT
#

studio** You are now Level 2! **studio

toxic jay
proper moon
#

did u remove the fog

toxic jay
#

no error

proper moon
#

and make the map dark

toxic jay
#

uhhhhhhhhhhhhhhhhhhhhhhhhhh

proper moon
#

remove fog

#

thats why u cant see

toxic jay
#

that one girl simulator

#

no fog means no visibility for some reaosn

proper moon
#

bro did u break the lighting 😭

toxic jay
#

no.....

proper moon
#

reset the properties

toxic jay
#

ok

proper moon
#

watch some studio and scripting tutorials or u wont be able to make anything

toxic jay
#

figured

#

how do iuhmm

#

reset properties

#

🥺

proper moon
#

trying setting fogend to 100000 and fogstart to 0

toxic jay
proper moon
toxic jay
#

ok i fixed it

#

lightbulb no work

proper moon
#

let me try in my studio

toxic jay
#

and lightning exposurecomp -12

#

is the thing im also using

proper moon
#

oh ur games r15

#

local Players = game:GetService("Players")

local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local PartToWeldTo = Character:WaitForChild("HumanoidRootPart") --part u wanna parent light to

local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo

local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight

-- set ur point light properites
PointLight.Brightness = 1
PointLight.Range = 10
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)

-- triple t here

#

just change parttoweldto to humanoidrootpart

#

works for me

#

better settings are 2 brightness 24 range

toxic jay
proper moon
#

i said changepartoweldto to Character:WaitForChild("HumanoidRootPart")

toxic jay
#

local?

proper moon
#

yes local

#

regular scripts cant go in starterplayer

toxic jay
proper moon
#

scripts fine

toxic jay
#

copy c all that u did

#

the body part too

#

i dont know why mine isnt working

proper moon
#

local Players = game:GetService("Players")

local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local PartToWeldTo = Character:WaitForChild("HumanoidRootPart") --part u wanna parent light to

local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo

local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight

-- set ur point light properites
PointLight.Brightness = 2
PointLight.Range = 24
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)

-- triple t here

#

make sure localscript in starterplayerscripts

toxic jay
#

no work...

#

can you cal....

#

it might be easier to explain that way

proper moon
#

for like 2 min

#

dm