-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainModule.lua
193 lines (80 loc) · 2.56 KB
/
MainModule.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
-- DO NOT EDIT ANY OF THE CODE OR NAMES OR RNMU MIGHT NOT WORK
--[[
¦¦¦¦¦¦+¦¦¦¦+¦¦¦¦+¦¦¦+¦¦¦¦¦¦+¦¦+¦¦¦¦¦+
¦¦+--¦¦+¦¦¦¦+¦¦¦¦¦¦¦¦+¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦¦¦¦++¦¦+¦¦+¦¦¦¦¦+¦¦¦¦+¦¦¦¦¦¦¦¦¦¦¦¦
¦¦+--¦¦+¦¦¦+¦¦¦¦¦¦¦¦+¦¦++¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦¦¦¦¦¦¦¦¦¦+¦¦¦¦¦¦¦¦+-+¦¦¦¦+¦¦¦¦¦¦++
+-+¦¦+-++-+¦¦+--++-+¦¦¦¦¦+-+¦+-----+¦
More info: https://devforum.roblox.com/t/1422721
--]]
-- Made by timothytheawesome.
local RNMU = {}
local Functions = script:WaitForChild'Functions'
local Str = Functions:WaitForChild'String'
local Other = Functions:WaitForChild'Other'
local Number = Functions:WaitForChild'Number'
-------String:
function RNMU:startof(String,String2)
return require(Str):startof(String,String2)
end
function RNMU:endof(String,String2)
return require(Str):endof(String,String2)
end
function RNMU.at(String,String2,n,o)
return require(Str):at(String,String2,n,o)
end
function RNMU.substart(String,CutString,Start,Magic)
return require(Str):substart(String,CutString,Start,Magic)
end
function RNMU.subend(String,CutString,Start,Magic)
return require(Str):subend(String,CutString,Start,Magic)
end
function RNMU.suball(String,CutString,CutString2,Start,Magic)
return require(Str):suball(String,CutString,CutString2,Start,Magic)
end
-------Number:
function RNMU.wlen(n)
return require(Number):whole(n)
end
function RNMU.dlen(n)
return require(Number):dec(n)
end
function RNMU.xlog(x,y)
return require(Number):xlog(x,y)
end
function RNMU.root(x,y)
return require(Number):root(x,y)
end
function RNMU.fac(n)
return require(Number):fac(n)
end
function RNMU.factors(n)
return n%1==0 and require(Number):factors(n,n,{}) or {}
end
-------Other:
function RNMU:Combine(a1,a2)
return require(Other):combine(a1,a2)
end
function RNMU:Rendered(p)
return require(Other):rendered(p) or false
end
function RNMU:Vector3RotationFromCFrame(cf)
return require(Other):vector3RotationFromCFrame(cf)
end
function RNMU:GetBoundingBox(p)
return require(Other):bound(p)
end
function RNMU:Point(Part1Position,Part2Position,Part3)
return require(Other):point(Part1Position,Part2Position,Part3)
end
function RNMU:GetCorners(p)
return require(Other):getCorners(p)
end
function RNMU:GetSides(p)
return require(Other):getSides(p)
end
function RNMU:GetEdges(p)
return require(Other):getEdges(p)
end
return RNMU