UIS.InputBegan:connect(function(Input,onGui) If Input.UserInputType = 2 and MB2Down then Local Torso = Character:FindFirstChild('Torso') or Character:FindFirstChild('UpperTorso') local UIS,Player,Camera,Character,MB2Down = game:GetService('UserInputService'),workspace.Camera,script.Parent,false I fixed the black screen, but the player still just dies. What's the correct way to achieve this?Įdit: My bad, this is what I have so far. I've worked with CFrames quite a bit in the past, so I'm not sure why I'm having such a hard time with this.Īfter a couple hours of playing around with ideas and checking online, I thought I'd just ask the question to save time. I've seen this done in RPGs on Roblox before, so I know it's possible, and probably fairly easy. I've pretty much got it, but instead of rotating the character model, it turns the screen black and kills the player. What I'm trying to accomplish is to detect when a player has pressed their right mouse button, and through a loop, rotate their character based on the CFrame of the camera until the button is released. This is in a server script and does not output a warning/error or print.In Roblox, your camera has a CFrame with a lookVector and so on. ImageLabel.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png" Local content = Players:GetUserThumbnailAsync(UserId, ThumbType, ThumbSize) Local Player = Players:FindFirstChild(Owner) Parent.Owner:GetPropert圜hangedSignal("Value"):Connect(function() local Players = game:GetService("Players") I’m trying to display a picture of the user that owns a tycoon onto a surface gui through a serverscript, mind telling me how you did that? Also, sorry for ‘necrobumping’ the thread but I’ve been looking for a way on how to do this for a while.Īnyway, here’s the script I currently have that isn’t working if anyone decides to help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |