Advertisement
ExodiaForce

fastcast

Dec 9th, 2024
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. -- Decompiler will be improved soon!
  2. -- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5 (https://discord.gg/wyButjTMhM)
  3. -- Decompiled on 2024-12-09 07:17:54
  4. -- Luau version 6, Types version 3
  5. -- Time taken: 0.001064 seconds
  6.  
  7. local module_upvr = {
  8. DebugLogging = false;
  9. VisualizeCasts = false;
  10. }
  11. module_upvr.__index = module_upvr
  12. module_upvr.__type = "FastCast"
  13. module_upvr.HighFidelityBehavior = {
  14. Default = 1;
  15. Always = 3;
  16. }
  17. local ActiveCast_upvr = require(script.ActiveCast)
  18. ActiveCast_upvr.SetStaticFastCastReference(module_upvr)
  19. local Signal_upvr = require(script.Signal)
  20. function module_upvr.new() -- Line 107
  21. --[[ Upvalues[2]:
  22. [1]: Signal_upvr (readonly)
  23. [2]: module_upvr (readonly)
  24. ]]
  25. return setmetatable({
  26. LengthChanged = Signal_upvr.new("LengthChanged");
  27. RayHit = Signal_upvr.new("RayHit");
  28. RayPierced = Signal_upvr.new("RayPierced");
  29. CastTerminating = Signal_upvr.new("CastTerminating");
  30. WorldRoot = workspace;
  31. }, module_upvr)
  32. end
  33. function module_upvr.newBehavior() -- Line 119
  34. --[[ Upvalues[1]:
  35. [1]: module_upvr (readonly)
  36. ]]
  37. return {
  38. RaycastParams = nil;
  39. Acceleration = Vector3.zero;
  40. MaxDistance = 1000;
  41. CanPierceFunction = nil;
  42. HighFidelityBehavior = module_upvr.HighFidelityBehavior.Default;
  43. HighFidelitySegmentSize = 0.5;
  44. CosmeticBulletTemplate = nil;
  45. CosmeticBulletProvider = nil;
  46. CosmeticBulletContainer = nil;
  47. AutoIgnoreContainer = true;
  48. }
  49. end
  50. local any_newBehavior_result1_upvr = module_upvr.newBehavior()
  51. function module_upvr.Fire(arg1, arg2, arg3, arg4, arg5) -- Line 136
  52. --[[ Upvalues[2]:
  53. [1]: any_newBehavior_result1_upvr (readonly)
  54. [2]: ActiveCast_upvr (readonly)
  55. ]]
  56. if arg5 == nil then
  57. end
  58. local any_new_result1 = ActiveCast_upvr.new(arg1, arg2, arg3, arg4, any_newBehavior_result1_upvr)
  59. any_new_result1.RayInfo.WorldRoot = arg1.WorldRoot
  60. return any_new_result1
  61. end
  62. return module_upvr
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement