Dynamic Exclamation Mark
Dynamic Explanation Mark is a very easy and small class with which you can create a pretty, fully customizable, slowly moving/rotating exclamation mark (actually, any basepart that you want).
Using this in your game gives the environment a fresh touch, and really makes it come to live!
Want to check it out? Try this game to see it for yourself!
--The exclamation mark is made with the following line of code:
ExclamationClass.New(CFrame.new(0, 20, 0), 90, 2, 5)
Creator store link:
Features
- Make things notable by putting this exclamation mark on top!
- Very easy to use
- No credits needed!
License
Creative Commons: CC NC-SA,
Developers may use this module completely for free, and are not required to credit or otherwise refer to Dynamic Exclamation Mark. The developer of this module is not responsible for any misuage of this module. If any problems occur, developers may notice the developer by sending a DM or respond to this post, and the developer will try to help you out.
Setting up Dynamic Exclamation Mark
Installing Dynamic Exclamation Mark is very straightforward. Once the asset is in your inventory, hop onto studio, get it from the toolbox and put it in ReplicatedStorage. You can require the model in this folder easily from both a serversided and client sided script (client sided script recommended for a prettier outcome).
Documentation
Documentation
Here, you can find the documentation of the Dynamic Exclamation Mark class.
Constructor:
New
ExclamationClass.New(startCFrame: Cframe, rotationSpeedInDegreesPerSecond: number, levetationTimeInSeconds: number, levetationAmplitudeInStuds: number): ()
Constructor method used to create the floating exclamation class.
âstartCFrameâ is where the exclamation mark will spawn in the world;
ârotationSpeedInDegreesPerSecondâ is how fast the exclamation mark will spin, in degrees per second;
âlevetationTimeInSecondsâ is how long it takes to fully make 1 âlevetation cycleâ;
âlevetationAmplitudeInStudsâ is how height + how low the exclamation mark will tween, in studs;
Methods:
StartMoving
ExclamationClass:StartMoving(): ()
Function that starts moving the exclamation mark.
StopMoving
ExclamationClass:StopMoving():
Function that stops the exclamationmark part from moving, and puts it back in itâs original position.
Destroy
ExclamationClass:Destroy(): ()
Destruction method that fully destroy and cleans up this exclamation mark class.
If you want specific information about Robloxâs TweenService, you can find it here:
TweenService | Documentation - Roblox Creator Hub
Notes
-KiriNini1234