exactly. It took me about 15 minutes to make the house cause I had to keep redoing it because I want to be perfect for some reason because if I messed it up I thought it wouldn’t work out too good
Optimization tip: If your light source with shadows is the same as without, turn the shadows off. Light sources with shadows enabled might impact performance a little bit.
@@betica7087 Personally I prefer making a game that doesn't lag badly to one that looks super super nice but it's just preference. I know you can certainly find an audience whether or not you need an alright computer to play. So everyone here has a valid opinion! but imo I like less lag
12:18 in studio when you want to do a transition you can work with the “brightness” object you can put directly into the camera service instead of using a frame. awesome video though 🤟🏾
To anyone who's flashlight script didn't work: make sure the folder with all the sounds of your game is named "SFX" and not Sounds, one error can break the entire script, and I have some experience with scripting so i understand the problem, hope this helps :D (i don't think this is helping anyone)
thank you so much! i was trying to find tutorials how do people created those things, and i am still a beginner but this turned out very well and understanding to me, even though some are not but it's fine, once again thank you
Tip : change in lighting “technology” to “Future”, why? It adds light shadows to every light interaction to any block (Ik this is on 4:16 but you can miss this important step)
Thank you bro for the tutorial, even though I think the script part is a bit confusing for me, this is very helpful in my development in making horror Roblox games. I'm a new subs, keep up the enthusiasm bro
This could really help me for the past few days I've been trying to make a good roblox game cause I really want to buy this hat but it's expensive so thank you
take the script for the Flashlight it's not available local cam = workspace.CurrentCamera local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Flashlight = RS.Flashlight local Clone = Flashlight:Clone() Clone.Parent = script.Parent local Brightness = 1 local Keybind = Enum.KeyCode.F local UIS = game:GetService("UserInputService") local Toggle = false local Mouse = game.Players.LocalPlayer:GetMouse() local TS = game:GetService("TweenService") local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine) local ClickSFX = workspace.SFX.Flashlight UIS.InputBegan:Connect(function(Input, p) if p then return end if Input.KeyCode == Keybind then Toggle = not Toggle ClickSFX:Play() end end) RunService.RenderStepped:Connect(function() if Clone then
One thing that works for me for lighting is to have an extra point light in the center of your room with shadows off and with a much lower brightness value, this adds a somewhat realistic "light bounce" effect and the only real downside is that it can sometimes be a pain to setup properly. You can get a similar effect by changing your games lighting properties but from my experience doing that makes darker areas brighter, which can be bad for horror games.
Hey Pluto, Thanks alot for this tutorial! It actually helped me get an Ideea of what making a roblox Horror Game is like, and thanks to you, I can create more in the future. Thanks!
I think that I made the ambience... a little too creepy... Like try to see this from my POV. While play testing this game alone... you get the feeling... that you are actually not alone.
local cam = workspace.CurrentCamera local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Flashlight = RS.Flashlight local Clone = Flashlight:Clone() Clone.Parent = script.Parent local Brightness = 1 local Keybind = Enum.KeyCode.F local UIS = game:GetService("UserInputService") local Toggle = false local Mouse = game.Players.LocalPlayer:GetMouse() local TS = game:GetService("TweenService") local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine) local ClickSFX = workspace.SFX.Flashlight UIS.InputBegan:Connect(function(Input, p) if p then return end if Input.KeyCode == Keybind then Toggle = not Toggle ClickSFX:Play() end end) RunService.RenderStepped:Connect(function() if Clone then
I see people in the comments saying "im stuck on the transition" and stuff like his scripts doesn't work. I just did it and all of em works just fine, just go over and check all the scripts for errors, misplace or spelling error.
Tip to make more scary: Add a window to your game script it to open and close and make it so you can actually look out. Then add a forest make it dark then try to add the same face in the thumbnail into the forest in the players view to make it more scary and then you start to hear screaming then the knocking happens
Hey man that made my skills better on how to make a better horror game, thanks for teaching me on how to make better lightings. reply me if you want :D.
thank me later script: local Cam = workspace.CurrentCamera local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Flashlight = RS.Flashlight local Clone = Flashlight:Clone() Clone.Parent = script.Parent local Brightness = 1 local Keybind = Enum.KeyCode.F local UIS = game:GetService("UserInputService") local Toggle = false local Mouse = game.Players.LocalPlayer:GetMouse() local TS = game:GetService("TweenService") local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine) local ClickSFX = workspace.SFX.Flashlight UIS.InputBegan:Connect(function(Input, p) if p then return end if Input.KeyCode == Keybind then Toggle = not Toggle ClickSFX:Play() end end) RunService.RenderStepped:Connect(function() if Clone then Clone.Position = Cam.CFrame.Position TS:Create(Clone, TI, {CFrame = CFrame.lookAt(Clone.Position, Mouse.Hit.Position)}):Play() if Toggle then TS:Create(Clone.SpotLight, TI, {Brightness = Brightness}):Play() else TS:Create(Clone.SpotLight, TI, {Brightness = 0}):Play() end end end)
I'm just suggesting you should really release the models you used in the video. It would help people because what if they dont have blender? Or know how to model?
I Know it's Jerma But why is so Eerie😨😨😨 btw does this apply to every type of game cuz i was Planning on Making a school Horror game(that'll definitely not gonna be finished nor gonna Gain Popularity)
@@PlutoIsAway I am working on a idk game but its horror and the link for script aint working for me so I typed manually run game not working and trying to figure issue would really appreciate if u reply with the script
@@PlutoIsAway question here.. i am making an experiment game and i really want to know how to make an object not be able to walk past at first but then later on you can walk past it? i see no tutorials for it and i want to do this for my doors, since the player is gonna be reading the announcement and then after that they can exit. and also can a horror game have bright colors? i mean... i want the mini classrooms, detention, and cafeteria to be kinda colorful, but slowly gets less saturated as the days go on.
TYSM BRO LAST TIME I TRIED THIS IT FAILED BUT I TRIED AGAIN AFTER LEARNING SOME LUA AND I FIXED IT ALL TYSMM BRO I BEEN LOOKING FOR A VID THAT ACTUALY WORKS FOR AGES
I'm making a Doors And Pressure based horror game with my friends We want it to be as scary as possible I asked some friends and they thought of good ideas Thanks for the tutorial Just the thing I need
I made my own game called "Untitled Zombie Defense Game." Which consists of free models and like 1 set of script from the workshop. I use free models due to my lack of being able to make a monster and I can't get moon animator. I wanna make a dinosaur horror game and this really helped.
@@gaunterodimm4884Agreed! Free models are very useful! Sometimes, I don’t have time to create what I want and I don’t know how to use blender so I use them! Don’t be ashamed :)!!
heres the door script: local SFX = script.Parent.SFX local DoorClose = SFX.Close local DoorOpen = SFX.Creak local DoorLock = SFX.Lock -- TweenService-- local TweenService = game:GetService("TweenService") for i, v in pairs(workspace:GetDescendants()) do if v:GetAttribute("Door") then local open = false local debounce = false local prompt = v.Main.ProxPrompt local hinge = v.Hinge local currentCFrame = hinge.CFrame local Goal local OpenTweenInfo = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut) local CloseTweenInfo = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut) prompt.Triggered:Connect(function() if debounce == false then debounce = true if open == false then -- Door opening -- open = true Goal = {CFrame = currentCFrame * CFrame.Angles(0, math.rad(-100), 0)} DoorOpen:play() else -- Door closing -- open = false Goal = {CFrame = currentCFrame * CFrame.Angles(0, math.rad(0), 0)} DoorClose:play() end
if open == true then -- Door open animation -- local tween = TweenService:Create(hinge, OpenTweenInfo, Goal) tween:Play() tween.Completed:Wait() debounce = false else -- Door close animation -- local tween = TweenService:Create(hinge, CloseTweenInfo, Goal) tween:Play() tween.Completed:Wait() debounce = false end end end) end end
I know I am late but to anyone who is watching this video and is wandering why the flashlight doesn't work, it is because the script contains unknown phrases, the dashes must not have a space so they are non included in the script.
Flashlight script: local cam = workspace.CurrentCamera local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Flashlight = RS.Flashlight local Clone = Flashlight:Clone() Clone.Parent = script.Parent local Brightness = 1 local Keybind = Enum.KeyCode.F local UIS = game:GetService("UserInputService") local Toggle = false local Mouse = game.Players.LocalPlayer:GetMouse() local TS = game:GetService("TweenService") local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine) local ClickSFX = workspace.SFX.Flashlight UIS.InputBegan:Connect(function(Input, p) if p then return end if Input.KeyCode == Keybind then Toggle = not Toggle ClickSFX:Play() end end) RunService.RenderStepped:Connect(function() if Clone then
only criticism is the use of proximity prompt when the systems you would use instead might be useful in other scenarios.. ex: inputs trigger an event that the server reads as interaction can also be used to trigger a flashlight or detecting what the player is looking at can be useful for triggering jumpscares
I know this is a pretty old video, but it would be helpful if you could explain a bit more about the animation and scripts for the door. I kinda understand most of it but idk what the different parts you've added in the script are used for. Do i need hinges for the door for it to move correctly?
Could you write the Scripts in the comments? Pastebin isnt working, it says "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.
I love you, finally there is a tutorial that works and its awesome and i don't need to prescribe the very big and long scripts u are like reading in my mind what u can put in the tutorial bro
W vid just one question how does it know where to put the sound u didnt clarify that and if u did i didint see it sorry im new and this helps a bunch im scared to play it i alr had three of my friends scream too it
if you are insecure about your lisp don't be. you are amazingly smart and skilled and personally lisps to me are cool but get made fun of all the time. so don't feel insecure abt it theres nothing wrong with it theres nothing wrong with you
tbh I was looking at models for the game and I saw every one of your items in the tool box under different people just give them credit if you doing stuff like this ty
Pin me
pin of shame
pain of hate@@TheRealDJarrk
@@CoolCat453 good one
How
Idk@@eliasgamer463
the fact he made a whole realistic horror game in 20 mins while i spent 3 hours making a unrealistic house.. respect
exactly. It took me about 15 minutes to make the house cause I had to keep redoing it because I want to be perfect for some reason because if I messed it up I thought it wouldn’t work out too good
@@FunVids4-U wow
lol im slow w making games too
Optimization tip:
If your light source with shadows is the same as without, turn the shadows off. Light sources with shadows enabled might impact performance a little bit.
In a very very small game like he showed, shadows will have 0 impact whatsoever.
if its a big map, make proper render distance and it shouldnt be too much of an issue (parent segments of the map to nil)
do you need glasses or smth shadows on looks soo much better
@@betica7087 Personally I prefer making a game that doesn't lag badly to one that looks super super nice but it's just preference. I know you can certainly find an audience whether or not you need an alright computer to play. So everyone here has a valid opinion! but imo I like less lag
12:18 in studio when you want to do a transition you can work with the “brightness” object you can put directly into the camera service instead of using a frame. awesome video though 🤟🏾
As a beginner scripter this is actually some good advice unlike other tutorials which don't really explain much of what will happen and stuff. Sub +1
Do you mind sharing with me how you got into scripting? Did you follow a UA-camr ?
I use the devking, rodev and scriptix
@@alfamejeu7237 you learn scripting
🤯
@@ec23472🤯
This is **heavily** underrated.
Agreed
Is it *HEAVILY* underrated?
Real
I think you mean *HEAVILY*
🏋️🏋️🏋️
🏋️🏋️🏋️
🏋️🏋️🏋️
YES IT IS MAM@@lenoxpI
you know its a good horror game when you are scared of your own creation XD
it really happens to me lol
it happens to me too 😭
IT happened to me pls help i am scared lol
1 year ago i made a god damn free model game and i was too scared to get a key cuz i saw smth moving there (there was nothing)
humanity lore explained in 10 seconds
To anyone who's flashlight script didn't work: make sure the folder with all the sounds of your game is named "SFX" and not Sounds, one error can break the entire script, and I have some experience with scripting so i understand the problem, hope this helps :D (i don't think this is helping anyone)
For me the flashlight doesn’t even work. Idkw.
Just search up a tutorial on UA-cam for a working flashlight@@canismajoris513
For me I copied everything from it and it st I’ll did not work
i'm sorry bro idk what else to do@@NOBODY_animates12
open the output window and give me the error@@NOBODY_animates12
thank you so much! i was trying to find tutorials how do people created those things, and i am still a beginner but this turned out very well and understanding to me, even though some are not but it's fine, once again thank you
Tip : change in lighting “technology” to “Future”, why?
It adds light shadows to every light interaction to any block
(Ik this is on 4:16 but you can miss this important step)
Thank you bro for the tutorial, even though I think the script part is a bit confusing for me, this is very helpful in my development in making horror Roblox games. I'm a new subs, keep up the enthusiasm bro
This was really well explained. I actually managed to understand a good bit of it even though im not very experienced in coding. Thank you!
This could really help me for the past few days I've been trying to make a good roblox game cause I really want to buy this hat but it's expensive so thank you
if ur flashlight kept shaking *ANCHOR IT*
pin this now
take the script for the Flashlight it's not available
local cam = workspace.CurrentCamera
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Flashlight = RS.Flashlight
local Clone = Flashlight:Clone()
Clone.Parent = script.Parent
local Brightness = 1
local Keybind = Enum.KeyCode.F
local UIS = game:GetService("UserInputService")
local Toggle = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine)
local ClickSFX = workspace.SFX.Flashlight
UIS.InputBegan:Connect(function(Input, p)
if p then return end
if Input.KeyCode == Keybind then
Toggle = not Toggle
ClickSFX:Play()
end
end)
RunService.RenderStepped:Connect(function()
if Clone then
Clone.Position = cam.CFrame.Position
TS:Create(Clone, TI, {CFrame = CFrame.lookAt(Clone.Position, Mouse.Hit.Position)}):Play()
if Toggle then
TS:Create(Clone.SpotLight, TI, {Brightness = Brightness}):Play()
else
TS:Create(Clone.SpotLight, TI, {Brightness = 0}):Play()
end
end
end)
thx man
bro u saved me
Tysmmm man
THX
thank u bro
Thanks so much, dude! I'm a small developer who has no idea how to code, I needed this.
Yo, here's my sub!
One thing that works for me for lighting is to have an extra point light in the center of your room with shadows off and with a much lower brightness value, this adds a somewhat realistic "light bounce" effect and the only real downside is that it can sometimes be a pain to setup properly. You can get a similar effect by changing your games lighting properties but from my experience doing that makes darker areas brighter, which can be bad for horror games.
Great tutorial bro, helped me learn so many more features to roblox studio
Hey Pluto, Thanks alot for this tutorial! It actually helped me get an Ideea of what making a roblox Horror Game is like, and thanks to you, I can create more in the future. Thanks!
i've still seen this late but it was so much useful for my game ! thanks !
Thanks man this really helped me 😊
This Worked for the flashlight of my old styled Game!😃 You Are The Best!
Developer tip: Hold Down Control Shift on a object and then click v to paste into selected!
I think that I made the ambience... a little too creepy... Like try to see this from my POV. While play testing this game alone... you get the feeling... that you are actually not alone.
How realistic do you want to be?
Pluto: *yes*
Hi this video helped me on my journey to create my first horror game thanks
local cam = workspace.CurrentCamera
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Flashlight = RS.Flashlight
local Clone = Flashlight:Clone()
Clone.Parent = script.Parent
local Brightness = 1
local Keybind = Enum.KeyCode.F
local UIS = game:GetService("UserInputService")
local Toggle = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine)
local ClickSFX = workspace.SFX.Flashlight
UIS.InputBegan:Connect(function(Input, p)
if p then return end
if Input.KeyCode == Keybind then
Toggle = not Toggle
ClickSFX:Play()
end
end)
RunService.RenderStepped:Connect(function()
if Clone then
Clone.Position = cam.CFrame.Position
TS:Create(Clone, TI, {CFrame = CFrame.lookAt(Clone.Position, Mouse.Hit.Position)}):Play()
if Toggle then
TS:Create(Clone.SpotLight, TI, {Brightness = Brightness}):Play()
else
TS:Create(Clone.SpotLight, TI, {Brightness = 0}):Play()
end
end
end)
lifesaver fr fr
Is this for flashlight script?
keep up the good content man
AHHHHH TOOO UNDERATED MAN +1 SUB
"Damn that was scary"
is crazy-
I'm just now finding this and this is so much more easier to understand then other tutorials I've seen, underrated fr
I see people in the comments saying "im stuck on the transition" and stuff like his scripts doesn't work. I just did it and all of em works just fine, just go over and check all the scripts for errors, misplace or spelling error.
Can you help me? I checked everything but the transitions and text doesn't work
same
@@Lxquid69
NO DUH WELL GEUSS WHO DID THAT 5 TIMES
Tip to make more scary: Add a window to your game script it to open and close and make it so you can actually look out. Then add a forest make it dark then try to add the same face in the thumbnail into the forest in the players view to make it more scary and then you start to hear screaming then the knocking happens
Hey man that made my skills better on how to make a better horror game, thanks for teaching me on how to make better lightings. reply me if you want :D.
18:46 bro got that cube queen laugh
fr
Bro has real talent. In 20 minutes he showed us how to make a really awesome horror game
Worth a subscription
literally lot lot lot better than any tutorials over there
thank me later
script:
local Cam = workspace.CurrentCamera
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Flashlight = RS.Flashlight
local Clone = Flashlight:Clone()
Clone.Parent = script.Parent
local Brightness = 1
local Keybind = Enum.KeyCode.F
local UIS = game:GetService("UserInputService")
local Toggle = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine)
local ClickSFX = workspace.SFX.Flashlight
UIS.InputBegan:Connect(function(Input, p)
if p then return end
if Input.KeyCode == Keybind then
Toggle = not Toggle
ClickSFX:Play()
end
end)
RunService.RenderStepped:Connect(function()
if Clone then
Clone.Position = Cam.CFrame.Position
TS:Create(Clone, TI, {CFrame = CFrame.lookAt(Clone.Position, Mouse.Hit.Position)}):Play()
if Toggle then
TS:Create(Clone.SpotLight, TI, {Brightness = Brightness}):Play()
else
TS:Create(Clone.SpotLight, TI, {Brightness = 0}):Play()
end
end
end)
I love you so much thank you for existing 🤞🤞
THANK YOU
you got the one for the door?
Thank you so much bro this video gave me a understanding of how to code, and how to make a game.
Well this is underrated
caseoh
hahha
Well aint even heavy, people bully him to much
caseoh
i dont even watch
c
a
s
e
o
h
FFFFFFF
F
FFFF
F
F
F
@@marvelman762 me to I don't watch
caseoh
You're Such a good person! Keep it up brother♥
Useful! Especially when paired with Rust's tutorial.
Thanks for mentioning Rust's tutorial, i just searched it up, took a look and helped me too.
link pls
This is good! Keep it up bro.
I have a problem, when I start the game, the black screen does not go away, do you know how to fix it?
Same problem.
if you wrote "wait() function" then delete "function"
Thank you bro I have struggling you helped me script better lol
I'm just suggesting you should really release the models you used in the video.
It would help people because what if they dont have blender? Or know how to model?
Agreed😊
This tutorial actually help me a lot, Thanks!
I Know it's Jerma But why is so Eerie😨😨😨
btw does this apply to every type of game cuz i was Planning on Making a school Horror game(that'll definitely not gonna be finished nor gonna Gain Popularity)
Yes it does, good luck on your game
@@PlutoIsAway I am working on a idk game but its horror and the link for script aint working for me so I typed manually run game not working and trying to figure issue would really appreciate if u reply with the script
@@PlutoIsAway question here.. i am making an experiment game and i really want to know how to make an object not be able to walk past at first but then later on you can walk past it?
i see no tutorials for it and i want to do this for my doors, since the player is gonna be reading the announcement and then after that they can exit.
and also can a horror game have bright colors? i mean... i want the mini classrooms, detention, and cafeteria to be kinda colorful, but slowly gets less saturated as the days go on.
I don’t know what any of this means, but i hope i will, thank you for the information:)
local RS = game.ReplicatedStorage
local Events = RS.GameEvents
game.Players.PlayerAdded:Connect( function) ()
wait (8)
Events.StartGame:Fireallclients()
end)
This is amazing! I subbed
I've been looking for a good horror game tutorial and this one was good but I'm wondering how I can make a dark room while the outside is still light.
go to lighting then outdoor ambeince if you make it white it gets bright outside or if you make it dark it goes dark outside
@@kianhashemi-ng6eh thanks
i'm currently working on a non-realistic horror game
decided to check this out anyway, even though i know how to make it.
TYSM BRO LAST TIME I TRIED THIS IT FAILED BUT I TRIED AGAIN AFTER LEARNING SOME LUA AND I FIXED IT ALL TYSMM BRO I BEEN LOOKING FOR A VID THAT ACTUALY WORKS FOR AGES
1:04
"Theres Gonna Be A Jumpscare"
"Theres GONNA BE A JUMSCARE"
"THERES GONNA BE A JUMPSCARE"
Can you show us how to model the window and the door? Or something close to that?
i need the door.Anf the window is already in the model place.Just type window and you will see it
@@z3nh0u just search bedroom door and you'll find it
I teached how to make RemoteEvents that connected to LocalScript. Now, i can make something my own in game and publish it. TYSM!
I'm having troubles because when I test play the game the black screen won't go away
Omg Same
@alicestephens3399 happened to me and i spelt backround wrong. Try it
I'm making a Doors And Pressure based horror game with my friends
We want it to be as scary as possible
I asked some friends and they thought of good ideas
Thanks for the tutorial
Just the thing I need
I made my own game called "Untitled Zombie Defense Game." Which consists of free models and like 1 set of script from the workshop. I use free models due to my lack of being able to make a monster and I can't get moon animator. I wanna make a dinosaur horror game and this really helped.
Keep it up, man. Don't be afraid to use free models for anything, just keep on making!
@@gaunterodimm4884Agreed! Free models are very useful! Sometimes, I don’t have time to create what I want and I don’t know how to use blender so I use them! Don’t be ashamed :)!!
im haqve moon animator💀
whats your game called?@ArlxGaming
@@akra0p4cq
Thank you very much, I'm Brazilian but I used the subtitles, man you're very smart, thank you
Yo, can u make a tutorial or the link model for the door and the window? i aint good at scripting and i need help xd
I shared this video with my team, thank you.
I love this video and you did a great job but the flashlight didn’t work. Do you know how to fix it?
i followed another tutorial but make sure the name is Flashlight like no changes and that there isnt anything else in the game named flashlight
heres the door script: local SFX = script.Parent.SFX
local DoorClose = SFX.Close
local DoorOpen = SFX.Creak
local DoorLock = SFX.Lock
-- TweenService--
local TweenService = game:GetService("TweenService")
for i, v in pairs(workspace:GetDescendants()) do
if v:GetAttribute("Door") then
local open = false
local debounce = false
local prompt = v.Main.ProxPrompt
local hinge = v.Hinge
local currentCFrame = hinge.CFrame
local Goal
local OpenTweenInfo = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut)
local CloseTweenInfo = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut)
prompt.Triggered:Connect(function()
if debounce == false then
debounce = true
if open == false then -- Door opening --
open = true
Goal = {CFrame = currentCFrame * CFrame.Angles(0, math.rad(-100), 0)}
DoorOpen:play()
else -- Door closing --
open = false
Goal = {CFrame = currentCFrame * CFrame.Angles(0, math.rad(0), 0)}
DoorClose:play()
end
if open == true then -- Door open animation --
local tween = TweenService:Create(hinge, OpenTweenInfo, Goal)
tween:Play()
tween.Completed:Wait()
debounce = false
else -- Door close animation --
local tween = TweenService:Create(hinge, CloseTweenInfo, Goal)
tween:Play()
tween.Completed:Wait()
debounce = false
end
end
end)
end
end
can you give me the flashlight script????
I know I am late but to anyone who is watching this video and is wandering why the flashlight doesn't work, it is because the script contains unknown phrases, the dashes must not have a space so they are non included in the script.
Do u know why the transition doesnt work and shows a black screen forever when i click play? Pls tell me its happening to everyone.
@@LowestKA I am afraid, you have to write a script that makes the screen disappear after 3 seconds inside the game.
@@LowestKA And yeah, it happened to me too.
ive did step by step and my flashlight doesnt work
same
Your welcome for giving u the idea of making a tutorial
how to select the textures min 2:30??? plsss
hold alt while clicking the one you want.
@@the_om4r ty!
Thanks! I’ve been needing help
where is the script?
also heres more that you could use: bloom, blur, depth of field, sunrays
im watching this video so i can make my own roblox horror game.
Bro is lagging
He isnt
the giggle sound is scarier in 2024 💀
Flashlight script:
local cam = workspace.CurrentCamera
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Flashlight = RS.Flashlight
local Clone = Flashlight:Clone()
Clone.Parent = script.Parent
local Brightness = 1
local Keybind = Enum.KeyCode.F
local UIS = game:GetService("UserInputService")
local Toggle = false
local Mouse = game.Players.LocalPlayer:GetMouse()
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(.1, Enum.EasingStyle.Sine)
local ClickSFX = workspace.SFX.Flashlight
UIS.InputBegan:Connect(function(Input, p)
if p then return end
if Input.KeyCode == Keybind then
Toggle = not Toggle
ClickSFX:Play()
end
end)
RunService.RenderStepped:Connect(function()
if Clone then
Clone.Position = cam.CFrame.Position
TS:Create(Clone, TI, {CFrame = CFrame.lookAt(Clone.Position, Mouse.Hit.Position)}):Play()
if Toggle then
TS:Create(Clone.SpotLight, TI, {Brightness = Brightness}):Play()
else
TS:Create(Clone.SpotLight,TI, {Brightness = 0}):Play()
end
end
end)
mine didnt work
Womp womp
@@SuperLuigifan777”womp womo”💀
@@BobTheBuilder-pg9oj stfu kid I typed it fast
@@SuperLuigifan777that’s what your parents said when you were born
@@lebanh3304 got no comeback
But how to script the flashlight sound to play when you turn on/off the flashlight
only criticism is the use of proximity prompt when the systems you would use instead might be useful in other scenarios.. ex: inputs trigger an event that the server reads as interaction can also be used to trigger a flashlight or detecting what the player is looking at can be useful for triggering jumpscares
this is a really great video and we actually develop and organize assets very similarly lol
LİNK İS NOT WORKİNG
chill
Use vpn
@@JarkDarious2 i used still now working its says this content deleted
Roses are red, violets are blue,
Your content's so great, I'm joining your crew. (Subscribed)
this comment must not get 0 likes
I know this is a pretty old video, but it would be helpful if you could explain a bit more about the animation and scripts for the door. I kinda understand most of it but idk what the different parts you've added in the script are used for. Do i need hinges for the door for it to move correctly?
really nice
i love how you teach
ty
your script (dialoguemodel) it doesn't work because the black screen of the game doesn't disappear and the dialogues aren't there
15:40 just a mark to let me know where I left off
man thank you very much for this tutorial, I love you man
bro thx im gonna show this to my sister if i done building im so tired
i did everything right...... why is the transition just stays and not fading?
I've been trying to get a flashlight script to work for so long, thank you
Could you write the Scripts in the comments? Pastebin isnt working, it says "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.
bro there is everything what i need and i love it
I love you, finally there is a tutorial that works and its awesome and i don't need to prescribe the very big and long scripts u are like reading in my mind what u can put in the tutorial bro
W vid just one question how does it know where to put the sound u didnt clarify that and if u did i didint see it sorry im new and this helps a bunch im scared to play it i alr had three of my friends scream too it
18:48 after 2 years, i know that this laugh is from Cube Queen from Fortnite
Ha
THANKS!
Horror games and normal games are really hard.
if you are insecure about your lisp don't be. you are amazingly smart and skilled and personally lisps to me are cool but get made fun of all the time. so don't feel insecure abt it theres nothing wrong with it theres nothing wrong with you
Best horror game tutorial ever made
the end got me💀💀
Guys what do we do for the computer event cause it ain’t working! This vid is out of date maybe 🤔. Pluto pls fix or explain what’s happening
Can you pretty PLEASE make a tuturial on the door and window PLEAAAASEE! ty :D
tbh I was looking at models for the game and I saw every one of your items in the tool box under different people just give them credit if you doing stuff like this ty